@objectstack/runtime 3.2.6 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/seed-loader.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/runtime",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "ObjectStack Core Runtime & Query Engine",
|
|
6
6
|
"type": "module",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"zod": "^4.3.6",
|
|
18
|
-
"@objectstack/core": "3.2.
|
|
19
|
-
"@objectstack/rest": "3.2.
|
|
20
|
-
"@objectstack/spec": "3.2.
|
|
21
|
-
"@objectstack/types": "3.2.
|
|
18
|
+
"@objectstack/core": "3.2.7",
|
|
19
|
+
"@objectstack/rest": "3.2.7",
|
|
20
|
+
"@objectstack/spec": "3.2.7",
|
|
21
|
+
"@objectstack/types": "3.2.7"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"typescript": "^5.0.0",
|
package/src/seed-loader.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type {
|
|
|
13
13
|
DatasetLoadResult,
|
|
14
14
|
Dataset,
|
|
15
15
|
} from '@objectstack/spec/data';
|
|
16
|
+
import { SeedLoaderConfigSchema } from '@objectstack/spec/data';
|
|
16
17
|
|
|
17
18
|
interface Logger {
|
|
18
19
|
info(message: string, meta?: Record<string, any>): void;
|
|
@@ -152,7 +153,6 @@ export class SeedLoaderService implements ISeedLoaderService {
|
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
async validate(datasets: Dataset[], config?: SeedLoaderConfigInput): Promise<SeedLoaderResult> {
|
|
155
|
-
const { SeedLoaderConfigSchema } = await import('@objectstack/spec/data');
|
|
156
156
|
const parsedConfig = SeedLoaderConfigSchema.parse({ ...config, dryRun: true });
|
|
157
157
|
return this.load({ datasets, config: parsedConfig });
|
|
158
158
|
}
|