@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/dist/index.js CHANGED
@@ -76,6 +76,7 @@ var DriverPlugin = class {
76
76
  };
77
77
 
78
78
  // src/seed-loader.ts
79
+ import { SeedLoaderConfigSchema } from "@objectstack/spec/data";
79
80
  var DEFAULT_EXTERNAL_ID_FIELD = "name";
80
81
  var SeedLoaderService = class {
81
82
  constructor(engine, metadata, logger) {
@@ -160,7 +161,6 @@ var SeedLoaderService = class {
160
161
  return { nodes, insertOrder, circularDependencies };
161
162
  }
162
163
  async validate(datasets, config) {
163
- const { SeedLoaderConfigSchema } = await import("@objectstack/spec/data");
164
164
  const parsedConfig = SeedLoaderConfigSchema.parse({ ...config, dryRun: true });
165
165
  return this.load({ datasets, config: parsedConfig });
166
166
  }