@zenstackhq/sdk 3.3.3 → 3.4.0-beta.1

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.cjs CHANGED
@@ -1551,10 +1551,10 @@ var TsSchemaGenerator = class {
1551
1551
  generateModelsAndTypeDefs(model, options) {
1552
1552
  const statements = [];
1553
1553
  statements.push(this.generateSchemaImport(model, true, true, !!(options.lite || options.liteOnly), options.importWithFileExtension));
1554
- statements.push(ts.factory.createImportDeclaration(void 0, ts.factory.createImportClause(false, void 0, ts.factory.createNamedImports([
1555
- ts.factory.createImportSpecifier(true, void 0, ts.factory.createIdentifier(`ModelResult as $ModelResult`)),
1554
+ statements.push(ts.factory.createImportDeclaration(void 0, ts.factory.createImportClause(true, void 0, ts.factory.createNamedImports([
1555
+ ts.factory.createImportSpecifier(false, void 0, ts.factory.createIdentifier(`ModelResult as $ModelResult`)),
1556
1556
  ...model.declarations.some(import_ast3.isTypeDef) ? [
1557
- ts.factory.createImportSpecifier(true, void 0, ts.factory.createIdentifier(`TypeDefResult as $TypeDefResult`))
1557
+ ts.factory.createImportSpecifier(false, void 0, ts.factory.createIdentifier(`TypeDefResult as $TypeDefResult`))
1558
1558
  ] : []
1559
1559
  ])), ts.factory.createStringLiteral("@zenstackhq/orm")));
1560
1560
  const dataModels = this.getAllDataModels(model);