mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 12:16:09 +03:00
6a0f1cf231
refs #5614, #5943 - adds a new 'filter' bookshelf plugin which extends the model - the filter plugin provides handling for merging/combining various filters (enforced, defaults and custom/user-provided) - the filter plugin also handles the calls to gql - post processing is also moved to the plugin, to be further refactored/removed in future - adds tests showing how filter could be abused prior to this commit
7 lines
185 B
JavaScript
7 lines
185 B
JavaScript
module.exports = {
|
|
accessRules: require('./access-rules'),
|
|
filter: require('./filter'),
|
|
includeCount: require('./include-count'),
|
|
pagination: require('./pagination')
|
|
};
|