Ghost/core/server/models/base/plugins
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
..
actions.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
bulk-operations.js Added bulkEdit to bulk-operations bookshelf plugin (#13223) 2021-08-13 12:19:02 +01:00
crud.js 🐛 Fixed a 500 error for incorrect fields parameter in API 2021-07-06 11:58:37 +04:00
data-manipulation.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
filtered-collection.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
generate-slug.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
overrides.js Moved formatOnWrite function to Bookshelf override plugin 2021-06-17 16:47:47 +01:00
raw-knex.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00
sanitize.js Fixed indenting for Bookshelf sanitize plugin JSDoc 2021-06-17 13:01:15 +01:00
user-type.js Moved Bookshelf plugins to folder 2021-06-17 12:04:38 +01:00