@prisma/orm-family-sql 8.0.0-rc.18-dev.21 → 8.0.0-rc.18-dev.23

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 (173) hide show
  1. package/dist/{ast-Dzsat0Zb.d.mts → ast-Cq7uhA86.d.mts} +3 -3
  2. package/dist/{ast-Dzsat0Zb.d.mts.map → ast-Cq7uhA86.d.mts.map} +1 -1
  3. package/dist/{attribute-specs-2I2xuKEa.d.mts → attribute-specs-BaasqvID.d.mts} +4 -4
  4. package/dist/{attribute-specs-2I2xuKEa.d.mts.map → attribute-specs-BaasqvID.d.mts.map} +1 -1
  5. package/dist/{authoring-entity-types-CZ-vdwYS-BpyuSxbj.d.mts → authoring-entity-types-CZ-vdwYS-CLLXZPhj.d.mts} +2 -2
  6. package/dist/{authoring-entity-types-CZ-vdwYS-BpyuSxbj.d.mts.map → authoring-entity-types-CZ-vdwYS-CLLXZPhj.d.mts.map} +1 -1
  7. package/dist/{authoring-type-constructors-0Iv2zdwS-BJjO5EnA.mjs → authoring-type-constructors-0Iv2zdwS-CJbLWgCh.mjs} +2 -2
  8. package/dist/{authoring-type-constructors-0Iv2zdwS-BJjO5EnA.mjs.map → authoring-type-constructors-0Iv2zdwS-CJbLWgCh.mjs.map} +1 -1
  9. package/dist/builder.d.mts +3 -3
  10. package/dist/builder__runtime.d.mts +9 -9
  11. package/dist/builder__types.d.mts +5 -5
  12. package/dist/{collection-methods-B-tM7OPZ-v8HK9Txa.d.mts → collection-methods-B-tM7OPZ-DzXedZdV.d.mts} +3 -3
  13. package/dist/{collection-methods-B-tM7OPZ-v8HK9Txa.d.mts.map → collection-methods-B-tM7OPZ-DzXedZdV.d.mts.map} +1 -1
  14. package/dist/collection-methods-BNAu8vHk.d.mts +1 -0
  15. package/dist/{config-types-DopEiXtk.mjs → config-types-BFS-ivzi.mjs} +2 -2
  16. package/dist/{config-types-DopEiXtk.mjs.map → config-types-BFS-ivzi.mjs.map} +1 -1
  17. package/dist/{config-types-B47kpY4J.d.mts → config-types-DN0IueHY.d.mts} +3 -3
  18. package/dist/{config-types-B47kpY4J.d.mts.map → config-types-DN0IueHY.d.mts.map} +1 -1
  19. package/dist/{contract-builder-C1X8KoEM.mjs → contract-builder-CKO_xspE.mjs} +3 -3
  20. package/dist/{contract-builder-C1X8KoEM.mjs.map → contract-builder-CKO_xspE.mjs.map} +1 -1
  21. package/dist/{contract-builder-De_fyZGT.d.mts → contract-builder-DkaXfJoe.d.mts} +9 -10
  22. package/dist/{contract-builder-De_fyZGT.d.mts.map → contract-builder-DkaXfJoe.d.mts.map} +1 -1
  23. package/dist/contract-emitter.d.mts +1 -2
  24. package/dist/contract-emitter.d.mts.map +1 -1
  25. package/dist/contract-emitter.mjs +1 -1
  26. package/dist/contract-prisma7__provider.d.mts +1 -1
  27. package/dist/contract-prisma7__provider.mjs +5 -5
  28. package/dist/contract-psl.d.mts +2 -2
  29. package/dist/contract-psl.mjs +1 -1
  30. package/dist/contract-psl__attribute-specs.d.mts +1 -1
  31. package/dist/contract-psl__attribute-specs.mjs +1 -1
  32. package/dist/contract-psl__provider.d.mts +1 -1
  33. package/dist/contract-psl__provider.mjs +2 -2
  34. package/dist/contract-ts.d.mts +3 -3
  35. package/dist/contract-ts.mjs +3 -3
  36. package/dist/contract-ts__config-types.d.mts +1 -1
  37. package/dist/contract-ts__config-types.mjs +1 -1
  38. package/dist/contract-ts__contract-builder.d.mts +2 -2
  39. package/dist/contract-ts__contract-builder.mjs +2 -2
  40. package/dist/contract.d.mts +3 -3
  41. package/dist/contract.mjs +2 -2
  42. package/dist/contract__data-type.d.mts +1 -1
  43. package/dist/contract__data-type.mjs +1 -1
  44. package/dist/contract__types.d.mts +2 -2
  45. package/dist/contract__validators.mjs +1 -1
  46. package/dist/{control-BqS5MMDh.d.mts → control-BLC3fSF4.d.mts} +12 -12
  47. package/dist/{control-BqS5MMDh.d.mts.map → control-BLC3fSF4.d.mts.map} +1 -1
  48. package/dist/{control-C7MNvu5Q.mjs → control-BTNIQxYM.mjs} +8 -8
  49. package/dist/{control-C7MNvu5Q.mjs.map → control-BTNIQxYM.mjs.map} +1 -1
  50. package/dist/{control-adapter-BCopdpsT-Bou0wWLF.d.mts → control-adapter-BCopdpsT-BpC5YbAf.d.mts} +5 -5
  51. package/dist/{control-adapter-BCopdpsT-Bou0wWLF.d.mts.map → control-adapter-BCopdpsT-BpC5YbAf.d.mts.map} +1 -1
  52. package/dist/control-adapter-DVjkUph8.d.mts +1 -0
  53. package/dist/data-type-DKk8Unnz.mjs.map +1 -1
  54. package/dist/{data-type-DuzmTpzK.d.mts → data-type-pNwyyJpr.d.mts} +2 -2
  55. package/dist/{data-type-DuzmTpzK.d.mts.map → data-type-pNwyyJpr.d.mts.map} +1 -1
  56. package/dist/{db-BmrN9nRS-xynLbnAy.d.mts → db-BmrN9nRS-BzK96yVh.d.mts} +11 -11
  57. package/dist/{db-BmrN9nRS-xynLbnAy.d.mts.map → db-BmrN9nRS-BzK96yVh.d.mts.map} +1 -1
  58. package/dist/{ddl-types-CoP6yAw9-BDp3W_5g.d.mts → ddl-types-CoP6yAw9-Cxc2zvi3.d.mts} +3 -3
  59. package/dist/{ddl-types-CoP6yAw9-BDp3W_5g.d.mts.map → ddl-types-CoP6yAw9-Cxc2zvi3.d.mts.map} +1 -1
  60. package/dist/{derived-checks-DpPkO6Dt-BMXrIjZy.d.mts → derived-checks-DpPkO6Dt-D-vp9vY3.d.mts} +2 -2
  61. package/dist/{derived-checks-DpPkO6Dt-BMXrIjZy.d.mts.map → derived-checks-DpPkO6Dt-D-vp9vY3.d.mts.map} +1 -1
  62. package/dist/{derived-checks-sRZp_gTF-UGwFWkVX.mjs → derived-checks-sRZp_gTF-Dvk3wkm9.mjs} +3 -3
  63. package/dist/{derived-checks-sRZp_gTF-UGwFWkVX.mjs.map → derived-checks-sRZp_gTF-Dvk3wkm9.mjs.map} +1 -1
  64. package/dist/{diff-D6PbCUWL.d.mts → diff-Czog35Sk.d.mts} +4 -4
  65. package/dist/{diff-D6PbCUWL.d.mts.map → diff-Czog35Sk.d.mts.map} +1 -1
  66. package/dist/{dist-DAHIT4AS.mjs → dist-Bxu8hzMC.mjs} +5 -10
  67. package/dist/dist-Bxu8hzMC.mjs.map +1 -0
  68. package/dist/{expression-BzrfOiPC-3NqR8UzK.d.mts → expression-BzrfOiPC-CXjjRKqc.d.mts} +5 -5
  69. package/dist/{expression-BzrfOiPC-3NqR8UzK.d.mts.map → expression-BzrfOiPC-CXjjRKqc.d.mts.map} +1 -1
  70. package/dist/expression-CIBqCwC1.d.mts +2 -0
  71. package/dist/{expression-sOY1120I-DOykEQlw.d.mts → expression-sOY1120I-DMTeGMQP.d.mts} +3 -3
  72. package/dist/{expression-sOY1120I-DOykEQlw.d.mts.map → expression-sOY1120I-DMTeGMQP.d.mts.map} +1 -1
  73. package/dist/family.d.mts +10 -10
  74. package/dist/family.mjs +5 -5
  75. package/dist/family__control-adapter.d.mts +2 -2
  76. package/dist/family__control.d.mts +3 -3
  77. package/dist/family__control.mjs +3 -3
  78. package/dist/family__diff.d.mts +1 -1
  79. package/dist/family__diff.mjs +1 -1
  80. package/dist/family__ir.d.mts +1 -1
  81. package/dist/family__ir.mjs +1 -1
  82. package/dist/family__migration.d.mts +1 -1
  83. package/dist/family__pack.d.mts +1 -1
  84. package/dist/family__pack.mjs +2 -2
  85. package/dist/family__psl-build.d.mts +1 -1
  86. package/dist/family__psl-build.mjs +1 -1
  87. package/dist/{functions-Cp8soSAv.d.mts → functions-LyIMc_v9.d.mts} +5 -5
  88. package/dist/{functions-Cp8soSAv.d.mts.map → functions-LyIMc_v9.d.mts.map} +1 -1
  89. package/dist/{index-BxlXOVeT.d.mts → index-B0hZw3uT.d.mts} +19 -19
  90. package/dist/{index-BxlXOVeT.d.mts.map → index-B0hZw3uT.d.mts.map} +1 -1
  91. package/dist/{index-BXFiad5j.d.mts → index-BRFLss5v.d.mts} +2 -2
  92. package/dist/{index-BXFiad5j.d.mts.map → index-BRFLss5v.d.mts.map} +1 -1
  93. package/dist/index-reference-CsxaNof9.d.mts +1 -0
  94. package/dist/{index-reference-DJaQLZA3-DxmYkkX-.d.mts → index-reference-DJaQLZA3-DS-GPKXs.d.mts} +3 -3
  95. package/dist/{index-reference-DJaQLZA3-DxmYkkX-.d.mts.map → index-reference-DJaQLZA3-DS-GPKXs.d.mts.map} +1 -1
  96. package/dist/{interpreter-B9wNACvu-CjrIm-Jo.mjs → interpreter-B9wNACvu-Bk0vkYDs.mjs} +3 -3
  97. package/dist/{interpreter-B9wNACvu-CjrIm-Jo.mjs.map → interpreter-B9wNACvu-Bk0vkYDs.mjs.map} +1 -1
  98. package/dist/{ir-DgNo535E.d.mts → ir-qK4wX3D3.d.mts} +2 -2
  99. package/dist/{ir-DgNo535E.d.mts.map → ir-qK4wX3D3.d.mts.map} +1 -1
  100. package/dist/middleware-MgGkjEXt.d.mts +1 -0
  101. package/dist/{middleware-oCT0RWkt-AFlRNCOD.d.mts → middleware-oCT0RWkt-DGav7C8b.d.mts} +2 -2
  102. package/dist/{middleware-oCT0RWkt-AFlRNCOD.d.mts.map → middleware-oCT0RWkt-DGav7C8b.d.mts.map} +1 -1
  103. package/dist/{migration-CJ0xK_7n.d.mts → migration-CFMl5iKv.d.mts} +3 -3
  104. package/dist/{migration-CJ0xK_7n.d.mts.map → migration-CFMl5iKv.d.mts.map} +1 -1
  105. package/dist/operations.d.mts +1 -1
  106. package/dist/orm-client.d.mts +18 -18
  107. package/dist/{pack-CyjyMUN0.d.mts → pack-mrYskO6T.d.mts} +3 -3
  108. package/dist/{pack-CyjyMUN0.d.mts.map → pack-mrYskO6T.d.mts.map} +1 -1
  109. package/dist/plan-BOyVvttx.d.mts +2 -0
  110. package/dist/{plan-Cbed2eDu-BZM3geSm.d.mts → plan-Cbed2eDu-3c5s1Aq5.d.mts} +3 -3
  111. package/dist/{plan-Cbed2eDu-BZM3geSm.d.mts.map → plan-Cbed2eDu-3c5s1Aq5.d.mts.map} +1 -1
  112. package/dist/{psl-build-ClY62mZM.d.mts → psl-build-CTj6JAX3.d.mts} +2 -2
  113. package/dist/{psl-build-ClY62mZM.d.mts.map → psl-build-CTj6JAX3.d.mts.map} +1 -1
  114. package/dist/{psl-build-pU0gKdVI.mjs → psl-build-DB-x01oH.mjs} +2 -2
  115. package/dist/{psl-build-pU0gKdVI.mjs.map → psl-build-DB-x01oH.mjs.map} +1 -1
  116. package/dist/{psl-column-resolution-BCkhNzOK-mW_8C9vr.d.mts → psl-column-resolution-BCkhNzOK-DOvdhSCj.d.mts} +2 -2
  117. package/dist/{psl-column-resolution-BCkhNzOK-mW_8C9vr.d.mts.map → psl-column-resolution-BCkhNzOK-DOvdhSCj.d.mts.map} +1 -1
  118. package/dist/{psl-field-resolution-BOJPyV5I-0zJJ0fOo.mjs → psl-field-resolution-BOJPyV5I-CQ7I2lbC.mjs} +3 -3
  119. package/dist/{psl-field-resolution-BOJPyV5I-0zJJ0fOo.mjs.map → psl-field-resolution-BOJPyV5I-CQ7I2lbC.mjs.map} +1 -1
  120. package/dist/{query-lane-context-BLOPW1rQ-Bn3ugl9a.d.mts → query-lane-context-BLOPW1rQ-4vNq0fxJ.d.mts} +6 -6
  121. package/dist/{query-lane-context-BLOPW1rQ-Bn3ugl9a.d.mts.map → query-lane-context-BLOPW1rQ-4vNq0fxJ.d.mts.map} +1 -1
  122. package/dist/query-lane-context-BPJrXopg.d.mts +1 -0
  123. package/dist/relational-core.d.mts +12 -12
  124. package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
  125. package/dist/relational-core__ast.d.mts +3 -3
  126. package/dist/relational-core__codec-descriptor-registry.d.mts +3 -3
  127. package/dist/relational-core__collection-methods.d.mts +2 -2
  128. package/dist/relational-core__contract-free.d.mts +3 -3
  129. package/dist/relational-core__expression.d.mts +3 -3
  130. package/dist/relational-core__functions.d.mts +1 -1
  131. package/dist/relational-core__index-reference.d.mts +2 -2
  132. package/dist/relational-core__middleware.d.mts +2 -2
  133. package/dist/relational-core__plan.d.mts +3 -3
  134. package/dist/relational-core__query-lane-context.d.mts +2 -2
  135. package/dist/relational-core__types.d.mts +2 -2
  136. package/dist/runtime.d.mts +4 -4
  137. package/dist/runtime__internal__prepared-query.d.mts +1 -1
  138. package/dist/{schema-differ-DmP74bB8-GfOUaGGy.d.mts → schema-differ-DmP74bB8-Dn53wZD1.d.mts} +2 -2
  139. package/dist/{schema-differ-DmP74bB8-GfOUaGGy.d.mts.map → schema-differ-DmP74bB8-Dn53wZD1.d.mts.map} +1 -1
  140. package/dist/{schema-verify-BwRdzbHb-B9vFrm3T.mjs → schema-verify-BwRdzbHb-CxnJN-Lm.mjs} +2 -2
  141. package/dist/{schema-verify-BwRdzbHb-B9vFrm3T.mjs.map → schema-verify-BwRdzbHb-CxnJN-Lm.mjs.map} +1 -1
  142. package/dist/{sql-contract-serializer-sMY3prTx-BKQ4Yh-n.mjs → sql-contract-serializer-sMY3prTx-BDTNHOOy.mjs} +2 -2
  143. package/dist/{sql-contract-serializer-sMY3prTx-BKQ4Yh-n.mjs.map → sql-contract-serializer-sMY3prTx-BDTNHOOy.mjs.map} +1 -1
  144. package/dist/{sql-data-type-Dabuwxet-BljsNjBu.mjs → sql-data-type-DwLa_dK9-2eTvrYhA.mjs} +10 -15
  145. package/dist/sql-data-type-DwLa_dK9-2eTvrYhA.mjs.map +1 -0
  146. package/dist/{sql-execution-plan-Dam5yMZg-Bc_eneSz.d.mts → sql-execution-plan-Dam5yMZg-bDl_0qHQ.d.mts} +2 -2
  147. package/dist/{sql-execution-plan-Dam5yMZg-Bc_eneSz.d.mts.map → sql-execution-plan-Dam5yMZg-bDl_0qHQ.d.mts.map} +1 -1
  148. package/dist/{transaction-state-DR3nKTmH-n_12DsnU.d.mts → transaction-state-DR3nKTmH-DbyhuL-z.d.mts} +9 -9
  149. package/dist/{transaction-state-DR3nKTmH-n_12DsnU.d.mts.map → transaction-state-DR3nKTmH-DbyhuL-z.d.mts.map} +1 -1
  150. package/dist/types-B2Dee96w.d.mts +35 -0
  151. package/dist/types-B2Dee96w.d.mts.map +1 -0
  152. package/dist/{types-Cv5t6_Ly-CcBWTpfM.d.mts → types-Cv5t6_Ly-BaGc023t.d.mts} +7 -7
  153. package/dist/{types-Cv5t6_Ly-CcBWTpfM.d.mts.map → types-Cv5t6_Ly-BaGc023t.d.mts.map} +1 -1
  154. package/dist/{types-DVaVM20q-B-QcMIOa.d.mts → types-DVaVM20q-DrinF7w_.d.mts} +2 -2
  155. package/dist/{types-DVaVM20q-B-QcMIOa.d.mts.map → types-DVaVM20q-DrinF7w_.d.mts.map} +1 -1
  156. package/dist/{types-DaYtBAYT-DbsbDMTk.d.mts → types-DaYtBAYT-DFhWS-6u.d.mts} +4 -4
  157. package/dist/{types-DaYtBAYT-DbsbDMTk.d.mts.map → types-DaYtBAYT-DFhWS-6u.d.mts.map} +1 -1
  158. package/dist/types-VUCzaDbp.d.mts +1 -0
  159. package/dist/{validators-V8vN9R85.mjs → validators-Uim8vh59.mjs} +2 -2
  160. package/dist/{validators-V8vN9R85.mjs.map → validators-Uim8vh59.mjs.map} +1 -1
  161. package/package.json +18 -18
  162. package/dist/collection-methods-DQAFcGEB.d.mts +0 -1
  163. package/dist/control-adapter-CUwBiImd.d.mts +0 -1
  164. package/dist/dist-DAHIT4AS.mjs.map +0 -1
  165. package/dist/expression-CeerCjQG.d.mts +0 -2
  166. package/dist/index-reference-CWppFpUV.d.mts +0 -1
  167. package/dist/middleware-IqWk9Eff.d.mts +0 -1
  168. package/dist/plan-BZpZafiQ.d.mts +0 -2
  169. package/dist/query-lane-context-Dpep1Fzy.d.mts +0 -1
  170. package/dist/sql-data-type-Dabuwxet-BljsNjBu.mjs.map +0 -1
  171. package/dist/types-DMfBh16_.d.mts +0 -67
  172. package/dist/types-DMfBh16_.d.mts.map +0 -1
  173. package/dist/types-_7TbRpPw.d.mts +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dist-Bxu8hzMC.mjs","names":[],"sources":["../../../../2-sql/3-tooling/emitter/dist/index.mjs"],"sourcesContent":["import { renderCodecTypeOverride, renderTypeOverridesMap, renderValueSetOverride, serializeNamespaceId, serializeObjectKey, serializeValue } from \"@internal/emitter/domain-type-generation\";\nimport { settleAggregateOverloads } from \"@internal/framework-components/components\";\nimport { UNBOUND_NAMESPACE_ID, entityAt } from \"@internal/framework-components/ir\";\nimport { resolvedTypeParams } from \"@internal/sql-contract/types\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { structuredError } from \"@internal/utils/structured-error\";\n//#region src/errors.ts\nfunction sqlEmitterError(code, message, options) {\n\treturn structuredError(code, message, options);\n}\n//#endregion\n//#region src/index.ts\n/**\n* Render the aggregate result map from the overloads the stack contributes, settled against the codecs it contributes.\n*\n* Every emitted row is keyed by a contributed codec, whichever rung settled it. Trait fallbacks reach only the contributed codecs to begin with, and an exact overload naming an uncontributed codec is dropped here — settling keeps such a row, because naming a codec id is a claim that stands on its own and the runtime honours it for whatever ref reaches it, but a target may register codecs its adapter withholds, and an emitted type over one of those would advertise availability no contract can use.\n*\n* Only the two rungs that name a codec are materialized; the input-agnostic overload stays a single row, which a consumer reads when no per-codec row claims its input.\n*/\nfunction generateAggregateTypes(options) {\n\tconst descriptors = options?.aggregateDescriptors ?? [];\n\tconst codecs = options?.codecDescriptors ?? [];\n\tif (descriptors.length === 0) return \"Record<string, never>\";\n\tconst contributedIds = new Set(codecs.map((codec) => codec.codecId));\n\tconst settled = settleAggregateOverloads(descriptors, codecs);\n\tconst ambiguity = settled.ambiguities[0];\n\tif (ambiguity !== void 0) throw sqlEmitterError(\"CONTRACT.AGGREGATE_DESCRIPTOR_AMBIGUOUS\", `Aggregate '${ambiguity.operation}' has no single result type over codec '${ambiguity.codecId}': traits ${ambiguity.traits.join(\", \")} all claim it.`, {\n\t\twhy: \"Emitted result types must name one codec per aggregate and input.\",\n\t\tfix: `Contribute an exact descriptor for '${ambiguity.operation}' over '${ambiguity.codecId}', or narrow the overlapping trait contributions.`,\n\t\tmeta: {\n\t\t\toperation: ambiguity.operation,\n\t\t\tcodecId: ambiguity.codecId,\n\t\t\ttraits: ambiguity.traits\n\t\t}\n\t});\n\treturn `{ ${[...settled.operations].sort(([left], [right]) => left.localeCompare(right)).map(([operation, entry]) => {\n\t\tconst members = [`readonly byCodec: { ${[...entry.byCodecId].filter(([codecId]) => contributedIds.has(codecId)).sort(([left], [right]) => left.localeCompare(right)).map(([codecId, descriptor]) => {\n\t\t\treturn `readonly ${serializeObjectKey(codecId)}: ${renderAggregateResult(descriptor, codecId, contributedIds)}`;\n\t\t}).join(\"; \")} }`];\n\t\tconst withoutInput = entry.noInput ?? entry.anyInput;\n\t\tif (withoutInput !== void 0) members.push(`readonly withoutInput: ${renderAggregateResult(withoutInput, void 0, contributedIds)}`);\n\t\tif (entry.anyInput !== void 0) members.push(`readonly anyInput: ${renderAggregateResult(entry.anyInput, void 0, contributedIds)}`);\n\t\treturn `readonly ${serializeObjectKey(operation)}: { ${members.join(\"; \")} }`;\n\t}).join(\"; \")} }`;\n}\n/** One row of the map: the codec the result carries, and whether it can be null. A `self` result carries the codec of the input it was resolved for. */\nfunction renderAggregateResult(descriptor, inputCodecId, contributedIds) {\n\tconst output = descriptor.output.kind === \"self\" ? inputCodecId : descriptor.output.codecId;\n\tif (output === void 0) throw sqlEmitterError(\"CONTRACT.AGGREGATE_DESCRIPTOR_AMBIGUOUS\", `Aggregate '${descriptor.operation}' declares its own input's codec as its result but answers calls that carry no input.`, {\n\t\twhy: \"A result that reuses its input needs an input to reuse.\",\n\t\tfix: \"Name the result codec on the descriptor.\",\n\t\tmeta: { operation: descriptor.operation }\n\t});\n\tif (!contributedIds.has(output)) throw sqlEmitterError(\"CONTRACT.AGGREGATE_OUTPUT_CODEC_MISSING\", `Aggregate '${descriptor.operation}' names result codec '${output}', which the stack does not contribute.`, {\n\t\twhy: \"An emitted result type names a codec in the contract codec map; a codec the stack does not contribute has no emitted type to name.\",\n\t\tfix: \"Contribute the codec, or declare a result codec the stack contributes.\",\n\t\tmeta: {\n\t\t\toperation: descriptor.operation,\n\t\t\toutputCodecId: output\n\t\t}\n\t});\n\treturn `{ readonly output: ${serializeValue(output)}; readonly nullable: ${descriptor.nullable} }`;\n}\nfunction serializeTypeParamsLiteral(params) {\n\tif (!params || Object.keys(params).length === 0) return \"Record<string, never>\";\n\tconst entries = [];\n\tfor (const [key, value] of Object.entries(params)) entries.push(`readonly ${serializeObjectKey(key)}: ${serializeValue(value)}`);\n\treturn `{ ${entries.join(\"; \")} }`;\n}\nconst sqlEmission = {\n\tid: \"sql\",\n\tgenerateStorageType(contract, storageHashTypeName) {\n\t\tconst storage = contract.storage;\n\t\tconst namespacesType = generateStorageNamespacesType(storage.namespaces);\n\t\tconst docTypes = generateDocumentScopedStorageTypesType(storage.types);\n\t\treturn `{ readonly namespaces: ${namespacesType}${docTypes === void 0 ? \"\" : `; readonly types: ${docTypes}`}; readonly storageHash: ${storageHashTypeName} }`;\n\t},\n\tgenerateModelStorageType(_modelName, model) {\n\t\tconst sqlModel = model;\n\t\tconst tableName = sqlModel.storage.table;\n\t\tconst storageFields = sqlModel.storage.fields;\n\t\tconst storageParts = [`readonly table: ${serializeValue(tableName)}`, `readonly namespaceId: ${serializeValue(sqlModel.storage.namespaceId)}`];\n\t\tif (Object.keys(storageFields).length > 0) {\n\t\t\tconst fieldParts = [];\n\t\t\tfor (const [fieldName, field] of Object.entries(storageFields)) fieldParts.push(`readonly ${serializeObjectKey(fieldName)}: { readonly column: ${serializeValue(field.column)} }`);\n\t\t\tstorageParts.push(`readonly fields: { ${fieldParts.join(\"; \")} }`);\n\t\t}\n\t\treturn `{ ${storageParts.join(\"; \")} }`;\n\t},\n\tresolveStorageValueSet(_modelName, fieldName, model, contract) {\n\t\tconst sqlModel = blindCast(model);\n\t\tconst storageField = sqlModel.storage?.fields?.[fieldName];\n\t\tif (!storageField) return void 0;\n\t\tconst storage = blindCast(contract.storage);\n\t\tif (!storage) return void 0;\n\t\tconst storageNamespaceId = sqlModel.storage.namespaceId;\n\t\tif (!storageNamespaceId) return void 0;\n\t\tconst column = entityAt(storage, {\n\t\t\tnamespaceId: storageNamespaceId,\n\t\t\tentityKind: \"table\",\n\t\t\tentityName: sqlModel.storage.table\n\t\t})?.columns[storageField.column];\n\t\tif (!column?.valueSet) return void 0;\n\t\tconst valueSet = entityAt(storage, {\n\t\t\tnamespaceId: column.valueSet.namespaceId,\n\t\t\tentityKind: column.valueSet.entityKind,\n\t\t\tentityName: column.valueSet.entityName\n\t\t});\n\t\tif (!valueSet) return void 0;\n\t\treturn {\n\t\t\tencodedValues: valueSet.values,\n\t\t\tcodecId: column.codecId\n\t\t};\n\t},\n\tgetStorageTypeExports(contract, codecLookup) {\n\t\tconst storage = blindCast(contract.storage);\n\t\tif (!storage?.namespaces) return void 0;\n\t\treturn [\n\t\t\t`type ColumnTypeOverrides = ${generateColumnTypeOverridesMap(storage, codecLookup)};`,\n\t\t\t`export type StorageColumnTypes = ${columnTypesExpression(\"output\")};`,\n\t\t\t`export type StorageColumnInputTypes = ${columnTypesExpression(\"input\")};`\n\t\t].join(\"\\n\");\n\t},\n\tgetFamilyImports(resolveImportSpecifier) {\n\t\treturn [\n\t\t\t\"import type {\",\n\t\t\t\" ColumnTypesFromStorage,\",\n\t\t\t\" ContractWithTypeMaps,\",\n\t\t\t\" RelationKeys,\",\n\t\t\t\" TypeMaps as TypeMapsType,\",\n\t\t\t`} from '${resolveImportSpecifier(\"@internal/sql-contract/types\")}';`\n\t\t];\n\t},\n\tgetFamilyTypeAliases(options) {\n\t\tconst queryOperationAliases = (options?.queryOperationTypeImports ?? []).filter((imp) => imp.named === \"QueryOperationTypes\").map((imp) => `${imp.alias}<CodecTypes>`);\n\t\treturn [\n\t\t\t\"export type LaneCodecTypes = CodecTypes;\",\n\t\t\t`export type QueryOperationTypes = ${queryOperationAliases.length > 0 ? queryOperationAliases.join(\" & \") : \"Record<string, never>\"};`,\n\t\t\t`export type AggregateTypes = ${generateAggregateTypes(options)};`,\n\t\t\t\"type DefaultLiteralValue<CodecId extends string, Encoded> =\",\n\t\t\t\" CodecId extends keyof CodecTypes\",\n\t\t\t\" ? Encoded extends CodecTypes[CodecId][\\\"json\\\"]\",\n\t\t\t\" ? Encoded\",\n\t\t\t\" : CodecTypes[CodecId][\\\"json\\\"]\",\n\t\t\t\" : Encoded;\"\n\t\t].join(\"\\n\");\n\t},\n\tgetTypeMapsExpression() {\n\t\treturn \"TypeMapsType<CodecTypes, QueryOperationTypes, FieldOutputTypes, FieldInputTypes, StorageColumnTypes, StorageColumnInputTypes, AggregateTypes>\";\n\t},\n\tgetContractWrapper(contractBaseName, typeMapsName) {\n\t\treturn [\n\t\t\t`export type Contract = ContractWithTypeMaps<${contractBaseName}, ${typeMapsName}>;`,\n\t\t\t\"\",\n\t\t\t\"export type Namespaces = Contract['storage']['namespaces'];\"\n\t\t].join(\"\\n\");\n\t}\n};\nfunction columnTypesExpression(side) {\n\treturn `ColumnTypesFromStorage<ContractBase['storage'], CodecTypes, ParameterizedOutputTypeFunctions, ColumnTypeOverrides, ${serializeValue(side)}>`;\n}\n/** `ColumnTypeOverrides`: per namespace, table and column, the type of each column its codec does not give. */\nfunction generateColumnTypeOverridesMap(storage, codecLookup) {\n\treturn renderTypeOverridesMap(Object.entries(storage.namespaces ?? {}).flatMap(([nsId, ns]) => {\n\t\tconst tables = blindCast(ns.entries.table ?? {});\n\t\treturn Object.entries(tables).flatMap(([tableName, table]) => Object.entries(table.columns).map(([columnName, column]) => [[\n\t\t\tnsId,\n\t\t\ttableName,\n\t\t\tcolumnName\n\t\t], columnTypeOverride(storage, column, codecLookup)]));\n\t}));\n}\nfunction columnTypeOverride(storage, column, codecLookup) {\n\tif (column.valueSet) {\n\t\tconst valueSet = entityAt(storage, {\n\t\t\tnamespaceId: column.valueSet.namespaceId,\n\t\t\tentityKind: column.valueSet.entityKind,\n\t\t\tentityName: column.valueSet.entityName\n\t\t});\n\t\tconst override = valueSet ? renderValueSetOverride(valueSet.values, column.codecId, codecLookup) : void 0;\n\t\tif (override !== void 0) return override;\n\t}\n\treturn renderCodecTypeOverride(column.codecId, resolvedTypeParams(column, storage.types), codecLookup);\n}\nfunction generateDocumentScopedStorageTypesType(types) {\n\tif (!types || Object.keys(types).length === 0) return;\n\tconst typeEntries = [];\n\tfor (const [typeName, typeInstance] of Object.entries(types)) {\n\t\tconst codecInstanceShape = typeInstance;\n\t\tif (typeof codecInstanceShape.codecId !== \"string\" || typeof codecInstanceShape.dataType !== \"string\") throw sqlEmitterError(\"CONTRACT.TYPE_UNKNOWN\", `Unknown storage type kind for \"${typeName}\" in document-scoped storage.types; expected a codec-instance triple.`, {\n\t\t\twhy: \"A storage.types entry is not a codec-instance triple, so its column type cannot be emitted.\",\n\t\t\tfix: \"Regenerate the contract from its authoring source; storage.types entries must carry codecId and dataType.\",\n\t\t\tmeta: { type: typeName }\n\t\t});\n\t\tconst codecId = serializeValue(codecInstanceShape.codecId);\n\t\tconst dataType = serializeValue(codecInstanceShape.dataType);\n\t\tconst typeParamsStr = serializeTypeParamsLiteral(codecInstanceShape.typeParams);\n\t\ttypeEntries.push(`readonly ${serializeObjectKey(typeName)}: { readonly kind: \"codec-instance\"; readonly codecId: ${codecId}; readonly dataType: ${dataType}; readonly typeParams: ${typeParamsStr} }`);\n\t}\n\treturn `{ ${typeEntries.join(\"; \")} }`;\n}\n/**\n* Literalizes the `valueSet` entries slot — a core SQL entity kind (alongside\n* `table`), not a pack-contributed one, so naming it here isn't a\n* family→target layering leak. This is the only non-`table` entries slot with\n* a type-level consumer (`db.nativeEnums`, `packages/3-extensions/postgres`):\n* pack-contributed slots (`role`, `policy`, `native_enum`, …) have none and\n* are not emitted.\n*/\nfunction generateValueSetBlockType(valueSets) {\n\treturn `{ ${Object.entries(valueSets).sort(([a], [b]) => a.localeCompare(b)).map(([name, valueSet]) => `readonly ${serializeObjectKey(name)}: ${serializeValue(valueSet)}`).join(\"; \")} }`;\n}\nfunction namespaceSerializedKind(ns) {\n\tconst kind = ns.kind;\n\tif (kind === \"schema\") return `readonly kind: \"${ns.id === UNBOUND_NAMESPACE_ID ? \"postgres-unbound-schema\" : \"postgres-schema\"}\"`;\n\tif (typeof kind === \"string\") return `readonly kind: ${serializeValue(kind)}`;\n\tthrow sqlEmitterError(\"CONTRACT.NAMESPACE_INVALID\", `Namespace '${ns.id}' has no string kind — all namespaces must be target concretions with a defined kind property.`, {\n\t\twhy: \"The namespace is not a target concretion, so the emitter cannot serialize its kind.\",\n\t\tfix: \"Regenerate the contract with a target pack that materializes every namespace as a target concretion.\",\n\t\tmeta: { namespace: ns.id }\n\t});\n}\nfunction generateTableLiteralType(table) {\n\tconst columns = [];\n\tfor (const [colName, col] of Object.entries(table.columns)) {\n\t\tconst nullable = col.nullable ? \"true\" : \"false\";\n\t\tconst dataType = serializeValue(col.dataType);\n\t\tconst codecId = serializeValue(col.codecId);\n\t\tconst defaultSpec = col.default ? col.default.kind === \"literal\" ? `; readonly default: { readonly kind: \"literal\"; readonly value: DefaultLiteralValue<${codecId}, ${serializeValue(col.default.value)}> }` : `; readonly default: { readonly kind: \"function\"; readonly expression: ${serializeValue(col.default.expression)} }` : \"\";\n\t\tconst typeParamsSpec = col.typeParams && Object.keys(col.typeParams).length > 0 ? `; readonly typeParams: ${serializeTypeParamsLiteral(col.typeParams)}` : \"\";\n\t\tconst typeRefSpec = col.typeRef ? `; readonly typeRef: ${serializeValue(col.typeRef)}` : \"\";\n\t\tconst manySpec = col.many === false ? \"; readonly many: false\" : `; readonly many: { readonly elementNullable: ${col.many.elementNullable} }`;\n\t\tcolumns.push(`readonly ${serializeObjectKey(colName)}: { readonly dataType: ${dataType}; readonly codecId: ${codecId}; readonly nullable: ${nullable}${defaultSpec}${typeParamsSpec}${typeRefSpec}${manySpec} }`);\n\t}\n\tconst tableParts = [`columns: { ${columns.join(\"; \")} }`];\n\tif (table.primaryKey) {\n\t\tconst pkParts = [`readonly columns: readonly [${table.primaryKey.columns.map((c) => serializeValue(c)).join(\", \")}]`];\n\t\tif (table.primaryKey.name) pkParts.push(`readonly name: ${serializeValue(table.primaryKey.name)}`);\n\t\ttableParts.push(`primaryKey: { ${pkParts.join(\"; \")} }`);\n\t}\n\tconst uniques = table.uniques.map((u) => {\n\t\tconst parts = [`readonly columns: readonly [${u.columns.map((c) => serializeValue(c)).join(\", \")}]`];\n\t\tif (u.name) parts.push(`readonly name: ${serializeValue(u.name)}`);\n\t\treturn `{ ${parts.join(\"; \")} }`;\n\t}).join(\", \");\n\ttableParts.push(`uniques: readonly [${uniques}]`);\n\tconst indexes = table.indexes.map((i) => {\n\t\tconst parts = [`readonly name: ${serializeValue(i.name)}`];\n\t\tif (i.prefix !== void 0) parts.push(`readonly prefix: ${serializeValue(i.prefix)}`);\n\t\tif (i.columns !== void 0) parts.push(`readonly columns: readonly [${i.columns.map((c) => serializeValue(c)).join(\", \")}]`);\n\t\tif (i.expression !== void 0) parts.push(`readonly expression: ${serializeValue(i.expression)}`);\n\t\tif (i.where !== void 0) parts.push(`readonly where: ${serializeValue(i.where)}`);\n\t\tparts.push(`readonly unique: ${i.unique}`);\n\t\tif (i.type !== void 0) parts.push(`readonly type: ${serializeValue(i.type)}`);\n\t\tif (i.options !== void 0) parts.push(`readonly options: ${serializeValue(i.options)}`);\n\t\treturn `{ ${parts.join(\"; \")} }`;\n\t}).join(\", \");\n\ttableParts.push(`indexes: readonly [${indexes}]`);\n\tconst fks = table.foreignKeys.map((fk) => {\n\t\tconst srcCols = fk.source.columns.map((c) => serializeValue(c)).join(\", \");\n\t\tconst tgtCols = fk.target.columns.map((c) => serializeValue(c)).join(\", \");\n\t\tconst srcRef = `{ readonly namespaceId: ${serializeNamespaceId(String(fk.source.namespaceId))}; readonly tableName: ${serializeValue(fk.source.tableName)}; readonly columns: readonly [${srcCols}] }`;\n\t\tconst tgtRef = `{ readonly namespaceId: ${serializeNamespaceId(String(fk.target.namespaceId))}; readonly tableName: ${serializeValue(fk.target.tableName)}; readonly columns: readonly [${tgtCols}] }`;\n\t\tconst parts = [`readonly source: ${srcRef}`, `readonly target: ${tgtRef}`];\n\t\tif (fk.name) parts.push(`readonly name: ${serializeValue(fk.name)}`);\n\t\treturn `{ ${parts.join(\"; \")} }`;\n\t}).join(\", \");\n\ttableParts.push(`foreignKeys: readonly [${fks}]`);\n\treturn `{ ${tableParts.join(\"; \")} }`;\n}\nfunction generateTablesMapType(tables) {\n\tconst tableEntries = [];\n\tfor (const [tableName, table] of Object.entries(tables).sort(([a], [b]) => a.localeCompare(b))) tableEntries.push(`readonly ${serializeObjectKey(tableName)}: ${generateTableLiteralType(table)}`);\n\tif (tableEntries.length === 0) return \"{}\";\n\treturn `{ ${tableEntries.join(\"; \")} }`;\n}\nfunction generateStorageNamespacesType(namespaces) {\n\tconst entries = Object.entries(namespaces ?? {}).sort(([a], [b]) => a.localeCompare(b));\n\tif (entries.length === 0) return \"Record<string, never>\";\n\tconst parts = [];\n\tfor (const [name, ns] of entries) {\n\t\tconst kindSuffix = `; ${namespaceSerializedKind(ns)}`;\n\t\tconst entriesParts = [`readonly table: ${generateTablesMapType(ns.entries.table ?? {})}`];\n\t\tconst valueSetEntries = ns.entries.valueSet;\n\t\tif (valueSetEntries !== void 0 && Object.keys(valueSetEntries).length > 0) entriesParts.push(`readonly valueSet: ${generateValueSetBlockType(valueSetEntries)}`);\n\t\tconst entriesType = `{ ${entriesParts.join(\"; \")} }`;\n\t\tparts.push(`readonly ${serializeObjectKey(name)}: { readonly id: ${serializeValue(ns.id)}${kindSuffix}; readonly entries: ${entriesType} }`);\n\t}\n\treturn `{ ${parts.join(\"; \")} }`;\n}\n//#endregion\nexport { sqlEmission };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;AAOA,SAAS,gBAAgB,MAAM,SAAS,SAAS;CAChD,OAAO,gBAAgB,MAAM,SAAS,OAAO;AAC9C;;;;;;;;AAUA,SAAS,uBAAuB,SAAS;CACxC,MAAM,cAAc,SAAS,wBAAwB,CAAC;CACtD,MAAM,SAAS,SAAS,oBAAoB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;AACrC;AACA,SAAS,8BAA8B,YAAY;CAClD,MAAM,UAAU,OAAO,QAAQ,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;CACtF,IAAI,QAAQ,WAAW,GAAG,OAAO;CACjC,MAAM,QAAQ,CAAC;CACf,KAAK,MAAM,CAAC,MAAM,OAAO,SAAS;EACjC,MAAM,aAAa,KAAK,wBAAwB,EAAE;EAClD,MAAM,eAAe,CAAC,mBAAmB,sBAAsB,GAAG,QAAQ,SAAS,CAAC,CAAC,GAAG;EACxF,MAAM,kBAAkB,GAAG,QAAQ;EACnC,IAAI,oBAAoB,KAAK,KAAK,OAAO,KAAK,eAAe,CAAC,CAAC,SAAS,GAAG,aAAa,KAAK,sBAAsB,0BAA0B,eAAe,GAAG;EAC/J,MAAM,cAAc,KAAK,aAAa,KAAK,IAAI,EAAE;EACjD,MAAM,KAAK,YAAY,mBAAmB,IAAI,EAAE,mBAAmB,eAAe,GAAG,EAAE,IAAI,WAAW,sBAAsB,YAAY,GAAG;CAC5I;CACA,OAAO,KAAK,MAAM,KAAK,IAAI,EAAE;AAC9B"}
@@ -1,10 +1,10 @@
1
1
  import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
2
  import { w as QueryOperationReturn } from "./types-Dqf87mfA-BOElvimQ.mjs";
3
- import "./types-DMfBh16_.mjs";
4
- import { t as SqlLoweringSpec } from "./index-BXFiad5j.mjs";
5
- import { Ct as ParamRef, E as CodecRef$1, Ot as RawQueryAst, c as AnyExpression, jt as RawSqlLiteral, kt as RawQueryColumn } from "./types-DVaVM20q-B-QcMIOa.mjs";
3
+ import "./types-B2Dee96w.mjs";
4
+ import { t as SqlLoweringSpec } from "./index-BRFLss5v.mjs";
5
+ import { Ct as ParamRef, E as CodecRef$1, Ot as RawQueryAst, c as AnyExpression, jt as RawSqlLiteral, kt as RawQueryColumn } from "./types-DVaVM20q-DrinF7w_.mjs";
6
6
  import { l as SqlStatementStats } from "./driver-types-DRsYeq3j-X_D6hNMZ.mjs";
7
- import { n as SqlQueryPlan } from "./plan-Cbed2eDu-BZM3geSm.mjs";
7
+ import { n as SqlQueryPlan } from "./plan-Cbed2eDu-3c5s1Aq5.mjs";
8
8
  import { Contract } from "@prisma/orm-framework/contract/types";
9
9
  import { ParamSpec } from "@prisma/orm-framework/operations";
10
10
  //#region ../../../2-sql/4-lanes/relational-core/dist/expression-BzrfOiPC.d.mts
@@ -275,4 +275,4 @@ declare function createRawSql(adapter: RawCodecInferer, planContext: RawPlanCont
275
275
  declare function createRawSql(adapter: RawCodecInferer): RawSqlTag;
276
276
  //#endregion
277
277
  export { TraitExpression as C, isExpression as D, createRawSql as E, param as O, StorageColumnScopeField as S, codecOf as T, RawSqlStatementBuilder as _, CodecValue as a, ScalarListExpression as b, RawAffectedCountQuery as c, RawRow as d, RawRowQuery as f, RawSqlInterpolation as g, RawSqlBuilder as h, CodecTypesBase as i, toExpr as k, RawCodecInferer as l, RawRowSpecEntry as m, BuildOperationSpec as n, Expression as o, RawRowSpec as p, CodecExpression as r, NoReservedRowColumn as s, AffectedCount as t, RawPlanContext as u, RawSqlStatementTag as v, buildOperation as w, ScopeField as x, RawSqlTag as y };
278
- //# sourceMappingURL=expression-BzrfOiPC-3NqR8UzK.d.mts.map
278
+ //# sourceMappingURL=expression-BzrfOiPC-CXjjRKqc.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expression-BzrfOiPC-3NqR8UzK.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/expression-BzrfOiPC.d.mts"],"mappings":";;;;;;;;;;;KAQK;EACH;EACA;;;;;;;;EAQA;;;;EAIA,QAAQ;;;KAGL,wBAAwB;WAClB;WACA;;EAET,SAAS;EACT,UAAU;KACP;EACH;;EAEA;IACE;KACC,iBAAiB;WACX;WACA;;;;;KAKN,WAAW,UAAU,cAAc;WAC7B,YAAY;EACrB,YAAY;;KAET,kBAAkB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;;;UAUJ,sBAAsB;YACpB;;;;;;;;UAQF;EACR,SAAS,aAAa;;;;;;;UAOd,+BAA+B;EACvC,WAAW,aAAa,YAAY,MAAM,OAAO,YAAY,OAAO;EACpE,iBAAiB;;;KAGd,aAAa,SAAS,yBAAyB,QAAQ,0BAA0B;;KAEjF,sBAAsB,SAAS,yBAAyB,QAAQ,0BAA0B;;KAE1F,uBAAuB,WAAW,cAAc,WAAW;;KAE3D,sBAAsB,uBAAuB;;;;;;;;iBAQjC,aAAa,SAAS,iBAAiB,aAAa,iBAAiB;iBACrE,aAAa,SAAS,kBAAkB"}
1
+ {"version":3,"file":"expression-BzrfOiPC-CXjjRKqc.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/expression-BzrfOiPC.d.mts"],"mappings":";;;;;;;;;;;KAQK;EACH;EACA;;;;;;;;EAQA;;;;EAIA,QAAQ;;;KAGL,wBAAwB;WAClB;WACA;;EAET,SAAS;EACT,UAAU;KACP;EACH;;EAEA;IACE;KACC,iBAAiB;WACX;WACA;;;;;KAKN,WAAW,UAAU,cAAc;WAC7B,YAAY;EACrB,YAAY;;KAET,kBAAkB,WAAW;WACvB;IACP,+CAA+C,WAAW,cAAc,GAAG;WACpE,cAAc;KACpB,iCAAiC,KAAK,2BAA2B;KACjE,WAAW,KAAK;;;;;KAKhB,WAAW,wBAAwB,0BAA0B,WAAW;WAClE;OACJ,sBAAsB,KAAK,GAAG,6BAA6B,WAAW;;;;;;;;;;;;;;;KAexE,gBAAgB,wBAAwB,0BAA0B,WAAW;WACvE;MACL;EACJ,SAAS;EACT,UAAU;EACV;KACG,WAAW,SAAS,UAAU;;;;;;;KAO9B,qBAAqB,wBAAwB,4BAA4B;EAC5E,SAAS;EACT,UAAU;EACV;;;;;;;KAOG,gBAAgB,kCAAkC,0BAA0B,WAAW;WACjF;MACL,gBAAgB,kBAAkB,IAAI,SAAS,UAAU;;;;;;;;iBAQ9C,OAAO,gBAAgB,QAAQ,aAAW;;;;iBAI1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-B-QcMIOa.mjs";
2
- import { o as Expression, x as ScopeField } from "./expression-BzrfOiPC-3NqR8UzK.mjs";
1
+ import { c as AnyExpression } from "./types-DVaVM20q-DrinF7w_.mjs";
2
+ import { o as Expression, x as ScopeField } from "./expression-BzrfOiPC-CXjjRKqc.mjs";
3
3
  //#region ../../../2-sql/4-lanes/relational-core/dist/expression-sOY1120I.d.mts
4
4
  //#region src/expression-impl.d.ts
5
5
  /**
@@ -19,4 +19,4 @@ declare class ExpressionImpl<T extends ScopeField = ScopeField> implements Expre
19
19
  }
20
20
  //#endregion
21
21
  export { ExpressionImpl as t };
22
- //# sourceMappingURL=expression-sOY1120I-DOykEQlw.d.mts.map
22
+ //# sourceMappingURL=expression-sOY1120I-DMTeGMQP.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expression-sOY1120I-DOykEQlw.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/expression-sOY1120I.d.mts"],"mappings":";;;;;;;;;;;cAUc,eAAe,UAAU,aAAa,uBAAuB,WAAW;mBACnE;mBACA;WACR,YAAY;EACrB,YAAY,KAAK,eAAe,YAAY,GAAG,gBAAgB;EAC/D,YAAY;EACZ,sBAAsB"}
1
+ {"version":3,"file":"expression-sOY1120I-DMTeGMQP.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/expression-sOY1120I.d.mts"],"mappings":";;;;;;;;;;;cAUc,eAAe,UAAU,aAAa,uBAAuB,WAAW;mBACnE;mBACA;WACR,YAAY;EACrB,YAAY,KAAK,eAAe,YAAY,GAAG,gBAAgB;EAC/D,YAAY;EACZ,sBAAsB"}
package/dist/family.d.mts CHANGED
@@ -1,16 +1,16 @@
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-BCopdpsT-Bou0wWLF.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-DaYtBAYT-DbsbDMTk.mjs";
5
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-GfOUaGGy.mjs";
6
- import { $ as TableRenameRequest, A as ReadReportedDefault, At as plannerSuccess, B as SqlPslBuildContext, Bt as runnerFailure, C as MigrationPlannerResult, Ct as modelRenameStorageEffect, D as PlanFieldEventOperationsOptions, Dt as planFieldEventOperations, E as NoTable, Et as planFieldEventCalls, F as SchemaTables, Ft as requiredColumnsOfMigration, G as StatementColumn, Gt as storageNameOfOperation, H as SqlQuotingRules, Ht as slotSource, I as SingleOperationCall, It as resolveColumnRenameAgainst, J as SuppressionRecord, Jt as temporalStringAuthoringPresets, K as StatementPlanningTarget, Kt as subjectsOfCalls, L as SqlControlFamilyInstance, Lt as resolveTableRenameAgainst, M as ReportedLiteralDefault, Mt as readReportedDefault, N as RequiredColumn, Nt as requiredColumnMeta, O as PlannedStatements, Ot as planStatements, P as RequiredColumnMark, Pt as requiredColumnOf, Q as TableRenameByHand, Qt as unmatchedTableRename, R as SqlControlTargetDescriptor, Rt as rowsWithoutValueFailure, S as MigrationPlannerConflict, St as isUnfilledSlot, T as ModelTable, Tt as partitionIssuesByControlPolicy, U as SqlSlot, Ut as sqlOfSlot, V as SqlQuote, Vt as runnerSuccess, W as SqlTextSources, Wt as sqlTypeLookupsOf, X as TableNameCaseGuardTable, Xt as unknownCallNames, Y as TABLE_NAME_CASE_CHANGED_CODE, Yt as unconvertedFieldOf, Z as TableRename, Zt as unmatchedColumnRename, _ as MigrationOperationClass, _t as extractCodecControlHooks, a as ColumnRename, at as checkSqlExpressionText, b as MigrationPlanOperation, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractNamespaceToSchemaIR, d as ConvertedColumn, dt as convertedColumnMeta, et as TargetMigrationsCapability, f as DefaultResolver, ft as convertedColumnOf, g as INIT_ADDITIVE_POLICY, gt as detectTableNameCaseChanges, h as FieldStorageEffect, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as backfillOfDefaultedField, j as ReportedBody, jt as readColumnDefault, k as ReadColumnDefault, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractToSchemaIR, m as FieldStatementColumns, mt as createSqlTextSources, n as CallSubjects, nt as appliedStatementsInOrder, o as ColumnRenameRequest, ot as columnTakesTemporaryValue, p as FieldEventCall, pt as createMigrationPlan, q as SubjectStorage, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as assembleAuthoringContributions, s as ContractColumn, st as contractColumns, t as COLUMN_RENAME_UNMATCHED_CODE, u as ControlPolicySubject, ut as controlPolicyForCall, v as MigrationOperationPolicy, vt as fieldEventStorage, w as ModelStorageEffect, wt as partitionCallsByControlPolicy, x as MigrationPlanner, xt as fieldStatementColumns, y as MigrationPlan, yt as fieldOfColumn, z as SqlDescribedContractSpace, zt as rowsWithoutValueSummary } from "./control-BqS5MMDh.mjs";
7
- import "./control-adapter-CUwBiImd.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-D6PbCUWL.mjs";
9
- import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-DgNo535E.mjs";
10
- import { t as SqlMigration } from "./migration-CJ0xK_7n.mjs";
11
- import "./pack-CyjyMUN0.mjs";
3
+ import { n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BCopdpsT-BpC5YbAf.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-DaYtBAYT-DFhWS-6u.mjs";
5
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-Dn53wZD1.mjs";
6
+ import { $ as TableRenameRequest, A as ReadReportedDefault, At as plannerSuccess, B as SqlPslBuildContext, Bt as runnerFailure, C as MigrationPlannerResult, Ct as modelRenameStorageEffect, D as PlanFieldEventOperationsOptions, Dt as planFieldEventOperations, E as NoTable, Et as planFieldEventCalls, F as SchemaTables, Ft as requiredColumnsOfMigration, G as StatementColumn, Gt as storageNameOfOperation, H as SqlQuotingRules, Ht as slotSource, I as SingleOperationCall, It as resolveColumnRenameAgainst, J as SuppressionRecord, Jt as temporalStringAuthoringPresets, K as StatementPlanningTarget, Kt as subjectsOfCalls, L as SqlControlFamilyInstance, Lt as resolveTableRenameAgainst, M as ReportedLiteralDefault, Mt as readReportedDefault, N as RequiredColumn, Nt as requiredColumnMeta, O as PlannedStatements, Ot as planStatements, P as RequiredColumnMark, Pt as requiredColumnOf, Q as TableRenameByHand, Qt as unmatchedTableRename, R as SqlControlTargetDescriptor, Rt as rowsWithoutValueFailure, S as MigrationPlannerConflict, St as isUnfilledSlot, T as ModelTable, Tt as partitionIssuesByControlPolicy, U as SqlSlot, Ut as sqlOfSlot, V as SqlQuote, Vt as runnerSuccess, W as SqlTextSources, Wt as sqlTypeLookupsOf, X as TableNameCaseGuardTable, Xt as unknownCallNames, Y as TABLE_NAME_CASE_CHANGED_CODE, Yt as unconvertedFieldOf, Z as TableRename, Zt as unmatchedColumnRename, _ as MigrationOperationClass, _t as extractCodecControlHooks, a as ColumnRename, at as checkSqlExpressionText, b as MigrationPlanOperation, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractNamespaceToSchemaIR, d as ConvertedColumn, dt as convertedColumnMeta, et as TargetMigrationsCapability, f as DefaultResolver, ft as convertedColumnOf, g as INIT_ADDITIVE_POLICY, gt as detectTableNameCaseChanges, h as FieldStorageEffect, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as backfillOfDefaultedField, j as ReportedBody, jt as readColumnDefault, k as ReadColumnDefault, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractToSchemaIR, m as FieldStatementColumns, mt as createSqlTextSources, n as CallSubjects, nt as appliedStatementsInOrder, o as ColumnRenameRequest, ot as columnTakesTemporaryValue, p as FieldEventCall, pt as createMigrationPlan, q as SubjectStorage, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as assembleAuthoringContributions, s as ContractColumn, st as contractColumns, t as COLUMN_RENAME_UNMATCHED_CODE, u as ControlPolicySubject, ut as controlPolicyForCall, v as MigrationOperationPolicy, vt as fieldEventStorage, w as ModelStorageEffect, wt as partitionCallsByControlPolicy, x as MigrationPlanner, xt as fieldStatementColumns, y as MigrationPlan, yt as fieldOfColumn, z as SqlDescribedContractSpace, zt as rowsWithoutValueSummary } from "./control-BLC3fSF4.mjs";
7
+ import "./control-adapter-DVjkUph8.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-Czog35Sk.mjs";
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-CFMl5iKv.mjs";
11
+ import "./pack-mrYskO6T.mjs";
12
12
  import { n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CEISdj2g-DF1LzGBR.mjs";
13
- import { _ as pslTypeArgumentText, a as FieldPresetUnwritableReason, c as IntrospectedTable, d as PslTypeCall, f as defaultFunctionCallFor, g as inferredTypeConstructors, h as inferColumnTypes, i as FieldPresetReadBackDifference, l as PslColumnTypeKind, m as fieldPresetCallFor, n as FieldPresetArgument, o as InferredTypeConstructor, p as fewestArgumentsCall, r as FieldPresetCallChoice, s as InferredTypeConstructors, t as ColumnTypeOf, u as PslColumnTypeRef, v as toEnumMemberName } from "./psl-build-ClY62mZM.mjs";
13
+ import { _ as pslTypeArgumentText, a as FieldPresetUnwritableReason, c as IntrospectedTable, d as PslTypeCall, f as defaultFunctionCallFor, g as inferredTypeConstructors, h as inferColumnTypes, i as FieldPresetReadBackDifference, l as PslColumnTypeKind, m as fieldPresetCallFor, n as FieldPresetArgument, o as InferredTypeConstructor, p as fewestArgumentsCall, r as FieldPresetCallChoice, s as InferredTypeConstructors, t as ColumnTypeOf, u as PslColumnTypeRef, v as toEnumMemberName } from "./psl-build-CTj6JAX3.mjs";
14
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-1C9FqGO2.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";
package/dist/family.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import { t as resolveStorageTable } from "./resolve-storage-table-DZsfnzeW.mjs";
2
- import { n as checkSqlDefaultText } from "./validators-V8vN9R85.mjs";
3
- import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-B9vFrm3T.mjs";
4
- import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BKQ4Yh-n.mjs";
2
+ import { n as checkSqlDefaultText } from "./validators-Uim8vh59.mjs";
3
+ import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue, s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-CxnJN-Lm.mjs";
4
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BDTNHOOy.mjs";
5
5
  import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
6
- import { $ as unmatchedColumnRename, A as planStatements, B as rowsWithoutValueFailure, C as fieldStatementColumns, D as partitionIssuesByControlPolicy, E as partitionCallsByControlPolicy, F as requiredColumnMeta, G as sqlOfSlot, H as runnerFailure, I as requiredColumnOf, J as subjectsOfCalls, K as sqlTypeLookupsOf, L as requiredColumnsOfMigration, M as plannerSuccess, N as readColumnDefault, O as planFieldEventCalls, P as readReportedDefault, Q as unknownCallNames, R as resolveColumnRenameAgainst, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerSuccess, V as rowsWithoutValueSummary, W as slotSource, X as temporalStringAuthoringPresets, Y as temporalCodecPresetWithPrecision, Z as unconvertedFieldOf, _ as createSqlTextSources, a as assembleAuthoringContributions, b as fieldEventStorage, c as columnTakesTemporaryValue, d as contractToSchemaIR, et as unmatchedTableRename, f as controlPolicyForCall, g as createMigrationPlan, h as convertedColumnOf, i as appliedStatementsInOrder, j as plannerFailure, k as planFieldEventOperations, l as contractColumns, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, q as storageNameOfOperation, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveTableRenameAgainst } from "./control-C7MNvu5Q.mjs";
6
+ import { $ as unmatchedColumnRename, A as planStatements, B as rowsWithoutValueFailure, C as fieldStatementColumns, D as partitionIssuesByControlPolicy, E as partitionCallsByControlPolicy, F as requiredColumnMeta, G as sqlOfSlot, H as runnerFailure, I as requiredColumnOf, J as subjectsOfCalls, K as sqlTypeLookupsOf, L as requiredColumnsOfMigration, M as plannerSuccess, N as readColumnDefault, O as planFieldEventCalls, P as readReportedDefault, Q as unknownCallNames, R as resolveColumnRenameAgainst, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerSuccess, V as rowsWithoutValueSummary, W as slotSource, X as temporalStringAuthoringPresets, Y as temporalCodecPresetWithPrecision, Z as unconvertedFieldOf, _ as createSqlTextSources, a as assembleAuthoringContributions, b as fieldEventStorage, c as columnTakesTemporaryValue, d as contractToSchemaIR, et as unmatchedTableRename, f as controlPolicyForCall, g as createMigrationPlan, h as convertedColumnOf, i as appliedStatementsInOrder, j as plannerFailure, k as planFieldEventOperations, l as contractColumns, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, q as storageNameOfOperation, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveTableRenameAgainst } from "./control-BTNIQxYM.mjs";
7
7
  import { t as arraysEqual } from "./diff-DZ82XaGR.mjs";
8
8
  import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
9
9
  import { t as SqlMigration } from "./migration-Dy_4Wmiy.mjs";
10
10
  import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
11
- import { a as inferredTypeConstructors, i as inferColumnTypes, n as fewestArgumentsCall, o as mapDefault, r as fieldPresetCallFor, s as pslTypeArgumentText, t as defaultFunctionCallFor } from "./psl-build-pU0gKdVI.mjs";
11
+ import { a as inferredTypeConstructors, i as inferColumnTypes, n as fewestArgumentsCall, o as mapDefault, r as fieldPresetCallFor, s as pslTypeArgumentText, t as defaultFunctionCallFor } from "./psl-build-DB-x01oH.mjs";
12
12
  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-CvUWefHM.mjs";
13
13
  import { i as timestampNowRuntimeGenerator, n as resolveDomainModel, t as UNBOUND_DOMAIN_NAMESPACE_ID } from "./runtime-Z3nD7ix1.mjs";
14
14
  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, controlPolicyForCall, convertedColumnMeta, convertedColumnOf, createMigrationPlan, createSqlTextSources, defaultFunctionCallFor, deriveBackRelationFieldName, deriveRelationFieldName, detectDestructiveChanges, detectTableNameCaseChanges, extractCodecControlHooks, fewestArgumentsCall, fieldEventStorage, fieldOfColumn, fieldPresetCallFor, fieldRenameStorageEffect, fieldStatementColumns, inferColumnTypes, inferRelations, inferredTypeConstructors, isUnfilledSlot, mapDefault, modelRenameStorageEffect, parseContractMarkerRow, partitionCallsByControlPolicy, partitionIssuesByControlPolicy, planFieldEventCalls, planFieldEventOperations, planStatements, plannerFailure, plannerSuccess, pluralize, pslTypeArgumentText, readColumnDefault, readReportedDefault, requiredColumnMeta, requiredColumnOf, requiredColumnsOfMigration, resolveColumnRenameAgainst, resolveDomainModel, resolveStorageTable, resolveTableRenameAgainst, rowsWithoutValueFailure, rowsWithoutValueSummary, runnerFailure, runnerSuccess, slotSource, sqlOfSlot, sqlTypeLookupsOf, storageNameOfOperation, subjectsOfCalls, temporalCodecPresetWithPrecision, temporalStringAuthoringPresets, timestampNowRuntimeGenerator, toEnumMemberName, toEnumName, toFieldName, toModelName, unconvertedFieldOf, unknownCallNames, unmatchedColumnRename, unmatchedTableRename, verifySqlSchemaByDiff };
@@ -1,3 +1,3 @@
1
- import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BCopdpsT-Bou0wWLF.mjs";
2
- import "./control-adapter-CUwBiImd.mjs";
1
+ import { i as SqlControlAdapterDescriptor, n as Lowerer, r as SqlControlAdapter, t as ExecuteRequestLowerer } from "./control-adapter-BCopdpsT-BpC5YbAf.mjs";
2
+ import "./control-adapter-DVjkUph8.mjs";
3
3
  export type { ExecuteRequestLowerer, Lowerer, SqlControlAdapter, SqlControlAdapterDescriptor };
@@ -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-DaYtBAYT-DbsbDMTk.mjs";
3
- import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-GfOUaGGy.mjs";
4
- import { $ as TableRenameRequest, A as ReadReportedDefault, At as plannerSuccess, B as SqlPslBuildContext, Bt as runnerFailure, C as MigrationPlannerResult, Ct as modelRenameStorageEffect, D as PlanFieldEventOperationsOptions, Dt as planFieldEventOperations, E as NoTable, Et as planFieldEventCalls, F as SchemaTables, Ft as requiredColumnsOfMigration, G as StatementColumn, Gt as storageNameOfOperation, H as SqlQuotingRules, Ht as slotSource, I as SingleOperationCall, It as resolveColumnRenameAgainst, J as SuppressionRecord, Jt as temporalStringAuthoringPresets, K as StatementPlanningTarget, Kt as subjectsOfCalls, L as SqlControlFamilyInstance, Lt as resolveTableRenameAgainst, M as ReportedLiteralDefault, Mt as readReportedDefault, N as RequiredColumn, Nt as requiredColumnMeta, O as PlannedStatements, Ot as planStatements, P as RequiredColumnMark, Pt as requiredColumnOf, Q as TableRenameByHand, Qt as unmatchedTableRename, R as SqlControlTargetDescriptor, Rt as rowsWithoutValueFailure, S as MigrationPlannerConflict, St as isUnfilledSlot, T as ModelTable, Tt as partitionIssuesByControlPolicy, U as SqlSlot, Ut as sqlOfSlot, V as SqlQuote, Vt as runnerSuccess, W as SqlTextSources, Wt as sqlTypeLookupsOf, X as TableNameCaseGuardTable, Xt as unknownCallNames, Y as TABLE_NAME_CASE_CHANGED_CODE, Yt as unconvertedFieldOf, Z as TableRename, Zt as unmatchedColumnRename, _ as MigrationOperationClass, _t as extractCodecControlHooks, a as ColumnRename, at as checkSqlExpressionText, b as MigrationPlanOperation, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractNamespaceToSchemaIR, d as ConvertedColumn, dt as convertedColumnMeta, et as TargetMigrationsCapability, f as DefaultResolver, ft as convertedColumnOf, g as INIT_ADDITIVE_POLICY, gt as detectTableNameCaseChanges, h as FieldStorageEffect, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as backfillOfDefaultedField, j as ReportedBody, jt as readColumnDefault, k as ReadColumnDefault, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractToSchemaIR, m as FieldStatementColumns, mt as createSqlTextSources, n as CallSubjects, nt as appliedStatementsInOrder, o as ColumnRenameRequest, ot as columnTakesTemporaryValue, p as FieldEventCall, pt as createMigrationPlan, q as SubjectStorage, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as assembleAuthoringContributions, s as ContractColumn, st as contractColumns, t as COLUMN_RENAME_UNMATCHED_CODE, tt as _default, u as ControlPolicySubject, ut as controlPolicyForCall, v as MigrationOperationPolicy, vt as fieldEventStorage, w as ModelStorageEffect, wt as partitionCallsByControlPolicy, x as MigrationPlanner, xt as fieldStatementColumns, y as MigrationPlan, yt as fieldOfColumn, z as SqlDescribedContractSpace, zt as rowsWithoutValueSummary } from "./control-BqS5MMDh.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-DaYtBAYT-DFhWS-6u.mjs";
3
+ import { n as SqlSchemaDiffInput, r as SqlSchemaDiffResult, t as SqlSchemaDiffFn } from "./schema-differ-DmP74bB8-Dn53wZD1.mjs";
4
+ import { $ as TableRenameRequest, A as ReadReportedDefault, At as plannerSuccess, B as SqlPslBuildContext, Bt as runnerFailure, C as MigrationPlannerResult, Ct as modelRenameStorageEffect, D as PlanFieldEventOperationsOptions, Dt as planFieldEventOperations, E as NoTable, Et as planFieldEventCalls, F as SchemaTables, Ft as requiredColumnsOfMigration, G as StatementColumn, Gt as storageNameOfOperation, H as SqlQuotingRules, Ht as slotSource, I as SingleOperationCall, It as resolveColumnRenameAgainst, J as SuppressionRecord, Jt as temporalStringAuthoringPresets, K as StatementPlanningTarget, Kt as subjectsOfCalls, L as SqlControlFamilyInstance, Lt as resolveTableRenameAgainst, M as ReportedLiteralDefault, Mt as readReportedDefault, N as RequiredColumn, Nt as requiredColumnMeta, O as PlannedStatements, Ot as planStatements, P as RequiredColumnMark, Pt as requiredColumnOf, Q as TableRenameByHand, Qt as unmatchedTableRename, R as SqlControlTargetDescriptor, Rt as rowsWithoutValueFailure, S as MigrationPlannerConflict, St as isUnfilledSlot, T as ModelTable, Tt as partitionIssuesByControlPolicy, U as SqlSlot, Ut as sqlOfSlot, V as SqlQuote, Vt as runnerSuccess, W as SqlTextSources, Wt as sqlTypeLookupsOf, X as TableNameCaseGuardTable, Xt as unknownCallNames, Y as TABLE_NAME_CASE_CHANGED_CODE, Yt as unconvertedFieldOf, Z as TableRename, Zt as unmatchedColumnRename, _ as MigrationOperationClass, _t as extractCodecControlHooks, a as ColumnRename, at as checkSqlExpressionText, b as MigrationPlanOperation, bt as fieldRenameStorageEffect, c as ContractColumns, ct as contractNamespaceToSchemaIR, d as ConvertedColumn, dt as convertedColumnMeta, et as TargetMigrationsCapability, f as DefaultResolver, ft as convertedColumnOf, g as INIT_ADDITIVE_POLICY, gt as detectTableNameCaseChanges, h as FieldStorageEffect, ht as detectDestructiveChanges, i as ColumnOnOneSide, it as backfillOfDefaultedField, j as ReportedBody, jt as readColumnDefault, k as ReadColumnDefault, kt as plannerFailure, l as ContractToSchemaIROptions, lt as contractToSchemaIR, m as FieldStatementColumns, mt as createSqlTextSources, n as CallSubjects, nt as appliedStatementsInOrder, o as ColumnRenameRequest, ot as columnTakesTemporaryValue, p as FieldEventCall, pt as createMigrationPlan, q as SubjectStorage, qt as temporalCodecPresetWithPrecision, r as CallWithCompanions, rt as assembleAuthoringContributions, s as ContractColumn, st as contractColumns, t as COLUMN_RENAME_UNMATCHED_CODE, tt as _default, u as ControlPolicySubject, ut as controlPolicyForCall, v as MigrationOperationPolicy, vt as fieldEventStorage, w as ModelStorageEffect, wt as partitionCallsByControlPolicy, x as MigrationPlanner, xt as fieldStatementColumns, y as MigrationPlan, yt as fieldOfColumn, z as SqlDescribedContractSpace, zt as rowsWithoutValueSummary } from "./control-BLC3fSF4.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 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, controlPolicyForCall, 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
- import { n as checkSqlDefaultText } from "./validators-V8vN9R85.mjs";
2
- import { s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-B9vFrm3T.mjs";
3
- import { $ as unmatchedColumnRename, A as planStatements, B as rowsWithoutValueFailure, C as fieldStatementColumns, D as partitionIssuesByControlPolicy, E as partitionCallsByControlPolicy, F as requiredColumnMeta, G as sqlOfSlot, H as runnerFailure, I as requiredColumnOf, J as subjectsOfCalls, K as sqlTypeLookupsOf, L as requiredColumnsOfMigration, M as plannerSuccess, N as readColumnDefault, O as planFieldEventCalls, P as readReportedDefault, Q as unknownCallNames, R as resolveColumnRenameAgainst, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerSuccess, V as rowsWithoutValueSummary, W as slotSource, X as temporalStringAuthoringPresets, Y as temporalCodecPresetWithPrecision, Z as unconvertedFieldOf, _ as createSqlTextSources, a as assembleAuthoringContributions, b as fieldEventStorage, c as columnTakesTemporaryValue, d as contractToSchemaIR, et as unmatchedTableRename, f as controlPolicyForCall, g as createMigrationPlan, h as convertedColumnOf, i as appliedStatementsInOrder, j as plannerFailure, k as planFieldEventOperations, l as contractColumns, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as control_default, q as storageNameOfOperation, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveTableRenameAgainst } from "./control-C7MNvu5Q.mjs";
1
+ import { n as checkSqlDefaultText } from "./validators-Uim8vh59.mjs";
2
+ import { s as extractCodecControlHooks } from "./schema-verify-BwRdzbHb-CxnJN-Lm.mjs";
3
+ import { $ as unmatchedColumnRename, A as planStatements, B as rowsWithoutValueFailure, C as fieldStatementColumns, D as partitionIssuesByControlPolicy, E as partitionCallsByControlPolicy, F as requiredColumnMeta, G as sqlOfSlot, H as runnerFailure, I as requiredColumnOf, J as subjectsOfCalls, K as sqlTypeLookupsOf, L as requiredColumnsOfMigration, M as plannerSuccess, N as readColumnDefault, O as planFieldEventCalls, P as readReportedDefault, Q as unknownCallNames, R as resolveColumnRenameAgainst, S as fieldRenameStorageEffect, T as modelRenameStorageEffect, U as runnerSuccess, V as rowsWithoutValueSummary, W as slotSource, X as temporalStringAuthoringPresets, Y as temporalCodecPresetWithPrecision, Z as unconvertedFieldOf, _ as createSqlTextSources, a as assembleAuthoringContributions, b as fieldEventStorage, c as columnTakesTemporaryValue, d as contractToSchemaIR, et as unmatchedTableRename, f as controlPolicyForCall, g as createMigrationPlan, h as convertedColumnOf, i as appliedStatementsInOrder, j as plannerFailure, k as planFieldEventOperations, l as contractColumns, m as convertedColumnMeta, n as INIT_ADDITIVE_POLICY, o as backfillOfDefaultedField, p as control_default, q as storageNameOfOperation, r as TABLE_NAME_CASE_CHANGED_CODE, s as checkSqlExpressionText, t as COLUMN_RENAME_UNMATCHED_CODE, u as contractNamespaceToSchemaIR, v as detectDestructiveChanges, w as isUnfilledSlot, x as fieldOfColumn, y as detectTableNameCaseChanges, z as resolveTableRenameAgainst } from "./control-BTNIQxYM.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, controlPolicyForCall, 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-D6PbCUWL.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-Czog35Sk.mjs";
2
2
  export { type SqlDiffVerdict, type SqlDiffVerdictInput, type StorageTypeVerdict, type StorageTypeVerdictInput, type VerifySqlSchemaByDiffInput, arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
@@ -1,3 +1,3 @@
1
- import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-BwRdzbHb-B9vFrm3T.mjs";
1
+ import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-BwRdzbHb-CxnJN-Lm.mjs";
2
2
  import { t as arraysEqual } from "./diff-DZ82XaGR.mjs";
3
3
  export { arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
@@ -1,2 +1,2 @@
1
- import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-DgNo535E.mjs";
1
+ import { i as SqlSchemaVerifierBase, n as SqlContractSerializerBase, r as SqlEntityHydrationFactory, t as SqlContractSerializer } from "./ir-qK4wX3D3.mjs";
2
2
  export { SqlContractSerializer, SqlContractSerializerBase, type SqlEntityHydrationFactory, SqlSchemaVerifierBase };
@@ -1,3 +1,3 @@
1
- import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BKQ4Yh-n.mjs";
1
+ import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-sMY3prTx-BDTNHOOy.mjs";
2
2
  import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
3
3
  export { SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase };
@@ -1,2 +1,2 @@
1
- import { t as SqlMigration } from "./migration-CJ0xK_7n.mjs";
1
+ import { t as SqlMigration } from "./migration-CFMl5iKv.mjs";
2
2
  export { SqlMigration as Migration };
@@ -1,2 +1,2 @@
1
- import { t as sqlFamilyPack } from "./pack-CyjyMUN0.mjs";
1
+ import { t as sqlFamilyPack } from "./pack-mrYskO6T.mjs";
2
2
  export { sqlFamilyPack as default };
@@ -1,5 +1,5 @@
1
- import { v as sqlAttributeSpecs } from "./psl-field-resolution-BOJPyV5I-0zJJ0fOo.mjs";
2
- import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-0Iv2zdwS-BJjO5EnA.mjs";
1
+ import { v as sqlAttributeSpecs } from "./psl-field-resolution-BOJPyV5I-CQ7I2lbC.mjs";
2
+ import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-0Iv2zdwS-CJbLWgCh.mjs";
3
3
  //#region ../../../2-sql/9-family/dist/pack.mjs
4
4
  const sqlFamilyPack = {
5
5
  kind: "family",
@@ -1,3 +1,3 @@
1
1
  import { n as DefaultMappingResult, r as mapDefault, t as DefaultMappingOptions } from "./default-mapping-CEISdj2g-DF1LzGBR.mjs";
2
- import { _ as pslTypeArgumentText, a as FieldPresetUnwritableReason, c as IntrospectedTable, d as PslTypeCall, f as defaultFunctionCallFor, g as inferredTypeConstructors, h as inferColumnTypes, i as FieldPresetReadBackDifference, l as PslColumnTypeKind, m as fieldPresetCallFor, n as FieldPresetArgument, o as InferredTypeConstructor, p as fewestArgumentsCall, r as FieldPresetCallChoice, s as InferredTypeConstructors, t as ColumnTypeOf, u as PslColumnTypeRef, v as toEnumMemberName } from "./psl-build-ClY62mZM.mjs";
2
+ import { _ as pslTypeArgumentText, a as FieldPresetUnwritableReason, c as IntrospectedTable, d as PslTypeCall, f as defaultFunctionCallFor, g as inferredTypeConstructors, h as inferColumnTypes, i as FieldPresetReadBackDifference, l as PslColumnTypeKind, m as fieldPresetCallFor, n as FieldPresetArgument, o as InferredTypeConstructor, p as fewestArgumentsCall, r as FieldPresetCallChoice, s as InferredTypeConstructors, t as ColumnTypeOf, u as PslColumnTypeRef, v as toEnumMemberName } from "./psl-build-CTj6JAX3.mjs";
3
3
  export { type ColumnTypeOf, type DefaultMappingOptions, type DefaultMappingResult, type FieldPresetArgument, type FieldPresetCallChoice, type FieldPresetReadBackDifference, type FieldPresetUnwritableReason, type InferredTypeConstructor, type InferredTypeConstructors, type IntrospectedTable, type PslColumnTypeKind, type PslColumnTypeRef, type PslTypeCall, defaultFunctionCallFor, fewestArgumentsCall, fieldPresetCallFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName };
@@ -1,3 +1,3 @@
1
1
  import { s as toEnumMemberName } from "./psl-names-C3cwe0rg-CsuHOV7E.mjs";
2
- import { a as inferredTypeConstructors, i as inferColumnTypes, n as fewestArgumentsCall, o as mapDefault, r as fieldPresetCallFor, s as pslTypeArgumentText, t as defaultFunctionCallFor } from "./psl-build-pU0gKdVI.mjs";
2
+ import { a as inferredTypeConstructors, i as inferColumnTypes, n as fewestArgumentsCall, o as mapDefault, r as fieldPresetCallFor, s as pslTypeArgumentText, t as defaultFunctionCallFor } from "./psl-build-DB-x01oH.mjs";
3
3
  export { defaultFunctionCallFor, fewestArgumentsCall, fieldPresetCallFor, inferColumnTypes, inferredTypeConstructors, mapDefault, pslTypeArgumentText, toEnumMemberName };
@@ -1,8 +1,8 @@
1
1
  import { D as QueryOperationTypesBase } from "./types-Dqf87mfA-BOElvimQ.mjs";
2
- import "./types-DMfBh16_.mjs";
3
- import { i as SqlOperationEntry } from "./index-BXFiad5j.mjs";
4
- import { Mt as SelectAst } from "./types-DVaVM20q-B-QcMIOa.mjs";
5
- import { i as CodecTypesBase, l as RawCodecInferer, o as Expression, r as CodecExpression, x as ScopeField, y as RawSqlTag } from "./expression-BzrfOiPC-3NqR8UzK.mjs";
2
+ import "./types-B2Dee96w.mjs";
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";
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-Cp8soSAv.d.mts.map
73
+ //# sourceMappingURL=functions-LyIMc_v9.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"functions-Cp8soSAv.d.mts","names":[],"sources":["../../../../2-sql/4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,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,23 +1,23 @@
1
1
  import { l as SqlStorage } from "./sql-storage-tZhB8nS5-8NSWT0TW.mjs";
2
- import "./types-DMfBh16_.mjs";
3
- import { r as SqlOperationDescriptors } from "./index-BXFiad5j.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-B-QcMIOa.mjs";
2
+ import "./types-B2Dee96w.mjs";
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";
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-BZM3geSm.mjs";
7
- import { i as CodecTypesBase, l as RawCodecInferer } from "./expression-BzrfOiPC-3NqR8UzK.mjs";
8
- import "./expression-CeerCjQG.mjs";
9
- import { m as MarkerReadResult, t as Adapter } from "./ast-Dzsat0Zb.mjs";
10
- import { t as SqlExecutionPlan } from "./sql-execution-plan-Dam5yMZg-Bc_eneSz.mjs";
11
- import "./plan-BZpZafiQ.mjs";
12
- import { n as CollectionMethodContribution } from "./collection-methods-B-tM7OPZ-v8HK9Txa.mjs";
13
- import { n as ExecutionContext, t as CodecDescriptorRegistry } from "./query-lane-context-BLOPW1rQ-Bn3ugl9a.mjs";
14
- import "./query-lane-context-Dpep1Fzy.mjs";
15
- import { _ as SqlOrmPlan, h as RuntimeScope } from "./types-Cv5t6_Ly-CcBWTpfM.mjs";
16
- import "./types-_7TbRpPw.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-n_12DsnU.mjs";
18
- import { i as SqlParamRefMutator } from "./middleware-oCT0RWkt-AFlRNCOD.mjs";
19
- import "./middleware-IqWk9Eff.mjs";
20
- import "./collection-methods-DQAFcGEB.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-Cq7uhA86.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-DbyhuL-z.mjs";
18
+ import { i as SqlParamRefMutator } from "./middleware-oCT0RWkt-DGav7C8b.mjs";
19
+ import "./middleware-MgGkjEXt.mjs";
20
+ import "./collection-methods-BNAu8vHk.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-BxlXOVeT.d.mts.map
581
+ //# sourceMappingURL=index-B0hZw3uT.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BxlXOVeT.d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UAAU,oBAAoB,QAAQ,cAAc,UAAU,cAAc,KAAK,QAAQ,eAAe;iBACxH,kBAAkB,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
+ {"version":3,"file":"index-B0hZw3uT.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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
- import "./types-DMfBh16_.mjs";
2
+ import "./types-B2Dee96w.mjs";
3
3
  import { OperationDescriptor, OperationDescriptors, OperationRegistry } from "@prisma/orm-framework/operations";
4
4
  //#region ../../../2-sql/1-core/operations/dist/index.d.mts
5
5
  //#region src/index.d.ts
@@ -21,4 +21,4 @@ type SqlOperationRegistry = OperationRegistry<SqlOperationEntry>;
21
21
  declare function createSqlOperationRegistry(): SqlOperationRegistry;
22
22
  //#endregion
23
23
  export { SqlOperationRegistry as a, SqlOperationEntry as i, SqlOperationDescriptor as n, createSqlOperationRegistry as o, SqlOperationDescriptors as r, SqlLoweringSpec as t };
24
- //# sourceMappingURL=index-BXFiad5j.d.mts.map
24
+ //# sourceMappingURL=index-BRFLss5v.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BXFiad5j.d.mts","names":[],"sources":["../../../../2-sql/1-core/operations/dist/index.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;;;;;;;;KASN,oBAAoB;KACpB,yBAAyB,oBAAoB;KAC7C,0BAA0B,qBAAqB;KAC/C,uBAAuB,kBAAkB;iBAC7B,8BAA8B"}
1
+ {"version":3,"file":"index-BRFLss5v.d.mts","names":[],"sources":["../../../../2-sql/1-core/operations/dist/index.d.mts"],"mappings":";;;;;UAGU;WACC;WACA;;;;;;;;;KASN,oBAAoB;KACpB,yBAAyB,oBAAoB;KAC7C,0BAA0B,qBAAqB;KAC/C,uBAAuB,kBAAkB;iBAC7B,8BAA8B"}
@@ -0,0 +1 @@
1
+ import "./index-reference-DJaQLZA3-DS-GPKXs.mjs";
@@ -1,6 +1,6 @@
1
1
  import { t as Index } from "./sql-index-ByAAE7K8-BpbPBWPD.mjs";
2
- import "./types-DMfBh16_.mjs";
3
- import { S as StorageColumnScopeField, o as Expression, x as ScopeField } from "./expression-BzrfOiPC-3NqR8UzK.mjs";
2
+ import "./types-B2Dee96w.mjs";
3
+ import { S as StorageColumnScopeField, o as Expression, x as ScopeField } from "./expression-BzrfOiPC-CXjjRKqc.mjs";
4
4
  //#region ../../../2-sql/4-lanes/relational-core/dist/index-reference-DJaQLZA3.d.mts
5
5
  //#region src/index-reference.d.ts
6
6
  /**
@@ -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-DxmYkkX-.d.mts.map
67
+ //# sourceMappingURL=index-reference-DJaQLZA3-DS-GPKXs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-reference-DJaQLZA3-DxmYkkX-.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;WAC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AkB,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"}
@@ -4,9 +4,9 @@ import "./foreign-key-materialization-BIvQTfz8.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-sRZp_gTF-UGwFWkVX.mjs";
7
+ import { n as buildSqlContractFromDefinition } from "./derived-checks-sRZp_gTF-Dvk3wkm9.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-BOJPyV5I-0zJJ0fOo.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-BOJPyV5I-CQ7I2lbC.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";
@@ -2174,4 +2174,4 @@ function interpretPslDocumentToSqlContract(input) {
2174
2174
  //#endregion
2175
2175
  export { normalizeReferentialAction as a, interpretPslDocumentToSqlContract as i, buildEntityTypesByDiscriminator as n, indexFkRelations as r, applyBackrelationCandidates as t };
2176
2176
 
2177
- //# sourceMappingURL=interpreter-B9wNACvu-CjrIm-Jo.mjs.map
2177
+ //# sourceMappingURL=interpreter-B9wNACvu-Bk0vkYDs.mjs.map