import type { ProjectionDefinition } from '@cratis/chronicle.contracts'; import type { buildReadModelDefinition } from '../../readModels/buildReadModelDefinition.js'; /** * Represents everything that is registered for a graph: the read model that describes it and the projection that fills it. */ export interface GraphRegistration { /** The name of the graph. */ readonly graphName: string; /** The read model whose schema describes the graph. */ readonly readModel: ReturnType; /** The projection with the graph mappings. */ readonly projection: ProjectionDefinition; } //# sourceMappingURL=GraphRegistration.d.ts.map