1
0
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:
Christopher Kolstad 2023-07-06 12:51:32 +02:00 committed by GitHub
parent d49626133e
commit 7130270058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];