mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
20 lines
363 B
JavaScript
20 lines
363 B
JavaScript
|
const models = require('../../models');
|
||
|
|
||
|
module.exports = {
|
||
|
docName: 'actions',
|
||
|
|
||
|
browse: {
|
||
|
options: [
|
||
|
'page',
|
||
|
'limit',
|
||
|
'fields',
|
||
|
'include',
|
||
|
'filter'
|
||
|
],
|
||
|
permissions: true,
|
||
|
query(frame) {
|
||
|
return models.Action.findPage(frame.options);
|
||
|
}
|
||
|
}
|
||
|
};
|