@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.
- package/dist/contract-prisma7__provider.mjs +3 -3
- package/dist/contract-prisma7__provider.mjs.map +1 -1
- package/dist/contract-psl.d.mts +2 -2
- package/dist/contract-psl.d.mts.map +1 -1
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.d.mts +1 -1
- package/dist/contract-psl__attribute-specs.d.mts.map +1 -1
- package/dist/contract-psl__map-names.d.mts +16 -0
- package/dist/contract-psl__map-names.d.mts.map +1 -0
- package/dist/contract-psl__map-names.mjs +21 -0
- package/dist/contract-psl__map-names.mjs.map +1 -0
- package/dist/contract-psl__provider.mjs +1 -1
- package/dist/contract-psl__provider.mjs.map +1 -1
- package/dist/{control-BynSKZfp.mjs → control-BoloIwBt.mjs} +17 -1
- package/dist/control-BoloIwBt.mjs.map +1 -0
- package/dist/{control-BLOiyNq-.d.mts → control-DftpYMXw.d.mts} +18 -5
- package/dist/control-DftpYMXw.d.mts.map +1 -0
- package/dist/family.d.mts +5 -3
- package/dist/family.mjs +4 -2
- package/dist/family__control.d.mts +2 -2
- package/dist/family__control.mjs +1 -1
- package/dist/family__psl-build.d.mts +3 -0
- package/dist/family__psl-build.mjs +3 -0
- package/dist/family__psl-infer.d.mts +2 -2
- package/dist/family__psl-infer.mjs +2 -2
- package/dist/{interpreter-Cy7S6Jh9-BIa0lyc-.mjs → interpreter-BrW0_y8Q-Dl5e-p7f.mjs} +26 -40
- package/dist/interpreter-BrW0_y8Q-Dl5e-p7f.mjs.map +1 -0
- package/dist/psl-build-Cp32ahjI.mjs +224 -0
- package/dist/psl-build-Cp32ahjI.mjs.map +1 -0
- package/dist/psl-build-yBrQQN3r.d.mts +13 -0
- package/dist/psl-build-yBrQQN3r.d.mts.map +1 -0
- package/dist/{psl-infer-CuTqC9UV.d.mts → psl-infer-BzjA7U3b.d.mts} +3 -50
- package/dist/psl-infer-BzjA7U3b.d.mts.map +1 -0
- package/dist/psl-infer-DwMyO-IV.mjs +195 -0
- package/dist/psl-infer-DwMyO-IV.mjs.map +1 -0
- package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs +66 -0
- package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs.map +1 -0
- package/dist/type-map-BwBI56i3-DDERtzxf.d.mts +49 -0
- package/dist/type-map-BwBI56i3-DDERtzxf.d.mts.map +1 -0
- package/package.json +20 -18
- package/dist/control-BLOiyNq-.d.mts.map +0 -1
- package/dist/control-BynSKZfp.mjs.map +0 -1
- package/dist/interpreter-Cy7S6Jh9-BIa0lyc-.mjs.map +0 -1
- package/dist/psl-infer-CuTqC9UV.d.mts.map +0 -1
- package/dist/psl-infer-Df2DrvP-.mjs +0 -474
- 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-
|
|
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: "
|
|
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
|
|
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({
|