mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +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);
|
||
|
}
|
||
|
}
|
||
|
};
|