Skip to content

Commit d6efa2a

Browse files
Copilothotlong
andcommitted
feat(data): add seed loader protocol with relationship resolution & dependency ordering
Add seed-loader.zod.ts with Zod schemas for: - ReferenceResolutionSchema: field reference resolution via externalId - ObjectDependencyNodeSchema/GraphSchema: topological sort for insert order - ReferenceResolutionErrorSchema: actionable error reporting - SeedLoaderConfigSchema: dry-run, multi-pass, batch, transaction config - DatasetLoadResultSchema: per-object load statistics - SeedLoaderResultSchema: complete load result with summary - SeedLoaderRequestSchema: request combining datasets + config Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6404084 commit d6efa2a

3 files changed

Lines changed: 1010 additions & 0 deletions

File tree

packages/spec/src/data/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export * from './driver-nosql.zod';
1414

1515
export * from './dataset.zod';
1616

17+
// Seed Loader Protocol (Relationship Resolution & Dependency Ordering)
18+
export * from './seed-loader.zod';
19+
1720
// Document Management Protocol
1821
export * from './document.zod';
1922

0 commit comments

Comments
 (0)