@prisma/orm-family-sql 8.0.0-rc.17-dev.37 → 8.0.0-rc.17-dev.39
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/{authoring-type-constructors-0Iv2zdwS-CjonPCuf.mjs → authoring-type-constructors-0Iv2zdwS-ZTBL7w8X.mjs} +2 -2
- package/dist/{authoring-type-constructors-0Iv2zdwS-CjonPCuf.mjs.map → authoring-type-constructors-0Iv2zdwS-ZTBL7w8X.mjs.map} +1 -1
- package/dist/{config-types-B-cnVdoD.mjs → config-types-DiCetrJe.mjs} +2 -2
- package/dist/{config-types-B-cnVdoD.mjs.map → config-types-DiCetrJe.mjs.map} +1 -1
- package/dist/{contract-builder-B1KNtOiJ.mjs → contract-builder-D84f__Oc.mjs} +2 -2
- package/dist/{contract-builder-B1KNtOiJ.mjs.map → contract-builder-D84f__Oc.mjs.map} +1 -1
- package/dist/contract-prisma7__provider.mjs +4 -4
- 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.d.mts +2 -2
- package/dist/contract.mjs +2 -2
- package/dist/contract__data-type.d.mts +2 -2
- package/dist/contract__data-type.mjs +2 -2
- package/dist/{control-D4PHWMpB.d.mts → control-Bs-0JljW.d.mts} +199 -10
- package/dist/{control-D4PHWMpB.d.mts.map → control-Bs-0JljW.d.mts.map} +1 -1
- package/dist/{control-uICV4VAt.mjs → control-Bvnz4Uk4.mjs} +337 -17
- package/dist/control-Bvnz4Uk4.mjs.map +1 -0
- package/dist/{data-type-C_PI_Jsa.mjs → data-type-BgP6Wv48.mjs} +27 -5
- package/dist/{data-type-C_PI_Jsa.mjs.map → data-type-BgP6Wv48.mjs.map} +1 -1
- package/dist/{data-type-CpqSDmR_.d.mts → data-type-gKl5DBHw.d.mts} +9 -2
- package/dist/{data-type-CpqSDmR_.d.mts.map → data-type-gKl5DBHw.d.mts.map} +1 -1
- package/dist/{derived-checks-CYz041Ol-CFhXTA9K.mjs → derived-checks-CYz041Ol-TjL7rPxe.mjs} +2 -2
- package/dist/{derived-checks-CYz041Ol-CFhXTA9K.mjs.map → derived-checks-CYz041Ol-TjL7rPxe.mjs.map} +1 -1
- package/dist/family.d.mts +2 -2
- package/dist/family.mjs +3 -3
- package/dist/family__control.d.mts +2 -2
- package/dist/family__control.mjs +3 -3
- package/dist/family__diff.mjs +1 -1
- package/dist/family__pack.mjs +2 -2
- package/dist/{interpreter-0z4AxG0I-CCbqh8XA.mjs → interpreter-0z4AxG0I-CM9DULu1.mjs} +3 -3
- package/dist/{interpreter-0z4AxG0I-CCbqh8XA.mjs.map → interpreter-0z4AxG0I-CM9DULu1.mjs.map} +1 -1
- package/dist/{psl-field-resolution-D4jnVVTd-CyGA5a3e.mjs → psl-field-resolution-D4jnVVTd-B396sZmO.mjs} +2 -2
- package/dist/{psl-field-resolution-D4jnVVTd-CyGA5a3e.mjs.map → psl-field-resolution-D4jnVVTd-B396sZmO.mjs.map} +1 -1
- package/dist/{schema-verify-DIfHSB4I-Bbek1093.mjs → schema-verify-DIfHSB4I-Du0-5I8k.mjs} +2 -2
- package/dist/{schema-verify-DIfHSB4I-Bbek1093.mjs.map → schema-verify-DIfHSB4I-Du0-5I8k.mjs.map} +1 -1
- package/package.json +18 -18
- package/dist/control-uICV4VAt.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as lowerAuthoredIndex } from "./index-naming-BOcJT1B3-CeEoP8t3.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { f as unquotedSqlBaseNameOfCodec, u as sqlDataTypeOfCodec } from "./data-type-BgP6Wv48.mjs";
|
|
3
3
|
import { n as declaredBackingObjectName, r as declaredIndexesServeForeignKey } from "./foreign-key-materialization-DyoakLGY.mjs";
|
|
4
4
|
import { p as validateSqlStorageConsistency, u as validateModelStorageReferences } from "./validators-BMWQ7-5D.mjs";
|
|
5
5
|
import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
6
|
-
import { n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-
|
|
7
|
-
import { d as instantiateFieldTypeConstructor, y as readDataTypeDefault } from "./psl-field-resolution-D4jnVVTd-
|
|
8
|
-
import { a as normalizeReferentialAction, n as buildEntityTypesByDiscriminator, r as indexFkRelations, t as applyBackrelationCandidates } from "./interpreter-0z4AxG0I-
|
|
6
|
+
import { n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-TjL7rPxe.mjs";
|
|
7
|
+
import { d as instantiateFieldTypeConstructor, y as readDataTypeDefault } from "./psl-field-resolution-D4jnVVTd-B396sZmO.mjs";
|
|
8
|
+
import { a as normalizeReferentialAction, n as buildEntityTypesByDiscriminator, r as indexFkRelations, t as applyBackrelationCandidates } from "./interpreter-0z4AxG0I-CM9DULu1.mjs";
|
|
9
9
|
import { isStructuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
10
10
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
11
11
|
import { entryForTag, getAuthoringTypeConstructor, instantiateAuthoringEntityType } from "@prisma/orm-framework/components/authoring";
|
package/dist/contract-psl.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as interpretPslDocumentToSqlContract } from "./interpreter-0z4AxG0I-
|
|
1
|
+
import { i as interpretPslDocumentToSqlContract } from "./interpreter-0z4AxG0I-CM9DULu1.mjs";
|
|
2
2
|
export { interpretPslDocumentToSqlContract };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as sqlAttributeSpecs, a as describeUnsupportedSqlAttribute } from "./psl-field-resolution-D4jnVVTd-
|
|
1
|
+
import { S as sqlAttributeSpecs, a as describeUnsupportedSqlAttribute } from "./psl-field-resolution-D4jnVVTd-B396sZmO.mjs";
|
|
2
2
|
export { describeUnsupportedSqlAttribute, sqlAttributeSpecs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-
|
|
2
|
-
import { i as interpretPslDocumentToSqlContract } from "./interpreter-0z4AxG0I-
|
|
1
|
+
import { t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-TjL7rPxe.mjs";
|
|
2
|
+
import { i as interpretPslDocumentToSqlContract } from "./interpreter-0z4AxG0I-CM9DULu1.mjs";
|
|
3
3
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
4
4
|
import { collectScalarTypeConstructors } from "@prisma/orm-framework/components/authoring";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
package/dist/contract-ts.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as sql } from "./sql-expression-DSRILiU2.mjs";
|
|
2
|
-
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-
|
|
3
|
-
import { a as check, c as enumType, d as member, f as model, 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-
|
|
4
|
-
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-
|
|
2
|
+
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-TjL7rPxe.mjs";
|
|
3
|
+
import { a as check, c as enumType, d as member, f as model, 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-D84f__Oc.mjs";
|
|
4
|
+
import { n as typescriptContract, r as typescriptContractFromPath, t as emptyContract } from "./config-types-DiCetrJe.mjs";
|
|
5
5
|
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-DiCetrJe.mjs";
|
|
2
2
|
export { emptyContract, typescriptContract, typescriptContractFromPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { u as sql } from "./sql-expression-DSRILiU2.mjs";
|
|
2
|
-
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-
|
|
3
|
-
import { a as check, c as enumType, d as member, f as model, 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-
|
|
2
|
+
import { a as storedAsListColumn, i as isValueObjectMember, n as buildSqlContractFromDefinition, t as applySqlSpecifierControlPolicy } from "./derived-checks-CYz041Ol-TjL7rPxe.mjs";
|
|
3
|
+
import { a as check, c as enumType, d as member, f as model, 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-D84f__Oc.mjs";
|
|
4
4
|
export { applySqlSpecifierControlPolicy, autoincrement, bindEnumType, buildBoundContract, buildContractDefinition, buildSqlContractFromDefinition, check, createComposedAuthoringHelpers, defineContract, enumType, extensionModel, field, isValueObjectMember, member, model, now, rel, sql, storedAsListColumn };
|
package/dist/contract.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ import { a as lowerAuthoredIndex, i as isAuthoredIndexInput, n as AuthoredIndexM
|
|
|
17
17
|
import { n as lowerAuthoredCheck, t as AuthoredCheckInput } from "./authored-check-naming-CK6T_Dfh.mjs";
|
|
18
18
|
import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-CYnW_sGn.mjs";
|
|
19
19
|
import { a as SqlSingleNamespaceView, i as SqlSingleNamespaceAccessors, n as SqlBuiltinKind, o as buildSqlSchemaQualifiedView, r as SqlSchemaQualifiedView, s as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-CijuTaer.mjs";
|
|
20
|
-
import {
|
|
20
|
+
import { C as validateSqlTypeParams, S as unquotedSqlBaseNameOfCodec, _ as resolveWrittenSqlTypes, a as SqlDataTypeFacts, b as sqlDataTypeOfCodec, c as SqlTypeParams, d as findSqlDataTypeCollision, f as isSqlDataType, g as resolveReportedSqlType, h as renderSqlTypeName, i as SqlDataTypeCollision, l as SqlTypeText, m as renderSqlCatalogText, n as ResolvedSqlType, o as SqlDataTypeSpec, p as numeralText, r as SqlDataType, s as SqlTypeLookups, t as ReportedSqlType, u as dataTypeParams, v as sqlBaseName, x as unquotedSqlBaseName, y as sqlDataType } from "./data-type-gKl5DBHw.mjs";
|
|
21
21
|
import { a as NumberClassifierSpec, c as createNumberClassifier, d as isNumeralText, f as parseJsonText, i as NumberClassification, l as escapePslString, m as signedRange, n as DateTimeShape, o as canonicalDateTime, p as printJsonText, r as IntegerStep, s as canonicalNumeralText, t as CanonicalDateTimeOptions, u as integerTextCanonicalForm } from "./data-type-support-4TcZuD7d.mjs";
|
|
22
22
|
import { n as tableEntityKind, r as valueSetEntityKind, t as composeSqlEntityKinds } from "./entity-kinds-DqUYen0Y.mjs";
|
|
23
23
|
import { a as pk, i as model, n as fk, o as table, r as index, s as unique, t as col } from "./factories-BVIVyHQU.mjs";
|
|
@@ -27,4 +27,4 @@ import { t as REFERENTIAL_ACTION_SQL } from "./referential-action-sql-Cw1Q0YSd.m
|
|
|
27
27
|
import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-wSUswl-4.mjs";
|
|
28
28
|
import { C as validateModelStorageReferences, D as validateStorage, E as validateSqlStorageConsistency, O as validateStorageSemantics, S as validateModel, T as validateSqlContractFully, _ as createSqlContractSchema, a as ContractEnumSchema, b as resolveSqlToOneRelationStorage, c as ForeignKeySourceSchema, d as SqlToOneRelationStorage, f as StorageTableSchema, g as createNamespaceEntrySchema, h as checkSqlDefaultText, i as ColumnDefaultSchema, k as valueObjectStorageTypeMissingMessage, l as IndexSchema, m as ValidateSqlContractFullyOptions, n as ColumnDefaultFunctionSchema, o as ForeignKeyReferenceSchema, p as StorageValueSetSchema, r as ColumnDefaultLiteralSchema, s as ForeignKeySchema, t as CheckConstraintSchema, u as ReferentialActionSchema, v as createSqlStorageSchema, w as validateRelationJoinFields, x as validateExecutionDefaultsTargetMappedColumns, y as reservedSqlDefaultText } from "./validators-CudqzmkF.mjs";
|
|
29
29
|
import { n as deriveValueSetFromEntity, r as providesValueSetDerivation, t as SqlValueSetDerivingEntityTypeOutput } from "./value-set-derivation-hook-BhgGVtw0.mjs";
|
|
30
|
-
export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesOf, type AuthoredCheckInput, type AuthoredIndexInput, type AuthoredIndexMethod, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CanonicalDateTimeOptions, CheckConstraint, type CheckConstraintInput, CheckConstraintSchema, CodecTraitsLookup, type CodecTypesOf, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, DateTimeShape, type EntityHandleLoweringInput, type ExtractAggregateTypes, type ExtractCodecTypes, type ExtractFieldInputTypes, type ExtractFieldOutputTypes, type ExtractQueryOperationTypes, type ExtractStorageColumnInputTypes, type ExtractStorageColumnTypes, type ExtractTypeMapsFromContract, FOREIGN_KEY_INDEX_UNRESOLVED, type FieldInputTypesOf, type FieldOutputTypesOf, ForeignKey, type ForeignKeyAuthoringInput, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, type IndexCandidate, type IndexInput, IndexSchema, type IndexTypeBuilder, type IndexTypeEntry, type IndexTypeMap, type IndexTypeRegistration, type IndexTypeRegistry, IntegerStep, type LoweredPackEntity, type MaterializedTableConstraints, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, NumberClassification, NumberClassifierSpec, type PackEntityHandle, PrimaryKey, type PrimaryKeyInput, type QueryOperationReturn, type QueryOperationSelfSpec, type QueryOperationTypeEntry, type QueryOperationTypesBase, type QueryOperationTypesOf, REFERENTIAL_ACTION_SQL, type ReferentialAction, ReferentialActionSchema, RelationKeys, type RelationNamesOf, type ReportedSqlType, type ResolveCodecTypes, type ResolvedEntityHandleRef, type ResolvedPackEntityHandle, type ResolvedPslModelRefs, type ResolvedSqlType, type ResolvedStorageTable, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlBuiltinKind, type SqlControlDriverInstance, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlEntityHandleLoweringContribution, SqlExpression, SqlExpressionRegistration, type SqlModelFieldStorage, type SqlModelStorage, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlPslEntityPlacementOutput, type SqlQueryOperationTypes, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, type SqlToOneRelationStorage, type SqlTypeLookups, type SqlTypeParams, type SqlTypeText, type SqlValueSetDerivingEntityTypeOutput, StorageColumn, type StorageColumnInput, type StorageColumnInputTypesOf, type StorageColumnMapAt, type StorageColumnTypeAcrossNamespaces, type StorageColumnTypesOf, StorageTable, type StorageTableInput, StorageTableSchema, type StorageTypeInstance, type StorageTypeInstanceInput, StorageValueSet, type StorageValueSetInput, StorageValueSetSchema, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, ValidateSqlContractFullyOptions, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
|
|
30
|
+
export { type AggregateOperationTypes, type AggregateResultType, type AggregateTypesBase, type AggregateTypesOf, type AuthoredCheckInput, type AuthoredIndexInput, type AuthoredIndexMethod, type AuthoredStorageTypeInstance, CODEC_INSTANCE_KIND, CanonicalDateTimeOptions, CheckConstraint, type CheckConstraintInput, CheckConstraintSchema, CodecTraitsLookup, type CodecTypesOf, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, type ContractWithTypeMaps, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, DateTimeShape, type EntityHandleLoweringInput, type ExtractAggregateTypes, type ExtractCodecTypes, type ExtractFieldInputTypes, type ExtractFieldOutputTypes, type ExtractQueryOperationTypes, type ExtractStorageColumnInputTypes, type ExtractStorageColumnTypes, type ExtractTypeMapsFromContract, FOREIGN_KEY_INDEX_UNRESOLVED, type FieldInputTypesOf, type FieldOutputTypesOf, ForeignKey, type ForeignKeyAuthoringInput, type ForeignKeyIndex, type ForeignKeyInput, type ForeignKeyOptions, ForeignKeyReference, type ForeignKeyReferenceInput, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, type IndexCandidate, type IndexInput, IndexSchema, type IndexTypeBuilder, type IndexTypeEntry, type IndexTypeMap, type IndexTypeRegistration, type IndexTypeRegistry, IntegerStep, type LoweredPackEntity, type MaterializedTableConstraints, type NamespacedFieldTypeMap, type NamespacedStorageColumnTypeMap, NumberClassification, NumberClassifierSpec, type PackEntityHandle, PrimaryKey, type PrimaryKeyInput, type QueryOperationReturn, type QueryOperationSelfSpec, type QueryOperationTypeEntry, type QueryOperationTypesBase, type QueryOperationTypesOf, REFERENTIAL_ACTION_SQL, type ReferentialAction, ReferentialActionSchema, RelationKeys, type RelationNamesOf, type ReportedSqlType, type ResolveCodecTypes, type ResolvedEntityHandleRef, type ResolvedPackEntityHandle, type ResolvedPslModelRefs, type ResolvedSqlType, type ResolvedStorageTable, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, type Scalars, type SerializedCheckConstraint, type SerializedIndex, type Shape, type ShapeSpec, type SqlAuthoringContributions, type SqlBuiltinKind, type SqlControlDriverInstance, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlEntityHandleLoweringContribution, SqlExpression, SqlExpressionRegistration, type SqlModelFieldStorage, type SqlModelStorage, type SqlNamespace, SqlNamespaceBase, type SqlNamespaceEntries, type SqlNamespaceFactory, type SqlNamespaceInput, SqlNode, type SqlPslEntityPlacementOutput, type SqlQueryOperationTypes, type SqlSchemaQualifiedView, type SqlSingleNamespaceAccessors, type SqlSingleNamespaceView, SqlStorage, type SqlStorageInput, type SqlStorageTypeEntry, type SqlToOneRelationStorage, type SqlTypeLookups, type SqlTypeParams, type SqlTypeText, type SqlValueSetDerivingEntityTypeOutput, StorageColumn, type StorageColumnInput, type StorageColumnInputTypesOf, type StorageColumnMapAt, type StorageColumnTypeAcrossNamespaces, type StorageColumnTypesOf, StorageTable, type StorageTableInput, StorageTableSchema, type StorageTypeInstance, type StorageTypeInstanceInput, StorageValueSet, type StorageValueSetInput, StorageValueSetSchema, type TypeMaps, type TypeMapsPhantomKey, UniqueConstraint, type UniqueConstraintInput, ValidateSqlContractFullyOptions, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveWrittenSqlTypes, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
|
package/dist/contract.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { t as lowerAuthoredCheck } from "./authored-check-naming-CO3GA46Y.mjs";
|
|
|
4
4
|
import { t as sqlContractCanonicalizationHooks } from "./canonicalization-hooks-dmXkOR4a.mjs";
|
|
5
5
|
import { n as buildSqlSchemaQualifiedView, r as buildSqlSingleNamespaceView, t as SQL_BUILTIN_KINDS } from "./contract-view-BMR5IWk4.mjs";
|
|
6
6
|
import { t as numeralText } from "./numeral-text-Cqu87pVe-DJCqBaSC.mjs";
|
|
7
|
-
import { a as renderSqlTypeName, c as
|
|
7
|
+
import { a as renderSqlTypeName, c as sqlBaseName, d as unquotedSqlBaseName, f as unquotedSqlBaseNameOfCodec, i as renderSqlCatalogText, l as sqlDataType, n as findSqlDataTypeCollision, o as resolveReportedSqlType, p as validateSqlTypeParams, r as isSqlDataType, s as resolveWrittenSqlTypes, t as dataTypeParams, u as sqlDataTypeOfCodec } from "./data-type-BgP6Wv48.mjs";
|
|
8
8
|
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-CfhpAKLX.mjs";
|
|
9
9
|
import { n as providesPslEntityPlacement, t as providesEntityHandleLowering } from "./entity-handle-lowering-hook-B3atrRKX.mjs";
|
|
10
10
|
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-B7OSPl3G-p1j6AjMS.mjs";
|
|
@@ -20,4 +20,4 @@ import { a as canonicalSqlText, c as readSqlExpression, d as sqlExpressionAuthor
|
|
|
20
20
|
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-DXrO0fxT.mjs";
|
|
21
21
|
import { a as createSqlStorageSchema, c as validateExecutionDefaultsTargetMappedColumns, d as validateRelationJoinFields, f as validateSqlContractFully, g as valueObjectStorageTypeMissingMessage, h as validateStorageSemantics, i as createSqlContractSchema, l as validateModel, m as validateStorage, n as checkSqlDefaultText, o as reservedSqlDefaultText, p as validateSqlStorageConsistency, r as createNamespaceEntrySchema, s as resolveSqlToOneRelationStorage, t as ContractEnumSchema, u as validateModelStorageReferences } from "./validators-BMWQ7-5D.mjs";
|
|
22
22
|
import { n as providesValueSetDerivation, t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
23
|
-
export { CODEC_INSTANCE_KIND, CheckConstraint, CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, FOREIGN_KEY_INDEX_UNRESOLVED, ForeignKey, ForeignKeyReference, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, IndexSchema, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SqlExpression, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueSet, StorageValueSetSchema, UniqueConstraint, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
|
|
23
|
+
export { CODEC_INSTANCE_KIND, CheckConstraint, CheckConstraintSchema, ColumnDefaultFunctionSchema, ColumnDefaultLiteralSchema, ColumnDefaultSchema, ContractEnumSchema, DEFAULT_FK_CONSTRAINT, DEFAULT_FK_INDEX, FOREIGN_KEY_INDEX_UNRESOLVED, ForeignKey, ForeignKeyReference, ForeignKeyReferenceSchema, ForeignKeySchema, ForeignKeySourceSchema, Index, IndexSchema, PrimaryKey, REFERENTIAL_ACTION_SQL, ReferentialActionSchema, RelationKeys, SQL_BUILTIN_KINDS, SQL_EXPRESSION_DATA_TYPE_ID, SQL_EXPRESSION_TAG, SqlExpression, SqlNamespaceBase, SqlNode, SqlStorage, StorageColumn, StorageTable, StorageTableSchema, StorageValueSet, StorageValueSetSchema, UniqueConstraint, accessMethodOf, applyFkDefaults, assertNothingCastsFromSqlExpression, buildSqlSchemaQualifiedView, buildSqlSingleNamespaceView, canonicalDateTime, canonicalNumeralText, canonicalSqlText, checkConstraintInputFromSerialized, checkSqlDefaultText, col, composeSqlEntityKinds, createIndexTypeRegistry, createNamespaceEntrySchema, createNumberClassifier, createSqlContractSchema, createSqlStorageSchema, dataTypeParams, declaredBackingObjectName, declaredIndexesServeForeignKey, defaultForeignKeyIndex, defineIndexTypes, deriveValueSetFromEntity, derivedBackingIndexIsRedundant, escapePslString, exactNameBodyWarning, findSqlDataTypeCollision, fk, index, indexInputFromSerialized, indexTypeRegistryOf, integerTextCanonicalForm, isAuthoredIndexInput, isMaterializedSqlNamespace, isNumeralText, isSqlAuthoringContributions, isSqlDataType, isSqlExpression, isStorageTypeInstance, isStorageValueSet, leadingBackingObjectName, lowerAuthoredCheck, lowerAuthoredIndex, materializeForeignKeysAndIndexes, model, numeralText, parseJsonText, pk, printJsonText, printSqlExpressionLiteral, providesEntityHandleLowering, providesPslEntityPlacement, providesValueSetDerivation, readSqlExpression, renderSqlCatalogText, renderSqlTypeName, rendersIndexBody, requireSqlExpression, reservedSqlDefaultText, resolveReportedSqlType, resolveSqlToOneRelationStorage, resolveStorageTable, resolveWrittenSqlTypes, resolvedTypeParams, signedRange, sql, sqlBaseName, sqlContractCanonicalizationHooks, sqlDataType, sqlDataTypeOfCodec, sqlExpressionAuthoringEntry, sqlExpressionDataType, sqlExpressionRegistration, sqlTextFromCanonical, sqlTextsReadBack, table, tableEntityKind, toStorageTypeInstance, unique, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateExecutionDefaultsTargetMappedColumns, validateIndexTypes, validateModel, validateModelStorageReferences, validateRelationJoinFields, validateSqlContractFully, validateSqlStorageConsistency, validateSqlTypeParams, validateStorage, validateStorageSemantics, valueObjectStorageTypeMissingMessage, valueSetEntityKind };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { type ReportedSqlType, type ResolvedSqlType, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlTypeLookups, type SqlTypeParams, type SqlTypeText, dataTypeParams, findSqlDataTypeCollision, isSqlDataType, numeralText, renderSqlCatalogText, renderSqlTypeName, resolveReportedSqlType, sqlBaseName, sqlDataType, sqlDataTypeOfCodec, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateSqlTypeParams };
|
|
1
|
+
import { C as validateSqlTypeParams, S as unquotedSqlBaseNameOfCodec, _ as resolveWrittenSqlTypes, a as SqlDataTypeFacts, b as sqlDataTypeOfCodec, c as SqlTypeParams, d as findSqlDataTypeCollision, f as isSqlDataType, g as resolveReportedSqlType, h as renderSqlTypeName, i as SqlDataTypeCollision, l as SqlTypeText, m as renderSqlCatalogText, n as ResolvedSqlType, o as SqlDataTypeSpec, p as numeralText, r as SqlDataType, s as SqlTypeLookups, t as ReportedSqlType, u as dataTypeParams, v as sqlBaseName, x as unquotedSqlBaseName, y as sqlDataType } from "./data-type-gKl5DBHw.mjs";
|
|
2
|
+
export { type ReportedSqlType, type ResolvedSqlType, type SqlDataType, type SqlDataTypeCollision, type SqlDataTypeFacts, type SqlDataTypeSpec, type SqlTypeLookups, type SqlTypeParams, type SqlTypeText, dataTypeParams, findSqlDataTypeCollision, isSqlDataType, numeralText, renderSqlCatalogText, renderSqlTypeName, resolveReportedSqlType, resolveWrittenSqlTypes, sqlBaseName, sqlDataType, sqlDataTypeOfCodec, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateSqlTypeParams };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as numeralText } from "./numeral-text-Cqu87pVe-DJCqBaSC.mjs";
|
|
2
|
-
import { a as renderSqlTypeName, c as
|
|
3
|
-
export { dataTypeParams, findSqlDataTypeCollision, isSqlDataType, numeralText, renderSqlCatalogText, renderSqlTypeName, resolveReportedSqlType, sqlBaseName, sqlDataType, sqlDataTypeOfCodec, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateSqlTypeParams };
|
|
2
|
+
import { a as renderSqlTypeName, c as sqlBaseName, d as unquotedSqlBaseName, f as unquotedSqlBaseNameOfCodec, i as renderSqlCatalogText, l as sqlDataType, n as findSqlDataTypeCollision, o as resolveReportedSqlType, p as validateSqlTypeParams, r as isSqlDataType, s as resolveWrittenSqlTypes, t as dataTypeParams, u as sqlDataTypeOfCodec } from "./data-type-BgP6Wv48.mjs";
|
|
3
|
+
export { dataTypeParams, findSqlDataTypeCollision, isSqlDataType, numeralText, renderSqlCatalogText, renderSqlTypeName, resolveReportedSqlType, resolveWrittenSqlTypes, sqlBaseName, sqlDataType, sqlDataTypeOfCodec, unquotedSqlBaseName, unquotedSqlBaseNameOfCodec, validateSqlTypeParams };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as StorageColumn } from "./storage-table-WXeVNycx-BCwDhdq5.mjs";
|
|
1
|
+
import { r as StorageTable, t as StorageColumn } from "./storage-table-WXeVNycx-BCwDhdq5.mjs";
|
|
2
2
|
import { l as SqlStorage } from "./sql-storage-BTlJLUID-CGy3wuH4.mjs";
|
|
3
3
|
import { O as SqlControlDriverInstance } from "./types-DFZhLz18-Msi8wwig.mjs";
|
|
4
4
|
import "./types-Uv3oTMAb.mjs";
|
|
@@ -8,13 +8,13 @@ import { o as SqlExecuteRequest } from "./driver-types-DRsYeq3j-X_D6hNMZ.mjs";
|
|
|
8
8
|
import { a as DdlNode } from "./ddl-types-DtKZjNtN-CwtcEWLd.mjs";
|
|
9
9
|
import { p as LowererContext } from "./ast-Dp6lQXUX.mjs";
|
|
10
10
|
import { a as ParsedNullLiteral, i as EnumMemberListDefault, n as DefaultFunctionCall, r as EnumMemberDefault } from "./attribute-specs-Dp4My87B.mjs";
|
|
11
|
-
import { s as SqlTypeLookups } from "./data-type-
|
|
11
|
+
import { s as SqlTypeLookups } from "./data-type-gKl5DBHw.mjs";
|
|
12
12
|
import { _ as SqlSchemaIR, y as SqlSchemaIRNode } from "./types-DIZSW9JI-DNUF-RnL.mjs";
|
|
13
13
|
import "./types-DqSCaTK3.mjs";
|
|
14
14
|
import "./validators-CudqzmkF.mjs";
|
|
15
15
|
import { r as SqlControlAdapter } from "./control-adapter-CkFfBVei-DH5DAObc.mjs";
|
|
16
16
|
import { t as sqlFamilyEnumSpec } from "./authoring-entity-types-CZ-vdwYS-CrNb3aBC.mjs";
|
|
17
|
-
import { D as SqlPlannerFailureResult, S as SqlMigrationRunnerSuccessValue, _ as SqlMigrationRunnerErrorCode, b as SqlMigrationRunnerFailure, g as SqlMigrationRunner, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, w as SqlPlannerConflict } from "./types-CzxOObSY-BxwvvyRZ.mjs";
|
|
17
|
+
import { D as SqlPlannerFailureResult, S as SqlMigrationRunnerSuccessValue, _ as SqlMigrationRunnerErrorCode, b as SqlMigrationRunnerFailure, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, r as CreateSqlMigrationPlanOptions, t as AnyRecord, w as SqlPlannerConflict } from "./types-CzxOObSY-BxwvvyRZ.mjs";
|
|
18
18
|
import { t as SqlSchemaDiffFn } from "./schema-differ-CqWOkoW9-DQkzKV8b.mjs";
|
|
19
19
|
import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
20
20
|
import { DataTypeSupport, PresetStorageTemplate, TIMESTAMP_NOW_GENERATOR_ID } from "@prisma/orm-framework/components/authoring";
|
|
@@ -22,7 +22,7 @@ import { CodecLookupWithDescriptors, DataType } from "@prisma/orm-framework/comp
|
|
|
22
22
|
import { ColumnDefault, Contract, ContractWithDomain, ControlPolicy } from "@prisma/orm-framework/contract/types";
|
|
23
23
|
import { TargetBoundComponentDescriptor } from "@prisma/orm-framework/components/components";
|
|
24
24
|
import { NotOk, Ok, Result } from "@prisma/orm-framework/utils/result";
|
|
25
|
-
import { AppliedMigrationStatement, AssembledAuthoringContributions, ContractSerializer, ControlFamilyDescriptor, ControlFamilyInstance, ControlStack, DiffSubjectGranularity, ImportRequirement, MigratableTargetDescriptor, MigrationOperationClass, MigrationOperationClass as MigrationOperationClass$1, MigrationOperationPolicy, MigrationOperationPolicy as MigrationOperationPolicy$1, MigrationPlan as MigrationPlan$1, MigrationPlanOperation, MigrationPlanOperation as MigrationPlanOperation$1, MigrationPlanSubjects, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerConflict as MigrationPlannerConflict$1, MigrationPlannerResult, ModelCoordinate, OpFactoryCall, OperationPreview, OperationPreviewCapable, PslContractBuildCapable, PslContractInferCapable, ResolvedFieldRenameStatement, ResolvedMigrationStatement, ResolvedModelRenameStatement, SchemaDiffIssue, SchemaVerifier, SchemaViewCapable, TargetMigrationsCapability, VerifyDatabaseResult, VerifyDatabaseSchemaResult, assembleAuthoringContributions } from "@prisma/orm-framework/components/control";
|
|
25
|
+
import { AppliedMigrationStatement, AssembledAuthoringContributions, ContractSerializer, ControlFamilyDescriptor, ControlFamilyInstance, ControlStack, DiffSubjectGranularity, FailedTypeChange, FieldCoordinate, ImportRequirement, MigratableTargetDescriptor, MigrationDataLossKind, MigrationOperationClass, MigrationOperationClass as MigrationOperationClass$1, MigrationOperationPolicy, MigrationOperationPolicy as MigrationOperationPolicy$1, MigrationPlan as MigrationPlan$1, MigrationPlanOperation, MigrationPlanOperation as MigrationPlanOperation$1, MigrationPlanSubjects, MigrationPlanner, MigrationPlannerConflict, MigrationPlannerConflict as MigrationPlannerConflict$1, MigrationPlannerResult, MigrationSubject, ModelCoordinate, OpFactoryCall, OperationPreview, OperationPreviewCapable, PslContractBuildCapable, PslContractInferCapable, ResolvedFieldRenameStatement, ResolvedMigrationStatement, ResolvedModelRenameStatement, ResolvedRenameStatement, RowsWithoutValue, SchemaDiffIssue, SchemaVerifier, SchemaViewCapable, TargetMigrationsCapability, VerifyDatabaseResult, VerifyDatabaseSchemaResult, assembleAuthoringContributions } from "@prisma/orm-framework/components/control";
|
|
26
26
|
import { PslDocumentAst } from "@prisma/orm-framework/components/psl-ast";
|
|
27
27
|
import { EmissionSpi, TypesImportSpec } from "@prisma/orm-framework/components/emission";
|
|
28
28
|
//#region ../../../2-sql/9-family/dist/control.d.mts
|
|
@@ -866,6 +866,13 @@ declare function planFieldEventOperations(options: PlanFieldEventOperationsOptio
|
|
|
866
866
|
/** The calls the codec hooks return, each with the field event's column. */
|
|
867
867
|
declare function planFieldEventCalls(options: PlanFieldEventOperationsOptions): readonly FieldEventCall[];
|
|
868
868
|
//#endregion
|
|
869
|
+
//#region src/core/migrations/field-of-column.d.ts
|
|
870
|
+
/**
|
|
871
|
+
* The field of `contract` that stores `column` of `table`, or undefined when no field stores it or
|
|
872
|
+
* tables of two storage namespaces share the table's name.
|
|
873
|
+
*/
|
|
874
|
+
declare function fieldOfColumn(contract: ContractWithDomain, table: string, column: string): MigrationSubject | undefined;
|
|
875
|
+
//#endregion
|
|
869
876
|
//#region src/core/migrations/operation-storage-name.d.ts
|
|
870
877
|
/**
|
|
871
878
|
* The name the database knows an operation's object by, read from the operation's target
|
|
@@ -966,12 +973,47 @@ interface PlannedStatements<TCall extends CallWithCompanions> {
|
|
|
966
973
|
* plan with a `statementRefused` conflict that carries the statement.
|
|
967
974
|
*/
|
|
968
975
|
declare function planStatements<TCall extends CallWithCompanions>(input: {
|
|
969
|
-
readonly statements: readonly
|
|
976
|
+
readonly statements: readonly ResolvedRenameStatement[];
|
|
970
977
|
readonly fromContract: Contract<SqlStorage> | null;
|
|
971
978
|
readonly contract: Contract<SqlStorage>;
|
|
972
979
|
readonly policy: MigrationOperationPolicy;
|
|
973
980
|
readonly target: StatementPlanningTarget<TCall>;
|
|
974
981
|
}): Result<PlannedStatements<TCall>, SqlPlannerConflict>;
|
|
982
|
+
/**
|
|
983
|
+
* A column a statement names, in a table of a storage namespace, as the destination contract stores
|
|
984
|
+
* it, with the field the statement names.
|
|
985
|
+
*/
|
|
986
|
+
interface StatementColumn {
|
|
987
|
+
readonly namespaceId: string;
|
|
988
|
+
readonly table: string;
|
|
989
|
+
readonly column: string;
|
|
990
|
+
readonly field: FieldCoordinate;
|
|
991
|
+
/** The field as the statement names it, which also names the statement's slots. */
|
|
992
|
+
readonly text: string;
|
|
993
|
+
}
|
|
994
|
+
/** The columns of the fields that convert and backfill statements name. */
|
|
995
|
+
interface FieldStatementColumns {
|
|
996
|
+
readonly convert: readonly StatementColumn[];
|
|
997
|
+
readonly backfill: readonly StatementColumn[];
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* The column of each field a convert or backfill statement names, as the destination contract
|
|
1001
|
+
* stores it. These statements rename nothing, so the strategies that plan a field's change read
|
|
1002
|
+
* them instead of the working schema. A field with no column has none to list.
|
|
1003
|
+
*/
|
|
1004
|
+
declare function fieldStatementColumns(statements: readonly ResolvedMigrationStatement[], contract: ContractWithDomain): FieldStatementColumns;
|
|
1005
|
+
/**
|
|
1006
|
+
* A conflict for the first backfill statement that names a field the origin model does not have and
|
|
1007
|
+
* whose column has a default: the default fills the existing rows when the column is added, so the
|
|
1008
|
+
* statement has nothing to fill. A field already in the origin keeps its backfill, since a default
|
|
1009
|
+
* does not fill the rows that hold NULL when the column becomes required.
|
|
1010
|
+
*/
|
|
1011
|
+
declare function backfillOfDefaultedField(statements: readonly ResolvedMigrationStatement[], fromContract: ContractWithDomain | null, contract: Contract<SqlStorage>): SqlPlannerConflict | undefined;
|
|
1012
|
+
/**
|
|
1013
|
+
* Every statement of a plan in the order given, with the operations it accounts for: a rename's
|
|
1014
|
+
* from `renames`, and none yet for any other statement.
|
|
1015
|
+
*/
|
|
1016
|
+
declare function appliedStatementsInOrder(statements: readonly ResolvedMigrationStatement[], renames: readonly AppliedMigrationStatement[]): readonly AppliedMigrationStatement[];
|
|
975
1017
|
//#endregion
|
|
976
1018
|
//#region src/core/migrations/operation-subjects.d.ts
|
|
977
1019
|
/**
|
|
@@ -1003,17 +1045,29 @@ declare function unknownCallNames<TCall extends {
|
|
|
1003
1045
|
/** A call of a plan: how many operations it lowers to, and what the first of them is about. */
|
|
1004
1046
|
interface CallSubjects {
|
|
1005
1047
|
readonly operationCount: number;
|
|
1006
|
-
/**
|
|
1007
|
-
readonly
|
|
1048
|
+
/** The call's label, which names its operation before the plan's slots are filled. */
|
|
1049
|
+
readonly label: string;
|
|
1050
|
+
/** What the call's operation loses, one entry per model, field or storage name, and how. */
|
|
1051
|
+
readonly dataLoss: readonly (SubjectStorage & {
|
|
1052
|
+
readonly loss: MigrationDataLossKind;
|
|
1053
|
+
})[];
|
|
1008
1054
|
/** What the call's operation changes access to, and whether it widens it. */
|
|
1009
1055
|
readonly accessWidening: readonly (SubjectStorage & {
|
|
1010
1056
|
readonly widens: boolean;
|
|
1011
1057
|
})[];
|
|
1058
|
+
/** The new required columns the call's operation gives a temporary value in existing rows, and the value. */
|
|
1059
|
+
readonly temporaryValues: readonly TemporaryColumnValue[];
|
|
1060
|
+
}
|
|
1061
|
+
/** A new required column of `table` in the destination, and the temporary value its existing rows get. */
|
|
1062
|
+
interface TemporaryColumnValue {
|
|
1063
|
+
readonly table: string;
|
|
1064
|
+
readonly column: string;
|
|
1065
|
+
readonly value: string;
|
|
1012
1066
|
}
|
|
1013
1067
|
interface SubjectContext {
|
|
1014
1068
|
readonly fromContract: ContractWithDomain | null;
|
|
1015
1069
|
readonly contract: ContractWithDomain;
|
|
1016
|
-
/** The
|
|
1070
|
+
/** The statements the plan applied: a target names what their renames renamed the new way. */
|
|
1017
1071
|
readonly statements: readonly ResolvedMigrationStatement[];
|
|
1018
1072
|
readonly byHand: TableRenameByHand;
|
|
1019
1073
|
}
|
|
@@ -1041,6 +1095,8 @@ declare function runnerSuccess(value: {
|
|
|
1041
1095
|
declare function runnerFailure(code: SqlMigrationRunnerErrorCode, summary: string, options?: {
|
|
1042
1096
|
why?: string;
|
|
1043
1097
|
meta?: AnyRecord;
|
|
1098
|
+
failedTypeChange?: FailedTypeChange | undefined;
|
|
1099
|
+
rowsWithoutValue?: readonly RowsWithoutValue[] | undefined;
|
|
1044
1100
|
}): NotOk<SqlMigrationRunnerFailure>;
|
|
1045
1101
|
//#endregion
|
|
1046
1102
|
//#region src/core/migrations/policies.d.ts
|
|
@@ -1049,6 +1105,84 @@ declare function runnerFailure(code: SqlMigrationRunnerErrorCode, summary: strin
|
|
|
1049
1105
|
*/
|
|
1050
1106
|
declare const INIT_ADDITIVE_POLICY: MigrationOperationPolicy;
|
|
1051
1107
|
//#endregion
|
|
1108
|
+
//#region src/core/migrations/required-column.d.ts
|
|
1109
|
+
/** Where a column that is to become required finds no value. */
|
|
1110
|
+
interface RequiredColumn {
|
|
1111
|
+
readonly table: string;
|
|
1112
|
+
readonly column: string;
|
|
1113
|
+
readonly reason: RowsWithoutValue['reason'];
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
* The meta of a step that fails when rows have no value for a column that is to become required:
|
|
1117
|
+
* rows hold NULL in it, or, for a new column that can be added to an empty table only, the table
|
|
1118
|
+
* has rows. When the step fails, the runner counts those rows.
|
|
1119
|
+
*/
|
|
1120
|
+
declare function requiredColumnMeta(table: string, column: string, reason: RowsWithoutValue['reason']): {
|
|
1121
|
+
readonly requiredColumn: RequiredColumn;
|
|
1122
|
+
};
|
|
1123
|
+
/** The column a step checks before it becomes required, as {@link requiredColumnMeta} marks it. */
|
|
1124
|
+
declare function requiredColumnOf(step: SqlMigrationPlanOperationStep): RequiredColumn | undefined;
|
|
1125
|
+
/** What a runner failure says of the rows a column that is to become required has no value in. */
|
|
1126
|
+
declare function rowsWithoutValueSummary(required: RequiredColumn, rows: number): string;
|
|
1127
|
+
/** A step of a plan that marks a column as becoming required. */
|
|
1128
|
+
interface RequiredColumnMark<TOperation> {
|
|
1129
|
+
readonly operation: TOperation;
|
|
1130
|
+
readonly operationIndex: number;
|
|
1131
|
+
readonly required: RequiredColumn;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* The marks of the steps of `operations` that belong to the same migration as the operation at
|
|
1135
|
+
* `operationIndex`, in plan order: `edges` say how many operations each migration of the plan has.
|
|
1136
|
+
*/
|
|
1137
|
+
declare function requiredColumnsOfMigration<TOperation extends {
|
|
1138
|
+
readonly precheck: readonly SqlMigrationPlanOperationStep[];
|
|
1139
|
+
readonly execute: readonly SqlMigrationPlanOperationStep[];
|
|
1140
|
+
readonly postcheck: readonly SqlMigrationPlanOperationStep[];
|
|
1141
|
+
}>(operations: readonly TOperation[], edges: readonly {
|
|
1142
|
+
readonly operationCount: number;
|
|
1143
|
+
}[], operationIndex: number): readonly RequiredColumnMark<TOperation>[];
|
|
1144
|
+
/**
|
|
1145
|
+
* A runner failure's summary and reports for the rows that columns becoming required have no value
|
|
1146
|
+
* in. The failed operation's marks are counted first, and the first of them with such rows is the
|
|
1147
|
+
* one the summary names; undefined when none has any. The other marks of the same migration are
|
|
1148
|
+
* counted after it, until a count fails, such as for a column an earlier operation adds, so that
|
|
1149
|
+
* the advice can name every field that needs a value.
|
|
1150
|
+
*/
|
|
1151
|
+
declare function rowsWithoutValueFailure<TOperation>(input: {
|
|
1152
|
+
readonly failed: readonly RequiredColumnMark<TOperation>[];
|
|
1153
|
+
readonly others: readonly RequiredColumnMark<TOperation>[];
|
|
1154
|
+
readonly count: (mark: RequiredColumnMark<TOperation>) => Promise<number>;
|
|
1155
|
+
readonly contract: ContractWithDomain;
|
|
1156
|
+
}): Promise<{
|
|
1157
|
+
readonly summary: string;
|
|
1158
|
+
readonly reports: readonly RowsWithoutValue[];
|
|
1159
|
+
} | undefined>;
|
|
1160
|
+
//#endregion
|
|
1161
|
+
//#region src/core/migrations/sql-expression-text.d.ts
|
|
1162
|
+
/**
|
|
1163
|
+
* One way a target's SQL quotes a literal or an identifier. Inside the quote, the closing text
|
|
1164
|
+
* written twice stands for itself when `doubledCloseEscapes` is set, and a backslash escapes the
|
|
1165
|
+
* next character when `backslashEscapes` is set.
|
|
1166
|
+
*/
|
|
1167
|
+
interface SqlQuote {
|
|
1168
|
+
readonly open: string;
|
|
1169
|
+
readonly close: string;
|
|
1170
|
+
readonly doubledCloseEscapes: boolean;
|
|
1171
|
+
readonly backslashEscapes: boolean;
|
|
1172
|
+
}
|
|
1173
|
+
/** The quotes a target's SQL knows. Letters in an opening text, such as the `E` of `E'`, match either case. */
|
|
1174
|
+
type SqlQuotingRules = readonly SqlQuote[];
|
|
1175
|
+
/**
|
|
1176
|
+
* Returns what in `text` could end or extend the statement a migration writes it into, such as the
|
|
1177
|
+
* conversion of an `ALTER COLUMN … USING` clause or a column of an `INSERT … SELECT` list, or
|
|
1178
|
+
* undefined when it finds nothing. Text inside the quotes of `quoting` may hold anything; outside
|
|
1179
|
+
* them the text may not hold a semicolon, a SQL comment, dollar quoting, or, outside parentheses
|
|
1180
|
+
* and brackets, a comma or a keyword that would end the expression. `FROM` directly after
|
|
1181
|
+
* `DISTINCT`, as in `IS DISTINCT FROM`, belongs to the expression. It checks for these mistakes
|
|
1182
|
+
* only; it does not parse the SQL.
|
|
1183
|
+
*/
|
|
1184
|
+
declare function checkSqlExpressionText(text: string, quoting: SqlQuotingRules): string | undefined;
|
|
1185
|
+
//#endregion
|
|
1052
1186
|
//#region src/core/migrations/sql-text-sources.d.ts
|
|
1053
1187
|
/**
|
|
1054
1188
|
* Writes the SQL texts of one generated migration-file call. Each text becomes a `sql` template where the tag reads it
|
|
@@ -1061,6 +1195,27 @@ interface SqlTextSources {
|
|
|
1061
1195
|
/** `moduleSpecifier` is the module the generated file imports `sql` from. */
|
|
1062
1196
|
declare function createSqlTextSources(moduleSpecifier: string): SqlTextSources;
|
|
1063
1197
|
//#endregion
|
|
1198
|
+
//#region src/core/migrations/sql-slot.d.ts
|
|
1199
|
+
/**
|
|
1200
|
+
* SQL a planned call writes into a statement: written SQL, or a placeholder slot the user fills in
|
|
1201
|
+
* `migration.ts`. While a slot is unfilled, the call lowers to no operation.
|
|
1202
|
+
*/
|
|
1203
|
+
type SqlSlot = {
|
|
1204
|
+
readonly kind: 'sql';
|
|
1205
|
+
readonly sql: string;
|
|
1206
|
+
} | {
|
|
1207
|
+
readonly kind: 'placeholder';
|
|
1208
|
+
readonly slot: string;
|
|
1209
|
+
};
|
|
1210
|
+
/** Whether `slot` is a placeholder the user has not filled yet. */
|
|
1211
|
+
declare function isUnfilledSlot(slot: SqlSlot | undefined): slot is Extract<SqlSlot, {
|
|
1212
|
+
readonly kind: 'placeholder';
|
|
1213
|
+
}>;
|
|
1214
|
+
/** The SQL of a written slot; undefined for an unfilled one or none. */
|
|
1215
|
+
declare function sqlOfSlot(slot: SqlSlot | undefined): string | undefined;
|
|
1216
|
+
/** The slot as `migration.ts` writes it: SQL text written through `sql`, or a `placeholder(...)` call. */
|
|
1217
|
+
declare function slotSource(slot: SqlSlot, sql: SqlTextSources): string;
|
|
1218
|
+
//#endregion
|
|
1064
1219
|
//#region src/core/migrations/sql-type-lookups.d.ts
|
|
1065
1220
|
/** The codecs and data types a set of composed components registers. */
|
|
1066
1221
|
declare function sqlTypeLookupsOf(frameworkComponents: ReadonlyArray<TargetBoundComponentDescriptor<'sql', string>>): SqlTypeLookups;
|
|
@@ -1092,6 +1247,40 @@ declare function detectTableNameCaseChanges(input: {
|
|
|
1092
1247
|
readonly defaultNamespaceId: string;
|
|
1093
1248
|
}): SqlPlannerConflict[];
|
|
1094
1249
|
//#endregion
|
|
1250
|
+
//#region src/core/migrations/temporary-value.d.ts
|
|
1251
|
+
/**
|
|
1252
|
+
* Whether a required column the plan adds to a table with rows may take one temporary value in
|
|
1253
|
+
* every row. Not when it is in the primary key, a unique constraint or a foreign key, which one
|
|
1254
|
+
* value in every row would break, and not when its values come from a value set, since no one value
|
|
1255
|
+
* stands for every member. Such a column is added for an empty table only.
|
|
1256
|
+
*/
|
|
1257
|
+
declare function columnTakesTemporaryValue(table: StorageTable, column: string): boolean;
|
|
1258
|
+
//#endregion
|
|
1259
|
+
//#region src/core/migrations/unconverted-field.d.ts
|
|
1260
|
+
/**
|
|
1261
|
+
* A column whose values a step converts to the column's new type, or checks that it did: `by` says
|
|
1262
|
+
* who converts them, the database's own cast or the migration's own conversion.
|
|
1263
|
+
*/
|
|
1264
|
+
interface ConvertedColumn {
|
|
1265
|
+
readonly table: string;
|
|
1266
|
+
readonly column: string;
|
|
1267
|
+
readonly by: 'cast' | 'conversion';
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* The meta of a step that converts the values of `column` in `table` to the column's new type, or
|
|
1271
|
+
* checks that it did. When the step fails, the runner names the field that stores the column.
|
|
1272
|
+
*/
|
|
1273
|
+
declare function convertedColumnMeta(table: string, column: string, by: ConvertedColumn['by']): {
|
|
1274
|
+
readonly convertedColumn: ConvertedColumn;
|
|
1275
|
+
};
|
|
1276
|
+
/** The column a step converts to its new type, as {@link convertedColumnMeta} marks it. */
|
|
1277
|
+
declare function convertedColumnOf(step: SqlMigrationPlanOperationStep): ConvertedColumn | undefined;
|
|
1278
|
+
/**
|
|
1279
|
+
* The field of `contract` whose column a failed step converts, or undefined when the step
|
|
1280
|
+
* converts no column, no field stores the column, or tables of two storage namespaces share its name.
|
|
1281
|
+
*/
|
|
1282
|
+
declare function unconvertedFieldOf(step: SqlMigrationPlanOperationStep, contract: ContractWithDomain): MigrationSubject | undefined;
|
|
1283
|
+
//#endregion
|
|
1095
1284
|
//#region src/core/timestamp-now-generator.d.ts
|
|
1096
1285
|
declare function temporalStringAuthoringPresets<const Storage extends PresetStorageTemplate, const GeneratorId extends string = typeof TIMESTAMP_NOW_GENERATOR_ID>(input: Storage & {
|
|
1097
1286
|
readonly generatorId?: GeneratorId;
|
|
@@ -1193,5 +1382,5 @@ declare function temporalCodecPresetWithPrecision<const CodecId extends string,
|
|
|
1193
1382
|
//#region src/exports/control.d.ts
|
|
1194
1383
|
declare const _default: SqlFamilyDescriptor;
|
|
1195
1384
|
//#endregion
|
|
1196
|
-
export {
|
|
1197
|
-
//# sourceMappingURL=control-
|
|
1385
|
+
export { backfillOfDefaultedField as $, SchemaTables as A, rowsWithoutValueFailure as At, StatementColumn as B, temporalStringAuthoringPresets as Bt, ModelStorageEffect as C, plannerFailure as Ct, PlannedStatements as D, requiredColumnsOfMigration as Dt, PlanFieldEventOperationsOptions as E, requiredColumnOf as Et, SqlPslBuildContext as F, sqlOfSlot as Ft, TableNameCaseGuardTable as G, SubjectStorage as H, unknownCallNames as Ht, SqlQuote as I, sqlTypeLookupsOf as It, TableRenameRequest as J, TableRename as K, SqlQuotingRules as L, storageNameOfOperation as Lt, SqlControlFamilyInstance as M, runnerFailure as Mt, SqlControlTargetDescriptor as N, runnerSuccess as Nt, RequiredColumn as O, resolveColumnRenameAgainst as Ot, SqlDescribedContractSpace as P, slotSource as Pt, assembleAuthoringContributions as Q, SqlSlot as R, subjectsOfCalls as Rt, MigrationPlannerResult as S, planStatements as St, NoTable as T, requiredColumnMeta as Tt, SuppressionRecord as U, unmatchedColumnRename as Ut, StatementPlanningTarget as V, unconvertedFieldOf as Vt, TABLE_NAME_CASE_CHANGED_CODE as W, unmatchedTableRename as Wt, _default as X, TargetMigrationsCapability as Y, appliedStatementsInOrder as Z, MigrationOperationPolicy$1 as _, modelRenameStorageEffect as _t, ColumnRename as a, convertedColumnMeta as at, MigrationPlanner as b, planFieldEventCalls as bt, ControlPolicySubject as c, createSqlTextSources as ct, DefaultResolver as d, extractCodecControlHooks as dt, checkSqlExpressionText as et, FieldEventCall as f, fieldEventStorage as ft, MigrationOperationClass$1 as g, isUnfilledSlot as gt, INIT_ADDITIVE_POLICY as h, fieldStatementColumns as ht, ColumnOnOneSide as i, controlPolicyForCall as it, SingleOperationCall as j, rowsWithoutValueSummary as jt, RequiredColumnMark as k, resolveTableRenameAgainst as kt, ConvertedColumn as l, detectDestructiveChanges as lt, FieldStorageEffect as m, fieldRenameStorageEffect as mt, CallSubjects as n, contractNamespaceToSchemaIR as nt, ColumnRenameRequest as o, convertedColumnOf as ot, FieldStatementColumns as p, fieldOfColumn as pt, TableRenameByHand as q, CallWithCompanions as r, contractToSchemaIR as rt, ContractToSchemaIROptions as s, createMigrationPlan as st, COLUMN_RENAME_UNMATCHED_CODE as t, columnTakesTemporaryValue as tt, DefaultRenderer as u, detectTableNameCaseChanges as ut, MigrationPlan$1 as v, partitionCallsByControlPolicy as vt, ModelTable as w, plannerSuccess as wt, MigrationPlannerConflict$1 as x, planFieldEventOperations as xt, MigrationPlanOperation$1 as y, partitionIssuesByControlPolicy as yt, SqlTextSources as z, temporalCodecPresetWithPrecision as zt };
|
|
1386
|
+
//# sourceMappingURL=control-Bs-0JljW.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control-
|
|
1
|
+
{"version":3,"file":"control-Bs-0JljW.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/control.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAoBU;WACC,kBAAkB,cAAc;WAChC,cAAc;;UAEf,iCAAiC,6BAA6B,kBAAkB,kBAAkB,kBAAkB,wBAAwB,kBAAkB,wBAAwB,SAAS,cAAc,yBAAyB;;;;;;;;;EAS9O,oBAAoB,wBAAwB;EAC5C,OAAO;aACI,QAAQ;aACR;aACA;aACA;aACA;MACP,QAAQ;;;;;;;;;;EAUZ,aAAa;aACF;aACA,QAAQ;aACR;aACA,qBAAqB,cAAc;MAC1C;;;;;;;;;;EAUJ,2BAA2B,OAAO,kBAAkB;;;;;;;;EAQpD,mBAAmB,OAAO;EAC1B,WAAW;aACA,QAAQ;aACR;MACP,QAAQ;EACZ,iBAAiB,UAAU,kBAAkB;EAC7C,SAAS,KAAK,cAAc,SAAS,SAAS,0BAA0B,QAAQ;;;;;;EAMhF,WAAW;aACA,QAAQ;aACR;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,aAAa;aACF,QAAQ;aACR;aACA;aACA;eACE;eACA;eACA;;MAET;;;;;EAKJ,iBAAiB;aACN,QAAQ;aACR;aACA;eACE;eACA;eACA;eACA;eACA;eACA;eACA;;MAET;EACJ,yCAAyC;EACzC,mBAAmB,qBAAqB,2BAA6B;EACrE,cAAc,WAAW;;;;cAIb,+BAA+B,+BAA+B;WACjE;WACA;WACA;WACA;WACA,UAAU;WACV,oBAAoB;WACpB;aACE;eACE;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;uBACA;;;;iBAIN;mBACE;mBACA;qBACE;uBACE;uBACA;uBACA;uBACA;;;;;eAKR;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;iBACA;mBACE;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;yBACA;;;;mBAIN;qBACE;qBACA;uBACE;yBACE;yBACA;yBACA;yBACA;;;qBAGJ;uBACE;yBACE;yBACA;yBACA;2BACE;6BACE;6BACA;6BACA;;;;;qBAKR;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;iBAGJ;mBACE;mBACA;qBACE;qBACA;uBACE;;qBAEF;uBACE;yBACE;yBACA;;;qBAGJ;;;;;aAKR;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;;;aAOZ,gEAAgE;aAChE;eACE;QACP;QACA;QACA;QACA;QACA;UACE;;QAEF,aAAa;QACb;UACE,2CAA2C;YACzC;4CACgC;;;;aAI/B;eACE;iBACE,MAAM,qCAAqC,wDAAwD;UAC1G;0CACgC;iBACzB,KAAK,qCAAqC,wDAAwD;U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