From 99276a60b9e822ef31ecbac9fa6660920b319736 Mon Sep 17 00:00:00 2001 From: Maksym Mykhailenko Date: Tue, 23 Oct 2018 17:55:56 +0800 Subject: [PATCH] issue #72 - connect.action.timeline.adjusted is not handled --- connect/constants.js | 1 + connect/events-config.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/connect/constants.js b/connect/constants.js index b2aa325..fd46cf8 100644 --- a/connect/constants.js +++ b/connect/constants.js @@ -54,6 +54,7 @@ module.exports = { MILESTONE_ACTIVATED: 'connect.action.timeline.milestone.transition.active', MILESTONE_COMPLETED: 'connect.action.timeline.milestone.transition.completed', WAITING_FOR_CUSTOMER_INPUT: 'connect.action.timeline.milestone.waiting.customer', + TIMELINE_ADJUSTED: 'connect.action.timeline.adjusted', }, TOPIC: { CREATED: 'notifications.connect.project.topic.created', diff --git a/connect/events-config.js b/connect/events-config.js index cefaf22..142d8aa 100644 --- a/connect/events-config.js +++ b/connect/events-config.js @@ -191,6 +191,9 @@ const EVENTS = [ }, { type: BUS_API_EVENT.CONNECT.PROJECT_PLAN.WAITING_FOR_CUSTOMER_INPUT, projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER, PROJECT_ROLE_MEMBER], + }, { + type: BUS_API_EVENT.CONNECT.PROJECT_PLAN.TIMELINE_ADJUSTED, + projectRoles: [PROJECT_ROLE_OWNER, PROJECT_ROLE_COPILOT, PROJECT_ROLE_MANAGER, PROJECT_ROLE_MEMBER], } ];