@prisma/orm-family-sql 8.0.0-rc.16-dev.4 → 8.0.0-rc.16-dev.6
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/{ast-B_UPqRyb.mjs → ast-DUU5OVjo.mjs} +2 -2
- package/dist/{ast-B_UPqRyb.mjs.map → ast-DUU5OVjo.mjs.map} +1 -1
- package/dist/{authored-check-naming-BjIs43HD.mjs → authored-check-naming-BBdhHujS.mjs} +3 -3
- package/dist/{authored-check-naming-BjIs43HD.mjs.map → authored-check-naming-BBdhHujS.mjs.map} +1 -1
- package/dist/{authoring-type-constructors-dihiQslc-B5nYi7p2.mjs → authoring-type-constructors-0Iv2zdwS-CVl4womm.mjs} +14 -4
- package/dist/authoring-type-constructors-0Iv2zdwS-CVl4womm.mjs.map +1 -0
- package/dist/builder__runtime.mjs +2 -2
- package/dist/{codec-descriptor-registry-DoGFktu5.mjs → codec-descriptor-registry-D7bl9ayf.mjs} +2 -2
- package/dist/{codec-descriptor-registry-DoGFktu5.mjs.map → codec-descriptor-registry-D7bl9ayf.mjs.map} +1 -1
- package/dist/{config-types-BMRDvgSW.mjs → config-types-DeIF6WyF.mjs} +2 -2
- package/dist/{config-types-BMRDvgSW.mjs.map → config-types-DeIF6WyF.mjs.map} +1 -1
- package/dist/{contract-builder-83EIkQrg.mjs → contract-builder-BlFrYr97.mjs} +4 -4
- package/dist/{contract-builder-83EIkQrg.mjs.map → contract-builder-BlFrYr97.mjs.map} +1 -1
- package/dist/contract-emitter.mjs +1 -1
- package/dist/contract-prisma7__provider.d.mts +5 -0
- package/dist/contract-prisma7__provider.d.mts.map +1 -1
- package/dist/contract-prisma7__provider.mjs +206 -133
- package/dist/contract-prisma7__provider.mjs.map +1 -1
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.mjs +1 -1
- package/dist/contract-psl__provider.mjs +2 -2
- package/dist/contract-ts.mjs +3 -3
- package/dist/contract-ts__config-types.mjs +1 -1
- package/dist/contract-ts__contract-builder.mjs +2 -2
- package/dist/contract.mjs +9 -9
- package/dist/contract__authored-check-naming.mjs +1 -1
- package/dist/contract__entity-kinds.mjs +1 -1
- package/dist/contract__factories.mjs +1 -1
- package/dist/contract__foreign-key-materialization.mjs +1 -1
- package/dist/contract__index-naming.mjs +1 -1
- package/dist/contract__types.mjs +3 -3
- package/dist/contract__validators.mjs +2 -2
- package/dist/{control-ihau09EM.mjs → control-DxvOSmwF.mjs} +11 -11
- package/dist/{control-ihau09EM.mjs.map → control-DxvOSmwF.mjs.map} +1 -1
- package/dist/{derived-checks-DAbro9yn-BgBbql-q.mjs → derived-checks-DdguQPYm-BP57ljP8.mjs} +25 -19
- package/dist/{derived-checks-DAbro9yn-BgBbql-q.mjs.map → derived-checks-DdguQPYm-BP57ljP8.mjs.map} +1 -1
- package/dist/{dist-ljGeuCdK.mjs → dist-7hmkNQGd.mjs} +2 -2
- package/dist/{dist-ljGeuCdK.mjs.map → dist-7hmkNQGd.mjs.map} +1 -1
- package/dist/{entity-kinds-JlqzyFoo-BR7NtlZL.mjs → entity-kinds-JlqzyFoo-kIaAUFyK.mjs} +3 -3
- package/dist/{entity-kinds-JlqzyFoo-BR7NtlZL.mjs.map → entity-kinds-JlqzyFoo-kIaAUFyK.mjs.map} +1 -1
- package/dist/{factories-WPleYaty.mjs → factories-BsUyFxsk.mjs} +3 -3
- package/dist/{factories-WPleYaty.mjs.map → factories-BsUyFxsk.mjs.map} +1 -1
- package/dist/family.mjs +6 -6
- package/dist/family__control.mjs +3 -3
- package/dist/family__diff.mjs +1 -1
- package/dist/family__ir.mjs +1 -1
- package/dist/family__pack.mjs +2 -2
- package/dist/family__pack.mjs.map +1 -1
- package/dist/family__psl-build.mjs +1 -1
- package/dist/family__psl-infer.mjs +1 -1
- package/dist/{foreign-key-materialization-uN1uuv25.mjs → foreign-key-materialization-IGfTKmHV.mjs} +3 -3
- package/dist/{foreign-key-materialization-uN1uuv25.mjs.map → foreign-key-materialization-IGfTKmHV.mjs.map} +1 -1
- package/dist/{index-naming-Cj1Anq-T-DgO8vEIL.mjs → index-naming-Cj1Anq-T-NX841eiU.mjs} +2 -2
- package/dist/{index-naming-Cj1Anq-T-DgO8vEIL.mjs.map → index-naming-Cj1Anq-T-NX841eiU.mjs.map} +1 -1
- package/dist/{interpreter-BF5Xrf3W-DK928Clg.mjs → interpreter-BF5Xrf3W-bdklH78q.mjs} +5 -5
- package/dist/{interpreter-BF5Xrf3W-DK928Clg.mjs.map → interpreter-BF5Xrf3W-bdklH78q.mjs.map} +1 -1
- package/dist/{naming-BLraiRfc-DKPaCL0a.mjs → naming-DkG_OegU-DpENNdZX.mjs} +5 -18
- package/dist/naming-DkG_OegU-DpENNdZX.mjs.map +1 -0
- package/dist/orm-client.mjs +2 -2
- package/dist/{psl-build-B_fRV6lN.mjs → psl-build-Di-cBOCv.mjs} +2 -2
- package/dist/{psl-build-B_fRV6lN.mjs.map → psl-build-Di-cBOCv.mjs.map} +1 -1
- package/dist/{psl-field-resolution-DUCrDnuq-BXwISml1.mjs → psl-field-resolution-DUCrDnuq-DSxPrd-4.mjs} +3 -3
- package/dist/{psl-field-resolution-DUCrDnuq-BXwISml1.mjs.map → psl-field-resolution-DUCrDnuq-DSxPrd-4.mjs.map} +1 -1
- package/dist/{psl-infer-BokOY1hK.mjs → psl-infer-fU7LRjTx.mjs} +2 -2
- package/dist/{psl-infer-BokOY1hK.mjs.map → psl-infer-fU7LRjTx.mjs.map} +1 -1
- package/dist/relational-core.mjs +1 -1
- package/dist/relational-core__ast.mjs +1 -1
- package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/schema-ir.mjs +1 -1
- package/dist/schema-ir__naming.mjs +1 -1
- package/dist/schema-ir__types.mjs +1 -1
- package/dist/{schema-verify-DIfHSB4I-BK55V2WO.mjs → schema-verify-DIfHSB4I-CjYnmUuD.mjs} +2 -2
- package/dist/{schema-verify-DIfHSB4I-BK55V2WO.mjs.map → schema-verify-DIfHSB4I-CjYnmUuD.mjs.map} +1 -1
- package/dist/{serialized-index-QAYy0fjm-BW4shnLC.mjs → serialized-index-QAYy0fjm-zxvK3RBa.mjs} +3 -3
- package/dist/{serialized-index-QAYy0fjm-BW4shnLC.mjs.map → serialized-index-QAYy0fjm-zxvK3RBa.mjs.map} +1 -1
- package/dist/{sql-contract-serializer-DDaAVCQr-D40NltYi.mjs → sql-contract-serializer-DDaAVCQr-CLDkZLXO.mjs} +4 -4
- package/dist/{sql-contract-serializer-DDaAVCQr-D40NltYi.mjs.map → sql-contract-serializer-DDaAVCQr-CLDkZLXO.mjs.map} +1 -1
- package/dist/{storage-table-CyL4CNMi-zOQ-vTUd.mjs → storage-table-CyL4CNMi-ByGZXmzd.mjs} +2 -2
- package/dist/{storage-table-CyL4CNMi-zOQ-vTUd.mjs.map → storage-table-CyL4CNMi-ByGZXmzd.mjs.map} +1 -1
- package/dist/{types-D_7dH1ie-CN5Dgmgh.mjs → types-Cz_bcUWN-CC3lFQOi.mjs} +3 -3
- package/dist/{types-D_7dH1ie-CN5Dgmgh.mjs.map → types-Cz_bcUWN-CC3lFQOi.mjs.map} +1 -1
- package/dist/{types-BlcZJEoC.mjs → types-DDHgx581.mjs} +2 -2
- package/dist/{types-BlcZJEoC.mjs.map → types-DDHgx581.mjs.map} +1 -1
- package/dist/{validators-Ddcw8nHL.mjs → validators-Xx-TKcx3.mjs} +3 -3
- package/dist/{validators-Ddcw8nHL.mjs.map → validators-Xx-TKcx3.mjs.map} +1 -1
- package/package.json +18 -18
- package/dist/authoring-type-constructors-dihiQslc-B5nYi7p2.mjs.map +0 -1
- package/dist/naming-BLraiRfc-DKPaCL0a.mjs.map +0 -1
package/dist/contract-psl.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as interpretPslDocumentToSqlContract } from "./interpreter-BF5Xrf3W-
|
|
1
|
+
import { i as interpretPslDocumentToSqlContract } from "./interpreter-BF5Xrf3W-bdklH78q.mjs";
|
|
2
2
|
export { interpretPslDocumentToSqlContract };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as describeUnsupportedSqlAttribute, b as sqlAttributeSpecs } from "./psl-field-resolution-DUCrDnuq-
|
|
1
|
+
import { a as describeUnsupportedSqlAttribute, b as sqlAttributeSpecs } from "./psl-field-resolution-DUCrDnuq-DSxPrd-4.mjs";
|
|
2
2
|
export { describeUnsupportedSqlAttribute, sqlAttributeSpecs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as applySqlSpecifierControlPolicy } from "./derived-checks-
|
|
2
|
-
import { i as interpretPslDocumentToSqlContract } from "./interpreter-BF5Xrf3W-
|
|
1
|
+
import { t as applySqlSpecifierControlPolicy } from "./derived-checks-DdguQPYm-BP57ljP8.mjs";
|
|
2
|
+
import { i as interpretPslDocumentToSqlContract } from "./interpreter-BF5Xrf3W-bdklH78q.mjs";
|
|
3
3
|
import { collectScalarTypeConstructors } from "@prisma/orm-framework/components/authoring";
|
|
4
4
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
package/dist/contract-ts.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-
|
|
2
|
-
import { a as check, c as enumType, d as member, f as model, h as sql, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-
|
|
3
|
-
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-
|
|
1
|
+
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-DdguQPYm-BP57ljP8.mjs";
|
|
2
|
+
import { a as check, c as enumType, d as member, f as model, h as sql, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-BlFrYr97.mjs";
|
|
3
|
+
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-DeIF6WyF.mjs";
|
|
4
4
|
export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, emptyContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn, typescriptContract, typescriptContractFromPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-
|
|
1
|
+
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-DeIF6WyF.mjs";
|
|
2
2
|
export { emptyContract, typescriptContract, typescriptContractFromPath };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-
|
|
2
|
-
import { a as check, c as enumType, d as member, f as model, h as sql, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-
|
|
1
|
+
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-DdguQPYm-BP57ljP8.mjs";
|
|
2
|
+
import { a as check, c as enumType, d as member, f as model, h as sql, i as buildContractDefinition, l as extensionModel, m as rel, n as bindEnumType, o as createComposedAuthoringHelpers, p as now, r as buildBoundContract, s as defineContract, t as autoincrement, u as field } from "./contract-builder-BlFrYr97.mjs";
|
|
3
3
|
export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn };
|
package/dist/contract.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { n as isAuthoredIndexInput, r as lowerAuthoredIndex, t as exactNameBodyWarning } from "./index-naming-Cj1Anq-T-
|
|
2
|
-
import { t as lowerAuthoredCheck } from "./authored-check-naming-
|
|
1
|
+
import { n as isAuthoredIndexInput, r as lowerAuthoredIndex, t as exactNameBodyWarning } from "./index-naming-Cj1Anq-T-NX841eiU.mjs";
|
|
2
|
+
import { t as lowerAuthoredCheck } from "./authored-check-naming-BBdhHujS.mjs";
|
|
3
3
|
import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-dmXkOR4a.mjs";
|
|
4
4
|
import { n as buildSqlSchemaQualifiedView, r as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-BMR5IWk4.mjs";
|
|
5
5
|
import { t as numeralText } from "./numeral-text-Cqu87pVe-DJCqBaSC.mjs";
|
|
6
6
|
import { a as renderSqlTypeName, c as sqlDataType, d as unquotedSqlBaseNameOfCodec, f as validateSqlTypeParams, i as renderSqlCatalogText, l as sqlDataTypeOfCodec, n as findSqlDataTypeCollision, o as resolveReportedSqlType, r as isSqlDataType, s as sqlBaseName, t as dataTypeParams, u as unquotedSqlBaseName } from "./data-type-CAPmGXg9.mjs";
|
|
7
7
|
import { a as integerTextCanonicalForm, c as printJsonText, i as escapePslString, l as signedRange, n as canonicalNumeralText, o as isNumeralText, r as createNumberClassifier, s as parseJsonText, t as canonicalDateTime } from "./data-type-support-Bu-VpT7z.mjs";
|
|
8
8
|
import { n as providesPslEntityPlacement, t as providesEntityHandleLowering } from "./entity-handle-lowering-hook-B3atrRKX.mjs";
|
|
9
|
-
import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-CyL4CNMi-
|
|
10
|
-
import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-QAYy0fjm-
|
|
11
|
-
import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, f as composeSqlEntityKinds, i as ColumnDefaultSchema, l as ReferentialActionSchema, m as valueSetEntityKind, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, p as tableEntityKind, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-JlqzyFoo-
|
|
12
|
-
import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-
|
|
13
|
-
import { n as isBackedByColumnKeys, r as materializeForeignKeysAndIndexes, t as backingIndexColumnKeys } from "./foreign-key-materialization-
|
|
9
|
+
import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-CyL4CNMi-ByGZXmzd.mjs";
|
|
10
|
+
import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-QAYy0fjm-zxvK3RBa.mjs";
|
|
11
|
+
import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, f as composeSqlEntityKinds, i as ColumnDefaultSchema, l as ReferentialActionSchema, m as valueSetEntityKind, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, p as tableEntityKind, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-JlqzyFoo-kIaAUFyK.mjs";
|
|
12
|
+
import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-BsUyFxsk.mjs";
|
|
13
|
+
import { n as isBackedByColumnKeys, r as materializeForeignKeysAndIndexes, t as backingIndexColumnKeys } from "./foreign-key-materialization-IGfTKmHV.mjs";
|
|
14
14
|
import { t as validateIndexTypes } from "./index-type-validation-COH4d78M.mjs";
|
|
15
15
|
import { n as defineIndexTypes, t as createIndexTypeRegistry } from "./index-types-DJQ_xwaE.mjs";
|
|
16
16
|
import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-DSqkrySN.mjs";
|
|
17
17
|
import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
|
|
18
18
|
import { a as sqlExpressionAuthoringEntry, i as printSqlExpressionLiteral, n as SQL_EXPRESSION_TAG, o as sqlExpressionDataType, r as assertNothingCastsFromSqlExpression, s as sqlTextFromCanonical, t as SQL_EXPRESSION_DATA_TYPE_ID } from "./sql-expression-D7GsLgDM.mjs";
|
|
19
|
-
import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-
|
|
20
|
-
import { a as createSqlStorageSchema, c as validateModel, d as validateSqlStorageConsistency, f as validateStorage, i as createSqlContractSchema, l as validateModelStorageReferences, m as valueObjectStorageTypeMissingMessage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateStorageSemantics, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateSqlContractFully } from "./validators-
|
|
19
|
+
import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-DDHgx581.mjs";
|
|
20
|
+
import { a as createSqlStorageSchema, c as validateModel, d as validateSqlStorageConsistency, f as validateStorage, i as createSqlContractSchema, l as validateModelStorageReferences, m as valueObjectStorageTypeMissingMessage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateStorageSemantics, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateSqlContractFully } from "./validators-Xx-TKcx3.mjs";
|
|
21
21
|
import { n as providesValueSetDerivation, t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
22
22
|
export { CODEC_INSTANCE_KIND, CheckConstraint, CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, ForeignKey, ForeignKeyReference, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, IndexSchema, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueSet, StorageValueSetSchema, UniqueConstraint, applyFkDefaults, assertNothingCastsFromSqlExpression, backingIndexColumnKeys, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, defineIndexTypes, deriveValueSetFromEntity, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, integerTextCanonicalForm, isAuthoredIndexInput, isBackedByColumnKeys, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isStorageTypeInstance, isStorageValueSet, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, renderSqlCatalogText, renderSqlTypeName, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolvedTypeParams, signedRange, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlTextFromCanonical, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateIndexTypes, validateModel, validateModelStorageReferences, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as lowerAuthoredCheck } from "./authored-check-naming-
|
|
1
|
+
import { t as lowerAuthoredCheck } from "./authored-check-naming-BBdhHujS.mjs";
|
|
2
2
|
export { lowerAuthoredCheck };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as composeSqlEntityKinds, m as valueSetEntityKind, p as tableEntityKind } from "./entity-kinds-JlqzyFoo-
|
|
1
|
+
import { f as composeSqlEntityKinds, m as valueSetEntityKind, p as tableEntityKind } from "./entity-kinds-JlqzyFoo-kIaAUFyK.mjs";
|
|
2
2
|
export { composeSqlEntityKinds, tableEntityKind, valueSetEntityKind };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-
|
|
1
|
+
import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-BsUyFxsk.mjs";
|
|
2
2
|
export { col, fk, index, model, pk, table, unique };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isBackedByColumnKeys, r as materializeForeignKeysAndIndexes, t as backingIndexColumnKeys } from "./foreign-key-materialization-
|
|
1
|
+
import { n as isBackedByColumnKeys, r as materializeForeignKeysAndIndexes, t as backingIndexColumnKeys } from "./foreign-key-materialization-IGfTKmHV.mjs";
|
|
2
2
|
export { backingIndexColumnKeys, isBackedByColumnKeys, materializeForeignKeysAndIndexes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isAuthoredIndexInput, r as lowerAuthoredIndex, t as exactNameBodyWarning } from "./index-naming-Cj1Anq-T-
|
|
1
|
+
import { n as isAuthoredIndexInput, r as lowerAuthoredIndex, t as exactNameBodyWarning } from "./index-naming-Cj1Anq-T-NX841eiU.mjs";
|
|
2
2
|
export { exactNameBodyWarning, isAuthoredIndexInput, lowerAuthoredIndex };
|
package/dist/contract__types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-CyL4CNMi-
|
|
2
|
-
import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-QAYy0fjm-
|
|
3
|
-
import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-
|
|
1
|
+
import { a as PrimaryKey, c as StorageTable, i as Index, l as UniqueConstraint, n as ForeignKey, o as SqlNode, r as ForeignKeyReference, s as StorageColumn, t as CheckConstraint } from "./storage-table-CyL4CNMi-ByGZXmzd.mjs";
|
|
2
|
+
import { i as isStorageValueSet, n as checkConstraintInputFromSerialized, r as indexInputFromSerialized, t as StorageValueSet } from "./serialized-index-QAYy0fjm-zxvK3RBa.mjs";
|
|
3
|
+
import { a as SqlNamespaceBase, c as isMaterializedSqlNamespace, d as resolvedTypeParams, f as toStorageTypeInstance, i as RelationKeys, l as isSqlAuthoringContributions, n as DEFAULT_FK_CONSTRAINT, o as SqlStorage, r as DEFAULT_FK_INDEX, s as applyFkDefaults, t as CODEC_INSTANCE_KIND, u as isStorageTypeInstance } from "./types-DDHgx581.mjs";
|
|
4
4
|
export { CODEC_INSTANCE_KIND, CheckConstraint, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, ForeignKey, ForeignKeyReference, Index, PrimaryKey, RelationKeys, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageValueSet, UniqueConstraint, applyFkDefaults, checkConstraintInputFromSerialized, indexInputFromSerialized, isMaterializedSqlNamespace, isSqlAuthoringContributions, isStorageTypeInstance, isStorageValueSet, resolvedTypeParams, toStorageTypeInstance };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, i as ColumnDefaultSchema, l as ReferentialActionSchema, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-JlqzyFoo-
|
|
2
|
-
import { a as createSqlStorageSchema, c as validateModel, d as validateSqlStorageConsistency, f as validateStorage, i as createSqlContractSchema, l as validateModelStorageReferences, m as valueObjectStorageTypeMissingMessage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateStorageSemantics, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateSqlContractFully } from "./validators-
|
|
1
|
+
import { a as ForeignKeyReferenceSchema, c as IndexSchema, d as StorageValueSetSchema, i as ColumnDefaultSchema, l as ReferentialActionSchema, n as ColumnDefaultFunctionSchema, o as ForeignKeySchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySourceSchema, t as CheckConstraintSchema, u as StorageTableSchema } from "./entity-kinds-JlqzyFoo-kIaAUFyK.mjs";
|
|
2
|
+
import { a as createSqlStorageSchema, c as validateModel, d as validateSqlStorageConsistency, f as validateStorage, i as createSqlContractSchema, l as validateModelStorageReferences, m as valueObjectStorageTypeMissingMessage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateStorageSemantics, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateSqlContractFully } from "./validators-Xx-TKcx3.mjs";
|
|
3
3
|
export { CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, IndexSchema, ReferentialActionSchema, StorageTableSchema, StorageValueSetSchema, checkSqlDefaultText, createNamespaceEntrySchema, createSqlContractSchema, createSqlStorageSchema, reservedSqlDefaultText, resolveSqlToOneRelationStorage, validateModel, validateModelStorageReferences, validateSqlContractFully, validateSqlStorageConsistency, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as namingOf } from "./naming-
|
|
1
|
+
import { u as namingOf } from "./naming-DkG_OegU-DpENNdZX.mjs";
|
|
2
2
|
import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-dmXkOR4a.mjs";
|
|
3
3
|
import { a as renderSqlTypeName, l as sqlDataTypeOfCodec, t as dataTypeParams, u as unquotedSqlBaseName } from "./data-type-CAPmGXg9.mjs";
|
|
4
|
-
import { c as StorageTable, n as ForeignKey } from "./storage-table-CyL4CNMi-
|
|
4
|
+
import { c as StorageTable, n as ForeignKey } from "./storage-table-CyL4CNMi-ByGZXmzd.mjs";
|
|
5
5
|
import { a as sqlExpressionAuthoringEntry, o as sqlExpressionDataType, t as SQL_EXPRESSION_DATA_TYPE_ID } from "./sql-expression-D7GsLgDM.mjs";
|
|
6
|
-
import { c as isMaterializedSqlNamespace, o as SqlStorage, u as isStorageTypeInstance } from "./types-
|
|
7
|
-
import { m as valueObjectStorageTypeMissingMessage } from "./validators-
|
|
8
|
-
import { c as SqlSchemaIR, n as RelationalSchemaNodeKind, u as SqlTableIR } from "./types-
|
|
9
|
-
import { a as describeUnsupportedSqlAttribute, b as sqlAttributeSpecs } from "./psl-field-resolution-DUCrDnuq-
|
|
10
|
-
import { t as sqlEmission } from "./dist-
|
|
11
|
-
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-
|
|
12
|
-
import { c as verifySqlSchemaByDiff, n as classifyDiffSubjectGranularity, o as enforceSqlDataTypeInvariants, t as classifyDiffEntityKind } from "./schema-verify-DIfHSB4I-
|
|
6
|
+
import { c as isMaterializedSqlNamespace, o as SqlStorage, u as isStorageTypeInstance } from "./types-DDHgx581.mjs";
|
|
7
|
+
import { m as valueObjectStorageTypeMissingMessage } from "./validators-Xx-TKcx3.mjs";
|
|
8
|
+
import { c as SqlSchemaIR, n as RelationalSchemaNodeKind, u as SqlTableIR } from "./types-Cz_bcUWN-CC3lFQOi.mjs";
|
|
9
|
+
import { a as describeUnsupportedSqlAttribute, b as sqlAttributeSpecs } from "./psl-field-resolution-DUCrDnuq-DSxPrd-4.mjs";
|
|
10
|
+
import { t as sqlEmission } from "./dist-7hmkNQGd.mjs";
|
|
11
|
+
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-0Iv2zdwS-CVl4womm.mjs";
|
|
12
|
+
import { c as verifySqlSchemaByDiff, n as classifyDiffSubjectGranularity, o as enforceSqlDataTypeInvariants, t as classifyDiffEntityKind } from "./schema-verify-DIfHSB4I-CjYnmUuD.mjs";
|
|
13
13
|
import { t as sqlFamilyError } from "./errors-B5g0xWro-mWH2C07F.mjs";
|
|
14
|
-
import { t as SqlContractSerializer } from "./sql-contract-serializer-DDaAVCQr-
|
|
14
|
+
import { t as SqlContractSerializer } from "./sql-contract-serializer-DDaAVCQr-CLDkZLXO.mjs";
|
|
15
15
|
import { t as collectSupportedCodecTypeIds } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
|
|
16
16
|
import { isStructuredError, structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
17
17
|
import { TEMPORAL_ON_CREATE_ARG, TEMPORAL_ON_UPDATE_ARG, TIMESTAMP_NOW_GENERATOR_ID, collectScalarTypeConstructors, temporalAuthoringPresets, temporalPhaseTemplate } from "@prisma/orm-framework/components/authoring";
|
|
@@ -1553,4 +1553,4 @@ var control_default = new SqlFamilyDescriptor();
|
|
|
1553
1553
|
//#endregion
|
|
1554
1554
|
export { runnerFailure as _, contractNamespaceToSchemaIR as a, temporalCodecPresetWithPrecision as b, control_default as c, detectTableNameCaseChanges as d, partitionCallsByControlPolicy as f, plannerSuccess as g, plannerFailure as h, assembleAuthoringContributions as i, createMigrationPlan as l, planFieldEventOperations as m, TABLE_NAME_CASE_CHANGED_CODE as n, contractToSchemaIR as o, partitionIssuesByControlPolicy as p, applyTableRename as r, controlPolicyForCall as s, INIT_ADDITIVE_POLICY as t, detectDestructiveChanges as u, runnerSuccess as v, temporalStringAuthoringPresets as x, sqlTypeLookupsOf as y };
|
|
1555
1555
|
|
|
1556
|
-
//# sourceMappingURL=control-
|
|
1556
|
+
//# sourceMappingURL=control-DxvOSmwF.mjs.map
|