@prisma/orm-family-sql 8.0.0-rc.18-dev.31 → 8.0.0-rc.18-dev.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/{ast-DB7g9Mh2.d.mts → ast-DlajRqlB.d.mts} +3 -3
  2. package/dist/{ast-DB7g9Mh2.d.mts.map → ast-DlajRqlB.d.mts.map} +1 -1
  3. package/dist/{attribute-specs-BzBk62Jx.d.mts → attribute-specs-CKPSK8oZ.d.mts} +3 -3
  4. package/dist/{attribute-specs-BzBk62Jx.d.mts.map → attribute-specs-CKPSK8oZ.d.mts.map} +1 -1
  5. package/dist/authoring-entity-types-DUQLeBf_-DmXuN7I3.d.mts +9 -0
  6. package/dist/authoring-entity-types-DUQLeBf_-DmXuN7I3.d.mts.map +1 -0
  7. package/dist/builder.d.mts +3 -3
  8. package/dist/builder__runtime.d.mts +7 -7
  9. package/dist/builder__types.d.mts +5 -5
  10. package/dist/{collection-methods-B-tM7OPZ-DzXedZdV.d.mts → collection-methods-BtJYB_5s-0fek2_wK.d.mts} +3 -3
  11. package/dist/{collection-methods-B-tM7OPZ-DzXedZdV.d.mts.map → collection-methods-BtJYB_5s-0fek2_wK.d.mts.map} +1 -1
  12. package/dist/collection-methods-CwBVxvll.d.mts +1 -0
  13. package/dist/{config-types-BkcCqeAg.mjs → config-types-Dc7u9onO.mjs} +2 -2
  14. package/dist/{config-types-BkcCqeAg.mjs.map → config-types-Dc7u9onO.mjs.map} +1 -1
  15. package/dist/{contract-builder-GH-eCIpl.d.mts → contract-builder-C7X80029.d.mts} +8 -5
  16. package/dist/{contract-builder-GH-eCIpl.d.mts.map → contract-builder-C7X80029.d.mts.map} +1 -1
  17. package/dist/{contract-builder-D3XaKpyw.mjs → contract-builder-CKfnPa4C.mjs} +2 -2
  18. package/dist/{contract-builder-D3XaKpyw.mjs.map → contract-builder-CKfnPa4C.mjs.map} +1 -1
  19. package/dist/contract-prisma7__provider.mjs +7 -7
  20. package/dist/contract-prisma7__provider.mjs.map +1 -1
  21. package/dist/contract-psl.d.mts +1 -1
  22. package/dist/contract-psl.mjs +1 -1
  23. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  24. package/dist/contract-psl__attribute-specs.mjs +1 -1
  25. package/dist/contract-psl__provider.mjs +2 -2
  26. package/dist/contract-psl__provider.mjs.map +1 -1
  27. package/dist/contract-ts.d.mts +1 -1
  28. package/dist/contract-ts.mjs +3 -3
  29. package/dist/contract-ts__config-types.mjs +1 -1
  30. package/dist/contract-ts__contract-builder.d.mts +1 -1
  31. package/dist/contract-ts__contract-builder.mjs +2 -2
  32. package/dist/{control-Db07JiRl.d.mts → control-Dktzcn7Z.d.mts} +8 -8
  33. package/dist/{control-Db07JiRl.d.mts.map → control-Dktzcn7Z.d.mts.map} +1 -1
  34. package/dist/{control-adapter-Bn0uhplA-BnsQY8_q.d.mts → control-adapter-Bn0uhplA-BBax-2PG.d.mts} +4 -4
  35. package/dist/{control-adapter-Bn0uhplA-BnsQY8_q.d.mts.map → control-adapter-Bn0uhplA-BBax-2PG.d.mts.map} +1 -1
  36. package/dist/{control-adapter-DgxEVzhZ.d.mts → control-adapter-QzlyTp1z.d.mts} +2 -2
  37. package/dist/{control-adapter-DgxEVzhZ.d.mts.map → control-adapter-QzlyTp1z.d.mts.map} +1 -1
  38. package/dist/{control-DbHnaxDE.mjs → control-vpTGr7Ea.mjs} +3 -3
  39. package/dist/{control-DbHnaxDE.mjs.map → control-vpTGr7Ea.mjs.map} +1 -1
  40. package/dist/{db-BmrN9nRS-BGnRxI7X.d.mts → db-BmrN9nRS-DGNx3jwd.d.mts} +10 -10
  41. package/dist/{db-BmrN9nRS-BGnRxI7X.d.mts.map → db-BmrN9nRS-DGNx3jwd.d.mts.map} +1 -1
  42. package/dist/{ddl-types-CoP6yAw9-Cxc2zvi3.d.mts → ddl-types-BBrLVtS--u4u-I8L5.d.mts} +3 -3
  43. package/dist/{ddl-types-CoP6yAw9-Cxc2zvi3.d.mts.map → ddl-types-BBrLVtS--u4u-I8L5.d.mts.map} +1 -1
  44. package/dist/{default-mapping-CEISdj2g-DF1LzGBR.d.mts → default-mapping-CP8q4TfH-CF6eJMej.d.mts} +6 -4
  45. package/dist/default-mapping-CP8q4TfH-CF6eJMej.d.mts.map +1 -0
  46. package/dist/{derived-checks-B1qNxwBL-DFoGexId.mjs → derived-checks-CwbSfZ8d-B3-zWGv_.mjs} +31 -31
  47. package/dist/{derived-checks-B1qNxwBL-DFoGexId.mjs.map → derived-checks-CwbSfZ8d-B3-zWGv_.mjs.map} +1 -1
  48. package/dist/{diff-BN_3K9lv.d.mts → diff-DG69mLcv.d.mts} +2 -2
  49. package/dist/{diff-BN_3K9lv.d.mts.map → diff-DG69mLcv.d.mts.map} +1 -1
  50. package/dist/{expression-sOY1120I-DMTeGMQP.d.mts → expression-BdaU48Qq-Dff96hT_.d.mts} +4 -4
  51. package/dist/expression-BdaU48Qq-Dff96hT_.d.mts.map +1 -0
  52. package/dist/{expression-BzrfOiPC-CXjjRKqc.d.mts → expression-CC4544Y8-C_EWTA_0.d.mts} +4 -4
  53. package/dist/{expression-BzrfOiPC-CXjjRKqc.d.mts.map → expression-CC4544Y8-C_EWTA_0.d.mts.map} +1 -1
  54. package/dist/expression-DI_LoyKf.d.mts +2 -0
  55. package/dist/family.d.mts +11 -11
  56. package/dist/family.mjs +4 -4
  57. package/dist/family__control-adapter.d.mts +2 -2
  58. package/dist/family__control.d.mts +2 -2
  59. package/dist/family__control.mjs +1 -1
  60. package/dist/family__diff.d.mts +1 -1
  61. package/dist/family__migration.d.mts +1 -1
  62. package/dist/family__pack.d.mts +1 -1
  63. package/dist/family__pack.mjs +2 -2
  64. package/dist/family__pack.mjs.map +1 -1
  65. package/dist/family__psl-build.d.mts +3 -3
  66. package/dist/family__psl-build.mjs +2 -2
  67. package/dist/family__psl-infer.d.mts +1 -1
  68. package/dist/{functions-LyIMc_v9.d.mts → functions-wFi6AtCc.d.mts} +3 -3
  69. package/dist/{functions-LyIMc_v9.d.mts.map → functions-wFi6AtCc.d.mts.map} +1 -1
  70. package/dist/{generator-functions-BoE7Lc9d-MgcgdnPZ.mjs → generator-functions-DIXj2u8w-B_EpEY8t.mjs} +6 -6
  71. package/dist/generator-functions-DIXj2u8w-B_EpEY8t.mjs.map +1 -0
  72. package/dist/{index-Bw9Y19Js.d.mts → index-enjgL4Lb.d.mts} +17 -17
  73. package/dist/{index-Bw9Y19Js.d.mts.map → index-enjgL4Lb.d.mts.map} +1 -1
  74. package/dist/{index-reference-DJaQLZA3-DS-GPKXs.d.mts → index-reference-DSsn39tX-EEkv1N4w.d.mts} +3 -3
  75. package/dist/{index-reference-DJaQLZA3-DS-GPKXs.d.mts.map → index-reference-DSsn39tX-EEkv1N4w.d.mts.map} +1 -1
  76. package/dist/index-reference-burEIuXy.d.mts +1 -0
  77. package/dist/{interpreter-Bk0xpelv-4laiO5dH.mjs → interpreter-Dq32sxoS-BcLhPY0_.mjs} +11 -18
  78. package/dist/interpreter-Dq32sxoS-BcLhPY0_.mjs.map +1 -0
  79. package/dist/{middleware-oCT0RWkt-DGav7C8b.d.mts → middleware-C7H9kh01-l6_mYpN2.d.mts} +3 -3
  80. package/dist/{middleware-oCT0RWkt-DGav7C8b.d.mts.map → middleware-C7H9kh01-l6_mYpN2.d.mts.map} +1 -1
  81. package/dist/middleware-CpxZxPGp.d.mts +1 -0
  82. package/dist/{migration-go6YP7-v.d.mts → migration-Bo60GuJb.d.mts} +2 -2
  83. package/dist/{migration-go6YP7-v.d.mts.map → migration-Bo60GuJb.d.mts.map} +1 -1
  84. package/dist/orm-client.d.mts +17 -17
  85. package/dist/{pack-DXEOdHaM.d.mts → pack-C4yN9ooT.d.mts} +3 -3
  86. package/dist/{pack-DXEOdHaM.d.mts.map → pack-C4yN9ooT.d.mts.map} +1 -1
  87. package/dist/{plan-Cbed2eDu-3c5s1Aq5.d.mts → plan-BiCLdXQr-0ZB4P6b9.d.mts} +3 -3
  88. package/dist/plan-BiCLdXQr-0ZB4P6b9.d.mts.map +1 -0
  89. package/dist/plan-xPa9B6I3.d.mts +2 -0
  90. package/dist/{psl-build-C41KHJL_.d.mts → psl-build-DETsH_kq.d.mts} +2 -2
  91. package/dist/{psl-build-C41KHJL_.d.mts.map → psl-build-DETsH_kq.d.mts.map} +1 -1
  92. package/dist/{psl-build-BYqCjsqi.mjs → psl-build-DzdzY3o1.mjs} +3 -2
  93. package/dist/{psl-build-BYqCjsqi.mjs.map → psl-build-DzdzY3o1.mjs.map} +1 -1
  94. package/dist/{psl-column-resolution-DNdqpUxt-C8BST0uW.d.mts → psl-column-resolution-DNdqpUxt-CL8m5aC4.d.mts} +2 -2
  95. package/dist/{psl-column-resolution-DNdqpUxt-C8BST0uW.d.mts.map → psl-column-resolution-DNdqpUxt-CL8m5aC4.d.mts.map} +1 -1
  96. package/dist/{psl-field-resolution-BET6wtHZ-C_hO6YE1.mjs → psl-field-resolution-C8s57hFC-Bv6NiK8J.mjs} +10 -13
  97. package/dist/psl-field-resolution-C8s57hFC-Bv6NiK8J.mjs.map +1 -0
  98. package/dist/{psl-infer-CALmBIqX.d.mts → psl-infer-C-RcAyUr.d.mts} +2 -2
  99. package/dist/{psl-infer-CALmBIqX.d.mts.map → psl-infer-C-RcAyUr.d.mts.map} +1 -1
  100. package/dist/query-lane-context--sVodqqM.d.mts +1 -0
  101. package/dist/{query-lane-context-BLOPW1rQ-4vNq0fxJ.d.mts → query-lane-context-DEr9NHM--ClIM8v5T.d.mts} +5 -5
  102. package/dist/{query-lane-context-BLOPW1rQ-4vNq0fxJ.d.mts.map → query-lane-context-DEr9NHM--ClIM8v5T.d.mts.map} +1 -1
  103. package/dist/relational-core.d.mts +13 -13
  104. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  105. package/dist/relational-core__ast.d.mts +4 -4
  106. package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
  107. package/dist/relational-core__collection-methods.d.mts +2 -2
  108. package/dist/relational-core__contract-free.d.mts +2 -2
  109. package/dist/relational-core__expression.d.mts +3 -3
  110. package/dist/relational-core__functions.d.mts +1 -1
  111. package/dist/relational-core__index-reference.d.mts +2 -2
  112. package/dist/relational-core__middleware.d.mts +2 -2
  113. package/dist/relational-core__plan.d.mts +3 -3
  114. package/dist/relational-core__query-lane-context.d.mts +2 -2
  115. package/dist/relational-core__types.d.mts +2 -2
  116. package/dist/runtime.d.mts +4 -4
  117. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  118. package/dist/{sql-execution-plan-Dam5yMZg-bDl_0qHQ.d.mts → sql-execution-plan-BEhLlwYP-seGNP8Qr.d.mts} +3 -3
  119. package/dist/sql-execution-plan-BEhLlwYP-seGNP8Qr.d.mts.map +1 -0
  120. package/dist/{transaction-state-DR3nKTmH-D_pb9QgR.d.mts → transaction-state-DR3nKTmH-2-ewbth1.d.mts} +9 -9
  121. package/dist/{transaction-state-DR3nKTmH-D_pb9QgR.d.mts.map → transaction-state-DR3nKTmH-2-ewbth1.d.mts.map} +1 -1
  122. package/dist/types-BQC-To7K.d.mts +1 -0
  123. package/dist/{types-DlFdMaDJ-BEDwj-Qv.d.mts → types-DlFdMaDJ-Btto5v5t.d.mts} +2 -2
  124. package/dist/{types-DlFdMaDJ-BEDwj-Qv.d.mts.map → types-DlFdMaDJ-Btto5v5t.d.mts.map} +1 -1
  125. package/dist/{types-Cv5t6_Ly-BaGc023t.d.mts → types-Dy1w8GHm-7hJTBOLL.d.mts} +6 -6
  126. package/dist/{types-Cv5t6_Ly-BaGc023t.d.mts.map → types-Dy1w8GHm-7hJTBOLL.d.mts.map} +1 -1
  127. package/dist/{types-DVaVM20q-DrinF7w_.d.mts → types-GgcOrYm_-RhoxnXdj.d.mts} +10 -4
  128. package/dist/types-GgcOrYm_-RhoxnXdj.d.mts.map +1 -0
  129. package/package.json +18 -18
  130. package/dist/authoring-entity-types-CZ-vdwYS-DzxLL9BC.d.mts +0 -9
  131. package/dist/authoring-entity-types-CZ-vdwYS-DzxLL9BC.d.mts.map +0 -1
  132. package/dist/collection-methods-BNAu8vHk.d.mts +0 -1
  133. package/dist/default-mapping-CEISdj2g-DF1LzGBR.d.mts.map +0 -1
  134. package/dist/expression-CIBqCwC1.d.mts +0 -2
  135. package/dist/expression-sOY1120I-DMTeGMQP.d.mts.map +0 -1
  136. package/dist/generator-functions-BoE7Lc9d-MgcgdnPZ.mjs.map +0 -1
  137. package/dist/index-reference-CsxaNof9.d.mts +0 -1
  138. package/dist/interpreter-Bk0xpelv-4laiO5dH.mjs.map +0 -1
  139. package/dist/middleware-MgGkjEXt.d.mts +0 -1
  140. package/dist/plan-BOyVvttx.d.mts +0 -2
  141. package/dist/plan-Cbed2eDu-3c5s1Aq5.d.mts.map +0 -1
  142. package/dist/psl-field-resolution-BET6wtHZ-C_hO6YE1.mjs.map +0 -1
  143. package/dist/query-lane-context-BPJrXopg.d.mts +0 -1
  144. package/dist/sql-execution-plan-Dam5yMZg-bDl_0qHQ.d.mts.map +0 -1
  145. package/dist/types-DVaVM20q-DrinF7w_.d.mts.map +0 -1
  146. package/dist/types-VUCzaDbp.d.mts +0 -1
@@ -0,0 +1,2 @@
1
+ import "./expression-CC4544Y8-C_EWTA_0.mjs";
2
+ import "./expression-BdaU48Qq-Dff96hT_.mjs";
package/dist/family.d.mts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { n as resolveStorageTable, t as ResolvedStorageTable } from "./resolve-storage-table-8N2xelSh.mjs";
2
2
  import { h as checkSqlDefaultText } from "./validators-CTZ-hU2l.mjs";
3
- import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BnsQY8_q.mjs";
4
- import { A as StorageTypePlanResult, C as SqlPlanTargetDetails, D as SqlPlannerFailureResult, E as SqlPlannerConflictLocation, O as SqlPlannerResult, S as SqlMigrationRunnerSuccessValue, T as SqlPlannerConflictKind, _ as SqlMigrationRunnerErrorCode, a as FieldEventContext, b as SqlMigrationRunnerFailure, c as SqlControlExtensionDescriptor, d as SqlMigrationPlanOperation, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, h as SqlMigrationPlannerPlanOptions, i as FieldEvent, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, o as ResolveIdentityValueInput, p as SqlMigrationPlanOperationTarget, r as CreateSqlMigrationPlanOptions, s as SqlControlAdapterDescriptor, u as SqlMigrationPlanContractInfo, v as SqlMigrationRunnerExecuteCallbacks, w as SqlPlannerConflict, x as SqlMigrationRunnerResult, y as SqlMigrationRunnerExecuteOptions } from "./types-DlFdMaDJ-BEDwj-Qv.mjs";
3
+ import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BBax-2PG.mjs";
4
+ import { A as StorageTypePlanResult, C as SqlPlanTargetDetails, D as SqlPlannerFailureResult, E as SqlPlannerConflictLocation, O as SqlPlannerResult, S as SqlMigrationRunnerSuccessValue, T as SqlPlannerConflictKind, _ as SqlMigrationRunnerErrorCode, a as FieldEventContext, b as SqlMigrationRunnerFailure, c as SqlControlExtensionDescriptor, d as SqlMigrationPlanOperation, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, h as SqlMigrationPlannerPlanOptions, i as FieldEvent, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, o as ResolveIdentityValueInput, p as SqlMigrationPlanOperationTarget, r as CreateSqlMigrationPlanOptions, s as SqlControlAdapterDescriptor, u as SqlMigrationPlanContractInfo, v as SqlMigrationRunnerExecuteCallbacks, w as SqlPlannerConflict, x as SqlMigrationRunnerResult, y as SqlMigrationRunnerExecuteOptions } from "./types-DlFdMaDJ-Btto5v5t.mjs";
5
5
  import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-BfEQ_9cY.mjs";
6
- import { $ as TableRenameByHand, A as ReadColumnDefault, At as plannerSuccess, B as SqlDescribedContractSpace, Bt as runnerFailure, C as MigrationPlannerConflict, Ct as modelRenameStorageEffect, D as NoTable, Dt as planFieldEventOperations, E as ModelTable, Et as planFieldEventCalls, F as RequiredColumnMark, Ft as requiredColumnsOfMigration, G as SqlTextSources, Gt as storageNameOfOperation, H as SqlQuote, Ht as slotSource, I as SchemaTables, It as resolveColumnRenameAgainst, J as SubjectStorage, Jt as temporalStringAuthoringPresets, K as StatementColumn, Kt as subjectsOfCalls, L as SingleOperationCall, Lt as resolveTableRenameAgainst, M as ReportedBody, Mt as readReportedDefault, N as ReportedLiteralDefault, Nt as requiredColumnMeta, O as PlanFieldEventOperationsOptions, Ot as planStatements, P as RequiredColumn, Pt as requiredColumnOf, Q as TableRename, Qt as unmatchedTableRename, R as SqlControlFamilyInstance, Rt as rowsWithoutValueFailure, S as MigrationPlanner, St as isUnfilledSlot, T as ModelStorageEffect, Tt as partitionIssuesByControlPolicy, U as SqlQuotingRules, Ut as sqlOfSlot, V as SqlPslBuildContext, Vt as runnerSuccess, W as SqlSlot, Wt as sqlTypeLookupsOf, X as TABLE_NAME_CASE_CHANGED_CODE, Xt as unknownCallNames, Y as SuppressionRecord, Yt as unconvertedFieldOf, Z as TableNameCaseGuardTable, Zt as unmatchedColumnRename, _ as INIT_ADDITIVE_POLICY, _t as extractCodecControlHooks, a as ColumnRename, at as backfillOfDefaultedField, b as MigrationPlan, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractColumns, d as ConvertedColumn, dt as convertedColumnMeta, et as TableRenameRequest, f as DefaultResolver, ft as convertedColumnOf, g as FieldStorageEffect, gt as detectTableNameCaseChanges, h as FieldStatementColumns, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as assembleAuthoringContributions, j as ReadReportedDefault, jt as readColumnDefault, k as PlannedStatements, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractNamespaceToSchemaIR, m as FieldEventCall, mt as createSqlTextSources, n as CallSubjects, o as ColumnRenameRequest, ot as checkSqlExpressionText, p as DefaultResolverColumn, pt as createMigrationPlan, q as StatementPlanningTarget, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as appliedStatementsInOrder, s as ContractColumn, st as columnTakesTemporaryValue, t as COLUMN_RENAME_UNMATCHED_CODE, tt as TargetMigrationsCapability, u as ControlPolicySubject, ut as contractToSchemaIR, v as MigrationOperationClass, vt as fieldEventStorage, w as MigrationPlannerResult, wt as partitionCallsByControlPolicy, x as MigrationPlanOperation, xt as fieldStatementColumns, y as MigrationOperationPolicy, yt as fieldOfColumn, z as SqlControlTargetDescriptor, zt as rowsWithoutValueSummary } from "./control-Db07JiRl.mjs";
7
- import { t as resolveIntrospectedColumnType } from "./control-adapter-DgxEVzhZ.mjs";
8
- import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-BN_3K9lv.mjs";
6
+ import { $ as TableRenameByHand, A as ReadColumnDefault, At as plannerSuccess, B as SqlDescribedContractSpace, Bt as runnerFailure, C as MigrationPlannerConflict, Ct as modelRenameStorageEffect, D as NoTable, Dt as planFieldEventOperations, E as ModelTable, Et as planFieldEventCalls, F as RequiredColumnMark, Ft as requiredColumnsOfMigration, G as SqlTextSources, Gt as storageNameOfOperation, H as SqlQuote, Ht as slotSource, I as SchemaTables, It as resolveColumnRenameAgainst, J as SubjectStorage, Jt as temporalStringAuthoringPresets, K as StatementColumn, Kt as subjectsOfCalls, L as SingleOperationCall, Lt as resolveTableRenameAgainst, M as ReportedBody, Mt as readReportedDefault, N as ReportedLiteralDefault, Nt as requiredColumnMeta, O as PlanFieldEventOperationsOptions, Ot as planStatements, P as RequiredColumn, Pt as requiredColumnOf, Q as TableRename, Qt as unmatchedTableRename, R as SqlControlFamilyInstance, Rt as rowsWithoutValueFailure, S as MigrationPlanner, St as isUnfilledSlot, T as ModelStorageEffect, Tt as partitionIssuesByControlPolicy, U as SqlQuotingRules, Ut as sqlOfSlot, V as SqlPslBuildContext, Vt as runnerSuccess, W as SqlSlot, Wt as sqlTypeLookupsOf, X as TABLE_NAME_CASE_CHANGED_CODE, Xt as unknownCallNames, Y as SuppressionRecord, Yt as unconvertedFieldOf, Z as TableNameCaseGuardTable, Zt as unmatchedColumnRename, _ as INIT_ADDITIVE_POLICY, _t as extractCodecControlHooks, a as ColumnRename, at as backfillOfDefaultedField, b as MigrationPlan, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractColumns, d as ConvertedColumn, dt as convertedColumnMeta, et as TableRenameRequest, f as DefaultResolver, ft as convertedColumnOf, g as FieldStorageEffect, gt as detectTableNameCaseChanges, h as FieldStatementColumns, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as assembleAuthoringContributions, j as ReadReportedDefault, jt as readColumnDefault, k as PlannedStatements, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractNamespaceToSchemaIR, m as FieldEventCall, mt as createSqlTextSources, n as CallSubjects, o as ColumnRenameRequest, ot as checkSqlExpressionText, p as DefaultResolverColumn, pt as createMigrationPlan, q as StatementPlanningTarget, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as appliedStatementsInOrder, s as ContractColumn, st as columnTakesTemporaryValue, t as COLUMN_RENAME_UNMATCHED_CODE, tt as TargetMigrationsCapability, u as ControlPolicySubject, ut as contractToSchemaIR, v as MigrationOperationClass, vt as fieldEventStorage, w as MigrationPlannerResult, wt as partitionCallsByControlPolicy, x as MigrationPlanOperation, xt as fieldStatementColumns, y as MigrationOperationPolicy, yt as fieldOfColumn, z as SqlControlTargetDescriptor, zt as rowsWithoutValueSummary } from "./control-Dktzcn7Z.mjs";
7
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-QzlyTp1z.mjs";
8
+ import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-DG69mLcv.mjs";
9
9
  import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-qK4wX3D3.mjs";
10
- import { t as SqlMigration } from "./migration-go6YP7-v.mjs";
11
- import { t as idGeneratorFunctionBindings } from "./pack-DXEOdHaM.mjs";
12
- import { n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CEISdj2g-DF1LzGBR.mjs";
13
- import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as toEnumMemberName, n as GeneratorCallRefusal, o as IntrospectedTable, p as pslTypeArgumentText, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-C41KHJL_.mjs";
14
- import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-CALmBIqX.mjs";
10
+ import { t as SqlMigration } from "./migration-Bo60GuJb.mjs";
11
+ import { t as idGeneratorFunctionBindings } from "./pack-C4yN9ooT.mjs";
12
+ import { i as writeDefaultLiteral, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CP8q4TfH-CF6eJMej.mjs";
13
+ import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as toEnumMemberName, n as GeneratorCallRefusal, o as IntrospectedTable, p as pslTypeArgumentText, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-DETsH_kq.mjs";
14
+ import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-C-RcAyUr.mjs";
15
15
  import { a as timestampNowRuntimeGenerator, n as UNBOUND_DOMAIN_NAMESPACE_ID, r as resolveDomainModel, t as ResolvedDomainModel } from "./runtime-BlUQqGCH.mjs";
16
16
  import { n as parseContractMarkerRow, t as ContractMarkerRow } from "./verify-zDRnw0Rn.mjs";
17
- export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ColumnTypeOf, type ContractColumn, type ContractColumns, type ContractMarkerRow, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultMappingOptions, type DefaultMappingResult, type DefaultResolver, type DefaultResolverColumn, type EnumInfo, type ExecuteRequestLowerer, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, type GeneratorCallRefusal, type GeneratorCallsResult, INIT_ADDITIVE_POLICY, type InferredRelations, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type Lowerer, SqlMigration as Migration, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, type NoTable, type PhaseCallText, type PlanFieldEventOperationsOptions, type PlannedStatements, type PslPrinterOptions, type PslTypeCall, type ReadColumnDefault, type ReadReportedDefault, type RelationField, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type ResolvedDomainModel, type ResolvedStorageTable, type SchemaTables, type SingleOperationCall, SqlContractSerializer, SqlContractSerializerBase, type SqlControlAdapter, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlDiffVerdict, type SqlDiffVerdictInput, type SqlEntityHydrationFactory, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, SqlSchemaVerifierBase, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementPlanningTarget, type StorageTypePlanResult, type StorageTypeVerdict, type StorageTypeVerdictInput, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, UNBOUND_DOMAIN_NAMESPACE_ID, type VerifySqlSchemaByDiffInput, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, pslTypeArgumentText, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff };
17
+ export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ColumnTypeOf, type ContractColumn, type ContractColumns, type ContractMarkerRow, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultMappingOptions, type DefaultMappingResult, type DefaultResolver, type DefaultResolverColumn, type EnumInfo, type ExecuteRequestLowerer, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, type GeneratorCallRefusal, type GeneratorCallsResult, INIT_ADDITIVE_POLICY, type InferredRelations, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type Lowerer, SqlMigration as Migration, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, type NoTable, type PhaseCallText, type PlanFieldEventOperationsOptions, type PlannedStatements, type PslPrinterOptions, type PslTypeCall, type ReadColumnDefault, type ReadReportedDefault, type RelationField, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type ResolvedDomainModel, type ResolvedStorageTable, type SchemaTables, type SingleOperationCall, SqlContractSerializer, SqlContractSerializerBase, type SqlControlAdapter, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlDiffVerdict, type SqlDiffVerdictInput, type SqlEntityHydrationFactory, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, SqlSchemaVerifierBase, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementPlanningTarget, type StorageTypePlanResult, type StorageTypeVerdict, type StorageTypeVerdictInput, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, UNBOUND_DOMAIN_NAMESPACE_ID, type VerifySqlSchemaByDiffInput, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, pslTypeArgumentText, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, writeDefaultLiteral };
package/dist/family.mjs CHANGED
@@ -1,16 +1,16 @@
1
1
  import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
2
2
  import { n as checkSqlDefaultText } from "./validators-BlONfdFH.mjs";
3
- import { t as idGeneratorFunctionBindings } from "./generator-functions-BoE7Lc9d-MgcgdnPZ.mjs";
3
+ import { t as idGeneratorFunctionBindings } from "./generator-functions-DIXj2u8w-B_EpEY8t.mjs";
4
4
  import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-BzdgK4xv.mjs";
5
5
  import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-D-xfnqyD.mjs";
6
6
  import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
7
- import { $ as unmatchedTableRename, A as plannerFailure, B as rowsWithoutValueSummary, C as isUnfilledSlot, D as planFieldEventCalls, E as partitionIssuesByControlPolicy, F as requiredColumnOf, G as sqlTypeLookupsOf, H as runnerSuccess, I as requiredColumnsOfMigration, J as temporalCodecPresetWithPrecision, K as storageNameOfOperation, L as resolveColumnRenameAgainst, M as readColumnDefault, N as readReportedDefault, O as planFieldEventOperations, P as requiredColumnMeta, Q as unmatchedColumnRename, R as resolveTableRenameAgainst, S as fieldStatementColumns, T as partitionCallsByControlPolicy, U as slotSource, V as runnerFailure, W as sqlOfSlot, X as unconvertedFieldOf, Y as temporalStringAuthoringPresets, Z as unknownCallNames, _ as detectDestructiveChanges, a as assembleAuthoringContributions, b as fieldOfColumn, c as columnTakesTemporaryValue, d as contractToSchemaIR, g as createSqlTextSources, h as createMigrationPlan, i as appliedStatementsInOrder, j as plannerSuccess, k as planStatements, l as contractColumns, m as convertedColumnOf, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as convertedColumnMeta, q as subjectsOfCalls, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectTableNameCaseChanges, w as modelRenameStorageEffect, x as fieldRenameStorageEffect, y as fieldEventStorage, z as rowsWithoutValueFailure } from "./control-DbHnaxDE.mjs";
7
+ import { $ as unmatchedTableRename, A as plannerFailure, B as rowsWithoutValueSummary, C as isUnfilledSlot, D as planFieldEventCalls, E as partitionIssuesByControlPolicy, F as requiredColumnOf, G as sqlTypeLookupsOf, H as runnerSuccess, I as requiredColumnsOfMigration, J as temporalCodecPresetWithPrecision, K as storageNameOfOperation, L as resolveColumnRenameAgainst, M as readColumnDefault, N as readReportedDefault, O as planFieldEventOperations, P as requiredColumnMeta, Q as unmatchedColumnRename, R as resolveTableRenameAgainst, S as fieldStatementColumns, T as partitionCallsByControlPolicy, U as slotSource, V as runnerFailure, W as sqlOfSlot, X as unconvertedFieldOf, Y as temporalStringAuthoringPresets, Z as unknownCallNames, _ as detectDestructiveChanges, a as assembleAuthoringContributions, b as fieldOfColumn, c as columnTakesTemporaryValue, d as contractToSchemaIR, g as createSqlTextSources, h as createMigrationPlan, i as appliedStatementsInOrder, j as plannerSuccess, k as planStatements, l as contractColumns, m as convertedColumnOf, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as convertedColumnMeta, q as subjectsOfCalls, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectTableNameCaseChanges, w as modelRenameStorageEffect, x as fieldRenameStorageEffect, y as fieldEventStorage, z as rowsWithoutValueFailure } from "./control-vpTGr7Ea.mjs";
8
8
  import { t as resolveIntrospectedColumnType } from "./control-adapter-BX5COBWO.mjs";
9
9
  import { t as arraysEqual } from "./diff-DZ82XaGR.mjs";
10
10
  import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
11
11
  import { t as SqlMigration } from "./migration-Dy_4Wmiy.mjs";
12
12
  import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
13
- import { a as mapDefault, i as inferredTypeConstructors, n as generatorCallsFor, o as pslTypeArgumentText, r as inferColumnTypes, t as fewestArgumentsCall } from "./psl-build-BYqCjsqi.mjs";
13
+ import { a as mapDefault, i as inferredTypeConstructors, n as generatorCallsFor, o as pslTypeArgumentText, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-DzdzY3o1.mjs";
14
14
  import { a as pluralize, c as toModelName, i as inferRelations, n as deriveBackRelationFieldName, o as toEnumName, r as deriveRelationFieldName, s as toFieldName, t as buildChildRelationField } from "./psl-infer-CaEnF_x3.mjs";
15
15
  import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-Z3nD7ix1.mjs";
16
- export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, SqlMigration as Migration, SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase, TABLE_NAME_CASE_CHANGED_CODE, UNBOUND_DOMAIN_NAMESPACE_ID, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, pslTypeArgumentText, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff };
16
+ export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, SqlMigration as Migration, SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase, TABLE_NAME_CASE_CHANGED_CODE, UNBOUND_DOMAIN_NAMESPACE_ID, appliedStatementsInOrder, arraysEqual, assembleAuthoringContributions, backfillOfDefaultedField, buildChildRelationField, checkSqlDefaultText, checkSqlExpressionText, classifyDiffSubjectGranularity, classifySqlDiffIssue, columnTakesTemporaryValue, computeSqlDiffVerdict, computeStorageTypeVerdict, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, generatorCallsFor, idGeneratorFunctionBindings, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, pslTypeArgumentText, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveIntrospectedColumnType, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff, writeDefaultLiteral };
@@ -1,3 +1,3 @@
1
- import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BnsQY8_q.mjs";
2
- import { t as resolveIntrospectedColumnType } from "./control-adapter-DgxEVzhZ.mjs";
1
+ import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-Bn0uhplA-BBax-2PG.mjs";
2
+ import { t as resolveIntrospectedColumnType } from "./control-adapter-QzlyTp1z.mjs";
3
3
  export { type ExecuteRequestLowerer, type Lowerer, type SqlControlAdapter, type SqlControlAdapterDescriptor, resolveIntrospectedColumnType };
@@ -1,5 +1,5 @@
1
1
  import { h as checkSqlDefaultText } from "./validators-CTZ-hU2l.mjs";
2
- import { A as StorageTypePlanResult, C as SqlPlanTargetDetails, D as SqlPlannerFailureResult, E as SqlPlannerConflictLocation, O as SqlPlannerResult, S as SqlMigrationRunnerSuccessValue, T as SqlPlannerConflictKind, _ as SqlMigrationRunnerErrorCode, a as FieldEventContext, b as SqlMigrationRunnerFailure, c as SqlControlExtensionDescriptor, d as SqlMigrationPlanOperation, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, h as SqlMigrationPlannerPlanOptions, i as FieldEvent, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, o as ResolveIdentityValueInput, p as SqlMigrationPlanOperationTarget, r as CreateSqlMigrationPlanOptions, s as SqlControlAdapterDescriptor, u as SqlMigrationPlanContractInfo, v as SqlMigrationRunnerExecuteCallbacks, w as SqlPlannerConflict, x as SqlMigrationRunnerResult, y as SqlMigrationRunnerExecuteOptions } from "./types-DlFdMaDJ-BEDwj-Qv.mjs";
2
+ import { A as StorageTypePlanResult, C as SqlPlanTargetDetails, D as SqlPlannerFailureResult, E as SqlPlannerConflictLocation, O as SqlPlannerResult, S as SqlMigrationRunnerSuccessValue, T as SqlPlannerConflictKind, _ as SqlMigrationRunnerErrorCode, a as FieldEventContext, b as SqlMigrationRunnerFailure, c as SqlControlExtensionDescriptor, d as SqlMigrationPlanOperation, f as SqlMigrationPlanOperationStep, g as SqlMigrationRunner, h as SqlMigrationPlannerPlanOptions, i as FieldEvent, k as SqlPlannerSuccessResult, l as SqlMigrationPlan, m as SqlMigrationPlanner, n as CodecControlHooks, o as ResolveIdentityValueInput, p as SqlMigrationPlanOperationTarget, r as CreateSqlMigrationPlanOptions, s as SqlControlAdapterDescriptor, u as SqlMigrationPlanContractInfo, v as SqlMigrationRunnerExecuteCallbacks, w as SqlPlannerConflict, x as SqlMigrationRunnerResult, y as SqlMigrationRunnerExecuteOptions } from "./types-DlFdMaDJ-Btto5v5t.mjs";
3
3
  import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-BfEQ_9cY.mjs";
4
- import { $ as TableRenameByHand, A as ReadColumnDefault, At as plannerSuccess, B as SqlDescribedContractSpace, Bt as runnerFailure, C as MigrationPlannerConflict, Ct as modelRenameStorageEffect, D as NoTable, Dt as planFieldEventOperations, E as ModelTable, Et as planFieldEventCalls, F as RequiredColumnMark, Ft as requiredColumnsOfMigration, G as SqlTextSources, Gt as storageNameOfOperation, H as SqlQuote, Ht as slotSource, I as SchemaTables, It as resolveColumnRenameAgainst, J as SubjectStorage, Jt as temporalStringAuthoringPresets, K as StatementColumn, Kt as subjectsOfCalls, L as SingleOperationCall, Lt as resolveTableRenameAgainst, M as ReportedBody, Mt as readReportedDefault, N as ReportedLiteralDefault, Nt as requiredColumnMeta, O as PlanFieldEventOperationsOptions, Ot as planStatements, P as RequiredColumn, Pt as requiredColumnOf, Q as TableRename, Qt as unmatchedTableRename, R as SqlControlFamilyInstance, Rt as rowsWithoutValueFailure, S as MigrationPlanner, St as isUnfilledSlot, T as ModelStorageEffect, Tt as partitionIssuesByControlPolicy, U as SqlQuotingRules, Ut as sqlOfSlot, V as SqlPslBuildContext, Vt as runnerSuccess, W as SqlSlot, Wt as sqlTypeLookupsOf, X as TABLE_NAME_CASE_CHANGED_CODE, Xt as unknownCallNames, Y as SuppressionRecord, Yt as unconvertedFieldOf, Z as TableNameCaseGuardTable, Zt as unmatchedColumnRename, _ as INIT_ADDITIVE_POLICY, _t as extractCodecControlHooks, a as ColumnRename, at as backfillOfDefaultedField, b as MigrationPlan, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractColumns, d as ConvertedColumn, dt as convertedColumnMeta, et as TableRenameRequest, f as DefaultResolver, ft as convertedColumnOf, g as FieldStorageEffect, gt as detectTableNameCaseChanges, h as FieldStatementColumns, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as assembleAuthoringContributions, j as ReadReportedDefault, jt as readColumnDefault, k as PlannedStatements, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractNamespaceToSchemaIR, m as FieldEventCall, mt as createSqlTextSources, n as CallSubjects, nt as _default, o as ColumnRenameRequest, ot as checkSqlExpressionText, p as DefaultResolverColumn, pt as createMigrationPlan, q as StatementPlanningTarget, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as appliedStatementsInOrder, s as ContractColumn, st as columnTakesTemporaryValue, t as COLUMN_RENAME_UNMATCHED_CODE, tt as TargetMigrationsCapability, u as ControlPolicySubject, ut as contractToSchemaIR, v as MigrationOperationClass, vt as fieldEventStorage, w as MigrationPlannerResult, wt as partitionCallsByControlPolicy, x as MigrationPlanOperation, xt as fieldStatementColumns, y as MigrationOperationPolicy, yt as fieldOfColumn, z as SqlControlTargetDescriptor, zt as rowsWithoutValueSummary } from "./control-Db07JiRl.mjs";
4
+ import { $ as TableRenameByHand, A as ReadColumnDefault, At as plannerSuccess, B as SqlDescribedContractSpace, Bt as runnerFailure, C as MigrationPlannerConflict, Ct as modelRenameStorageEffect, D as NoTable, Dt as planFieldEventOperations, E as ModelTable, Et as planFieldEventCalls, F as RequiredColumnMark, Ft as requiredColumnsOfMigration, G as SqlTextSources, Gt as storageNameOfOperation, H as SqlQuote, Ht as slotSource, I as SchemaTables, It as resolveColumnRenameAgainst, J as SubjectStorage, Jt as temporalStringAuthoringPresets, K as StatementColumn, Kt as subjectsOfCalls, L as SingleOperationCall, Lt as resolveTableRenameAgainst, M as ReportedBody, Mt as readReportedDefault, N as ReportedLiteralDefault, Nt as requiredColumnMeta, O as PlanFieldEventOperationsOptions, Ot as planStatements, P as RequiredColumn, Pt as requiredColumnOf, Q as TableRename, Qt as unmatchedTableRename, R as SqlControlFamilyInstance, Rt as rowsWithoutValueFailure, S as MigrationPlanner, St as isUnfilledSlot, T as ModelStorageEffect, Tt as partitionIssuesByControlPolicy, U as SqlQuotingRules, Ut as sqlOfSlot, V as SqlPslBuildContext, Vt as runnerSuccess, W as SqlSlot, Wt as sqlTypeLookupsOf, X as TABLE_NAME_CASE_CHANGED_CODE, Xt as unknownCallNames, Y as SuppressionRecord, Yt as unconvertedFieldOf, Z as TableNameCaseGuardTable, Zt as unmatchedColumnRename, _ as INIT_ADDITIVE_POLICY, _t as extractCodecControlHooks, a as ColumnRename, at as backfillOfDefaultedField, b as MigrationPlan, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractColumns, d as ConvertedColumn, dt as convertedColumnMeta, et as TableRenameRequest, f as DefaultResolver, ft as convertedColumnOf, g as FieldStorageEffect, gt as detectTableNameCaseChanges, h as FieldStatementColumns, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as assembleAuthoringContributions, j as ReadReportedDefault, jt as readColumnDefault, k as PlannedStatements, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractNamespaceToSchemaIR, m as FieldEventCall, mt as createSqlTextSources, n as CallSubjects, nt as _default, o as ColumnRenameRequest, ot as checkSqlExpressionText, p as DefaultResolverColumn, pt as createMigrationPlan, q as StatementPlanningTarget, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as appliedStatementsInOrder, s as ContractColumn, st as columnTakesTemporaryValue, t as COLUMN_RENAME_UNMATCHED_CODE, tt as TargetMigrationsCapability, u as ControlPolicySubject, ut as contractToSchemaIR, v as MigrationOperationClass, vt as fieldEventStorage, w as MigrationPlannerResult, wt as partitionCallsByControlPolicy, x as MigrationPlanOperation, xt as fieldStatementColumns, y as MigrationOperationPolicy, yt as fieldOfColumn, z as SqlControlTargetDescriptor, zt as rowsWithoutValueSummary } from "./control-Dktzcn7Z.mjs";
5
5
  export { COLUMN_RENAME_UNMATCHED_CODE, type CallSubjects, type CallWithCompanions, type CodecControlHooks, type ColumnOnOneSide, type ColumnRename, type ColumnRenameRequest, type ContractColumn, type ContractColumns, type ContractToSchemaIROptions, type ControlPolicySubject, type ConvertedColumn, type CreateSqlMigrationPlanOptions, type DefaultResolver, type DefaultResolverColumn, type FieldEvent, type FieldEventCall, type FieldEventContext, type FieldStatementColumns, type FieldStorageEffect, INIT_ADDITIVE_POLICY, type MigrationOperationClass, type MigrationOperationPolicy, type MigrationPlan, type MigrationPlanOperation, type MigrationPlanner, type MigrationPlannerConflict, type MigrationPlannerResult, type ModelStorageEffect, type ModelTable, type NoTable, type PlanFieldEventOperationsOptions, type PlannedStatements, type ReadColumnDefault, type ReadReportedDefault, type ReportedBody, type ReportedLiteralDefault, type RequiredColumn, type RequiredColumnMark, type ResolveIdentityValueInput, type SchemaTables, type SingleOperationCall, type SqlControlAdapterDescriptor, type SqlControlExtensionDescriptor, type SqlControlFamilyInstance, type SqlControlTargetDescriptor, type SqlDescribedContractSpace, type SqlMigrationPlan, type SqlMigrationPlanContractInfo, type SqlMigrationPlanOperation, type SqlMigrationPlanOperationStep, type SqlMigrationPlanOperationTarget, type SqlMigrationPlanner, type SqlMigrationPlannerPlanOptions, type SqlMigrationRunner, type SqlMigrationRunnerErrorCode, type SqlMigrationRunnerExecuteCallbacks, type SqlMigrationRunnerExecuteOptions, type SqlMigrationRunnerFailure, type SqlMigrationRunnerResult, type SqlMigrationRunnerSuccessValue, type SqlPlanTargetDetails, type SqlPlannerConflict, type SqlPlannerConflictKind, type SqlPlannerConflictLocation, type SqlPlannerFailureResult, type SqlPlannerResult, type SqlPlannerSuccessResult, type SqlPslBuildContext, type SqlQuote, type SqlQuotingRules, type SqlSchemaDiffFn, type SqlSchemaDiffInput, type SqlSchemaDiffResult, type SqlSlot, type SqlTextSources, type StatementColumn, type StatementPlanningTarget, type StorageTypePlanResult, type SubjectStorage, type SuppressionRecord, TABLE_NAME_CASE_CHANGED_CODE, type TableNameCaseGuardTable, type TableRename, type TableRenameByHand, type TableRenameRequest, type TargetMigrationsCapability, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, _default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -1,4 +1,4 @@
1
1
  import { n as checkSqlDefaultText } from "./validators-BlONfdFH.mjs";
2
2
  import { s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-BzdgK4xv.mjs";
3
- import { $ as unmatchedTableRename, A as plannerFailure, B as rowsWithoutValueSummary, C as isUnfilledSlot, D as planFieldEventCalls, E as partitionIssuesByControlPolicy, F as requiredColumnOf, G as sqlTypeLookupsOf, H as runnerSuccess, I as requiredColumnsOfMigration, J as temporalCodecPresetWithPrecision, K as storageNameOfOperation, L as resolveColumnRenameAgainst, M as readColumnDefault, N as readReportedDefault, O as planFieldEventOperations, P as requiredColumnMeta, Q as unmatchedColumnRename, R as resolveTableRenameAgainst, S as fieldStatementColumns, T as partitionCallsByControlPolicy, U as slotSource, V as runnerFailure, W as sqlOfSlot, X as unconvertedFieldOf, Y as temporalStringAuthoringPresets, Z as unknownCallNames, _ as detectDestructiveChanges, a as assembleAuthoringContributions, b as fieldOfColumn, c as columnTakesTemporaryValue, d as contractToSchemaIR, f as control_default, g as createSqlTextSources, h as createMigrationPlan, i as appliedStatementsInOrder, j as plannerSuccess, k as planStatements, l as contractColumns, m as convertedColumnOf, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as convertedColumnMeta, q as subjectsOfCalls, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectTableNameCaseChanges, w as modelRenameStorageEffect, x as fieldRenameStorageEffect, y as fieldEventStorage, z as rowsWithoutValueFailure } from "./control-DbHnaxDE.mjs";
3
+ import { $ as unmatchedTableRename, A as plannerFailure, B as rowsWithoutValueSummary, C as isUnfilledSlot, D as planFieldEventCalls, E as partitionIssuesByControlPolicy, F as requiredColumnOf, G as sqlTypeLookupsOf, H as runnerSuccess, I as requiredColumnsOfMigration, J as temporalCodecPresetWithPrecision, K as storageNameOfOperation, L as resolveColumnRenameAgainst, M as readColumnDefault, N as readReportedDefault, O as planFieldEventOperations, P as requiredColumnMeta, Q as unmatchedColumnRename, R as resolveTableRenameAgainst, S as fieldStatementColumns, T as partitionCallsByControlPolicy, U as slotSource, V as runnerFailure, W as sqlOfSlot, X as unconvertedFieldOf, Y as temporalStringAuthoringPresets, Z as unknownCallNames, _ as detectDestructiveChanges, a as assembleAuthoringContributions, b as fieldOfColumn, c as columnTakesTemporaryValue, d as contractToSchemaIR, f as control_default, g as createSqlTextSources, h as createMigrationPlan, i as appliedStatementsInOrder, j as plannerSuccess, k as planStatements, l as contractColumns, m as convertedColumnOf, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as convertedColumnMeta, q as subjectsOfCalls, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectTableNameCaseChanges, w as modelRenameStorageEffect, x as fieldRenameStorageEffect, y as fieldEventStorage, z as rowsWithoutValueFailure } from "./control-vpTGr7Ea.mjs";
4
4
  export { COLUMN_RENAME_UNMATCHED_CODE, INIT_ADDITIVE_POLICY, TABLE_NAME_CASE_CHANGED_CODE, appliedStatementsInOrder, assembleAuthoringContributions, backfillOfDefaultedField, checkSqlDefaultText, checkSqlExpressionText, columnTakesTemporaryValue, contractColumns, contractNamespaceToSchemaIR, contractToSchemaIR, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, control_default as default, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fieldEventStorage, fieldOfColumn, fieldRenameStorageEffect, fieldStatementColumns, isUnfilledSlot, modelRenameStorageEffect, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename };
@@ -1,2 +1,2 @@
1
- import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-BN_3K9lv.mjs";
1
+ import { a as VerifySqlSchemaByDiffInput, c as classifySqlDiffIssue, d as verifySqlSchemaByDiff, i as StorageTypeVerdictInput, l as computeSqlDiffVerdict, n as SqlDiffVerdictInput, o as arraysEqual, r as StorageTypeVerdict, s as classifyDiffSubjectGranularity, t as SqlDiffVerdict, u as computeStorageTypeVerdict } from "./diff-DG69mLcv.mjs";
2
2
  export { type SqlDiffVerdict, type SqlDiffVerdictInput, type StorageTypeVerdict, type StorageTypeVerdictInput, type VerifySqlSchemaByDiffInput, arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
@@ -1,2 +1,2 @@
1
- import { t as SqlMigration } from "./migration-go6YP7-v.mjs";
1
+ import { t as SqlMigration } from "./migration-Bo60GuJb.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,2 +1,2 @@
1
- import { n as sqlFamilyPack, t as idGeneratorFunctionBindings } from "./pack-DXEOdHaM.mjs";
1
+ import { n as sqlFamilyPack, t as idGeneratorFunctionBindings } from "./pack-C4yN9ooT.mjs";
2
2
  export { sqlFamilyPack as default, idGeneratorFunctionBindings };
@@ -1,5 +1,5 @@
1
- import { v as sqlAttributeSpecs } from "./psl-field-resolution-BET6wtHZ-C_hO6YE1.mjs";
2
- import { a as sqlFamilyGeneratorDescriptors, i as sqlFamilyEntityTypes, n as sqlFamilyAuthoringFieldPresets, o as sqlFamilyGeneratorFunctions, r as sqlFamilyAuthoringTypes, s as sqlFamilyPslBlockDescriptors, t as idGeneratorFunctionBindings } from "./generator-functions-BoE7Lc9d-MgcgdnPZ.mjs";
1
+ import { v as sqlAttributeSpecs } from "./psl-field-resolution-C8s57hFC-Bv6NiK8J.mjs";
2
+ import { a as sqlFamilyGeneratorDescriptors, i as sqlFamilyEntityTypes, n as sqlFamilyAuthoringFieldPresets, o as sqlFamilyGeneratorFunctions, r as sqlFamilyAuthoringTypes, s as sqlFamilyPslBlockDescriptors, t as idGeneratorFunctionBindings } from "./generator-functions-DIXj2u8w-B_EpEY8t.mjs";
3
3
  //#region ../../../2-sql/9-family/dist/pack.mjs
4
4
  const sqlFamilyPack = {
5
5
  kind: "family",
@@ -1 +1 @@
1
- {"version":3,"file":"family__pack.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/pack.mjs"],"sourcesContent":["import { a as sqlFamilyAuthoringFieldPresets, i as sqlFamilyAuthoringTypes, n as sqlFamilyGeneratorDescriptors, o as sqlFamilyEntityTypes, r as sqlFamilyGeneratorFunctions, s as sqlFamilyPslBlockDescriptors, t as idGeneratorFunctionBindings } from \"./generator-functions-BoE7Lc9d.mjs\";\nimport { sqlAttributeSpecs } from \"@internal/sql-contract-psl/attribute-specs\";\n//#region src/exports/pack.ts\nconst sqlFamilyPack = {\n\tkind: \"family\",\n\tid: \"sql\",\n\tfamilyId: \"sql\",\n\tversion: \"0.0.1\",\n\tauthoring: {\n\t\tfield: sqlFamilyAuthoringFieldPresets,\n\t\ttype: sqlFamilyAuthoringTypes,\n\t\tentityTypes: sqlFamilyEntityTypes,\n\t\tpslBlockDescriptors: sqlFamilyPslBlockDescriptors,\n\t\tattributeSpecs: sqlAttributeSpecs\n\t},\n\tgeneratorFunctions: sqlFamilyGeneratorFunctions,\n\tcontrolMutationDefaults: {\n\t\tdefaultFunctionRegistry: /* @__PURE__ */ new Map(),\n\t\tgeneratorDescriptors: sqlFamilyGeneratorDescriptors\n\t}\n};\n//#endregion\nexport { sqlFamilyPack as default, idGeneratorFunctionBindings };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;;AAGA,MAAM,gBAAgB;CACrB,MAAM;CACN,IAAI;CACJ,UAAU;CACV,SAAS;CACT,WAAW;EACV,OAAO;EACP,MAAM;EACN,aAAa;EACb,qBAAqB;EACrB,gBAAgB;CACjB;CACA,oBAAoB;CACpB,yBAAyB;EACxB,yCAAyC,IAAI,IAAI;EACjD,sBAAsB;CACvB;AACD"}
1
+ {"version":3,"file":"family__pack.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/pack.mjs"],"sourcesContent":["import { a as sqlFamilyAuthoringFieldPresets, i as sqlFamilyAuthoringTypes, n as sqlFamilyGeneratorDescriptors, o as sqlFamilyEntityTypes, r as sqlFamilyGeneratorFunctions, s as sqlFamilyPslBlockDescriptors, t as idGeneratorFunctionBindings } from \"./generator-functions-DIXj2u8w.mjs\";\nimport { sqlAttributeSpecs } from \"@internal/sql-contract-psl/attribute-specs\";\n//#region src/exports/pack.ts\nconst sqlFamilyPack = {\n\tkind: \"family\",\n\tid: \"sql\",\n\tfamilyId: \"sql\",\n\tversion: \"0.0.1\",\n\tauthoring: {\n\t\tfield: sqlFamilyAuthoringFieldPresets,\n\t\ttype: sqlFamilyAuthoringTypes,\n\t\tentityTypes: sqlFamilyEntityTypes,\n\t\tpslBlockDescriptors: sqlFamilyPslBlockDescriptors,\n\t\tattributeSpecs: sqlAttributeSpecs\n\t},\n\tgeneratorFunctions: sqlFamilyGeneratorFunctions,\n\tcontrolMutationDefaults: {\n\t\tdefaultFunctionRegistry: /* @__PURE__ */ new Map(),\n\t\tgeneratorDescriptors: sqlFamilyGeneratorDescriptors\n\t}\n};\n//#endregion\nexport { sqlFamilyPack as default, idGeneratorFunctionBindings };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;;AAGA,MAAM,gBAAgB;CACrB,MAAM;CACN,IAAI;CACJ,UAAU;CACV,SAAS;CACT,WAAW;EACV,OAAO;EACP,MAAM;EACN,aAAa;EACb,qBAAqB;EACrB,gBAAgB;CACjB;CACA,oBAAoB;CACpB,yBAAyB;EACxB,yCAAyC,IAAI,IAAI;EACjD,sBAAsB;CACvB;AACD"}
@@ -1,3 +1,3 @@
1
- import { n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CEISdj2g-DF1LzGBR.mjs";
2
- import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as toEnumMemberName, n as GeneratorCallRefusal, o as IntrospectedTable, p as pslTypeArgumentText, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-C41KHJL_.mjs";
3
- export { type ColumnTypeOf, type DefaultMappingOptions, type DefaultMappingResult, type GeneratorCallRefusal, type GeneratorCallsResult, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type PhaseCallText, type PslTypeCall, fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName };
1
+ import { i as writeDefaultLiteral, n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CP8q4TfH-CF6eJMej.mjs";
2
+ import { a as InferredTypeConstructors, c as PslTypeCall, d as inferColumnTypes, f as inferredTypeConstructors, i as InferredTypeConstructor, l as fewestArgumentsCall, m as toEnumMemberName, n as GeneratorCallRefusal, o as IntrospectedTable, p as pslTypeArgumentText, r as GeneratorCallsResult, s as PhaseCallText, t as ColumnTypeOf, u as generatorCallsFor } from "./psl-build-DETsH_kq.mjs";
3
+ export { type ColumnTypeOf, type DefaultMappingOptions, type DefaultMappingResult, type GeneratorCallRefusal, type GeneratorCallsResult, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type PhaseCallText, type PslTypeCall, fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName, writeDefaultLiteral };
@@ -1,3 +1,3 @@
1
1
  import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
2
- import { a as mapDefault, i as inferredTypeConstructors, n as generatorCallsFor, o as pslTypeArgumentText, r as inferColumnTypes, t as fewestArgumentsCall } from "./psl-build-BYqCjsqi.mjs";
3
- export { fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName };
2
+ import { a as mapDefault, i as inferredTypeConstructors, n as generatorCallsFor, o as pslTypeArgumentText, r as inferColumnTypes, s as writeDefaultLiteral, t as fewestArgumentsCall } from "./psl-build-DzdzY3o1.mjs";
3
+ export { fewestArgumentsCall, generatorCallsFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName, writeDefaultLiteral };
@@ -1,2 +1,2 @@
1
- import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-CALmBIqX.mjs";
1
+ import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-C-RcAyUr.mjs";
2
2
  export { type EnumInfo, type InferredRelations, type PslPrinterOptions, type RelationField, buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
@@ -1,8 +1,8 @@
1
1
  import { D as QueryOperationTypesBase } from "./types-Dqf87mfA-BOElvimQ.mjs";
2
2
  import "./types-B2Dee96w.mjs";
3
3
  import { i as SqlOperationEntry } from "./index-BRFLss5v.mjs";
4
- import { Mt as SelectAst } from "./types-DVaVM20q-DrinF7w_.mjs";
5
- import { i as CodecTypesBase, l as RawCodecInferer, o as Expression, r as CodecExpression, x as ScopeField, y as RawSqlTag } from "./expression-BzrfOiPC-CXjjRKqc.mjs";
4
+ import { Nt as SelectAst } from "./types-GgcOrYm_-RhoxnXdj.mjs";
5
+ import { i as CodecTypesBase, l as RawCodecInferer, o as Expression, r as CodecExpression, x as ScopeField, y as RawSqlTag } from "./expression-CC4544Y8-C_EWTA_0.mjs";
6
6
  //#region ../../../2-sql/4-lanes/relational-core/dist/exports/functions.d.mts
7
7
  //#region src/functions.d.ts
8
8
  type BooleanCodecType = {
@@ -70,4 +70,4 @@ type Functions<QC extends FunctionsContext> = BuiltinFunctions<QC['codecTypes']>
70
70
  declare function createFunctions<QC extends FunctionsContext>(operations: Readonly<Record<string, SqlOperationEntry>>, rawCodecInferer: RawCodecInferer): Functions<QC>;
71
71
  //#endregion
72
72
  export { Subquery as a, FunctionsContext as i, BuiltinFunctions as n, SubqueryMarker as o, Functions as r, createFunctions as s, BooleanCodecType as t };
73
- //# sourceMappingURL=functions-LyIMc_v9.d.mts.map
73
+ //# sourceMappingURL=functions-wFi6AtCc.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"functions-LyIMc_v9.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/functions.d.mts"],"mappings":";;;;;;;KAKK;EACH;EACA;;cAEY;KACT,SAAS,gBAAgB,eAAe;GAC1C,iBAAiB;EAClB,YAAY;EACZ,gBAAgB,eAAe;;;KAG5B;WACM,YAAY;WACZ,qBAAqB;;KAE3B,mBAAmB,WAAW,8BAA8B,WAAW,KAAK,GAAG;KAC/E,iBAAiB,WAAW;WACtB;;EAET,KAAK,wBAAwB,GAAG,gBAAgB,kBAAkB,YAAY,GAAG,gBAAgB,kBAAkB,eAAe,WAAW;EAC7I,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,YAAY,GAAG,gBAAgB,SAAS,GAAG,eAAe,WAAW;EACpJ,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACtI,MAAM,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACvI,KAAK,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACtI,MAAM,wBAAwB,mBAAmB,GAAG,gBAAgB,SAAS,GAAG,KAAK,GAAG,gBAAgB,SAAS,GAAG,QAAQ,WAAW;EACvI,SAAS,MAAM,sCAAsC,UAAU,WAAW;EAC1E,QAAQ,KAAK,sCAAsC,UAAU,WAAW;EACxE,SAAS,UAAU,SAAS,eAAe,iBAAiB,WAAW;EACvE,YAAY,UAAU,SAAS,eAAe,iBAAiB,WAAW;EAC1E;KACG,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,UAAU,SAAS;MACrB,SAAS;MACT;UACI,WAAW;KAChB,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,QAAQ,MAAM,gBAAgB,kBAAkB,OAAO,WAAW;;EAExE;KACG,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,UAAU,SAAS;MACrB,SAAS;MACT;UACI,WAAW;KAChB,wBAAwB,MAAM;MAC7B,SAAS;MACT;QACE,QAAQ,MAAM,gBAAgB,kBAAkB,OAAO,WAAW;;WAE/D,KAAK;;;KAGX,UAAU,WAAW,oBAAoB,iBAAiB,oBAAoB,mBAAmB;;;;iBAIrF,gBAAgB,WAAW,kBAAkB,YAAY,SAAS,eAAe,qBAAqB,iBAAiB,kBAAkB,UAAU"}
1
+ {"version":3,"file":"functions-wFi6AtCc.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/functions.d.mts"],"mappings":";;;;;;;KAKK;EACH;EACA;;cAEY;KACT,SAAS,gBAAgB,eAAe;GAC1C,iBAAiB;EAClB,YAAY;EACZ,gBAAgB,eAAe;;;KAG5B;WACM,YAAY;WACZ,qBAAqB;;KAE3B,mBAAmB,WAAW,8BAA8B,WAAW,KAAK,GAAG;KAC/E,iBAAiB,WAAW;WACtB;;EAET,KAAK,wBAAwB,GAAG,gBAAgB,kB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,15 +1,15 @@
1
- import { c as enumType } from "./contract-builder-D3XaKpyw.mjs";
1
+ import { c as enumType } from "./contract-builder-CKfnPa4C.mjs";
2
2
  import { c as SQL_TEXT_CODEC_ID, i as SQL_CHAR_CODEC_ID, l as SQL_VARCHAR_CODEC_ID } from "./ast-BJs2669T.mjs";
3
3
  import { readEnumBlockMembers, resolveEnumCodecId } from "@prisma/orm-framework/components/authoring";
4
4
  import { enumRefusalOf, requiredParamKeys } from "@prisma/orm-framework/components/codec";
5
5
  import { singleGeneratorBinding } from "@prisma/orm-framework/components/components";
6
- import { blockAttribute, int, jsonValue, mapBlock, num, oneOf, optional, str } from "@prisma/orm-framework/psl-parser";
7
- //#region ../../../2-sql/9-family/dist/generator-functions-BoE7Lc9d.mjs
6
+ import { blockAttribute, enumMemberValue, int, mapBlock, num, oneOf, optional, str } from "@prisma/orm-framework/psl-parser";
7
+ //#region ../../../2-sql/9-family/dist/generator-functions-DIXj2u8w.mjs
8
8
  function sqlFamilyEnumSpec() {
9
9
  return mapBlock({
10
10
  value: {
11
- type: jsonValue(),
12
- documentation: "The stored member value; a bare member stores its own name."
11
+ type: enumMemberValue(),
12
+ documentation: "The member's value, written as a value of the enum's data type; a bare member stores its own name."
13
13
  },
14
14
  allowBare: true
15
15
  });
@@ -480,4 +480,4 @@ const sqlFamilyGeneratorDescriptors = [...new Set(sqlFamilyGeneratorFunctions.fl
480
480
  //#endregion
481
481
  export { sqlFamilyGeneratorDescriptors as a, sqlFamilyEntityTypes as i, sqlFamilyAuthoringFieldPresets as n, sqlFamilyGeneratorFunctions as o, sqlFamilyAuthoringTypes as r, sqlFamilyPslBlockDescriptors as s, idGeneratorFunctionBindings as t };
482
482
 
483
- //# sourceMappingURL=generator-functions-BoE7Lc9d-MgcgdnPZ.mjs.map
483
+ //# sourceMappingURL=generator-functions-DIXj2u8w-B_EpEY8t.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator-functions-DIXj2u8w-B_EpEY8t.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/generator-functions-DIXj2u8w.mjs"],"sourcesContent":["import { readEnumBlockMembers, resolveEnumCodecId } from \"@internal/framework-components/authoring\";\nimport { enumRefusalOf, requiredParamKeys } from \"@internal/framework-components/codec\";\nimport { blockAttribute, enumMemberValue, int, mapBlock, num, oneOf, optional, str } from \"@internal/psl-parser\";\nimport { enumType } from \"@internal/sql-contract-ts/contract-builder\";\nimport { singleGeneratorBinding } from \"@internal/framework-components/components\";\nimport { SQL_CHAR_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from \"@internal/sql-relational-core/ast\";\n//#region src/core/authoring-entity-types.ts\nfunction sqlFamilyEnumSpec() {\n\treturn mapBlock({\n\t\tvalue: {\n\t\t\ttype: enumMemberValue(),\n\t\t\tdocumentation: \"The member's value, written as a value of the enum's data type; a bare member stores its own name.\"\n\t\t},\n\t\tallowBare: true\n\t});\n}\nconst sqlFamilyEntityTypes = { enum: {\n\tkind: \"entity\",\n\tdiscriminator: \"enum\",\n\toutput: { factory: (block, ctx) => {\n\t\tconst sourceId = ctx.sourceId ?? \"unknown\";\n\t\tconst diagnostics = ctx.diagnostics;\n\t\tconst resolved = resolveEnumCodecId(block, ctx);\n\t\tif (resolved === void 0) return;\n\t\tconst { codecId, codecSpan } = resolved;\n\t\tconst descriptor = ctx.codecLookup.descriptorFor(codecId);\n\t\tconst codec = ctx.codecLookup.get(codecId);\n\t\tif (descriptor === void 0 || codec === void 0) {\n\t\t\tdiagnostics?.push({\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" @@type references unknown codec \"${codecId}\"`,\n\t\t\t\tsourceId,\n\t\t\t\tspan: codecSpan\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tconst enumRefusal = enumRefusalOf(descriptor);\n\t\tif (enumRefusal !== void 0) {\n\t\t\tdiagnostics?.push({\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" cannot use the codec \"${codecId}\". ${enumRefusal}`,\n\t\t\t\tsourceId,\n\t\t\t\tspan: codecSpan\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tconst dataType = ctx.dataTypeLookup.get(descriptor.dataType);\n\t\tif (dataType === void 0) {\n\t\t\tdiagnostics?.push({\n\t\t\t\tcode: \"PSL_EXTENSION_INVALID_VALUE\",\n\t\t\t\tmessage: `enum \"${block.name}\" @@type codec \"${codecId}\" represents data type \"${descriptor.dataType}\", which no component registers`,\n\t\t\t\tsourceId,\n\t\t\t\tspan: codecSpan\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tconst [requiredParam] = requiredParamKeys(dataType);\n\t\tif (requiredParam !== void 0) {\n\t\t\tdiagnostics?.push({\n\t\t\t\tcode: \"PSL_ENUM_TYPE_NEEDS_PARAMETERS\",\n\t\t\t\tmessage: `enum \"${block.name}\" @@type codec \"${codecId}\" represents data type \"${dataType.id}\", which requires the parameter \"${requiredParam}\"; an enum block gives it none`,\n\t\t\t\tsourceId,\n\t\t\t\tspan: codecSpan\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tconst members = readEnumBlockMembers(block, codecId, codec, ctx);\n\t\tif (members === void 0) return void 0;\n\t\treturn enumType(block.name, { codecId }, ...members);\n\t} }\n} };\nconst enumTypeBlockAttribute = blockAttribute(\"type\", {\n\tdocumentation: \"Selects the storage codec for this enum.\",\n\tpositional: [{\n\t\tkey: \"codecId\",\n\t\ttype: str(),\n\t\tdocumentation: \"The fully qualified codec identifier used to store enum values.\"\n\t}]\n});\nconst sqlFamilyPslBlockDescriptors = { enum: {\n\tkind: \"pslBlock\",\n\tkeyword: \"enum\",\n\tdocumentation: \"Defines an enum with named values and an inferred or explicitly selected storage codec.\",\n\tdiscriminator: \"enum\",\n\tname: { required: true },\n\tspec: sqlFamilyEnumSpec,\n\tattributes: { type: () => enumTypeBlockAttribute }\n} };\n//#endregion\n//#region src/core/authoring-field-presets.ts\n/**\n* Family-level SQL authoring field presets.\n*\n* Only presets whose codec IDs align with the ID generator metadata live here\n* (see `@internal/ids`). These presets are target-agnostic because the\n* generator metadata fixes their codec/native-type to `sql/char@1`\n* (`character`) regardless of target, and the PSL interpreter lets the\n* generator override the scalar descriptor.\n*\n* The `uuidString` / `id.uuidv4String` / `id.uuidv7String` presets store UUID\n* values as `character(36)` — portable across all SQL targets. For a native\n* Postgres `uuid` column use `uuidNative` / `id.uuidv4Native` /\n* `id.uuidv7Native` from `@internal/target-postgres`.\n*\n* Scalar presets that map to target-specific codecs (e.g. `text`, `int`,\n* `boolean`, `dateTime`) are contributed by the target pack (see\n* `postgresAuthoringFieldPresets` in `@internal/target-postgres`) so the\n* TS callback surface and the PSL scalar surface lower to byte-identical\n* contracts for the active target.\n*/\nconst CHARACTER_CODEC_ID = \"sql/char@1\";\nconst nanoidOptionsArgument = {\n\tkind: \"object\",\n\toptional: true,\n\tproperties: { size: {\n\t\tkind: \"number\",\n\t\toptional: true,\n\t\tinteger: true,\n\t\tminimum: 2,\n\t\tmaximum: 255\n\t} }\n};\nconst sqlFamilyAuthoringFieldPresets = {\n\tuuidString: {\n\t\tkind: \"fieldPreset\",\n\t\toutput: {\n\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\ttypeParams: { length: 36 }\n\t\t}\n\t},\n\tulid: {\n\t\tkind: \"fieldPreset\",\n\t\toutput: {\n\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\ttypeParams: { length: 26 }\n\t\t}\n\t},\n\tnanoid: {\n\t\tkind: \"fieldPreset\",\n\t\targs: [nanoidOptionsArgument],\n\t\toutput: {\n\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\ttypeParams: { length: {\n\t\t\t\tkind: \"arg\",\n\t\t\t\tindex: 0,\n\t\t\t\tpath: [\"size\"],\n\t\t\t\tdefault: 21\n\t\t\t} }\n\t\t}\n\t},\n\tcuid2: {\n\t\tkind: \"fieldPreset\",\n\t\toutput: {\n\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\ttypeParams: { length: 24 }\n\t\t}\n\t},\n\tksuid: {\n\t\tkind: \"fieldPreset\",\n\t\toutput: {\n\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\ttypeParams: { length: 27 }\n\t\t}\n\t},\n\tid: {\n\t\tuuidv4String: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: 36 },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"uuidv4\"\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t},\n\t\tuuidv7String: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: 36 },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"uuidv7\"\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t},\n\t\tulid: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: 26 },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"ulid\"\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t},\n\t\tnanoid: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\targs: [nanoidOptionsArgument],\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: {\n\t\t\t\t\tkind: \"arg\",\n\t\t\t\t\tindex: 0,\n\t\t\t\t\tpath: [\"size\"],\n\t\t\t\t\tdefault: 21\n\t\t\t\t} },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"nanoid\",\n\t\t\t\t\tparams: { size: {\n\t\t\t\t\t\tkind: \"arg\",\n\t\t\t\t\t\tindex: 0,\n\t\t\t\t\t\tpath: [\"size\"]\n\t\t\t\t\t} }\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t},\n\t\tcuid2: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: 24 },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"cuid2\"\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t},\n\t\tksuid: {\n\t\t\tkind: \"fieldPreset\",\n\t\t\toutput: {\n\t\t\t\tcodecId: CHARACTER_CODEC_ID,\n\t\t\t\ttypeParams: { length: 27 },\n\t\t\t\texecutionDefaults: { onCreate: {\n\t\t\t\t\tkind: \"generator\",\n\t\t\t\t\tid: \"ksuid\"\n\t\t\t\t} },\n\t\t\t\tid: true\n\t\t\t}\n\t\t}\n\t}\n};\n//#endregion\n//#region src/core/authoring-type-constructors.ts\nconst sqlFamilyAuthoringTypes = {\n\tRaw: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A column of a type no other column type covers, written exactly as the database catalog prints it, such as Raw(\\\"tsvector\\\"). Its values are typed unknown, and its default is a sql expression.\",\n\t\targs: [{\n\t\t\tkind: \"string\",\n\t\t\tname: \"sql\"\n\t\t}],\n\t\toutput: {\n\t\t\tcodecId: \"sql/raw@1\",\n\t\t\ttypeParams: { sql: {\n\t\t\t\tkind: \"arg\",\n\t\t\t\tindex: 0\n\t\t\t} }\n\t\t}\n\t},\n\tsql: { String: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"Variable-length text with a required maximum character length.\",\n\t\targs: [{\n\t\t\tkind: \"number\",\n\t\t\tname: \"length\",\n\t\t\tinteger: true\n\t\t}],\n\t\toutput: {\n\t\t\tcodecId: \"sql/varchar@1\",\n\t\t\ttypeParams: { length: {\n\t\t\t\tkind: \"arg\",\n\t\t\t\tindex: 0\n\t\t\t} }\n\t\t}\n\t} }\n};\n//#endregion\n//#region src/core/generator-functions.ts\nconst NANOID_DEFAULT_SIZE = 21;\nconst NANOID_MIN_SIZE = 2;\nconst NANOID_MAX_SIZE = 255;\nconst nowSignature = { documentation: \"Writes the current time, as the column's codec represents it.\" };\nconst uuidSignature = {\n\tdocumentation: \"Generates a UUID when a value is not supplied.\",\n\tpositional: [{\n\t\tkey: \"version\",\n\t\ttype: optional(oneOf(num(4), num(7))),\n\t\tdocumentation: \"The UUID version: `4` or `7`. Defaults to `4`.\"\n\t}]\n};\nconst cuidSignature = {\n\tdocumentation: \"Generates a CUID2 identifier when a value is not supplied.\",\n\tpositional: [{\n\t\tkey: \"version\",\n\t\ttype: num(2),\n\t\tdocumentation: \"The CUID version. Only `2` is supported.\"\n\t}]\n};\nconst ulidSignature = { documentation: \"Generates a ULID when a value is not supplied.\" };\nconst nanoidSignature = {\n\tdocumentation: \"Generates a Nano ID when a value is not supplied.\",\n\tpositional: [{\n\t\tkey: \"size\",\n\t\ttype: optional(int({\n\t\t\tmin: NANOID_MIN_SIZE,\n\t\t\tmax: NANOID_MAX_SIZE\n\t\t})),\n\t\tdocumentation: \"The identifier length, from `2` through `255`. Defaults to 21.\"\n\t}]\n};\nconst ksuidSignature = { documentation: \"Generates a KSUID when a value is not supplied.\" };\nfunction refused(message) {\n\treturn {\n\t\tok: false,\n\t\tmessage\n\t};\n}\nfunction generated(id, params) {\n\treturn {\n\t\tok: true,\n\t\tgenerator: params === void 0 ? {\n\t\t\tkind: \"generator\",\n\t\t\tid\n\t\t} : {\n\t\t\tkind: \"generator\",\n\t\t\tid,\n\t\t\tparams\n\t\t}\n\t};\n}\nfunction uuidBinding(codecIds) {\n\treturn {\n\t\tcodecIds,\n\t\tgeneratorIds: [\"uuidv4\", \"uuidv7\"],\n\t\tresolve: ({ args }) => {\n\t\t\tconst version = args[\"version\"];\n\t\t\tif (version === void 0 || version === 4) return generated(\"uuidv4\");\n\t\t\tif (version === 7) return generated(\"uuidv7\");\n\t\t\treturn refused(`uuid takes version 4 or 7, not ${String(version)}.`);\n\t\t},\n\t\tprintArguments: (generator) => {\n\t\t\tif (generator.id === \"uuidv4\") return {\n\t\t\t\targs: {},\n\t\t\t\ttext: \"\"\n\t\t\t};\n\t\t\tif (generator.id === \"uuidv7\") return {\n\t\t\t\targs: { version: 7 },\n\t\t\t\ttext: \"7\"\n\t\t\t};\n\t\t}\n\t};\n}\nfunction cuidBinding(codecIds) {\n\treturn {\n\t\tcodecIds,\n\t\tgeneratorIds: [\"cuid2\"],\n\t\tresolve: ({ args }) => {\n\t\t\tconst version = args[\"version\"];\n\t\t\treturn version === 2 ? generated(\"cuid2\") : refused(`cuid takes version 2, not ${String(version)}.`);\n\t\t},\n\t\tprintArguments: (generator) => generator.id === \"cuid2\" ? {\n\t\t\targs: { version: 2 },\n\t\t\ttext: \"2\"\n\t\t} : void 0\n\t};\n}\nfunction columnLength(field) {\n\tconst length = field.typeParams?.[\"length\"];\n\treturn typeof length === \"number\" ? length : void 0;\n}\nfunction isNanoidSize(size) {\n\treturn typeof size === \"number\" && Number.isInteger(size) && size >= NANOID_MIN_SIZE && size <= NANOID_MAX_SIZE;\n}\n/**\n* A Nano ID has the size the call gives, or 21; the column's length never sets it. A size larger than the column's length is refused, since the identifier would not fit. A shorter identifier in a fixed-length column is padded by the database, as Prisma 7 does.\n*/\nfunction nanoidBinding(codecIds) {\n\treturn {\n\t\tcodecIds,\n\t\tgeneratorIds: [\"nanoid\"],\n\t\tresolve: ({ args, field }) => {\n\t\t\tconst explicit = args[\"size\"];\n\t\t\tif (explicit !== void 0 && !isNanoidSize(explicit)) return refused(`nanoid takes a size from ${NANOID_MIN_SIZE} through ${NANOID_MAX_SIZE}, not ${String(explicit)}.`);\n\t\t\tconst size = explicit ?? NANOID_DEFAULT_SIZE;\n\t\t\tconst length = columnLength(field);\n\t\t\tif (length !== void 0 && size > length) return refused(`${explicit === void 0 ? \"nanoid()\" : `nanoid(${size})`} writes ${size} characters, which does not fit a column of ${length} characters.`);\n\t\t\treturn explicit === void 0 ? generated(\"nanoid\") : generated(\"nanoid\", { size });\n\t\t},\n\t\tprintArguments: (generator) => {\n\t\t\tif (generator.id !== \"nanoid\") return void 0;\n\t\t\tconst size = generator.params?.[\"size\"];\n\t\t\treturn typeof size === \"number\" ? {\n\t\t\t\targs: { size },\n\t\t\t\ttext: String(size)\n\t\t\t} : {\n\t\t\t\targs: {},\n\t\t\t\ttext: \"\"\n\t\t\t};\n\t\t}\n\t};\n}\n/** The identifier generator functions bound to a target's text codecs, and `uuid` to its uuid codecs. */\nfunction idGeneratorFunctionBindings(codecs) {\n\tconst { text } = codecs;\n\treturn [\n\t\t{\n\t\t\tname: \"uuid\",\n\t\t\tbindings: [uuidBinding([...text, ...codecs.uuid ?? []])]\n\t\t},\n\t\t{\n\t\t\tname: \"cuid\",\n\t\t\tbindings: [cuidBinding(text)]\n\t\t},\n\t\t{\n\t\t\tname: \"ulid\",\n\t\t\tbindings: [singleGeneratorBinding({\n\t\t\t\tcodecIds: text,\n\t\t\t\tgeneratorId: \"ulid\"\n\t\t\t})]\n\t\t},\n\t\t{\n\t\t\tname: \"ksuid\",\n\t\t\tbindings: [singleGeneratorBinding({\n\t\t\t\tcodecIds: text,\n\t\t\t\tgeneratorId: \"ksuid\"\n\t\t\t})]\n\t\t},\n\t\t{\n\t\t\tname: \"nanoid\",\n\t\t\tbindings: [nanoidBinding(text)]\n\t\t}\n\t];\n}\nconst familyIdBindings = idGeneratorFunctionBindings({ text: [\n\tSQL_CHAR_CODEC_ID,\n\tSQL_VARCHAR_CODEC_ID,\n\tSQL_TEXT_CODEC_ID\n] });\nfunction familyBindingsOf(name) {\n\treturn familyIdBindings.find((contribution) => contribution.name === name)?.bindings ?? [];\n}\n/** The generator functions the SQL family declares, with their bindings to the family's codecs. Targets bind `now` and their own codecs. */\nconst sqlFamilyGeneratorFunctions = [\n\t{\n\t\tname: \"now\",\n\t\tsignature: nowSignature,\n\t\tbindings: []\n\t},\n\t{\n\t\tname: \"uuid\",\n\t\tsignature: uuidSignature,\n\t\tbindings: familyBindingsOf(\"uuid\")\n\t},\n\t{\n\t\tname: \"cuid\",\n\t\tsignature: cuidSignature,\n\t\tbindings: familyBindingsOf(\"cuid\")\n\t},\n\t{\n\t\tname: \"ulid\",\n\t\tsignature: ulidSignature,\n\t\tbindings: familyBindingsOf(\"ulid\")\n\t},\n\t{\n\t\tname: \"nanoid\",\n\t\tsignature: nanoidSignature,\n\t\tbindings: familyBindingsOf(\"nanoid\")\n\t},\n\t{\n\t\tname: \"ksuid\",\n\t\tsignature: ksuidSignature,\n\t\tbindings: familyBindingsOf(\"ksuid\")\n\t}\n];\n/** The identifier generators the family's bindings produce, which the family registers so that a target binding them through `idGeneratorFunctionBindings` registers none. */\nconst sqlFamilyGeneratorDescriptors = [...new Set(sqlFamilyGeneratorFunctions.flatMap(({ bindings }) => bindings.flatMap(({ generatorIds }) => generatorIds)))].map((id) => ({ id }));\n//#endregion\nexport { sqlFamilyAuthoringFieldPresets as a, sqlFamilyAuthoringTypes as i, sqlFamilyGeneratorDescriptors as n, sqlFamilyEntityTypes as o, sqlFamilyGeneratorFunctions as r, sqlFamilyPslBlockDescriptors as s, idGeneratorFunctionBindings as t };\n\n//# sourceMappingURL=generator-functions-DIXj2u8w.mjs.map"],"mappings":";;;;;;;AAOA,SAAS,oBAAoB;CAC5B,OAAO,SAAS;EACf,OAAO;GACN,MAAM,gBAAgB;GACtB,eAAe;EAChB;EACA,WAAW;CACZ,CAAC;AACF;AACA,MAAM,uBAAuB,EAAE,MAAM;CACpC,MAAM;CACN,eAAe;CACf,QAAQ,EAAE,UAAU,OAAO,QAAQ;EAClC,MAAM,WAAW,IAAI,YAAY;EACjC,MAAM,cAA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CAAC,CAAC,KAAK,QAAQ,EAAE,GAAG,EAAE"}
@@ -1,23 +1,23 @@
1
1
  import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
2
  import "./types-B2Dee96w.mjs";
3
3
  import { r as SqlOperationDescriptors } from "./index-BRFLss5v.mjs";
4
- import { E as CodecRef$1, Pt as SqlCodecCallContext, S as Codec$1, h as AnyQueryAst, ht as LoweredStatement, k as ContractCodecRegistry, mt as LoweredParam } from "./types-DVaVM20q-DrinF7w_.mjs";
4
+ import { E as CodecRef$1, Ft as SqlCodecCallContext, S as Codec$1, gt as LoweredStatement, h as AnyQueryAst, ht as LoweredParam, k as ContractCodecRegistry } from "./types-GgcOrYm_-RhoxnXdj.mjs";
5
5
  import { c as SqlQueryable, i as SqlDriver, l as SqlStatementStats, r as SqlConnection } from "./driver-types-DRsYeq3j-X_D6hNMZ.mjs";
6
- import { n as SqlQueryPlan } from "./plan-Cbed2eDu-3c5s1Aq5.mjs";
7
- import { i as CodecTypesBase, l as RawCodecInferer } from "./expression-BzrfOiPC-CXjjRKqc.mjs";
8
- import "./expression-CIBqCwC1.mjs";
9
- import { m as MarkerReadResult, t as Adapter } from "./ast-DB7g9Mh2.mjs";
10
- import { t as SqlExecutionPlan } from "./sql-execution-plan-Dam5yMZg-bDl_0qHQ.mjs";
11
- import "./plan-BOyVvttx.mjs";
12
- import { n as CollectionMethodContribution } from "./collection-methods-B-tM7OPZ-DzXedZdV.mjs";
13
- import { n as ExecutionContext, t as CodecDescriptorRegistry } from "./query-lane-context-BLOPW1rQ-4vNq0fxJ.mjs";
14
- import "./query-lane-context-BPJrXopg.mjs";
15
- import { _ as SqlOrmPlan, h as RuntimeScope } from "./types-Cv5t6_Ly-BaGc023t.mjs";
16
- import "./types-VUCzaDbp.mjs";
17
- import { c as PreparedExecution, g as TransactionStartTarget, l as PreparedFor, n as Declaration, o as ParamsFromDeclaration, s as PrepareCallback, u as PreparedStatement, v as preparedStatementExecute, y as preparedStatementQuery } from "./transaction-state-DR3nKTmH-D_pb9QgR.mjs";
18
- import { i as SqlParamRefMutator } from "./middleware-oCT0RWkt-DGav7C8b.mjs";
19
- import "./middleware-MgGkjEXt.mjs";
20
- import "./collection-methods-BNAu8vHk.mjs";
6
+ import { n as SqlQueryPlan } from "./plan-BiCLdXQr-0ZB4P6b9.mjs";
7
+ import { i as CodecTypesBase, l as RawCodecInferer } from "./expression-CC4544Y8-C_EWTA_0.mjs";
8
+ import "./expression-DI_LoyKf.mjs";
9
+ import { m as MarkerReadResult, t as Adapter } from "./ast-DlajRqlB.mjs";
10
+ import { t as SqlExecutionPlan } from "./sql-execution-plan-BEhLlwYP-seGNP8Qr.mjs";
11
+ import "./plan-xPa9B6I3.mjs";
12
+ import { n as CollectionMethodContribution } from "./collection-methods-BtJYB_5s-0fek2_wK.mjs";
13
+ import { n as ExecutionContext, t as CodecDescriptorRegistry } from "./query-lane-context-DEr9NHM--ClIM8v5T.mjs";
14
+ import "./query-lane-context--sVodqqM.mjs";
15
+ import { _ as SqlOrmPlan, h as RuntimeScope } from "./types-Dy1w8GHm-7hJTBOLL.mjs";
16
+ import "./types-BQC-To7K.mjs";
17
+ import { c as PreparedExecution, g as TransactionStartTarget, l as PreparedFor, n as Declaration, o as ParamsFromDeclaration, s as PrepareCallback, u as PreparedStatement, v as preparedStatementExecute, y as preparedStatementQuery } from "./transaction-state-DR3nKTmH-2-ewbth1.mjs";
18
+ import { i as SqlParamRefMutator } from "./middleware-C7H9kh01-l6_mYpN2.mjs";
19
+ import "./middleware-CpxZxPGp.mjs";
20
+ import "./collection-methods-CwBVxvll.mjs";
21
21
  import { AnyCodecDescriptor, CodecDescriptor } from "@prisma/orm-framework/components/codec";
22
22
  import { Contract, PlanMeta } from "@prisma/orm-framework/contract/types";
23
23
  import { Activity, Activity as Activity$1, ActivityContext, ActivityEndedResult, ActivityEndedResult as ActivityEndedResult$1, ActivityFinalizedResult, ActivityFinalizedResult as ActivityFinalizedResult$1, ActivityInterceptResult, ActivityInterceptResult as ActivityInterceptResult$1, ActivityParent, ActivityParent as ActivityParent$1, AsyncIterableResult, ClientActivity, ClientActivity as ClientActivity$1, ClientActivityEnd, ClientActivityEnd as ClientActivityEnd$1, ClientActivityEnded, ClientActivityKind, ClientActivityKind as ClientActivityKind$1, ClientActivityResult, ClientActivityResult as ClientActivityResult$1, ExecuteInterceptResult, ExecuteInterceptResult as ExecuteInterceptResult$1, ExecutionPlan, MutationDefaultGeneratorContributor, QueryInterceptResult, QueryInterceptResult as QueryInterceptResult$1, RuntimeCore, RuntimeExecuteOptions, RuntimeLog, RuntimeLog as Log, RuntimeMiddleware, StartActivity, StartActivity as StartActivity$1, StatementActivity, StatementEnded, TransactionActivity, TransactionEnded } from "@prisma/orm-framework/components/runtime";
@@ -578,4 +578,4 @@ interface LintsOptions {
578
578
  declare function lints(options?: LintsOptions): SqlMiddleware;
579
579
  //#endregion
580
580
  export { SqlRuntimeAdapterDescriptor as $, ActivityRoute as A, PreparedStatementInternals as B, extractCodecIds as C, validateContractCodecMappings as D, validateCodecRegistryCompleteness as E, ConnectionProvider as F, RuntimeParameterizedCodecDescriptor as G, RuntimeConnection as H, HashablePlan as I, RuntimeTransaction as J, RuntimeQueryable as K, MarkerReader as L, ActivitySourceTarget as M, BoundPreparedStatement as N, ActivityExecuteOptions as O, CloseRefusal as P, SqlMiddlewareContext as Q, PreparedExecutionImpl as R, createAstCodecRegistry as S, lowerSqlPlan as T, RuntimeFamilyAdapter as U, Runtime as V, RuntimeOptions as W, SqlExecutionStackWithDriver as X, SqlExecutionStack as Y, SqlMiddleware as Z, StatementActivity as _, planContentHashOn as _t, ActivityParent$1 as a, SqlRuntimeTargetDescriptor as at, TransactionEnded as b, ClientActivityEnd$1 as c, TransactionContext as ct, ClientActivityResult$1 as d, createExecutionContext as dt, SqlRuntimeAdapterInstance as et, ExecuteInterceptResult$1 as f, createSqlExecutionStack as ft, StartActivity$1 as g, findActivitySource as gt, QueryInterceptResult$1 as h, encodeParamsWithMetadata as ht, ActivityInterceptResult$1 as i, SqlRuntimeExtensionInstance as it, ActivitySource as j, ActivityHandle as k, ClientActivityEnded as l, VerifyMarkerOption as lt, Log as m, deriveParamMetadata as mt, ActivityEndedResult$1 as n, SqlRuntimeDriverInstance as nt, BudgetsOptions as o, SqlStaticContributions as ot, LintsOptions as p, delegatingActivitySource as pt, RuntimeTelemetryEvent as q, ActivityFinalizedResult$1 as r, SqlRuntimeExtensionDescriptor as rt, ClientActivity$1 as s, TelemetryOutcome as st, Activity$1 as t, SqlRuntimeBase as tt, ClientActivityKind$1 as u, activitySource as ut, StatementEnded as v, startActivityOn as vt, lints as w, budgets as x, TransactionActivity as y, withTransaction as yt, PreparedStatementImpl as z };
581
- //# sourceMappingURL=index-Bw9Y19Js.d.mts.map
581
+ //# sourceMappingURL=index-enjgL4Lb.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-Bw9Y19Js.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/activity-handle-C3LzuzLW.d.mts","../../../../2-sql/5-runtime/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;KAeK;EACH;EACA;;KAEG,eAAe,oBAAoB,gBAAgB,mBAAmB,qBAAqB;UAEtF;WACC,SAAS;WACT,QAAQ,oBAAoB;WAC5B,YAAY,oBAAoB;WAChC,gBAAgB;WAChB,aAAa;;;;;;;WAOb;;;;UAeD,6BAA6B;WAC5B,UAAU,SAAS;;;;;;UAMpB;WACC,KAAK;WACL,MAAM;;UAEP,cAAc,kBAAkB,0BAA0B,iCAAiC,kBAAkB,kBAAkB,mBAAmB;WACjJ;EACT,iBAAiB,UAAU,UAAU,KAAK,uBAAuB;EACjE,eAAe,UAAU,UAAU,QAAQ,qBAAqB,KAAK,uBAAuB;EAC5F,mBAAmB,UAAU,UAAU,QAAQ,yBAAyB,KAAK,uBAAuB;;;;;;;;;;;;;;;;;;;EAmBpG,eAAe,OAAO,WAAW,KAAK,uBAAuB,QAAQ;;;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BAAkB,QAAQ,cAAc,MAAM,eAAe;;;;;;;;;;;;;iBC1e7D,uBAAuB,aAAa,0BAA0B;;;iBAG9D,gBAAgB,UAAU,SAAS,cAAc;iBACjD,8BAA8B,UAAU,yBAAyB,UAAU,SAAS;iBACpF,kCAAkC,UAAU,yBAAyB,UAAU,SAAS;;;;;;;;;;;;iBAYxF,aAAa,KAAK,SAAS,QAAQ,aAAa,SAAS,aAAa,mBAAmB,UAAU,SAAS,aAAa,WAAW,aAAa,OAAO,iBAAiB;;;UAGhL;WACC;WACA;WACA,YAAY;WACZ;WACA;aACE;aACA;;;iBAGI,QAAQ,UAAU,iBAAiB;;;UAG1C;WACC;aACE;aACA;aACA;aACA;aACA;;WAEF;;;;;;;;;;;;;;;;iBAgBM,MAAM,UAAU,eAAe"}
@@ -1,7 +1,7 @@
1
1
  import { t as Index } from "./sql-index-ByAAE7K8-BpbPBWPD.mjs";
2
2
  import "./types-B2Dee96w.mjs";
3
- import { S as StorageColumnScopeField, o as Expression, x as ScopeField } from "./expression-BzrfOiPC-CXjjRKqc.mjs";
4
- //#region ../../../2-sql/4-lanes/relational-core/dist/index-reference-DJaQLZA3.d.mts
3
+ import { S as StorageColumnScopeField, o as Expression, x as ScopeField } from "./expression-CC4544Y8-C_EWTA_0.mjs";
4
+ //#region ../../../2-sql/4-lanes/relational-core/dist/index-reference-DSsn39tX.d.mts
5
5
  //#region src/index-reference.d.ts
6
6
  /**
7
7
  * An index of a table as a query reads it: its columns, bound to the table's alias, its type and its options. A query operation that searches what an index covers, such as Postgres's `fullTextMatches`, takes it in place of the columns and settings the index was built with.
@@ -64,4 +64,4 @@ declare function uniqueIndexNamesOfType(indexes: ReadonlyArray<NamedIndex>, type
64
64
  declare function createIndexReferences(input: IndexReferencesInput): Readonly<Record<string, IndexReference>>;
65
65
  //#endregion
66
66
  export { createIndexReferences as a, UniqueIndexNamesOfType as i, IndexReferencesInput as n, uniqueIndexNamesOfType as o, TableIndexReferences as r, IndexReference as t };
67
- //# sourceMappingURL=index-reference-DJaQLZA3-DS-GPKXs.d.mts.map
67
+ //# sourceMappingURL=index-reference-DSsn39tX-EEkv1N4w.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-reference-DJaQLZA3-DS-GPKXs.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/index-reference-DJaQLZA3.d.mts"],"mappings":";;;;;;;;UAMU,eAAe,gBAAgB,SAAS,eAAe,WAAW,gBAAgB,SAAS,eAAe,WAAW,eAAe,sDAAsD,gBAAgB,SAAS,uCAAuC,SAAS;;WAElQ,SAAS;WACT,MAAM;WACN,SAAS;;;KAGf,kBAAkB,KAAK;WACjB,cAAc;IACrB,SAAS;WACF,YAAY;IACnB;KACC,uBAAuB,SAAS,KAAK;WAC/B,eAAe;gBACV,UAAU,uBAAuB,qBAAqB,UAAU,QAAQ;WAC7E;WACA;IACP,WAAW,wBAAwB,QAAQ,+BAA+B;KACzE,YAAY,KAAK;WACX,YAAY;IACnB;KACC,eAAe,KAAK;WACd,eAAe,gBAAgB;IACtC;;KAEC,aAAa,GAAG,OAAO,oBAAoB,kBAAkB,WAAW,MAAM;KAC9E,QAAQ,GAAG,QAAQ,KAAK,sBAAsB,gBAAgB;;KAE9D,uBAAuB,GAAG,0BAA0B,OAAO,kBAAkB,QAAQ;WAC/E,MAAM;mBACE,QAAQ,aAAa,GAAG,gBAAgB,OAAO,kBAAkB,QAAQ;WACjF,MAAM;;;;;KAKZ,qBAAqB,SAAS;WACxB,yBAAyB;WACzB,eAAe;gBACV,OAAO,kBAAkB,mBAAmB,QAAQ,aAAa,GAAG,gBAAgB,MAAM,eAAe,uBAAuB,SAAS,aAAa,GAAG,OAAO,YAAY,aAAa,GAAG,OAAO,eAAe,aAAa,GAAG;UACxO;WACC;WACA;WACA;aACE,SAAS,cAAc,KAAK;;;WAG9B,SAAS,uBAAuB,WAAW;;KAEjD,aAAa,KAAK;;iBAEN,uBAAuB,SAAS,cAAc,aAAa;;;;iBAI3D,sBAAsB,OAAO,uBAAuB,SAAS,eAAe"}
1
+ {"version":3,"file":"index-reference-DSsn39tX-EEkv1N4w.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/index-reference-DSsn39tX.d.mts"],"mappings":";;;;;;;;UAMU,eAAe,gBAAgB,SAAS,eAAe,WAAW,gBAAgB,SAAS,eAAe,WAAW,eAAe,sDAAsD,gBAAgB,SAAS,uCAAuC,SAAS;;WAElQ,SAAS;WACT,MAAM;WACN,SAAS;;;KAGf,kBAAkB,KAAK;WACjB,cAAc;IACrB,SAAS;WACF,YAAY;IACnB;KACC,uBAAuB,SAAS,KAAK;WAC/B,eAAe;gBACV,UAAU,uBAAuB,qBAAqB,UAAU,QAAQ;WAC7E;WACA;IACP,WAAW,wBAAwB,QAAQ,+BAA+B;KACzE,YAAY,KAAK;WACX,YAAY;IACnB;KACC,eAAe,KAAK;WACd,eAAe,gBAAgB;IACtC;;KAEC,aAAa,GAAG,OAAO,oBAAoB,kBAAkB,WAAW,MAAM;KAC9E,QAAQ,GAAG,QAAQ,KAAK,sBAAsB,gBAAgB;;KAE9D,uBAAuB,GAAG,0BAA0B,OAAO,kBAAkB,QAAQ;WAC/E,MAAM;mBACE,QAAQ,aAAa,GAAG,gBAAgB,OAAO,kBAAkB,QAAQ;WACjF,MAAM;;;;;KAKZ,qBAAqB,SAAS;WACxB,yBAAyB;WACzB,eAAe;gBACV,OAAO,kBAAkB,mBAAmB,QAAQ,aAAa,GAAG,gBAAgB,MAAM,eAAe,uBAAuB,SAAS,aAAa,GAAG,OAAO,YAAY,aAAa,GAAG,OAAO,eAAe,aAAa,GAAG;UACxO;WACC;WACA;WACA;aACE,SAAS,cAAc,KAAK;;;WAG9B,SAAS,uBAAuB,WAAW;;KAEjD,aAAa,KAAK;;iBAEN,uBAAuB,SAAS,cAAc,aAAa;;;;iBAI3D,sBAAsB,OAAO,uBAAuB,SAAS,eAAe"}
@@ -0,0 +1 @@
1
+ import "./index-reference-DSsn39tX-EEkv1N4w.mjs";
@@ -4,9 +4,9 @@ import "./foreign-key-materialization-BPQqd0qF.mjs";
4
4
  import { p as sqlTextFromStored } from "./sql-expression-BJCuy-WI.mjs";
5
5
  import { d as resolvedTypeParams, t as CODEC_INSTANCE_KIND } from "./types-M_FeBD9w.mjs";
6
6
  import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
7
- import { n as buildSqlContractFromDefinition } from "./derived-checks-B1qNxwBL-DFoGexId.mjs";
7
+ import { n as buildSqlContractFromDefinition } from "./derived-checks-CwbSfZ8d-B3-zWGv_.mjs";
8
8
  import { i as mapFieldNamesToColumns, n as getAttribute, o as storageName, r as getNamedArgument, t as formatDbAttributeMigrationMessage } from "./psl-attribute-parsing-BCsFWsSp-LaNsbcrw.mjs";
9
- import { _ as resolveFieldTypeDescriptor, d as interpretModelAttribute, f as modelAttributeSpecsFrom, g as readWrittenNumberForCodec, i as contractError, l as instantiatePslTypeConstructor, m as modelSpecContext, n as bareTypeConstructorOf, o as fieldSpecContext, p as modelCoordinateKey, r as collectResolvedFields, s as getAuthoringEntity, t as PSL_CHECK_ON_STI_VARIANT, u as interpretFieldAttribute, v as sqlAttributeSpecs, y as toNamedTypeFieldDescriptor } from "./psl-field-resolution-BET6wtHZ-C_hO6YE1.mjs";
9
+ import { _ as resolveFieldTypeDescriptor, d as interpretModelAttribute, f as modelAttributeSpecsFrom, g as readWrittenValueForCodec, i as contractError, l as instantiatePslTypeConstructor, m as modelSpecContext, n as bareTypeConstructorOf, o as fieldSpecContext, p as modelCoordinateKey, r as collectResolvedFields, s as getAuthoringEntity, t as PSL_CHECK_ON_STI_VARIANT, u as interpretFieldAttribute, v as sqlAttributeSpecs, y as toNamedTypeFieldDescriptor } from "./psl-field-resolution-C8s57hFC-Bv6NiK8J.mjs";
10
10
  import { t as defaultTableName } from "./default-table-name-BfFY8qYR-lHNcVmY5.mjs";
11
11
  import { isStructuredError } from "@prisma/orm-framework/utils/structured-error";
12
12
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
@@ -21,7 +21,7 @@ import { assertDefined, invariant } from "@prisma/orm-framework/utils/assertions
21
21
  import { notOk, ok } from "@prisma/orm-framework/utils/result";
22
22
  import { contributedTypeOf, createPslDiagnosticCollector, diagnosticSource, findBlockDescriptor, interpretExtensionBlocks, nodePslSpan, typeReferenceNode } from "@prisma/orm-framework/psl-parser";
23
23
  import { claimedBlockKeywords, enumMemberAttributeDiagnostics, fkRelationPairKey, requiredOneToOneBackrelationDiagnostic, unsupportedBlockDiagnostic } from "@prisma/orm-framework/psl-parser/interpret";
24
- //#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-Bk0xpelv.mjs
24
+ //#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-Dq32sxoS.mjs
25
25
  function baseColumnDescriptor(resolution, enumTypeDescriptors) {
26
26
  if (resolution?.kind === "block") return enumTypeDescriptors.get(resolution.symbol);
27
27
  const scalar = bareTypeConstructorOf(resolution);
@@ -1863,20 +1863,13 @@ function interpretPslDocumentToSqlContract(input) {
1863
1863
  diagnostics: { push: (d) => {
1864
1864
  diagnostics.pushExternal(blindCast(d));
1865
1865
  } },
1866
- readWrittenNumber: ({ text, codecId, subject }) => {
1867
- if (input.codecLookup.descriptorFor(codecId) === void 0) return void 0;
1868
- const reading = readWrittenNumberForCodec({
1869
- text,
1870
- codecId,
1871
- codecLookup: input.codecLookup,
1872
- dataTypes: input.dataTypes,
1873
- subject
1874
- });
1875
- return reading.ok ? reading : {
1876
- ok: false,
1877
- message: reading.message
1878
- };
1879
- },
1866
+ readWrittenValueForCodec: ({ written, codecId, subject }) => input.codecLookup.descriptorFor(codecId) === void 0 ? void 0 : readWrittenValueForCodec({
1867
+ written,
1868
+ codecId,
1869
+ codecLookup: input.codecLookup,
1870
+ dataTypes: input.dataTypes,
1871
+ subject
1872
+ }),
1880
1873
  ...ifDefined("enumInferenceCodecs", input.enumInferenceCodecs)
1881
1874
  },
1882
1875
  diagnostics
@@ -2174,4 +2167,4 @@ function interpretPslDocumentToSqlContract(input) {
2174
2167
  //#endregion
2175
2168
  export { normalizeReferentialAction as a, interpretPslDocumentToSqlContract as i, buildEntityTypesByDiscriminator as n, indexFkRelations as r, applyBackrelationCandidates as t };
2176
2169
 
2177
- //# sourceMappingURL=interpreter-Bk0xpelv-4laiO5dH.mjs.map
2170
+ //# sourceMappingURL=interpreter-Dq32sxoS-BcLhPY0_.mjs.map