diff --git a/src/lib/models/event-history/get-event-categorization.test.ts b/src/lib/models/event-history/get-event-categorization.test.ts index 586b7ab91..daa80f38c 100644 --- a/src/lib/models/event-history/get-event-categorization.test.ts +++ b/src/lib/models/event-history/get-event-categorization.test.ts @@ -64,6 +64,7 @@ describe('Event Category Data Structures', () => { "WorkflowExecutionTerminated": "workflow", "WorkflowExecutionTimedOut": "workflow", "WorkflowExecutionUpdateAccepted": "update", + "WorkflowExecutionUpdateAdmitted": "update", "WorkflowExecutionUpdateCompleted": "update", "WorkflowExecutionUpdateRejected": "update", "WorkflowExecutionUpdateRequested": "update", @@ -232,6 +233,7 @@ const categories: Record< update: [ 'WorkflowExecutionUpdateAccepted', + 'WorkflowExecutionUpdateAdmitted', 'WorkflowExecutionUpdateCompleted', ], diff --git a/src/lib/models/event-history/get-event-categorization.ts b/src/lib/models/event-history/get-event-categorization.ts index be377205b..65b00f5b0 100644 --- a/src/lib/models/event-history/get-event-categorization.ts +++ b/src/lib/models/event-history/get-event-categorization.ts @@ -70,6 +70,7 @@ export const eventTypeCategorizations: Readonly< WorkflowExecutionUpdateCompleted: CATEGORIES.UPDATE, WorkflowExecutionUpdateRequested: CATEGORIES.UPDATE, WorkflowExecutionUpdateRejected: CATEGORIES.UPDATE, + WorkflowExecutionUpdateAdmitted: CATEGORIES.UPDATE, NexusOperationScheduled: CATEGORIES.NEXUS, NexusOperationStarted: CATEGORIES.NEXUS, diff --git a/src/lib/utilities/is-event-type.ts b/src/lib/utilities/is-event-type.ts index fa9e6ffa1..ffec35995 100644 --- a/src/lib/utilities/is-event-type.ts +++ b/src/lib/utilities/is-event-type.ts @@ -134,6 +134,7 @@ export const eventTypes = [ 'RequestCancelExternalWorkflowExecutionInitiated', 'UpsertWorkflowSearchAttributes', 'WorkflowExecutionUpdateAccepted', + 'WorkflowExecutionUpdateAdmitted', 'WorkflowExecutionUpdateCompleted', 'WorkflowExecutionUpdateRejected', 'WorkflowExecutionUpdateRequested',