From f6c415bc7daaa7d92bf37573352a40b63c42b0e4 Mon Sep 17 00:00:00 2001 From: JBBianchi Date: Mon, 18 Dec 2023 17:56:25 +0100 Subject: [PATCH] fix(integration): fixed aggregate version --- .../integration/src/lib/integration-event.interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/neuroglia/integration/src/lib/integration-event.interface.ts b/projects/neuroglia/integration/src/lib/integration-event.interface.ts index 78d7f6b..abc54a5 100644 --- a/projects/neuroglia/integration/src/lib/integration-event.interface.ts +++ b/projects/neuroglia/integration/src/lib/integration-event.interface.ts @@ -7,7 +7,7 @@ export interface IIntegrationEvent { /** The id of the aggregate, if any, that has produced the event */ aggregateId: T; /** The version of the event's source aggregate, if any, at the time it produced the event */ - aggregateVersion: string; + aggregateVersion: number; /** The type of the originating intergration event */ type: string; }