feat: update aggregate implementation

This commit is contained in:
2025-08-11 13:34:28 +02:00
parent 9dddc4e79f
commit cc8c558db6
37 changed files with 361 additions and 511 deletions

View File

@@ -1,4 +1,4 @@
import z from "zod/v4";
import z from "zod";
import { event } from "../../libraries/event.ts";
import { EventFactory } from "../../libraries/event-factory.ts";
@@ -32,4 +32,4 @@ export const events = new EventFactory([
event.type("post:removed").meta(auditor),
]);
export type EventStoreFactory = typeof events;
export type Events = typeof events;