Editing of triggers seems to work.

Some further fixes.
This commit is contained in:
Tomas Bures 2018-08-04 15:00:37 +05:30
parent ffc26a4836
commit 965f30cea7
23 changed files with 855 additions and 377 deletions

View file

@ -5,7 +5,7 @@ const Entity = {
CAMPAIGN: 'campaign'
};
const Action = {
const Event = {
[Entity.SUBSCRIPTION]: {
CREATED: 'created',
LATEST_OPEN: 'latest_open',
@ -25,7 +25,7 @@ const EntityVals = {
campaign: 'CAMPAIGN'
};
const ActionVals = {
const EventVals = {
[Entity.SUBSCRIPTION]: {
created: 'CREATED',
latest_open: 'LATEST_OPEN',
@ -42,7 +42,7 @@ const ActionVals = {
module.exports = {
Entity,
Action,
Event,
EntityVals,
ActionVals
EventVals
};