wekan/server/triggersDef.js

70 lines
1.6 KiB
JavaScript
Raw Normal View History

2018-08-16 00:32:31 +02:00
TriggersDef = {
2019-06-28 12:52:09 -05:00
createCard: {
matchingFields: [
'boardId',
'listName',
'userId',
'swimlaneName',
'cardTitle',
],
},
moveCard: {
matchingFields: [
'boardId',
'listName',
'oldListName',
'userId',
'swimlaneName',
'cardTitle',
],
},
archivedCard: {
2019-02-12 23:40:12 +01:00
matchingFields: ['boardId', 'userId', 'cardTitle'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
restoredCard: {
2019-02-12 23:40:12 +01:00
matchingFields: ['boardId', 'userId', 'cardTitle'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
joinMember: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'username', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
unjoinMember: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'username', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
addChecklist: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
removeChecklist: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
completeChecklist: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
uncompleteChecklist: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
addedChecklistItem: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistItemName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
removedChecklistItem: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistItemName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
checkedItem: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistItemName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
uncheckedItem: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'checklistItemName', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
addAttachment: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
deleteAttachment: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
addedLabel: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'labelId', 'userId'],
2018-09-16 01:50:36 +03:00
},
2019-06-28 12:52:09 -05:00
removedLabel: {
2019-01-02 22:51:00 +01:00
matchingFields: ['boardId', 'labelId', 'userId'],
2018-09-16 01:50:36 +03:00
},
};