From a6594071db1badc135e59f511696d38ff7e8c0c8 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Wed, 6 Nov 2024 11:14:47 +0100 Subject: [PATCH] fix: include as const for new event strings --- src/lib/types/events.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/types/events.ts b/src/lib/types/events.ts index cb02c4d6b0c6..3ddee00068c2 100644 --- a/src/lib/types/events.ts +++ b/src/lib/types/events.ts @@ -204,9 +204,12 @@ export const ACTIONS_CREATED = 'actions-created' as const; export const ACTIONS_UPDATED = 'actions-updated' as const; export const ACTIONS_DELETED = 'actions-deleted' as const; -export const RELEASE_PLAN_TEMPLATE_CREATED = 'release-plan-template-created'; -export const RELEASE_PLAN_TEMPLATE_UPDATED = 'release-plan-template-updated'; -export const RELEASE_PLAN_TEMPLATE_DELETED = 'release-plan-template-deleted'; +export const RELEASE_PLAN_TEMPLATE_CREATED = + 'release-plan-template-created' as const; +export const RELEASE_PLAN_TEMPLATE_UPDATED = + 'release-plan-template-updated' as const; +export const RELEASE_PLAN_TEMPLATE_DELETED = + 'release-plan-template-deleted' as const; export const USER_PREFERENCE_UPDATED = 'user-preference-updated' as const; export const IEventTypes = [