mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
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.
This commit is contained in:
parent
d49626133e
commit
7130270058
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user