Skip to content

Commit a97902f

Browse files
committed
feat: Refactor datasource schemas and tests; consolidate datasource.zod.ts and update imports
1 parent 44f3b4c commit a97902f

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

packages/spec/src/driver/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export * from './driver.zod';
2-
export * from './datasource.zod';
2+
export * from '../system/datasource.zod';
33
export * from './mongo.zod';
44
export * from './postgres.zod';
File renamed without changes.
File renamed without changes.

packages/spec/src/system/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ export * from './plugin.zod';
1919
export * from './logger.zod';
2020
export * from './context.zod';
2121
export * from './scoped-storage.zod';
22-
export * from '../driver/datasource.zod';
22+
export * from './datasource.zod';
2323
// Note: Auth, Identity, Policy, Role, Organization moved to @objectstack/spec/auth
2424
// Note: Territory moved to @objectstack/spec/permission

packages/spec/src/system/manifest.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { z } from 'zod';
22
import { ObjectSchema } from '../data/object.zod';
3-
import { DatasourceSchema } from '../driver/datasource.zod';
3+
import { DatasourceSchema } from './datasource.zod';
44

55
/**
66
* Schema for the ObjectStack Manifest.

0 commit comments

Comments
 (0)