From 713027005835538d341178b3bf0d5099bc342220 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Thu, 6 Jul 2023 12:51:32 +0200 Subject: [PATCH] fix: added service-account events (#4164) We're using this in enterprise as well, so we need to add events that could happen there as well. --- src/lib/types/events.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/types/events.ts b/src/lib/types/events.ts index 40b4a20938..c10585e5fc 100644 --- a/src/lib/types/events.ts +++ b/src/lib/types/events.ts @@ -117,6 +117,10 @@ export const PROJECT_UNFAVORITED = 'project-unfavorited' as const; export const FEATURES_EXPORTED = 'features-exported' as const; export const FEATURES_IMPORTED = 'features-imported' as const; +export const SERVICE_ACCOUNT_CREATED = 'service-account-created' as const; +export const SERVICE_ACCOUNT_UPDATED = 'service-account-updated' as const; +export const SERVICE_ACCOUNT_DELETED = 'service-account-deleted' as const; + export const IEventTypes = [ APPLICATION_CREATED, FEATURE_CREATED, @@ -214,6 +218,9 @@ export const IEventTypes = [ PROJECT_UNFAVORITED, FEATURES_EXPORTED, FEATURES_IMPORTED, + SERVICE_ACCOUNT_CREATED, + SERVICE_ACCOUNT_DELETED, + SERVICE_ACCOUNT_UPDATED, ] as const; export type IEventType = typeof IEventTypes[number];