summaryrefslogtreecommitdiffstats
path: root/server/triggersDef.js
blob: f6d5333bf98619291025ba7757449165990f4f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
TriggersDef = {
  createCard:{
    matchingFields: ['boardId', 'listName'],
  },
  moveCard:{
    matchingFields: ['boardId', 'listName', 'oldListName'],
  },
  archivedCard:{
    matchingFields: ['boardId'],
  },
  restoredCard:{
    matchingFields: ['boardId'],
  },
  joinMember:{
    matchingFields: ['boardId', 'username'],
  },
  unjoinMember:{
    matchingFields: ['boardId', 'username'],
  },
  addChecklist:{
    matchingFields: ['boardId', 'checklistName'],
  },
  removeChecklist:{
    matchingFields: ['boardId', 'checklistName'],
  },
  completeChecklist:{
    matchingFields: ['boardId', 'checklistName'],
  },
  uncompleteChecklist:{
    matchingFields: ['boardId', 'checklistName'],
  },
  addedChecklistItem:{
    matchingFields: ['boardId', 'checklistItemName'],
  },
  removedChecklistItem:{
    matchingFields: ['boardId', 'checklistItemName'],
  },
  checkedItem:{
    matchingFields: ['boardId', 'checklistItemName'],
  },
  uncheckedItem:{
    matchingFields: ['boardId', 'checklistItemName'],
  },
  addAttachment:{
    matchingFields: ['boardId'],
  },
  deleteAttachment:{
    matchingFields: ['boardId'],
  },
  addedLabel:{
    matchingFields: ['boardId', 'labelId'],
  },
  removedLabel:{
    matchingFields: ['boardId', 'labelId'],
  },
};