From 91ca032b7a130a7030045f9617b0fe9955a575dc Mon Sep 17 00:00:00 2001 From: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:26:41 -0500 Subject: [PATCH] Updating Org Domain events to match existing pattern of incrementing event type enum by 100 to group new types of events. (#4785) --- libs/common/src/enums/eventType.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/common/src/enums/eventType.ts b/libs/common/src/enums/eventType.ts index e7baa2e71d..5caa4b29df 100644 --- a/libs/common/src/enums/eventType.ts +++ b/libs/common/src/enums/eventType.ts @@ -1,3 +1,4 @@ +// Increment by 100 for each new set of events export enum EventType { User_LoggedIn = 1000, User_ChangedPassword = 1001, @@ -73,8 +74,8 @@ export enum EventType { ProviderOrganization_Removed = 1902, ProviderOrganization_VaultAccessed = 1903, - OrganizationDomain_Added = 1904, - OrganizationDomain_Removed = 1905, - OrganizationDomain_Verified = 1906, - OrganizationDomain_NotVerified = 1907, + OrganizationDomain_Added = 2000, + OrganizationDomain_Removed = 2001, + OrganizationDomain_Verified = 2002, + OrganizationDomain_NotVerified = 2003, }