@prisma/orm-family-sql 8.0.0-rc.12-dev.13 → 8.0.0-rc.12-dev.15

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.
Files changed (46) hide show
  1. package/dist/contract-prisma7__provider.mjs +3 -3
  2. package/dist/contract-prisma7__provider.mjs.map +1 -1
  3. package/dist/contract-psl.d.mts +2 -2
  4. package/dist/contract-psl.d.mts.map +1 -1
  5. package/dist/contract-psl.mjs +1 -1
  6. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  7. package/dist/contract-psl__attribute-specs.d.mts.map +1 -1
  8. package/dist/contract-psl__map-names.d.mts +16 -0
  9. package/dist/contract-psl__map-names.d.mts.map +1 -0
  10. package/dist/contract-psl__map-names.mjs +21 -0
  11. package/dist/contract-psl__map-names.mjs.map +1 -0
  12. package/dist/contract-psl__provider.mjs +1 -1
  13. package/dist/contract-psl__provider.mjs.map +1 -1
  14. package/dist/{control-BynSKZfp.mjs → control-BoloIwBt.mjs} +17 -1
  15. package/dist/control-BoloIwBt.mjs.map +1 -0
  16. package/dist/{control-BLOiyNq-.d.mts → control-DftpYMXw.d.mts} +18 -5
  17. package/dist/control-DftpYMXw.d.mts.map +1 -0
  18. package/dist/family.d.mts +5 -3
  19. package/dist/family.mjs +4 -2
  20. package/dist/family__control.d.mts +2 -2
  21. package/dist/family__control.mjs +1 -1
  22. package/dist/family__psl-build.d.mts +3 -0
  23. package/dist/family__psl-build.mjs +3 -0
  24. package/dist/family__psl-infer.d.mts +2 -2
  25. package/dist/family__psl-infer.mjs +2 -2
  26. package/dist/{interpreter-Cy7S6Jh9-BIa0lyc-.mjs → interpreter-BrW0_y8Q-Dl5e-p7f.mjs} +26 -40
  27. package/dist/interpreter-BrW0_y8Q-Dl5e-p7f.mjs.map +1 -0
  28. package/dist/psl-build-Cp32ahjI.mjs +224 -0
  29. package/dist/psl-build-Cp32ahjI.mjs.map +1 -0
  30. package/dist/psl-build-yBrQQN3r.d.mts +13 -0
  31. package/dist/psl-build-yBrQQN3r.d.mts.map +1 -0
  32. package/dist/{psl-infer-CuTqC9UV.d.mts → psl-infer-BzjA7U3b.d.mts} +3 -50
  33. package/dist/psl-infer-BzjA7U3b.d.mts.map +1 -0
  34. package/dist/psl-infer-DwMyO-IV.mjs +195 -0
  35. package/dist/psl-infer-DwMyO-IV.mjs.map +1 -0
  36. package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs +66 -0
  37. package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs.map +1 -0
  38. package/dist/type-map-BwBI56i3-DDERtzxf.d.mts +49 -0
  39. package/dist/type-map-BwBI56i3-DDERtzxf.d.mts.map +1 -0
  40. package/package.json +20 -18
  41. package/dist/control-BLOiyNq-.d.mts.map +0 -1
  42. package/dist/control-BynSKZfp.mjs.map +0 -1
  43. package/dist/interpreter-Cy7S6Jh9-BIa0lyc-.mjs.map +0 -1
  44. package/dist/psl-infer-CuTqC9UV.d.mts.map +0 -1
  45. package/dist/psl-infer-Df2DrvP-.mjs +0 -474
  46. package/dist/psl-infer-Df2DrvP-.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { d as validateSqlStorageConsistency, l as validateModelStorageReferences } from "./validators-DecqO0rE.mjs";
2
2
  import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
3
3
  import { n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-BiClpWj6-Czjj2esH.mjs";
4
- import { c as resolveFieldTypeDescriptor, i as indexFkRelations, n as buildEntityTypesByDiscriminator, o as normalizeReferentialAction, r as entryForTag, s as readDataTypeDefault, t as applyBackrelationCandidates } from "./interpreter-Cy7S6Jh9-BIa0lyc-.mjs";
4
+ import { c as resolveFieldTypeDescriptor, i as indexFkRelations, n as buildEntityTypesByDiscriminator, o as normalizeReferentialAction, r as entryForTag, s as readDataTypeDefault, t as applyBackrelationCandidates } from "./interpreter-BrW0_y8Q-Dl5e-p7f.mjs";
5
5
  import { isStructuredError } from "@prisma/orm-framework/utils/structured-error";
6
6
  import { collectScalarTypeConstructors, instantiateAuthoringEntityType } from "@prisma/orm-framework/components/authoring";
7
7
  import { InternalError } from "@prisma/orm-framework/utils/internal-error";
@@ -1652,7 +1652,7 @@ function validateInterpretedContract(contract) {
1652
1652
  function prisma7Contract(schemaPath, options) {
1653
1653
  return {
1654
1654
  source: {
1655
- format: "prisma7",
1655
+ format: "psl",
1656
1656
  inputs: [schemaPath],
1657
1657
  async load(context) {
1658
1658
  const [absolutePath] = context.resolvedInputs;
@@ -1698,7 +1698,7 @@ function prisma7Contract(schemaPath, options) {
1698
1698
  }
1699
1699
  });
1700
1700
  }
1701
- const { document, sources, diagnostics } = parse(schema, file.sourceId, { grammar: "prisma7" });
1701
+ const { document, sources, diagnostics } = parse(schema, file.sourceId);
1702
1702
  const sourceFile = sources.sourceFileFor(document.syntax);
1703
1703
  seedDiagnostics.push(...mapParseDiagnostics(diagnostics, sourceFile, file.sourceId));
1704
1704
  documents.push({