@prisma/orm-family-sql 0.16.0-dev.36

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 (325) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +28 -0
  3. package/dist/ast-BstHjAoG.mjs +325 -0
  4. package/dist/ast-BstHjAoG.mjs.map +1 -0
  5. package/dist/ast-DSuzmsWn.d.mts +287 -0
  6. package/dist/ast-DSuzmsWn.d.mts.map +1 -0
  7. package/dist/authoring-type-constructors-Blqoa2Ua-DyCmD6mp.mjs +316 -0
  8. package/dist/authoring-type-constructors-Blqoa2Ua-DyCmD6mp.mjs.map +1 -0
  9. package/dist/build-contract-DBCz_YSs-DO0wMHai.mjs +778 -0
  10. package/dist/build-contract-DBCz_YSs-DO0wMHai.mjs.map +1 -0
  11. package/dist/builder.d.mts +3 -0
  12. package/dist/builder.mjs +1 -0
  13. package/dist/builder__runtime.d.mts +42 -0
  14. package/dist/builder__runtime.d.mts.map +1 -0
  15. package/dist/builder__runtime.mjs +955 -0
  16. package/dist/builder__runtime.mjs.map +1 -0
  17. package/dist/builder__types.d.mts +3 -0
  18. package/dist/builder__types.mjs +1 -0
  19. package/dist/canonicalization-hooks-CYnW_sGn.d.mts +10 -0
  20. package/dist/canonicalization-hooks-CYnW_sGn.d.mts.map +1 -0
  21. package/dist/canonicalization-hooks-DfIc_lOO.mjs +87 -0
  22. package/dist/canonicalization-hooks-DfIc_lOO.mjs.map +1 -0
  23. package/dist/codec-descriptor-registry-BJVJRftS.mjs +96 -0
  24. package/dist/codec-descriptor-registry-BJVJRftS.mjs.map +1 -0
  25. package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts +116 -0
  26. package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts.map +1 -0
  27. package/dist/config-types-47qB33rW.d.mts +21 -0
  28. package/dist/config-types-47qB33rW.d.mts.map +1 -0
  29. package/dist/config-types-N7PJc6VN.mjs +65 -0
  30. package/dist/config-types-N7PJc6VN.mjs.map +1 -0
  31. package/dist/contract-builder-MvJJrQ-5.d.mts +1306 -0
  32. package/dist/contract-builder-MvJJrQ-5.d.mts.map +1 -0
  33. package/dist/contract-builder-YjMQcvZ1.mjs +1615 -0
  34. package/dist/contract-builder-YjMQcvZ1.mjs.map +1 -0
  35. package/dist/contract-emitter.d.mts +25 -0
  36. package/dist/contract-emitter.d.mts.map +1 -0
  37. package/dist/contract-emitter.mjs +2 -0
  38. package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs +9 -0
  39. package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs.map +1 -0
  40. package/dist/contract-psl.d.mts +65 -0
  41. package/dist/contract-psl.d.mts.map +1 -0
  42. package/dist/contract-psl.mjs +2 -0
  43. package/dist/contract-psl__provider.d.mts +23 -0
  44. package/dist/contract-psl__provider.d.mts.map +1 -0
  45. package/dist/contract-psl__provider.mjs +105 -0
  46. package/dist/contract-psl__provider.mjs.map +1 -0
  47. package/dist/contract-ts.d.mts +3 -0
  48. package/dist/contract-ts.mjs +4 -0
  49. package/dist/contract-ts__config-types.d.mts +2 -0
  50. package/dist/contract-ts__config-types.mjs +2 -0
  51. package/dist/contract-ts__contract-builder.d.mts +2 -0
  52. package/dist/contract-ts__contract-builder.mjs +3 -0
  53. package/dist/contract-view-BMR5IWk4.mjs +39 -0
  54. package/dist/contract-view-BMR5IWk4.mjs.map +1 -0
  55. package/dist/contract-view-BbWQp6r4.d.mts +61 -0
  56. package/dist/contract-view-BbWQp6r4.d.mts.map +1 -0
  57. package/dist/contract.d.mts +26 -0
  58. package/dist/contract.mjs +17 -0
  59. package/dist/contract__canonicalization-hooks.d.mts +2 -0
  60. package/dist/contract__canonicalization-hooks.mjs +2 -0
  61. package/dist/contract__contract-view.d.mts +2 -0
  62. package/dist/contract__contract-view.mjs +2 -0
  63. package/dist/contract__entity-handle-lowering-hook.d.mts +2 -0
  64. package/dist/contract__entity-handle-lowering-hook.mjs +2 -0
  65. package/dist/contract__entity-kinds.d.mts +2 -0
  66. package/dist/contract__entity-kinds.mjs +2 -0
  67. package/dist/contract__factories.d.mts +2 -0
  68. package/dist/contract__factories.mjs +2 -0
  69. package/dist/contract__foreign-key-materialization.d.mts +2 -0
  70. package/dist/contract__foreign-key-materialization.mjs +2 -0
  71. package/dist/contract__index-naming.d.mts +2 -0
  72. package/dist/contract__index-naming.mjs +2 -0
  73. package/dist/contract__index-type-validation.d.mts +2 -0
  74. package/dist/contract__index-type-validation.mjs +2 -0
  75. package/dist/contract__index-types.d.mts +3 -0
  76. package/dist/contract__index-types.mjs +2 -0
  77. package/dist/contract__pack-types.d.mts +2 -0
  78. package/dist/contract__pack-types.mjs +1 -0
  79. package/dist/contract__referential-action-sql.d.mts +2 -0
  80. package/dist/contract__referential-action-sql.mjs +2 -0
  81. package/dist/contract__resolve-storage-table.d.mts +2 -0
  82. package/dist/contract__resolve-storage-table.mjs +2 -0
  83. package/dist/contract__types.d.mts +11 -0
  84. package/dist/contract__types.mjs +4 -0
  85. package/dist/contract__validators.d.mts +2 -0
  86. package/dist/contract__validators.mjs +3 -0
  87. package/dist/contract__value-set-derivation-hook.d.mts +2 -0
  88. package/dist/contract__value-set-derivation-hook.mjs +2 -0
  89. package/dist/control-B7iS4jv4.mjs +1326 -0
  90. package/dist/control-B7iS4jv4.mjs.map +1 -0
  91. package/dist/control-BHmsZudH.d.mts +948 -0
  92. package/dist/control-BHmsZudH.d.mts.map +1 -0
  93. package/dist/control-adapter-4y1O8Ps3.d.mts +1 -0
  94. package/dist/control-adapter-C99J7aEF-C-17lFY8.d.mts +191 -0
  95. package/dist/control-adapter-C99J7aEF-C-17lFY8.d.mts.map +1 -0
  96. package/dist/db-DhMsmBS--DKENDi3l.d.mts +365 -0
  97. package/dist/db-DhMsmBS--DKENDi3l.d.mts.map +1 -0
  98. package/dist/ddl-types-BMp2bWVS-D1waZJ4n.mjs +153 -0
  99. package/dist/ddl-types-BMp2bWVS-D1waZJ4n.mjs.map +1 -0
  100. package/dist/ddl-types-rrMsf77U-DGctYf-T.d.mts +149 -0
  101. package/dist/ddl-types-rrMsf77U-DGctYf-T.d.mts.map +1 -0
  102. package/dist/diff-B16bL_IR.mjs +13 -0
  103. package/dist/diff-B16bL_IR.mjs.map +1 -0
  104. package/dist/diff-DhlzHOMD.d.mts +104 -0
  105. package/dist/diff-DhlzHOMD.d.mts.map +1 -0
  106. package/dist/dist-C_q1_QR9.mjs +9 -0
  107. package/dist/dist-C_q1_QR9.mjs.map +1 -0
  108. package/dist/dist-DrScXbhq.mjs +414 -0
  109. package/dist/dist-DrScXbhq.mjs.map +1 -0
  110. package/dist/dist-x6jvtkKM.mjs +68 -0
  111. package/dist/dist-x6jvtkKM.mjs.map +1 -0
  112. package/dist/entity-handle-lowering-hook-CIvRKBfa.d.mts +92 -0
  113. package/dist/entity-handle-lowering-hook-CIvRKBfa.d.mts.map +1 -0
  114. package/dist/entity-handle-lowering-hook-DwLIKNiS.mjs +11 -0
  115. package/dist/entity-handle-lowering-hook-DwLIKNiS.mjs.map +1 -0
  116. package/dist/entity-kinds-DKxwKolf-CcsY-iYV.mjs +136 -0
  117. package/dist/entity-kinds-DKxwKolf-CcsY-iYV.mjs.map +1 -0
  118. package/dist/entity-kinds-Dh6VH4uK.d.mts +29 -0
  119. package/dist/entity-kinds-Dh6VH4uK.d.mts.map +1 -0
  120. package/dist/errors-B5g0xWro-mWH2C07F.mjs +9 -0
  121. package/dist/errors-B5g0xWro-mWH2C07F.mjs.map +1 -0
  122. package/dist/errors.d.mts +63 -0
  123. package/dist/errors.d.mts.map +1 -0
  124. package/dist/errors.mjs +2 -0
  125. package/dist/expression-DIf8F4Mc.d.mts +167 -0
  126. package/dist/expression-DIf8F4Mc.d.mts.map +1 -0
  127. package/dist/expression-RUO52bJB.mjs +109 -0
  128. package/dist/expression-RUO52bJB.mjs.map +1 -0
  129. package/dist/factories-B7tA4y9D.d.mts +39 -0
  130. package/dist/factories-B7tA4y9D.d.mts.map +1 -0
  131. package/dist/factories-CDG9zBxC.mjs +77 -0
  132. package/dist/factories-CDG9zBxC.mjs.map +1 -0
  133. package/dist/family.d.mts +13 -0
  134. package/dist/family.mjs +12 -0
  135. package/dist/family__control-adapter.d.mts +3 -0
  136. package/dist/family__control-adapter.mjs +1 -0
  137. package/dist/family__control.d.mts +4 -0
  138. package/dist/family__control.mjs +4 -0
  139. package/dist/family__diff.d.mts +3 -0
  140. package/dist/family__diff.mjs +3 -0
  141. package/dist/family__ir.d.mts +2 -0
  142. package/dist/family__ir.mjs +3 -0
  143. package/dist/family__migration.d.mts +2 -0
  144. package/dist/family__migration.mjs +2 -0
  145. package/dist/family__pack.d.mts +249 -0
  146. package/dist/family__pack.d.mts.map +1 -0
  147. package/dist/family__pack.mjs +18 -0
  148. package/dist/family__pack.mjs.map +1 -0
  149. package/dist/family__psl-infer.d.mts +2 -0
  150. package/dist/family__psl-infer.mjs +2 -0
  151. package/dist/family__runtime.d.mts +3 -0
  152. package/dist/family__runtime.mjs +3 -0
  153. package/dist/family__verify.d.mts +2 -0
  154. package/dist/family__verify.mjs +2 -0
  155. package/dist/foreign-key-BSy9u4O4-BnsOe5Nf.d.mts +85 -0
  156. package/dist/foreign-key-BSy9u4O4-BnsOe5Nf.d.mts.map +1 -0
  157. package/dist/foreign-key-materialization-Ca-wRbmj.d.mts +65 -0
  158. package/dist/foreign-key-materialization-Ca-wRbmj.d.mts.map +1 -0
  159. package/dist/foreign-key-materialization-HI7BIQrG.mjs +72 -0
  160. package/dist/foreign-key-materialization-HI7BIQrG.mjs.map +1 -0
  161. package/dist/index-Bb9U36N4.d.mts +511 -0
  162. package/dist/index-Bb9U36N4.d.mts.map +1 -0
  163. package/dist/index-BgaTJRxj.d.mts +25 -0
  164. package/dist/index-BgaTJRxj.d.mts.map +1 -0
  165. package/dist/index-naming-BZWoh45T.d.mts +62 -0
  166. package/dist/index-naming-BZWoh45T.d.mts.map +1 -0
  167. package/dist/index-naming-BoGBcMmI-DiJAr66H.mjs +108 -0
  168. package/dist/index-naming-BoGBcMmI-DiJAr66H.mjs.map +1 -0
  169. package/dist/index-type-validation-COH4d78M.mjs +17 -0
  170. package/dist/index-type-validation-COH4d78M.mjs.map +1 -0
  171. package/dist/index-type-validation-DN0L2mqm.d.mts +10 -0
  172. package/dist/index-type-validation-DN0L2mqm.d.mts.map +1 -0
  173. package/dist/index-types-CNhHgKHi.d.mts +1 -0
  174. package/dist/index-types-DJQ_xwaE.mjs +40 -0
  175. package/dist/index-types-DJQ_xwaE.mjs.map +1 -0
  176. package/dist/index-types-DPVhsW0v-D-BikM4h.d.mts +31 -0
  177. package/dist/index-types-DPVhsW0v-D-BikM4h.d.mts.map +1 -0
  178. package/dist/interpreter-5WgpL-ax-_nqHLUTr.mjs +3526 -0
  179. package/dist/interpreter-5WgpL-ax-_nqHLUTr.mjs.map +1 -0
  180. package/dist/ir-B3bKMnGQ.d.mts +123 -0
  181. package/dist/ir-B3bKMnGQ.d.mts.map +1 -0
  182. package/dist/ir-I-xciGUH.mjs +36 -0
  183. package/dist/ir-I-xciGUH.mjs.map +1 -0
  184. package/dist/lane-query-builder.d.mts +236 -0
  185. package/dist/lane-query-builder.d.mts.map +1 -0
  186. package/dist/lane-query-builder.mjs +67 -0
  187. package/dist/lane-query-builder.mjs.map +1 -0
  188. package/dist/middleware-B4XbF4d4-tfwBl6mX.d.mts +119 -0
  189. package/dist/middleware-B4XbF4d4-tfwBl6mX.d.mts.map +1 -0
  190. package/dist/middleware-ByRsXxxq.d.mts +1 -0
  191. package/dist/middleware-CMr4CHNz-DHIUdxlm.mjs +80 -0
  192. package/dist/middleware-CMr4CHNz-DHIUdxlm.mjs.map +1 -0
  193. package/dist/migration-CK4oePIo.mjs +44 -0
  194. package/dist/migration-CK4oePIo.mjs.map +1 -0
  195. package/dist/migration-CW0ZJLxP.d.mts +44 -0
  196. package/dist/migration-CW0ZJLxP.d.mts.map +1 -0
  197. package/dist/naming-BwqqVcZy-BgTObIQw.mjs +177 -0
  198. package/dist/naming-BwqqVcZy-BgTObIQw.mjs.map +1 -0
  199. package/dist/naming-jLgdauLi-C84G_UHi.d.mts +133 -0
  200. package/dist/naming-jLgdauLi-C84G_UHi.d.mts.map +1 -0
  201. package/dist/operations.d.mts +2 -0
  202. package/dist/operations.mjs +2 -0
  203. package/dist/orm-client.d.mts +1316 -0
  204. package/dist/orm-client.d.mts.map +1 -0
  205. package/dist/orm-client.mjs +4544 -0
  206. package/dist/orm-client.mjs.map +1 -0
  207. package/dist/pack-types-BcLTpwbv.d.mts +14 -0
  208. package/dist/pack-types-BcLTpwbv.d.mts.map +1 -0
  209. package/dist/plan-BTD8xFfa-Dd_K-A1R.d.mts +45 -0
  210. package/dist/plan-BTD8xFfa-Dd_K-A1R.d.mts.map +1 -0
  211. package/dist/plan-CkpcgUaM.mjs +34 -0
  212. package/dist/plan-CkpcgUaM.mjs.map +1 -0
  213. package/dist/plan-Cm4jaoNM.d.mts +2 -0
  214. package/dist/psl-infer-6je61Z6J.d.mts +119 -0
  215. package/dist/psl-infer-6je61Z6J.d.mts.map +1 -0
  216. package/dist/psl-infer-DGftl-HW.mjs +362 -0
  217. package/dist/psl-infer-DGftl-HW.mjs.map +1 -0
  218. package/dist/query-lane-context-Bz8XJZ45.d.mts +1 -0
  219. package/dist/query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts +94 -0
  220. package/dist/query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts.map +1 -0
  221. package/dist/referential-action-sql-Csd6dA8G.d.mts +12 -0
  222. package/dist/referential-action-sql-Csd6dA8G.d.mts.map +1 -0
  223. package/dist/referential-action-sql-DSqkrySN.mjs +17 -0
  224. package/dist/referential-action-sql-DSqkrySN.mjs.map +1 -0
  225. package/dist/relational-core.d.mts +13 -0
  226. package/dist/relational-core.mjs +8 -0
  227. package/dist/relational-core__ast.d.mts +5 -0
  228. package/dist/relational-core__ast.mjs +5 -0
  229. package/dist/relational-core__codec-descriptor-registry.d.mts +39 -0
  230. package/dist/relational-core__codec-descriptor-registry.d.mts.map +1 -0
  231. package/dist/relational-core__codec-descriptor-registry.mjs +2 -0
  232. package/dist/relational-core__contract-free.d.mts +220 -0
  233. package/dist/relational-core__contract-free.d.mts.map +1 -0
  234. package/dist/relational-core__contract-free.mjs +393 -0
  235. package/dist/relational-core__contract-free.mjs.map +1 -0
  236. package/dist/relational-core__expression.d.mts +2 -0
  237. package/dist/relational-core__expression.mjs +2 -0
  238. package/dist/relational-core__middleware.d.mts +3 -0
  239. package/dist/relational-core__middleware.mjs +2 -0
  240. package/dist/relational-core__plan.d.mts +4 -0
  241. package/dist/relational-core__plan.mjs +2 -0
  242. package/dist/relational-core__query-lane-context.d.mts +3 -0
  243. package/dist/relational-core__query-lane-context.mjs +1 -0
  244. package/dist/relational-core__types.d.mts +3 -0
  245. package/dist/relational-core__types.mjs +1 -0
  246. package/dist/resolve-storage-table-DUwyRJmP.d.mts +21 -0
  247. package/dist/resolve-storage-table-DUwyRJmP.d.mts.map +1 -0
  248. package/dist/resolve-storage-table-DZsfnzeW.mjs +46 -0
  249. package/dist/resolve-storage-table-DZsfnzeW.mjs.map +1 -0
  250. package/dist/runtime-DNewRuec.d.mts +46 -0
  251. package/dist/runtime-DNewRuec.d.mts.map +1 -0
  252. package/dist/runtime-tIHpGCcG.mjs +55 -0
  253. package/dist/runtime-tIHpGCcG.mjs.map +1 -0
  254. package/dist/runtime.d.mts +4 -0
  255. package/dist/runtime.mjs +1606 -0
  256. package/dist/runtime.mjs.map +1 -0
  257. package/dist/schema-differ-DpG_gnur-g5_iks8G.d.mts +47 -0
  258. package/dist/schema-differ-DpG_gnur-g5_iks8G.d.mts.map +1 -0
  259. package/dist/schema-ir.d.mts +2 -0
  260. package/dist/schema-ir.mjs +2 -0
  261. package/dist/schema-ir__naming.d.mts +2 -0
  262. package/dist/schema-ir__naming.mjs +2 -0
  263. package/dist/schema-ir__types.d.mts +3 -0
  264. package/dist/schema-ir__types.mjs +2 -0
  265. package/dist/schema-verify-vtFZbmGq-BNfTr6fU.mjs +222 -0
  266. package/dist/schema-verify-vtFZbmGq-BNfTr6fU.mjs.map +1 -0
  267. package/dist/serialized-index-B96AwqtU-DcqcB4q_.d.mts +26 -0
  268. package/dist/serialized-index-B96AwqtU-DcqcB4q_.d.mts.map +1 -0
  269. package/dist/serialized-index-Dp5_EjXD-DMsw8jf3.mjs +64 -0
  270. package/dist/serialized-index-Dp5_EjXD-DMsw8jf3.mjs.map +1 -0
  271. package/dist/sql-contract-serializer-2oBWuxTe-B9hzBBv1.mjs +171 -0
  272. package/dist/sql-contract-serializer-2oBWuxTe-B9hzBBv1.mjs.map +1 -0
  273. package/dist/sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts +32 -0
  274. package/dist/sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts.map +1 -0
  275. package/dist/sql-index-DsI8HAeK-BJsn-jvD.d.mts +72 -0
  276. package/dist/sql-index-DsI8HAeK-BJsn-jvD.d.mts.map +1 -0
  277. package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts +42 -0
  278. package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts.map +1 -0
  279. package/dist/sql-storage-B0QwiTg6-B8DVctJm.d.mts +171 -0
  280. package/dist/sql-storage-B0QwiTg6-B8DVctJm.d.mts.map +1 -0
  281. package/dist/storage-table-BBaAmanc-BwR37LMA.d.mts +130 -0
  282. package/dist/storage-table-BBaAmanc-BwR37LMA.d.mts.map +1 -0
  283. package/dist/storage-table-_LWDmPfv-DFhU2dML.mjs +277 -0
  284. package/dist/storage-table-_LWDmPfv-DFhU2dML.mjs.map +1 -0
  285. package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts +41 -0
  286. package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts.map +1 -0
  287. package/dist/timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs +173 -0
  288. package/dist/timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs.map +1 -0
  289. package/dist/types-BchwQpmO.d.mts +16 -0
  290. package/dist/types-BchwQpmO.d.mts.map +1 -0
  291. package/dist/types-BgkZru_1-H7yfikSQ.mjs +1444 -0
  292. package/dist/types-BgkZru_1-H7yfikSQ.mjs.map +1 -0
  293. package/dist/types-CMMQS6aG.mjs +111 -0
  294. package/dist/types-CMMQS6aG.mjs.map +1 -0
  295. package/dist/types-CuDrWc5v-ISVXBmBs.d.mts +134 -0
  296. package/dist/types-CuDrWc5v-ISVXBmBs.d.mts.map +1 -0
  297. package/dist/types-CvbBw1Jo-3KQdErJY.d.mts +688 -0
  298. package/dist/types-CvbBw1Jo-3KQdErJY.d.mts.map +1 -0
  299. package/dist/types-DIBA80mc-wf5wLmON.d.mts +723 -0
  300. package/dist/types-DIBA80mc-wf5wLmON.d.mts.map +1 -0
  301. package/dist/types-DMxc5KZa.d.mts +1 -0
  302. package/dist/types-Dl20lxky-DC_jdA0T.d.mts +247 -0
  303. package/dist/types-Dl20lxky-DC_jdA0T.d.mts.map +1 -0
  304. package/dist/types-DmhUVq4u-BpqqjPJx.mjs +719 -0
  305. package/dist/types-DmhUVq4u-BpqqjPJx.mjs.map +1 -0
  306. package/dist/types-IqZMLrFC-DtdJNICr.d.mts +426 -0
  307. package/dist/types-IqZMLrFC-DtdJNICr.d.mts.map +1 -0
  308. package/dist/types-TvBZ2Ne9.d.mts +1 -0
  309. package/dist/unique-constraint-jQWfH7dg-zLWtFp99.d.mts +32 -0
  310. package/dist/unique-constraint-jQWfH7dg-zLWtFp99.d.mts.map +1 -0
  311. package/dist/util-DQQgv2j1-D6INZaRG.mjs +34 -0
  312. package/dist/util-DQQgv2j1-D6INZaRG.mjs.map +1 -0
  313. package/dist/validators-C4PItWnf.mjs +0 -0
  314. package/dist/validators-C4PItWnf.mjs.map +1 -0
  315. package/dist/validators-CxeHhHrf.d.mts +206 -0
  316. package/dist/validators-CxeHhHrf.d.mts.map +1 -0
  317. package/dist/value-set-derivation-hook-BhgGVtw0.d.mts +35 -0
  318. package/dist/value-set-derivation-hook-BhgGVtw0.d.mts.map +1 -0
  319. package/dist/value-set-derivation-hook-Di9JZ0X7.mjs +22 -0
  320. package/dist/value-set-derivation-hook-Di9JZ0X7.mjs.map +1 -0
  321. package/dist/verify-E6Dd2vYp-gYwnlhLm.mjs +86 -0
  322. package/dist/verify-E6Dd2vYp-gYwnlhLm.mjs.map +1 -0
  323. package/dist/verify-zDRnw0Rn.d.mts +26 -0
  324. package/dist/verify-zDRnw0Rn.d.mts.map +1 -0
  325. package/package.json +112 -0
@@ -0,0 +1,123 @@
1
+ import { c as SqlStorage, s as SqlNamespaceInput, u as SqlStorageTypeEntry } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
2
+ import "./types-BchwQpmO.mjs";
3
+ import { AnyEntityKindDescriptor, Namespace } from "@prisma/orm-framework/components/ir";
4
+ import { Contract } from "@prisma/orm-framework/contract/types";
5
+ import { ContractSerializer, SchemaDiffIssue, SchemaVerifier, SchemaVerifyOptions, SchemaVerifyResult } from "@prisma/orm-framework/components/control";
6
+ import { JsonObject } from "@prisma/orm-framework/utils/json";
7
+ //#region ../../../2-sql/9-family/dist/ir.d.mts
8
+ //#region src/core/ir/sql-contract-serializer-base.d.ts
9
+ type SqlEntityHydrationFactory = (entry: unknown) => unknown;
10
+ /**
11
+ * SQL family `ContractSerializer` abstract base. Carries the SQL-shared
12
+ * deserialization pipeline:
13
+ *
14
+ * 1. `parseSqlContractStructure` validates the on-disk JSON envelope
15
+ * against the SQL contract arktype schema (`validateSqlContractFully`)
16
+ * and returns the validated flat-data shape.
17
+ * 2. `hydrateSqlStorage` walks the validated `storage` subtree and
18
+ * constructs the family-shared SQL Contract IR class hierarchy
19
+ * (`SqlStorage` -> `StorageTable` -> `StorageColumn` / `PrimaryKey`
20
+ * / …). The rest of the contract envelope is JSON-clean primitive
21
+ * data and passes through unchanged.
22
+ * 3. `constructTargetContract` is the target-specific extension hook;
23
+ * defaults to identity. Targets that need to attach target-only
24
+ * fields (e.g. target-specific derived storage fields) override it.
25
+ *
26
+ * Default `serializeContract` is identity over the contract — concrete
27
+ * SQL targets ship JSON-clean class instances, so the contract value
28
+ * can be stringified directly. The non-enumerable family-level `kind`
29
+ * discriminator on `SqlNode` instances stays out of the persisted
30
+ * envelope automatically. Targets that need to canonicalize on the way
31
+ * out (key ordering, dropping computed-only fields) override
32
+ * `serializeContract` directly.
33
+ */
34
+ declare abstract class SqlContractSerializerBase<TContract extends Contract<SqlStorage>> implements ContractSerializer<TContract> {
35
+ protected readonly entityHydrationRegistry: ReadonlyMap<string, SqlEntityHydrationFactory>;
36
+ private readonly contractSchema;
37
+ private readonly entryKinds;
38
+ constructor(entityHydrationRegistry?: ReadonlyMap<string, SqlEntityHydrationFactory>, packEntityKinds?: readonly AnyEntityKindDescriptor[]);
39
+ deserializeContract<T extends TContract = TContract>(json: unknown): T;
40
+ serializeContract(contract: TContract): JsonObject;
41
+ shouldPreserveEmpty: import("@prisma/orm-framework/contract/hashing").PreserveEmptyPredicate;
42
+ sortStorage: import("@prisma/orm-framework/contract/hashing").StorageSort;
43
+ protected parseSqlContractStructure(json: unknown): Contract<SqlStorage>;
44
+ protected hydrateSqlStorage(validated: Contract<SqlStorage>): Contract<SqlStorage>;
45
+ protected hydrateSqlNamespaceMap(namespaces: Readonly<Record<string, Record<string, unknown>>>): Readonly<Record<string, Namespace>>;
46
+ protected hydrateSqlNamespaceEntry(nsId: string, raw: Record<string, unknown>): Namespace | SqlNamespaceInput;
47
+ protected hydrateStorageTypeEntry(entry: SqlStorageTypeEntry): SqlStorageTypeEntry;
48
+ protected constructTargetContract(hydrated: Contract<SqlStorage>): TContract;
49
+ /**
50
+ * Serializes a namespace's `entries` dict by walking every enumerable
51
+ * kind — no kind is named here, mirroring the generic hydrate walk in
52
+ * `hydrateSqlNamespaceEntry` above. `table` is the SQL family's one
53
+ * universal base kind (every namespace carries it), so it is always
54
+ * emitted, even when empty; every other kind — target- or
55
+ * pack-contributed — is emitted only when it holds at least one entry.
56
+ * A kind carried non-enumerable on `entries` is excluded here for free,
57
+ * since `Object.entries` honors enumerability.
58
+ */
59
+ protected serializeNamespaceEntries(entries: Readonly<Record<string, Readonly<Record<string, unknown>>>>): Record<string, Record<string, JsonObject>>;
60
+ private serializeEntries;
61
+ protected serializeJsonObject(value: unknown): JsonObject;
62
+ private serializeJsonValue;
63
+ }
64
+ //#endregion
65
+ //#region src/core/ir/sql-contract-serializer.d.ts
66
+ /**
67
+ * Default SQL family `ContractSerializer` concretion. Inherits the
68
+ * full SQL-shared deserialization pipeline (structural validation +
69
+ * IR-class hydration) without pack-registered `storage.types`
70
+ * hydration factories — targets that emit polymorphic JSON outside the
71
+ * codec-typed envelope wire a target-specific subclass with a populated
72
+ * registry (see Postgres). Family-level call sites instantiate this
73
+ * default directly when no target serializer is supplied.
74
+ *
75
+ * Because this serializer has no target concretion, deserialization of
76
+ * contracts that include namespace entries from JSON will throw unless
77
+ * the caller provides pre-hydrated `NamespaceBase` instances. Production
78
+ * paths always supply a target-specific serializer.
79
+ */
80
+ declare class SqlContractSerializer extends SqlContractSerializerBase<Contract<SqlStorage>> {
81
+ constructor();
82
+ }
83
+ //#endregion
84
+ //#region src/core/ir/sql-schema-verifier-base.d.ts
85
+ /**
86
+ * SQL family `SchemaVerifier` abstract base. Centralises the SQL-shared
87
+ * walk (table-by-table + column-by-column matching keyed by
88
+ * `(namespace.id, name)`, FK / unique / index comparisons via the
89
+ * shared satisfaction helpers in `sql-schema-diff.ts`) and exposes a protected hook
90
+ * for target extensions (Postgres functions, RLS policies, future
91
+ * target-only kinds).
92
+ *
93
+ * The base accumulates issues in a single buffer and returns the
94
+ * combined result; the per-SPI family abstract handles the result
95
+ * envelope shape so concrete subclasses focus on target-specific
96
+ * verification logic.
97
+ *
98
+ * The protected hooks (`verifyCommonSqlSchema`,
99
+ * `verifyTargetExtensions`) carry the stable base API that target
100
+ * subclasses (`PostgresSchemaVerifier`, `SqliteSchemaVerifier`)
101
+ * compile against; the SQL-shared walk implementation will be lifted
102
+ * into this base when the verifier behaviour migrates off the
103
+ * legacy adapter shells.
104
+ */
105
+ declare abstract class SqlSchemaVerifierBase<TContract, TSchema> implements SchemaVerifier<TContract, TSchema> {
106
+ verifySchema(options: SchemaVerifyOptions<TContract, TSchema>): SchemaVerifyResult;
107
+ /**
108
+ * SQL-shared verification — table/column/FK/unique/index walks keyed
109
+ * by `(namespace.id, name)`. Concrete subclasses provide the
110
+ * family-shared implementation today; a future iteration will lift
111
+ * the shared walk into this base.
112
+ */
113
+ protected abstract verifyCommonSqlSchema(options: SchemaVerifyOptions<TContract, TSchema>): readonly SchemaDiffIssue[];
114
+ /**
115
+ * Target-specific extensions — e.g. Postgres functions, future RLS
116
+ * policies, namespace-mismatch issues. Returns the empty list when the
117
+ * target ships no extensions over the SQL family alphabet.
118
+ */
119
+ protected abstract verifyTargetExtensions(options: SchemaVerifyOptions<TContract, TSchema>): readonly SchemaDiffIssue[];
120
+ }
121
+ //#endregion
122
+ export { SqlSchemaVerifierBase as i, SqlContractSerializerBase as n, SqlEntityHydrationFactory as r, SqlContractSerializer as t };
123
+ //# sourceMappingURL=ir-B3bKMnGQ.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ir-B3bKMnGQ.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/ir.d.mts"],"mappings":";;;;;;;;KAMK,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;uBAyBX,0BAA0B,kBAAkB,SAAS,wBAAwB,mBAAmB;qBAClG,yBAAyB,oBAAoB;mBAC/C;mBACA;EACjB,YAAY,0BAA0B,oBAAoB,4BAA4B,2BAA2B;EACjH,oBAAoB,UAAU,YAAY,WAAW,gBAAgB;EACrE,kBAAkB,UAAU,YAAY;EACxC,0DAA0D;EAC1D,kDAAkD;YACxC,0BAA0B,gBAAgB,SAAS;YACnD,kBAAkB,WAAW,SAAS,cAAc,SAAS;YAC7D,uBAAuB,YAAY,SAAS,eAAe,4BAA4B,SAAS,eAAe;YAC/G,yBAAyB,cAAc,KAAK,0BAA0B,YAAY;YAClF,wBAAwB,OAAO,sBAAsB;YACrD,wBAAwB,UAAU,SAAS,cAAc;;;;;;;;;;;YAWzD,0BAA0B,SAAS,SAAS,eAAe,SAAS,6BAA6B,eAAe,eAAe;UACjI;YACE,oBAAoB,iBAAiB;UACvC;;;;;;;;;;;;;;;;;;cAkBI,8BAA8B,0BAA0B,SAAS;EAC7E;;;;;;;;;;;;;;;;;;;;;;;;uBAwBqB,sBAAsB,WAAW,oBAAoB,eAAe,WAAW;EACpG,aAAa,SAAS,oBAAoB,WAAW,WAAW;;;;;;;qBAO7C,sBAAsB,SAAS,oBAAoB,WAAW,oBAAoB;;;;;;qBAMlF,uBAAuB,SAAS,oBAAoB,WAAW,oBAAoB"}
@@ -0,0 +1,36 @@
1
+ //#region ../../../2-sql/9-family/dist/ir.mjs
2
+ /**
3
+ * SQL family `SchemaVerifier` abstract base. Centralises the SQL-shared
4
+ * walk (table-by-table + column-by-column matching keyed by
5
+ * `(namespace.id, name)`, FK / unique / index comparisons via the
6
+ * shared satisfaction helpers in `sql-schema-diff.ts`) and exposes a protected hook
7
+ * for target extensions (Postgres functions, RLS policies, future
8
+ * target-only kinds).
9
+ *
10
+ * The base accumulates issues in a single buffer and returns the
11
+ * combined result; the per-SPI family abstract handles the result
12
+ * envelope shape so concrete subclasses focus on target-specific
13
+ * verification logic.
14
+ *
15
+ * The protected hooks (`verifyCommonSqlSchema`,
16
+ * `verifyTargetExtensions`) carry the stable base API that target
17
+ * subclasses (`PostgresSchemaVerifier`, `SqliteSchemaVerifier`)
18
+ * compile against; the SQL-shared walk implementation will be lifted
19
+ * into this base when the verifier behaviour migrates off the
20
+ * legacy adapter shells.
21
+ */
22
+ var SqlSchemaVerifierBase = class {
23
+ verifySchema(options) {
24
+ const issues = [];
25
+ issues.push(...this.verifyCommonSqlSchema(options));
26
+ issues.push(...this.verifyTargetExtensions(options));
27
+ return {
28
+ ok: issues.length === 0,
29
+ issues
30
+ };
31
+ }
32
+ };
33
+ //#endregion
34
+ export { SqlSchemaVerifierBase as t };
35
+
36
+ //# sourceMappingURL=ir-I-xciGUH.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ir-I-xciGUH.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/ir.mjs"],"sourcesContent":["import { n as SqlContractSerializerBase, t as SqlContractSerializer } from \"./sql-contract-serializer-2oBWuxTe.mjs\";\n//#region src/core/ir/sql-schema-verifier-base.ts\n/**\n* SQL family `SchemaVerifier` abstract base. Centralises the SQL-shared\n* walk (table-by-table + column-by-column matching keyed by\n* `(namespace.id, name)`, FK / unique / index comparisons via the\n* shared satisfaction helpers in `sql-schema-diff.ts`) and exposes a protected hook\n* for target extensions (Postgres functions, RLS policies, future\n* target-only kinds).\n*\n* The base accumulates issues in a single buffer and returns the\n* combined result; the per-SPI family abstract handles the result\n* envelope shape so concrete subclasses focus on target-specific\n* verification logic.\n*\n* The protected hooks (`verifyCommonSqlSchema`,\n* `verifyTargetExtensions`) carry the stable base API that target\n* subclasses (`PostgresSchemaVerifier`, `SqliteSchemaVerifier`)\n* compile against; the SQL-shared walk implementation will be lifted\n* into this base when the verifier behaviour migrates off the\n* legacy adapter shells.\n*/\nvar SqlSchemaVerifierBase = class {\n\tverifySchema(options) {\n\t\tconst issues = [];\n\t\tissues.push(...this.verifyCommonSqlSchema(options));\n\t\tissues.push(...this.verifyTargetExtensions(options));\n\t\treturn {\n\t\t\tok: issues.length === 0,\n\t\t\tissues\n\t\t};\n\t}\n};\n//#endregion\nexport { SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase };\n\n//# sourceMappingURL=ir.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsBA,IAAI,wBAAwB,MAAM;CACjC,aAAa,SAAS;EACrB,MAAM,SAAS,CAAC;EAChB,OAAO,KAAK,GAAG,KAAK,sBAAsB,OAAO,CAAC;EAClD,OAAO,KAAK,GAAG,KAAK,uBAAuB,OAAO,CAAC;EACnD,OAAO;GACN,IAAI,OAAO,WAAW;GACtB;EACD;CACD;AACD"}
@@ -0,0 +1,236 @@
1
+ import { a as StorageTable } from "./storage-table-BBaAmanc-BwR37LMA.mjs";
2
+ import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
3
+ import { u as ExtractStorageColumnTypes } from "./types-CuDrWc5v-ISVXBmBs.mjs";
4
+ import { n as StorageColumnTypeAcrossNamespaces } from "./types-BchwQpmO.mjs";
5
+ import { Brand, Contract, StorageHashBase } from "@prisma/orm-framework/contract/types";
6
+ import "@standard-schema/spec";
7
+ //#region ../../../2-sql/4-lanes/query-builder/dist/index.d.mts
8
+ //#region src/type-errors.d.ts
9
+ /**
10
+ * An error message type, prefixed with `[error]`.
11
+ *
12
+ * @template TMessage The error message.
13
+ */
14
+ type ErrorMessage = `[error] ${string}`;
15
+ /**
16
+ * An error type indicating that the previous function call had bad input.
17
+ * To be used as a return type.
18
+ *
19
+ * @template TMessage The error message.
20
+ */
21
+ type PreviousFunctionReceivedBadInputError<TMessage extends ErrorMessage> = Brand<TMessage>;
22
+ //#endregion
23
+ //#region src/column-reference.d.ts
24
+ /**
25
+ * An object representing a reference to a column in a table in the database.
26
+ *
27
+ * @template TColumnName The name of the column.
28
+ * @template TTableName The name of the table this column belongs to.
29
+ * @template THash The contract storage hash belonging to the database this column is in.
30
+ */
31
+ type ColumnReference<TColumnName extends string = string, TTableName extends string = string, THash extends StorageHashBase<string> = StorageHashBase<string>> = {
32
+ readonly '~name': TColumnName;
33
+ readonly '~table': TTableName;
34
+ } & Brand<'[info] this column reference belongs to the following table reference:', `${TTableName}@${THash}`>;
35
+ /**
36
+ * An error type indicating that the provided column reference is out of the contract's scope.
37
+ * To be used in reference creators, e.g. `createRef()`.
38
+ *
39
+ * @template TMessage The error message.
40
+ */
41
+ type ColumnReferenceOutOfContractError<TMessage extends ErrorMessage> = Brand<TMessage>;
42
+ /**
43
+ * A type representing a reference to all columns in the current query context.
44
+ */
45
+ type Asterisk = {
46
+ readonly '~name': '*';
47
+ readonly '~table': null;
48
+ } & Brand<'[info] referencing all columns in the current query context'>;
49
+ /**
50
+ * A type representing a reference to all columns in a specific table.
51
+ *
52
+ * @template TTableName The name of the table whose columns are being referenced.
53
+ * @template THash The contract storage hash belonging to the database this column is in.
54
+ */
55
+ type TableAsterisk<TTableName extends string = string, THash extends StorageHashBase<string> = StorageHashBase<string>> = {
56
+ readonly '~name': '*';
57
+ readonly '~table': TTableName;
58
+ } & Brand<'[info] referencing all columns that belong to the following table reference:', `${TTableName}@${THash}`>;
59
+ //#endregion
60
+ //#region ../sql-builder/dist/db-DhMsmBS-.d.mts
61
+ //#endregion
62
+ //#region src/types/db.d.ts
63
+ type CapabilitiesBase = Record<string, Record<string, boolean>>;
64
+ type NamespaceEntries = Readonly<Record<string, Readonly<Record<string, unknown>>>>;
65
+ type NamespaceDomain = Readonly<Record<string, {
66
+ readonly models: Readonly<Record<string, unknown>>;
67
+ }>>;
68
+ type TableProxyContract = {
69
+ readonly domain: {
70
+ readonly namespaces: NamespaceDomain;
71
+ };
72
+ readonly storage: {
73
+ readonly namespaces: Readonly<Record<string, {
74
+ readonly entries: NamespaceEntries;
75
+ }>>;
76
+ };
77
+ readonly capabilities: CapabilitiesBase;
78
+ };
79
+ type TablesInNamespace<NS extends {
80
+ readonly entries: NamespaceEntries;
81
+ }> = NS['entries']['table'] extends Readonly<Record<string, StorageTable>> ? NS['entries']['table'] : Readonly<Record<string, StorageTable>>;
82
+ type UnboundTables$1<C extends TableProxyContract> = { readonly [Name in TableNamesAcrossNamespaces<C>]: TableInAnyNamespace<C, Name>; };
83
+ type TableNamesAcrossNamespaces<C extends TableProxyContract> = { [NSId in keyof C['storage']['namespaces']]: keyof TablesInNamespace<C['storage']['namespaces'][NSId]> & string; }[keyof C['storage']['namespaces']];
84
+ type TableInAnyNamespace<C extends TableProxyContract, Name extends string> = { [NSId in keyof C['storage']['namespaces']]: Name extends keyof TablesInNamespace<C['storage']['namespaces'][NSId]> ? TablesInNamespace<C['storage']['namespaces'][NSId]>[Name] : never; }[keyof C['storage']['namespaces']];
85
+ //#endregion
86
+ //#region src/type-atoms.d.ts
87
+ /**
88
+ * A utility type to drain outer generics from a type. A compiler micro-optimization.
89
+ *
90
+ * @template TThing The type to drain.
91
+ */
92
+ type DrainOuterGeneric<TThing> = [TThing] extends [unknown] ? TThing : never;
93
+ /**
94
+ * A utility type to ensure that exactly one property of an object type is present.
95
+ *
96
+ * @template TObject The object type to check.
97
+ */
98
+ type ExactlyOneProperty<TObject extends object> = { [K in keyof TObject]-?: IsNever<Exclude<keyof TObject, K>>; }[keyof TObject];
99
+ /**
100
+ * A utility type to merge two objects.
101
+ *
102
+ * @template TObject0 The first object.
103
+ * @template TObject1 The second object.
104
+ */
105
+ type MergeObjects<TObject0 extends object, TObject1 extends object> = DrainOuterGeneric<IsNever<TObject0> extends true ? TObject1 : { readonly [K in keyof TObject0 | keyof TObject1]: K extends keyof TObject1 ? TObject1[K] : K extends keyof TObject0 ? TObject0[K] : never; }>;
106
+ /**
107
+ * A utility type to determine if a type is `never`.
108
+ *
109
+ * @template TThing The type to check.
110
+ */
111
+ type IsNever<TThing> = [TThing] extends [never] ? true : false;
112
+ /**
113
+ * A utility type to simplify an object type for better readability.
114
+ *
115
+ * @template TObject The object type to simplify.
116
+ */
117
+ type Simplify<TObject extends object> = DrainOuterGeneric<{ [K in keyof TObject]: TObject[K]; } & {}>;
118
+ //#endregion
119
+ //#region src/selection.d.ts
120
+ type UnboundTables<TContract extends Contract<SqlStorage>> = UnboundTables$1<TContract & TableProxyContract>;
121
+ type ExtractOutputType<TContract extends Contract<SqlStorage>, TTableName extends keyof UnboundTables<TContract> & string, TColumnName extends keyof UnboundTables<TContract>[TTableName]['columns'] & string> = StorageColumnTypeAcrossNamespaces<ExtractStorageColumnTypes<TContract>, TTableName, TColumnName>;
122
+ /**
123
+ * A type representing a selection of columns in a SQL `select` query in the
124
+ * most generic form.
125
+ */
126
+ type Selection = Record<string, SelectionValue<unknown, unknown>>;
127
+ /**
128
+ * A type representing the value of a selected column in a SQL `select` query.
129
+ *
130
+ * @template TOutput The output type of the selected column.
131
+ * @template TDatatype The database-side datatype of the selected column.
132
+ */
133
+ interface SelectionValue<TOutput, TDatatype extends string | unknown = unknown> {
134
+ readonly '~datatype': TDatatype;
135
+ readonly '~output': TOutput;
136
+ }
137
+ /**
138
+ * A utility type to convert a table's columns into a {@link Selection}.
139
+ *
140
+ * @template TContract The contract that describes the database.
141
+ * @template TTableName The name of the table whose columns will be included in the selection.
142
+ */
143
+ type TableToSelection<TContract extends Contract<SqlStorage>, TTableName extends keyof UnboundTables<TContract> & string> = DrainOuterGeneric<{ readonly [ColumnName in keyof UnboundTables<TContract>[TTableName]['columns'] & string]: SelectionValue<ExtractOutputType<TContract, TTableName, ColumnName>, UnboundTables<TContract>[TTableName]['columns'][ColumnName]['nativeType']>; }>;
144
+ //#endregion
145
+ //#region src/table-reference.d.ts
146
+ /**
147
+ * An object representing a reference to a table in the database.
148
+ *
149
+ * @template TName The name of the table. `string` is all tables, a union of string literals is a set of specific tables, a single string literal is a specific table.
150
+ * @template THash The contract storage hash belonging to the database this table is in.
151
+ */
152
+ type TableReference<TName extends string = string, THash extends StorageHashBase<string> = StorageHashBase<string>> = {
153
+ readonly '~name': TName;
154
+ } & Brand<'[info] this table reference belongs to the contract with the following storage hash:', THash>;
155
+ /**
156
+ * An error type indicating that the provided table reference is out of the contract's scope.
157
+ * To be used in reference creators, e.g. `createRef()`.
158
+ *
159
+ * @template TMessage The error message.
160
+ */
161
+ type TableReferenceOutOfContractError<TMessage extends ErrorMessage> = Brand<TMessage>;
162
+ /**
163
+ * An error type indicating that the provided table reference is too wide.
164
+ * To be used as a `never` alternative in conditional types.
165
+ *
166
+ * @template TMessage The error message.
167
+ */
168
+ type TableReferenceTooWideError<TMessage extends ErrorMessage> = Brand<TMessage>;
169
+ //#endregion
170
+ //#region src/ref.d.ts
171
+ /**
172
+ * A fluent API representing references to tables and columns in a SQL contract.
173
+ *
174
+ * @template TContract The contract that describes the database.
175
+ */
176
+ type Ref<TContract extends Contract<SqlStorage>> = { readonly [TableName in keyof UnboundTables<TContract> & string]: TableReference<TableName, TContract['storage']['storageHash']> & { readonly [ColumnName in Exclude<keyof UnboundTables<TContract>[TableName]['columns'], keyof TableReference> & string]: ColumnReference<ColumnName, TableName, TContract['storage']['storageHash']>; } & {
177
+ readonly ['*']: TableAsterisk<TableName, TContract['storage']['storageHash']>;
178
+ } & Record<PropertyKey, ColumnReferenceOutOfContractError<`[error] reference to a non-existing column in the '${TableName}' table`>>; } & {
179
+ readonly ['*']: Asterisk;
180
+ } & Record<PropertyKey, TableReferenceOutOfContractError<`[error] reference to a non-existing table in the contract`>>;
181
+ /**
182
+ * Creates a reference object for the given SQL contract.
183
+ *
184
+ * @template TContract The contract that describes the database.
185
+ */
186
+ declare function createRef<TContract extends Contract<SqlStorage>>(_contract: TContract): Ref<TContract>;
187
+ //#endregion
188
+ //#region src/select-builder.d.ts
189
+ /**
190
+ * A builder for SQL `select` queries.
191
+ *
192
+ * @template TContract The contract that describes the database.
193
+ * @template TTables The tables involved in the current `select` query.
194
+ * @template TSelection The current selection of the `select` query.
195
+ */
196
+ declare class SelectBuilder<TContract extends Contract<SqlStorage>, TTables extends UnboundTables<Contract<SqlStorage>>, TSelection extends Selection = never> {
197
+ #private;
198
+ constructor(contract: TContract);
199
+ select(asterisk: Asterisk): ExactlyOneProperty<TTables> extends true ? SelectBuilder<TContract, TTables, MergeObjects<TSelection, TableToSelection<TContract, keyof TTables & string>>> : PreviousFunctionReceivedBadInputError<'[error] selecting all columns via `*` results in ambiguity when multiple tables are involved in the query'>;
200
+ select<TTableName extends keyof TTables & string>(asterisk: TableAsterisk<TTableName, TContract['storage']['storageHash']>): SelectBuilder<TContract, TTables, MergeObjects<TSelection, TableToSelection<TContract, TTableName>>>;
201
+ select(arg: never): PreviousFunctionReceivedBadInputError<'[error] invalid input in previous `select()` call'>;
202
+ build(): IsNever<TSelection> extends true ? never : Simplify<TSelection>;
203
+ }
204
+ //#endregion
205
+ //#region src/root.d.ts
206
+ /**
207
+ * The root of all builder.
208
+ *
209
+ * @template TContract The contract that describes the database.
210
+ */
211
+ declare class Root<TContract extends Contract<SqlStorage>> {
212
+ #private;
213
+ constructor(contract: TContract);
214
+ /**
215
+ * SQL's `from` clause, where all `select` queries actually start from.
216
+ *
217
+ * @param table The table to select from.
218
+ */
219
+ from(table: TableReference<never>): PreviousFunctionReceivedBadInputError<'[error] invalid table reference in previous `root.from()` call will probably cause runtime errors'>;
220
+ /**
221
+ * @template TName The name of the table to select from.
222
+ */
223
+ from<TName extends string>(table: string extends TName ? TableReferenceTooWideError<'[error] `root.from()` call received a table reference without a specific table name'> : TableReference<TName, TContract['storage']['storageHash']>): TName extends string ? SelectBuilder<TContract, Pick<UnboundTables<TContract>, TName>> : PreviousFunctionReceivedBadInputError<'[error] invalid table reference in previous `root.from()` call will probably cause runtime errors'>;
224
+ from(table: TableReferenceTooWideError<'[error] `root.from()` call received a table reference without a specific table name'>): PreviousFunctionReceivedBadInputError<'[error] invalid table reference in previous `root.from()` call will probably cause runtime errors'>;
225
+ }
226
+ /**
227
+ * Creates a new `Root` instance.
228
+ */
229
+ declare function createRoot(contract: never): PreviousFunctionReceivedBadInputError<'[error] root creation will likely fail at runtime given the passed contract is not valid or verified'>;
230
+ /**
231
+ * @template TContract The contract that describes the database.
232
+ */
233
+ declare function createRoot<TContract extends Contract<SqlStorage>>(contract: TContract): Root<TContract>;
234
+ //#endregion
235
+ export { type Asterisk, type ColumnReference, type ColumnReferenceOutOfContractError, type DrainOuterGeneric, type ErrorMessage, type ExactlyOneProperty, type ExtractOutputType, type IsNever, type MergeObjects, type PreviousFunctionReceivedBadInputError, type Ref, type Root, type SelectBuilder, type Selection, type SelectionValue, type Simplify, type TableAsterisk, type TableReference, type TableReferenceOutOfContractError, type TableReferenceTooWideError, type TableToSelection, createRef, createRoot };
236
+ //# sourceMappingURL=lane-query-builder.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lane-query-builder.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/query-builder/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;KASK;;;;;;;KAOA,sCAAsC,iBAAiB,gBAAgB,MAAM;;;;;;;;;;KAU7E,gBAAgB,qCAAqC,oCAAoC,cAAc,0BAA0B;WAC3H,SAAS;WACT,UAAU;IACjB,mFAAmF,cAAc;;;;;;;KAOhG,kCAAkC,iBAAiB,gBAAgB,MAAM;;;;KAIzE;WACM;WACA;IACP;;;;;;;KAOC,cAAc,oCAAoC,cAAc,0BAA0B;WACpF;WACA,UAAU;IACjB,yFAAyF,cAAc;;;;;KAKtG,mBAAmB,eAAe;KAClC,mBAAmB,SAAS,eAAe,SAAS;KACpD,kBAAkB,SAAS;WACrB,QAAQ,SAAS;;KAEvB;WACM;aACE,YAAY;;WAEd;aACE,YAAY,SAAS;eACnB,SAAS;;;WAGb,cAAc;;KAEpB,kBAAkB;WACZ,SAAS;KACf,+BAA+B,SAAS,eAAe,iBAAiB,yBAAyB,SAAS,eAAe;KACzH,gBAAgB,UAAU,kCAAkC,QAAQ,2BAA2B,KAAK,oBAAoB,GAAG;KAC3H,2BAA2B,UAAU,yBAAyB,cAAc,mCAAmC,kBAAkB,2BAA2B,yBAAyB;KACrL,oBAAoB,UAAU,oBAAoB,0BAA0B,cAAc,6BAA6B,mBAAmB,kBAAkB,2BAA2B,SAAS,kBAAkB,2BAA2B,OAAO,uBAAuB;;;;;;;;KAQ3Q,kBAAkB,WAAW,4BAA4B;;;;;;KAMzD,mBAAmB,6BAA6B,WAAW,YAAY,QAAQ,cAAc,SAAS,aAAa;;;;;;;KAOnH,aAAa,yBAAyB,2BAA2B,kBAAkB,QAAQ,yBAAyB,uBAAuB,WAAW,iBAAiB,WAAW,gBAAgB,WAAW,SAAS,KAAK,gBAAgB,WAAW,SAAS;;;;;;KAM/P,QAAQ,WAAW;;;;;;KAMnB,SAAS,0BAA0B,qBAAqB,WAAW,UAAU,QAAQ;;;KAGrF,cAAc,kBAAkB,SAAS,eAAe,gBAAgB,YAAY;KACpF,kBAAkB,kBAAkB,SAAS,aAAa,yBAAyB,cAAc,qBAAqB,0BAA0B,cAAc,WAAW,mCAAmC,kCAAkC,0BAA0B,YAAY,YAAY;;;;;KAKhS,YAAY,eAAe;;;;;;;UAOtB,eAAe,SAAS;WACvB,aAAa;WACb,WAAW;;;;;;;;KAQjB,iBAAiB,kBAAkB,SAAS,aAAa,yBAAyB,cAAc,uBAAuB,8BAA8B,oBAAoB,cAAc,WAAW,kCAAkC,eAAe,kBAAkB,WAAW,YAAY,aAAa,cAAc,WAAW,uBAAuB;;;;;;;;;KASzV,eAAe,+BAA+B,cAAc,0BAA0B;WAChF,SAAS;IAChB,8FAA8F;;;;;;;KAO7F,iCAAiC,iBAAiB,gBAAgB,MAAM;;;;;;;KAOxE,2BAA2B,iBAAiB,gBAAgB,MAAM;;;;;;;;KAQlE,IAAI,kBAAkB,SAAS,2BAA2B,mBAAmB,cAAc,sBAAsB,eAAe,WAAW,mDAAmD,cAAc,cAAc,cAAc,WAAW,6BAA6B,2BAA2B,gBAAgB,YAAY,WAAW;YAC3U,MAAM,cAAc,WAAW;IACvC,OAAO,aAAa,wFAAwF;YACpG,MAAM;IACd,OAAO,aAAa;;;;;;iBAMP,UAAU,kBAAkB,SAAS,aAAa,WAAW,YAAY,IAAI;;;;;;;;;;cAUhF,cAAc,kBAAkB,SAAS,aAAa,gBAAgB,cAAc,SAAS,cAAc,mBAAmB;;EAE1I,YAAY,UAAU;EACtB,OAAO,UAAU,WAAW,mBAAmB,wBAAwB,cAAc,WAAW,SAAS,aAAa,YAAY,iBAAiB,iBAAiB,sBAAsB;EAC1L,OAAO,yBAAyB,kBAAkB,UAAU,cAAc,YAAY,uCAAuC,cAAc,WAAW,SAAS,aAAa,YAAY,iBAAiB,WAAW;EACpN,OAAO,aAAa;EACpB,SAAS,QAAQ,mCAAmC,SAAS;;;;;;;;;cASjD,KAAK,kBAAkB,SAAS;;EAE5C,YAAY,UAAU;;;;;;EAMtB,KAAK,OAAO,wBAAwB;;;;EAIpC,KAAK,sBAAsB,sBAAsB,QAAQ,oHAAoH,eAAe,OAAO,uCAAuC,uBAAuB,cAAc,WAAW,KAAK,cAAc,YAAY,UAAU;EACnU,KAAK,OAAO,oHAAoH;;;;;iBAKjH,WAAW,kBAAkB;;;;iBAI7B,WAAW,kBAAkB,SAAS,aAAa,UAAU,YAAY,KAAK"}
@@ -0,0 +1,67 @@
1
+ //#region ../../../2-sql/4-lanes/query-builder/dist/index.mjs
2
+ /**
3
+ * Creates a reference object for the given SQL contract.
4
+ *
5
+ * @template TContract The contract that describes the database.
6
+ */
7
+ function createRef(_contract) {
8
+ return new Proxy({}, { get(_target, tableName) {
9
+ if (tableName === "*") return Object.freeze({
10
+ "~name": tableName,
11
+ "~table": null
12
+ });
13
+ return new Proxy({}, { get(_target, columnName) {
14
+ if (columnName === "~name") return tableName;
15
+ return Object.freeze({
16
+ "~name": columnName,
17
+ "~table": tableName
18
+ });
19
+ } });
20
+ } });
21
+ }
22
+ /**
23
+ * A builder for SQL `select` queries.
24
+ *
25
+ * @template TContract The contract that describes the database.
26
+ * @template TTables The tables involved in the current `select` query.
27
+ * @template TSelection The current selection of the `select` query.
28
+ */
29
+ var SelectBuilder = class {
30
+ #contract;
31
+ constructor(contract) {
32
+ this.#contract = contract;
33
+ }
34
+ select(..._args) {
35
+ return this;
36
+ }
37
+ build() {
38
+ return {};
39
+ }
40
+ };
41
+ /**
42
+ * The root of all builder.
43
+ *
44
+ * @template TContract The contract that describes the database.
45
+ */
46
+ var Root = class {
47
+ #contract;
48
+ constructor(contract) {
49
+ this.#contract = contract;
50
+ }
51
+ /**
52
+ * @internal
53
+ */
54
+ from(_table) {
55
+ return new SelectBuilder(this.#contract);
56
+ }
57
+ };
58
+ /**
59
+ * @internal
60
+ */
61
+ function createRoot(contract) {
62
+ return new Root(contract);
63
+ }
64
+ //#endregion
65
+ export { createRef, createRoot };
66
+
67
+ //# sourceMappingURL=lane-query-builder.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lane-query-builder.mjs","names":["#contract"],"sources":["../../../../2-sql/4-lanes/query-builder/dist/index.mjs"],"sourcesContent":["//#region src/ref.ts\n/**\n* Creates a reference object for the given SQL contract.\n*\n* @template TContract The contract that describes the database.\n*/\nfunction createRef(_contract) {\n\treturn new Proxy({}, { get(_target, tableName) {\n\t\tif (tableName === \"*\") return Object.freeze({\n\t\t\t\"~name\": tableName,\n\t\t\t\"~table\": null\n\t\t});\n\t\treturn new Proxy({}, { get(_target, columnName) {\n\t\t\tif (columnName === \"~name\") return tableName;\n\t\t\treturn Object.freeze({\n\t\t\t\t\"~name\": columnName,\n\t\t\t\t\"~table\": tableName\n\t\t\t});\n\t\t} });\n\t} });\n}\n//#endregion\n//#region src/select-builder.ts\n/**\n* A builder for SQL `select` queries.\n*\n* @template TContract The contract that describes the database.\n* @template TTables The tables involved in the current `select` query.\n* @template TSelection The current selection of the `select` query.\n*/\nvar SelectBuilder = class {\n\t#contract;\n\tconstructor(contract) {\n\t\tthis.#contract = contract;\n\t}\n\tselect(..._args) {\n\t\treturn this;\n\t}\n\tbuild() {\n\t\treturn {};\n\t}\n};\n//#endregion\n//#region src/root.ts\n/**\n* The root of all builder.\n*\n* @template TContract The contract that describes the database.\n*/\nvar Root = class {\n\t#contract;\n\tconstructor(contract) {\n\t\tthis.#contract = contract;\n\t}\n\t/**\n\t* @internal\n\t*/\n\tfrom(_table) {\n\t\treturn new SelectBuilder(this.#contract);\n\t}\n};\n/**\n* @internal\n*/\nfunction createRoot(contract) {\n\treturn new Root(contract);\n}\n//#endregion\nexport { createRef, createRoot };\n\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;AAMA,SAAS,UAAU,WAAW;CAC7B,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,WAAW;EAC9C,IAAI,cAAc,KAAK,OAAO,OAAO,OAAO;GAC3C,SAAS;GACT,UAAU;EACX,CAAC;EACD,OAAO,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,SAAS,YAAY;GAC/C,IAAI,eAAe,SAAS,OAAO;GACnC,OAAO,OAAO,OAAO;IACpB,SAAS;IACT,UAAU;GACX,CAAC;EACF,EAAE,CAAC;CACJ,EAAE,CAAC;AACJ;;;;;;;;AAUA,IAAI,gBAAgB,MAAM;CACzB;CACA,YAAY,UAAU;EACrB,KAAKA,YAAY;CAClB;CACA,OAAO,GAAG,OAAO;EAChB,OAAO;CACR;CACA,QAAQ;EACP,OAAO,CAAC;CACT;AACD;;;;;;AAQA,IAAI,OAAO,MAAM;CAChB;CACA,YAAY,UAAU;EACrB,KAAKA,YAAY;CAClB;;;;CAIA,KAAK,QAAQ;EACZ,OAAO,IAAI,cAAc,KAAKA,SAAS;CACxC;AACD;;;;AAIA,SAAS,WAAW,UAAU;CAC7B,OAAO,IAAI,KAAK,QAAQ;AACzB"}
@@ -0,0 +1,119 @@
1
+ import { t as SqlExecutionPlan } from "./sql-execution-plan-CJmsCP7n-DoEpNn7r.mjs";
2
+ import { ParamRefMutator } from "@prisma/orm-framework/components/runtime";
3
+ //#region ../../../2-sql/4-lanes/relational-core/dist/middleware-B4XbF4d4.d.mts
4
+ //#region src/middleware/param-ref-mutator.d.ts
5
+ /**
6
+ * Brand applied to {@link ParamRefHandle} so user-constructed handles
7
+ * are rejected by the type system. The mutator only accepts handles it
8
+ * produced from `entries()`.
9
+ *
10
+ * The brand is a phantom type — there is no runtime token. At runtime
11
+ * the handle is the underlying `ParamRef` instance from the plan's
12
+ * `ast`; the brand only narrows the type-level surface so callers
13
+ * cannot fabricate a handle from a fresh `ParamRef.of(...)`.
14
+ */
15
+ declare const paramRefHandleBrand: unique symbol;
16
+ /**
17
+ * Opaque token identifying a single `ParamRef` in the plan. Produced by
18
+ * {@link SqlParamRefMutator.entries}; consumed by `replaceValue` /
19
+ * `replaceValues`.
20
+ *
21
+ * The phantom `TCodecId` parameter records the codec id of the
22
+ * referenced `ParamRef` so type-level inference can route replacement
23
+ * values through `TCodecMap` to the codec's declared `TInput`.
24
+ */
25
+ interface ParamRefHandle<TCodecId extends string | undefined = string | undefined> {
26
+ readonly [paramRefHandleBrand]: TCodecId;
27
+ }
28
+ /**
29
+ * One outbound `ParamRef` slot in the plan exposed to middleware.
30
+ * `value` is the current value (post any prior middleware mutations);
31
+ * `codecId` is the codec id declared on the underlying `ParamRef.codec`.
32
+ */
33
+ interface ParamRefEntry<TCodecId extends string | undefined = string | undefined> {
34
+ readonly ref: ParamRefHandle<TCodecId>;
35
+ readonly value: unknown;
36
+ readonly codecId: TCodecId;
37
+ }
38
+ /**
39
+ * Discriminated entry union over a codec map. For each `K` in
40
+ * `TCodecMap`, `entries()` may yield a `ParamRefEntry<K>`; ParamRefs
41
+ * with no codec id (or a codec id outside the map) yield a
42
+ * `ParamRefEntry<undefined>`. Pattern-matching on `entry.codecId`
43
+ * narrows `entry.ref` to a `ParamRefHandle<K>`, which routes through
44
+ * the typed `replaceValue` overload.
45
+ */
46
+ type ParamRefEntryUnion<TCodecMap extends Record<string, unknown>> = { [K in keyof TCodecMap & string]: ParamRefEntry<K>; }[keyof TCodecMap & string] | ParamRefEntry<undefined>;
47
+ /**
48
+ * SQL-family mutator threaded into `SqlMiddleware.beforeExecute` as
49
+ * `params`. Scope is `ParamRef.value` slots only — middleware cannot
50
+ * insert / remove `ParamRef`s, rewrite SQL, or modify projection. The
51
+ * type-level `ParamRefHandle` brand and the `replaceValue(ref,
52
+ * newValue)` shape enforce this at compile time.
53
+ *
54
+ * `entries()` surfaces both literal call-site `ParamRef` slots and
55
+ * `prepare()`-time `PreparedParamRef` bind slots; the handle and codec
56
+ * id work the same for both.
57
+ *
58
+ * Allocation discipline: the mutator is constructed lazily from the
59
+ * plan. `entries()` walks the plan's existing AST without allocating
60
+ * an intermediate array; the working params buffer is only allocated
61
+ * on the first `replaceValue` / `replaceValues` call. If no middleware
62
+ * mutates, `currentParams()` returns the plan's original `params` by
63
+ * reference identity.
64
+ *
65
+ * The `TCodecMap` parameter is a record keyed by codec id; `replaceValue`
66
+ * infers `newValue` from `TCodecMap[H['codecId']]` for handles whose
67
+ * codec id is statically resolvable. For codec ids the type system
68
+ * cannot resolve, `newValue` falls back to `unknown` and the middleware
69
+ * is on the hook for runtime correctness.
70
+ */
71
+ interface SqlParamRefMutator<TCodecMap extends Record<string, unknown> = Record<string, unknown>> extends ParamRefMutator {
72
+ /** Iterate every outbound `ParamRef` the plan currently carries, in canonical order. */
73
+ entries(): IterableIterator<ParamRefEntryUnion<TCodecMap>>;
74
+ /**
75
+ * Replace one `ParamRef`'s value with the result of bulk processing.
76
+ * `newValue` is constrained to the codec's declared `TInput` for codec
77
+ * ids the type system can resolve via `TCodecMap`; for unresolvable
78
+ * codec ids `newValue` is `unknown` (the second overload).
79
+ */
80
+ replaceValue<TCodecId extends keyof TCodecMap & string>(ref: ParamRefHandle<TCodecId>, newValue: TCodecMap[TCodecId]): void;
81
+ replaceValue(ref: ParamRefHandle<undefined>, newValue: unknown): void;
82
+ /** Replace many at once (typical for bulk-pattern middleware). */
83
+ replaceValues(updates: Iterable<{
84
+ readonly ref: ParamRefHandle<(keyof TCodecMap & string) | undefined>;
85
+ readonly newValue: unknown;
86
+ }>): void;
87
+ }
88
+ /**
89
+ * Internal-only view of the mutator that exposes the post-mutation params
90
+ * array to the SQL runtime. The runtime calls `currentParams()` after the
91
+ * `beforeExecute` chain has run; the result is the plan's original
92
+ * `params` by reference identity if no middleware mutated, otherwise a
93
+ * frozen new array carrying the mutations applied in chain order.
94
+ *
95
+ * Family-internal contract — `SqlMiddleware` consumers never see this
96
+ * shape; they receive the public `SqlParamRefMutator` view above.
97
+ */
98
+ interface SqlParamRefMutatorInternal<TCodecMap extends Record<string, unknown> = Record<string, unknown>> extends SqlParamRefMutator<TCodecMap> {
99
+ currentParams(): readonly unknown[];
100
+ }
101
+ /**
102
+ * Build a {@link SqlParamRefMutatorInternal} for the given lowered plan.
103
+ *
104
+ * The mutator captures `plan.params` by reference and walks
105
+ * `plan.ast` (via `collectOrderedParamRefs`) on demand to build
106
+ * entries. Mutations write to a lazily-allocated working copy so the
107
+ * fast path (no mutation) preserves bit-for-bit reference identity to
108
+ * the original `plan.params`.
109
+ *
110
+ * Threading: `plan.ast` carries the canonical `ParamRef` ordering used
111
+ * by every consumer (renderer's `$N` index map, encode-side metadata
112
+ * walk, etc.). The mutator's `entries()` yields the same order so
113
+ * middleware that filters by codec id sees ParamRefs in the order the
114
+ * runtime will encode them.
115
+ */
116
+ declare function createSqlParamRefMutator<TCodecMap extends Record<string, unknown> = Record<string, unknown>>(plan: SqlExecutionPlan): SqlParamRefMutatorInternal<TCodecMap>;
117
+ //#endregion
118
+ export { SqlParamRefMutatorInternal as a, SqlParamRefMutator as i, ParamRefEntryUnion as n, createSqlParamRefMutator as o, ParamRefHandle as r, ParamRefEntry as t };
119
+ //# sourceMappingURL=middleware-B4XbF4d4-tfwBl6mX.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"middleware-B4XbF4d4-tfwBl6mX.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/middleware-B4XbF4d4.d.mts"],"mappings":";;;;;;;;;;;;;;cAac;;;;;;;;;;UAUJ,eAAe;YACb,sBAAsB;;;;;;;UAOxB,cAAc;WACb,KAAK,eAAe;WACpB;WACA,SAAS;;;;;;;;;;KAUf,mBAAmB,kBAAkB,8BAA8B,WAAW,qBAAqB,cAAc,YAAY,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;UAyB9I,mBAAmB,kBAAkB,0BAA0B,iCAAiC;;EAExG,WAAW,iBAAiB,mBAAmB;;;;;;;EAO/C,aAAa,uBAAuB,oBAAoB,KAAK,eAAe,WAAW,UAAU,UAAU;EAC3G,aAAa,KAAK,2BAA2B;;EAE7C,cAAc,SAAS;aACZ,KAAK,sBAAsB;aAC3B;;;;;;;;;;;;;UAaH,2BAA2B,kBAAkB,0BAA0B,iCAAiC,mBAAmB;EACnI;;;;;;;;;;;;;;;;;iBAiBe,yBAAyB,kBAAkB,0BAA0B,yBAAyB,MAAM,mBAAmB,2BAA2B"}
@@ -0,0 +1 @@
1
+ import "./middleware-B4XbF4d4-tfwBl6mX.mjs";