Ghost/core/server/models/base
Fabien 'egg' O'Carroll 1dd520754d
Added bulkEdit to bulk-operations bookshelf plugin (#13223)
refs https://github.com/TryGhost/Team/issues/946

This refactor pulls out the core logic so that we can easily add other
bulk operations without having to duplicate even more logic.

It also gives a consistent return value between bulk operations, renaming
`unsuccessfulIds` and `unsuccessfulRecords` to `unsuccessfulData`

We also add a bulkEdit method which will be used to bulk unsubscribe members
from the newsletter.
2021-08-13 12:19:02 +01:00
..
plugins Added bulkEdit to bulk-operations bookshelf plugin (#13223) 2021-08-13 12:19:02 +01:00
bookshelf.js Extracted Bookshelf method overrides to plugin 2021-06-17 15:02:34 +01:00
index.js Moved defaultColumnsToFetch to Bookshelf CRUD plugin 2021-06-17 17:07:10 +01:00
listeners.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
utils.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00