1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: Add environment mutation events (c.u.d) (#5455)

Adds the events for create, update and delete environment

Relates to:
[CTO-41](https://linear.app/unleash/issue/CTO-41/environment-mutation-not-in-event-log)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2023-11-28 10:39:08 +02:00 committed by GitHub
parent 01d0cc4e53
commit 473741a65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,6 +96,9 @@ export const USER_UPDATED = 'user-updated' as const;
export const USER_DELETED = 'user-deleted' as const;
export const DROP_ENVIRONMENTS = 'drop-environments' as const;
export const ENVIRONMENT_IMPORT = 'environment-import' as const;
export const ENVIRONMENT_CREATED = 'environment-created' as const;
export const ENVIRONMENT_UPDATED = 'environment-updated' as const;
export const ENVIRONMENT_DELETED = 'environment-deleted' as const;
export const SEGMENT_CREATED = 'segment-created' as const;
export const SEGMENT_UPDATED = 'segment-updated' as const;
export const SEGMENT_DELETED = 'segment-deleted' as const;
@ -236,6 +239,9 @@ export const IEventTypes = [
USER_DELETED,
DROP_ENVIRONMENTS,
ENVIRONMENT_IMPORT,
ENVIRONMENT_CREATED,
ENVIRONMENT_UPDATED,
ENVIRONMENT_DELETED,
SEGMENT_CREATED,
SEGMENT_UPDATED,
SEGMENT_DELETED,