Contracts
Path:
loom-sprint-scaffold/loom/src/types/contracts.tsRelative: loom/src/types/contracts.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 241Bytes: 6,845Imports: 0Exports: 31
Content Preview
- /**
- * TypeScript mirrors of the 5 LOOM contracts (src/contracts/*.schema.json).
- * The JSON Schemas are the source of truth at runtime boundaries (ajv);
- * these types are the compile-time shadow. tests/contracts.test.ts pins
- * fixtures against BOTH so the two cannot silently diverge.
- */
- // ── shared primitives ─────────────────────────────────────────────────────
- export type GoalId = `goal_${string}`;
- export type StageId = `stg_${string}`;
- export type EventId = `evt_${string}`;
- export type