From 920e80c17e6695070e07908f56cb3e54b84b311d Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 10 Jan 2024 13:21:11 +0530 Subject: [PATCH] chore: add schedule suspended event type (#5820) To facilitate emitting this event in Enterprise --- src/lib/types/events.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/types/events.ts b/src/lib/types/events.ts index a15a7c1d5337..1c475a1023b0 100644 --- a/src/lib/types/events.ts +++ b/src/lib/types/events.ts @@ -145,6 +145,8 @@ export const CHANGE_REQUEST_SENT_TO_REVIEW = export const CHANGE_REQUEST_APPLIED = 'change-request-applied' as const; export const SCHEDULED_CHANGE_REQUEST_EXECUTED = 'scheduled-change-request-executed' as const; //This will be removed in follow up PR +export const CHANGE_REQUEST_SCHEDULE_SUSPENDED = + 'change-request-schedule-suspended' as const; export const CHANGE_REQUEST_SCHEDULED = 'change-request-scheduled' as const; export const CHANGE_REQUEST_SCHEDULED_APPLICATION_SUCCESS = 'change-request-scheduled-application-success' as const; @@ -292,6 +294,7 @@ export const IEventTypes = [ CHANGE_REQUEST_CANCELLED, CHANGE_REQUEST_SENT_TO_REVIEW, SCHEDULED_CHANGE_REQUEST_EXECUTED, + CHANGE_REQUEST_SCHEDULE_SUSPENDED, CHANGE_REQUEST_APPLIED, CHANGE_REQUEST_SCHEDULED, CHANGE_REQUEST_SCHEDULED_APPLICATION_SUCCESS,