mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 13:49:43 +02:00
Project managers, board members, auto-update after reconnection, refactoring
This commit is contained in:
parent
7956503a46
commit
fe91b5241e
478 changed files with 21226 additions and 19495 deletions
|
@ -1,17 +0,0 @@
|
|||
module.exports = {
|
||||
inputs: {
|
||||
criteria: {
|
||||
type: 'json',
|
||||
custom: (value) => _.isArray(value) || _.isPlainObject(value),
|
||||
},
|
||||
limit: {
|
||||
type: 'number',
|
||||
},
|
||||
},
|
||||
|
||||
async fn(inputs, exits) {
|
||||
const actions = await Action.find(inputs.criteria).sort('id DESC').limit(inputs.limit);
|
||||
|
||||
return exits.success(actions);
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue