blob: d08648930634ade49831a33a0199ac75bfd6c446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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({});
});
|