mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
18 lines
317 B
JavaScript
18 lines
317 B
JavaScript
Meteor.publish('rules', (ruleId) => {
|
|
check(ruleId, String);
|
|
return Rules.find({
|
|
_id: ruleId,
|
|
});
|
|
});
|
|
|
|
Meteor.publish('allRules', () => {
|
|
return Rules.find({});
|
|
});
|
|
|
|
Meteor.publish('allTriggers', () => {
|
|
return Triggers.find({});
|
|
});
|
|
|
|
Meteor.publish('allActions', () => {
|
|
return Actions.find({});
|
|
});
|