Template
1
0
Files
boilerplate/api/libraries/event-store/aggregates/mod.ts

9 lines
301 B
TypeScript

import { AggregateFactory } from "@valkyr/event-store";
import { Account } from "./account.ts";
import { Code } from "./code.ts";
import { Organization } from "./organization.ts";
import { Role } from "./role.ts";
export const aggregates = new AggregateFactory([Account, Code, Organization, Role]);