Skip to content

Commit

Permalink
fix: include as const for new event strings
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Nov 6, 2024
1 parent a4de63e commit a659407
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/lib/types/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit a659407

Please sign in to comment.