Skip to content

Commit

Permalink
fix: added service-account events (#4164)
Browse files Browse the repository at this point in the history
We're using this in enterprise as well, so we need to add events that
could happen there as well.
  • Loading branch information
Christopher Kolstad committed Jul 6, 2023
1 parent d496261 commit 7130270
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/types/events.ts
Expand Up @@ -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,
Expand Down Expand Up @@ -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];

Expand Down

0 comments on commit 7130270

Please sign in to comment.