import type { Constructor } from '@cratis/fundamentals'; /** * Optional registered event source routing for an event added to a unit of work. * Carried through to the append on commit, where it is validated like any other append. */ export interface TransactionalEventRouting { /** Registered event source definition (class decorated with `@eventSource`, or its name). */ readonly eventSource?: Constructor | string; /** Stream name declared by {@link eventSource}. */ readonly eventStream?: string; } //# sourceMappingURL=TransactionalEventRouting.d.ts.map