mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +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);
|
|
}
|
|
}
|
|
};
|