@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.
- package/LICENSE +201 -0
- package/README.md +28 -0
- package/dist/ast-BstHjAoG.mjs +325 -0
- package/dist/ast-BstHjAoG.mjs.map +1 -0
- package/dist/ast-DSuzmsWn.d.mts +287 -0
- package/dist/ast-DSuzmsWn.d.mts.map +1 -0
- package/dist/authoring-type-constructors-Blqoa2Ua-DyCmD6mp.mjs +316 -0
- package/dist/authoring-type-constructors-Blqoa2Ua-DyCmD6mp.mjs.map +1 -0
- package/dist/build-contract-DBCz_YSs-DO0wMHai.mjs +778 -0
- package/dist/build-contract-DBCz_YSs-DO0wMHai.mjs.map +1 -0
- package/dist/builder.d.mts +3 -0
- package/dist/builder.mjs +1 -0
- package/dist/builder__runtime.d.mts +42 -0
- package/dist/builder__runtime.d.mts.map +1 -0
- package/dist/builder__runtime.mjs +955 -0
- package/dist/builder__runtime.mjs.map +1 -0
- package/dist/builder__types.d.mts +3 -0
- package/dist/builder__types.mjs +1 -0
- package/dist/canonicalization-hooks-CYnW_sGn.d.mts +10 -0
- package/dist/canonicalization-hooks-CYnW_sGn.d.mts.map +1 -0
- package/dist/canonicalization-hooks-DfIc_lOO.mjs +87 -0
- package/dist/canonicalization-hooks-DfIc_lOO.mjs.map +1 -0
- package/dist/codec-descriptor-registry-BJVJRftS.mjs +96 -0
- package/dist/codec-descriptor-registry-BJVJRftS.mjs.map +1 -0
- package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts +116 -0
- package/dist/codec-types-MOaceoPi-C5eL2sao.d.mts.map +1 -0
- package/dist/config-types-47qB33rW.d.mts +21 -0
- package/dist/config-types-47qB33rW.d.mts.map +1 -0
- package/dist/config-types-N7PJc6VN.mjs +65 -0
- package/dist/config-types-N7PJc6VN.mjs.map +1 -0
- package/dist/contract-builder-MvJJrQ-5.d.mts +1306 -0
- package/dist/contract-builder-MvJJrQ-5.d.mts.map +1 -0
- package/dist/contract-builder-YjMQcvZ1.mjs +1615 -0
- package/dist/contract-builder-YjMQcvZ1.mjs.map +1 -0
- package/dist/contract-emitter.d.mts +25 -0
- package/dist/contract-emitter.d.mts.map +1 -0
- package/dist/contract-emitter.mjs +2 -0
- package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs +9 -0
- package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs.map +1 -0
- package/dist/contract-psl.d.mts +65 -0
- package/dist/contract-psl.d.mts.map +1 -0
- package/dist/contract-psl.mjs +2 -0
- package/dist/contract-psl__provider.d.mts +23 -0
- package/dist/contract-psl__provider.d.mts.map +1 -0
- package/dist/contract-psl__provider.mjs +105 -0
- package/dist/contract-psl__provider.mjs.map +1 -0
- package/dist/contract-ts.d.mts +3 -0
- package/dist/contract-ts.mjs +4 -0
- package/dist/contract-ts__config-types.d.mts +2 -0
- package/dist/contract-ts__config-types.mjs +2 -0
- package/dist/contract-ts__contract-builder.d.mts +2 -0
- package/dist/contract-ts__contract-builder.mjs +3 -0
- package/dist/contract-view-BMR5IWk4.mjs +39 -0
- package/dist/contract-view-BMR5IWk4.mjs.map +1 -0
- package/dist/contract-view-BbWQp6r4.d.mts +61 -0
- package/dist/contract-view-BbWQp6r4.d.mts.map +1 -0
- package/dist/contract.d.mts +26 -0
- package/dist/contract.mjs +17 -0
- package/dist/contract__canonicalization-hooks.d.mts +2 -0
- package/dist/contract__canonicalization-hooks.mjs +2 -0
- package/dist/contract__contract-view.d.mts +2 -0
- package/dist/contract__contract-view.mjs +2 -0
- package/dist/contract__entity-handle-lowering-hook.d.mts +2 -0
- package/dist/contract__entity-handle-lowering-hook.mjs +2 -0
- package/dist/contract__entity-kinds.d.mts +2 -0
- package/dist/contract__entity-kinds.mjs +2 -0
- package/dist/contract__factories.d.mts +2 -0
- package/dist/contract__factories.mjs +2 -0
- package/dist/contract__foreign-key-materialization.d.mts +2 -0
- package/dist/contract__foreign-key-materialization.mjs +2 -0
- package/dist/contract__index-naming.d.mts +2 -0
- package/dist/contract__index-naming.mjs +2 -0
- package/dist/contract__index-type-validation.d.mts +2 -0
- package/dist/contract__index-type-validation.mjs +2 -0
- package/dist/contract__index-types.d.mts +3 -0
- package/dist/contract__index-types.mjs +2 -0
- package/dist/contract__pack-types.d.mts +2 -0
- package/dist/contract__pack-types.mjs +1 -0
- package/dist/contract__referential-action-sql.d.mts +2 -0
- package/dist/contract__referential-action-sql.mjs +2 -0
- package/dist/contract__resolve-storage-table.d.mts +2 -0
- package/dist/contract__resolve-storage-table.mjs +2 -0
- package/dist/contract__types.d.mts +11 -0
- package/dist/contract__types.mjs +4 -0
- package/dist/contract__validators.d.mts +2 -0
- package/dist/contract__validators.mjs +3 -0
- package/dist/contract__value-set-derivation-hook.d.mts +2 -0
- package/dist/contract__value-set-derivation-hook.mjs +2 -0
- package/dist/control-B7iS4jv4.mjs +1326 -0
- package/dist/control-B7iS4jv4.mjs.map +1 -0
- package/dist/control-BHmsZudH.d.mts +948 -0
- package/dist/control-BHmsZudH.d.mts.map +1 -0
- package/dist/control-adapter-4y1O8Ps3.d.mts +1 -0
- package/dist/control-adapter-C99J7aEF-C-17lFY8.d.mts +191 -0
- package/dist/control-adapter-C99J7aEF-C-17lFY8.d.mts.map +1 -0
- package/dist/db-DhMsmBS--DKENDi3l.d.mts +365 -0
- package/dist/db-DhMsmBS--DKENDi3l.d.mts.map +1 -0
- package/dist/ddl-types-BMp2bWVS-D1waZJ4n.mjs +153 -0
- package/dist/ddl-types-BMp2bWVS-D1waZJ4n.mjs.map +1 -0
- package/dist/ddl-types-rrMsf77U-DGctYf-T.d.mts +149 -0
- package/dist/ddl-types-rrMsf77U-DGctYf-T.d.mts.map +1 -0
- package/dist/diff-B16bL_IR.mjs +13 -0
- package/dist/diff-B16bL_IR.mjs.map +1 -0
- package/dist/diff-DhlzHOMD.d.mts +104 -0
- package/dist/diff-DhlzHOMD.d.mts.map +1 -0
- package/dist/dist-C_q1_QR9.mjs +9 -0
- package/dist/dist-C_q1_QR9.mjs.map +1 -0
- package/dist/dist-DrScXbhq.mjs +414 -0
- package/dist/dist-DrScXbhq.mjs.map +1 -0
- package/dist/dist-x6jvtkKM.mjs +68 -0
- package/dist/dist-x6jvtkKM.mjs.map +1 -0
- package/dist/entity-handle-lowering-hook-CIvRKBfa.d.mts +92 -0
- package/dist/entity-handle-lowering-hook-CIvRKBfa.d.mts.map +1 -0
- package/dist/entity-handle-lowering-hook-DwLIKNiS.mjs +11 -0
- package/dist/entity-handle-lowering-hook-DwLIKNiS.mjs.map +1 -0
- package/dist/entity-kinds-DKxwKolf-CcsY-iYV.mjs +136 -0
- package/dist/entity-kinds-DKxwKolf-CcsY-iYV.mjs.map +1 -0
- package/dist/entity-kinds-Dh6VH4uK.d.mts +29 -0
- package/dist/entity-kinds-Dh6VH4uK.d.mts.map +1 -0
- package/dist/errors-B5g0xWro-mWH2C07F.mjs +9 -0
- package/dist/errors-B5g0xWro-mWH2C07F.mjs.map +1 -0
- package/dist/errors.d.mts +63 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +2 -0
- package/dist/expression-DIf8F4Mc.d.mts +167 -0
- package/dist/expression-DIf8F4Mc.d.mts.map +1 -0
- package/dist/expression-RUO52bJB.mjs +109 -0
- package/dist/expression-RUO52bJB.mjs.map +1 -0
- package/dist/factories-B7tA4y9D.d.mts +39 -0
- package/dist/factories-B7tA4y9D.d.mts.map +1 -0
- package/dist/factories-CDG9zBxC.mjs +77 -0
- package/dist/factories-CDG9zBxC.mjs.map +1 -0
- package/dist/family.d.mts +13 -0
- package/dist/family.mjs +12 -0
- package/dist/family__control-adapter.d.mts +3 -0
- package/dist/family__control-adapter.mjs +1 -0
- package/dist/family__control.d.mts +4 -0
- package/dist/family__control.mjs +4 -0
- package/dist/family__diff.d.mts +3 -0
- package/dist/family__diff.mjs +3 -0
- package/dist/family__ir.d.mts +2 -0
- package/dist/family__ir.mjs +3 -0
- package/dist/family__migration.d.mts +2 -0
- package/dist/family__migration.mjs +2 -0
- package/dist/family__pack.d.mts +249 -0
- package/dist/family__pack.d.mts.map +1 -0
- package/dist/family__pack.mjs +18 -0
- package/dist/family__pack.mjs.map +1 -0
- package/dist/family__psl-infer.d.mts +2 -0
- package/dist/family__psl-infer.mjs +2 -0
- package/dist/family__runtime.d.mts +3 -0
- package/dist/family__runtime.mjs +3 -0
- package/dist/family__verify.d.mts +2 -0
- package/dist/family__verify.mjs +2 -0
- package/dist/foreign-key-BSy9u4O4-BnsOe5Nf.d.mts +85 -0
- package/dist/foreign-key-BSy9u4O4-BnsOe5Nf.d.mts.map +1 -0
- package/dist/foreign-key-materialization-Ca-wRbmj.d.mts +65 -0
- package/dist/foreign-key-materialization-Ca-wRbmj.d.mts.map +1 -0
- package/dist/foreign-key-materialization-HI7BIQrG.mjs +72 -0
- package/dist/foreign-key-materialization-HI7BIQrG.mjs.map +1 -0
- package/dist/index-Bb9U36N4.d.mts +511 -0
- package/dist/index-Bb9U36N4.d.mts.map +1 -0
- package/dist/index-BgaTJRxj.d.mts +25 -0
- package/dist/index-BgaTJRxj.d.mts.map +1 -0
- package/dist/index-naming-BZWoh45T.d.mts +62 -0
- package/dist/index-naming-BZWoh45T.d.mts.map +1 -0
- package/dist/index-naming-BoGBcMmI-DiJAr66H.mjs +108 -0
- package/dist/index-naming-BoGBcMmI-DiJAr66H.mjs.map +1 -0
- package/dist/index-type-validation-COH4d78M.mjs +17 -0
- package/dist/index-type-validation-COH4d78M.mjs.map +1 -0
- package/dist/index-type-validation-DN0L2mqm.d.mts +10 -0
- package/dist/index-type-validation-DN0L2mqm.d.mts.map +1 -0
- package/dist/index-types-CNhHgKHi.d.mts +1 -0
- package/dist/index-types-DJQ_xwaE.mjs +40 -0
- package/dist/index-types-DJQ_xwaE.mjs.map +1 -0
- package/dist/index-types-DPVhsW0v-D-BikM4h.d.mts +31 -0
- package/dist/index-types-DPVhsW0v-D-BikM4h.d.mts.map +1 -0
- package/dist/interpreter-5WgpL-ax-_nqHLUTr.mjs +3526 -0
- package/dist/interpreter-5WgpL-ax-_nqHLUTr.mjs.map +1 -0
- package/dist/ir-B3bKMnGQ.d.mts +123 -0
- package/dist/ir-B3bKMnGQ.d.mts.map +1 -0
- package/dist/ir-I-xciGUH.mjs +36 -0
- package/dist/ir-I-xciGUH.mjs.map +1 -0
- package/dist/lane-query-builder.d.mts +236 -0
- package/dist/lane-query-builder.d.mts.map +1 -0
- package/dist/lane-query-builder.mjs +67 -0
- package/dist/lane-query-builder.mjs.map +1 -0
- package/dist/middleware-B4XbF4d4-tfwBl6mX.d.mts +119 -0
- package/dist/middleware-B4XbF4d4-tfwBl6mX.d.mts.map +1 -0
- package/dist/middleware-ByRsXxxq.d.mts +1 -0
- package/dist/middleware-CMr4CHNz-DHIUdxlm.mjs +80 -0
- package/dist/middleware-CMr4CHNz-DHIUdxlm.mjs.map +1 -0
- package/dist/migration-CK4oePIo.mjs +44 -0
- package/dist/migration-CK4oePIo.mjs.map +1 -0
- package/dist/migration-CW0ZJLxP.d.mts +44 -0
- package/dist/migration-CW0ZJLxP.d.mts.map +1 -0
- package/dist/naming-BwqqVcZy-BgTObIQw.mjs +177 -0
- package/dist/naming-BwqqVcZy-BgTObIQw.mjs.map +1 -0
- package/dist/naming-jLgdauLi-C84G_UHi.d.mts +133 -0
- package/dist/naming-jLgdauLi-C84G_UHi.d.mts.map +1 -0
- package/dist/operations.d.mts +2 -0
- package/dist/operations.mjs +2 -0
- package/dist/orm-client.d.mts +1316 -0
- package/dist/orm-client.d.mts.map +1 -0
- package/dist/orm-client.mjs +4544 -0
- package/dist/orm-client.mjs.map +1 -0
- package/dist/pack-types-BcLTpwbv.d.mts +14 -0
- package/dist/pack-types-BcLTpwbv.d.mts.map +1 -0
- package/dist/plan-BTD8xFfa-Dd_K-A1R.d.mts +45 -0
- package/dist/plan-BTD8xFfa-Dd_K-A1R.d.mts.map +1 -0
- package/dist/plan-CkpcgUaM.mjs +34 -0
- package/dist/plan-CkpcgUaM.mjs.map +1 -0
- package/dist/plan-Cm4jaoNM.d.mts +2 -0
- package/dist/psl-infer-6je61Z6J.d.mts +119 -0
- package/dist/psl-infer-6je61Z6J.d.mts.map +1 -0
- package/dist/psl-infer-DGftl-HW.mjs +362 -0
- package/dist/psl-infer-DGftl-HW.mjs.map +1 -0
- package/dist/query-lane-context-Bz8XJZ45.d.mts +1 -0
- package/dist/query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts +94 -0
- package/dist/query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts.map +1 -0
- package/dist/referential-action-sql-Csd6dA8G.d.mts +12 -0
- package/dist/referential-action-sql-Csd6dA8G.d.mts.map +1 -0
- package/dist/referential-action-sql-DSqkrySN.mjs +17 -0
- package/dist/referential-action-sql-DSqkrySN.mjs.map +1 -0
- package/dist/relational-core.d.mts +13 -0
- package/dist/relational-core.mjs +8 -0
- package/dist/relational-core__ast.d.mts +5 -0
- package/dist/relational-core__ast.mjs +5 -0
- package/dist/relational-core__codec-descriptor-registry.d.mts +39 -0
- package/dist/relational-core__codec-descriptor-registry.d.mts.map +1 -0
- package/dist/relational-core__codec-descriptor-registry.mjs +2 -0
- package/dist/relational-core__contract-free.d.mts +220 -0
- package/dist/relational-core__contract-free.d.mts.map +1 -0
- package/dist/relational-core__contract-free.mjs +393 -0
- package/dist/relational-core__contract-free.mjs.map +1 -0
- package/dist/relational-core__expression.d.mts +2 -0
- package/dist/relational-core__expression.mjs +2 -0
- package/dist/relational-core__middleware.d.mts +3 -0
- package/dist/relational-core__middleware.mjs +2 -0
- package/dist/relational-core__plan.d.mts +4 -0
- package/dist/relational-core__plan.mjs +2 -0
- package/dist/relational-core__query-lane-context.d.mts +3 -0
- package/dist/relational-core__query-lane-context.mjs +1 -0
- package/dist/relational-core__types.d.mts +3 -0
- package/dist/relational-core__types.mjs +1 -0
- package/dist/resolve-storage-table-DUwyRJmP.d.mts +21 -0
- package/dist/resolve-storage-table-DUwyRJmP.d.mts.map +1 -0
- package/dist/resolve-storage-table-DZsfnzeW.mjs +46 -0
- package/dist/resolve-storage-table-DZsfnzeW.mjs.map +1 -0
- package/dist/runtime-DNewRuec.d.mts +46 -0
- package/dist/runtime-DNewRuec.d.mts.map +1 -0
- package/dist/runtime-tIHpGCcG.mjs +55 -0
- package/dist/runtime-tIHpGCcG.mjs.map +1 -0
- package/dist/runtime.d.mts +4 -0
- package/dist/runtime.mjs +1606 -0
- package/dist/runtime.mjs.map +1 -0
- package/dist/schema-differ-DpG_gnur-g5_iks8G.d.mts +47 -0
- package/dist/schema-differ-DpG_gnur-g5_iks8G.d.mts.map +1 -0
- package/dist/schema-ir.d.mts +2 -0
- package/dist/schema-ir.mjs +2 -0
- package/dist/schema-ir__naming.d.mts +2 -0
- package/dist/schema-ir__naming.mjs +2 -0
- package/dist/schema-ir__types.d.mts +3 -0
- package/dist/schema-ir__types.mjs +2 -0
- package/dist/schema-verify-vtFZbmGq-BNfTr6fU.mjs +222 -0
- package/dist/schema-verify-vtFZbmGq-BNfTr6fU.mjs.map +1 -0
- package/dist/serialized-index-B96AwqtU-DcqcB4q_.d.mts +26 -0
- package/dist/serialized-index-B96AwqtU-DcqcB4q_.d.mts.map +1 -0
- package/dist/serialized-index-Dp5_EjXD-DMsw8jf3.mjs +64 -0
- package/dist/serialized-index-Dp5_EjXD-DMsw8jf3.mjs.map +1 -0
- package/dist/sql-contract-serializer-2oBWuxTe-B9hzBBv1.mjs +171 -0
- package/dist/sql-contract-serializer-2oBWuxTe-B9hzBBv1.mjs.map +1 -0
- package/dist/sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts +32 -0
- package/dist/sql-execution-plan-CJmsCP7n-DoEpNn7r.d.mts.map +1 -0
- package/dist/sql-index-DsI8HAeK-BJsn-jvD.d.mts +72 -0
- package/dist/sql-index-DsI8HAeK-BJsn-jvD.d.mts.map +1 -0
- package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts +42 -0
- package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts.map +1 -0
- package/dist/sql-storage-B0QwiTg6-B8DVctJm.d.mts +171 -0
- package/dist/sql-storage-B0QwiTg6-B8DVctJm.d.mts.map +1 -0
- package/dist/storage-table-BBaAmanc-BwR37LMA.d.mts +130 -0
- package/dist/storage-table-BBaAmanc-BwR37LMA.d.mts.map +1 -0
- package/dist/storage-table-_LWDmPfv-DFhU2dML.mjs +277 -0
- package/dist/storage-table-_LWDmPfv-DFhU2dML.mjs.map +1 -0
- package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts +41 -0
- package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts.map +1 -0
- package/dist/timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs +173 -0
- package/dist/timestamp-now-generator-DRXygu32-DN9Qb1uI.mjs.map +1 -0
- package/dist/types-BchwQpmO.d.mts +16 -0
- package/dist/types-BchwQpmO.d.mts.map +1 -0
- package/dist/types-BgkZru_1-H7yfikSQ.mjs +1444 -0
- package/dist/types-BgkZru_1-H7yfikSQ.mjs.map +1 -0
- package/dist/types-CMMQS6aG.mjs +111 -0
- package/dist/types-CMMQS6aG.mjs.map +1 -0
- package/dist/types-CuDrWc5v-ISVXBmBs.d.mts +134 -0
- package/dist/types-CuDrWc5v-ISVXBmBs.d.mts.map +1 -0
- package/dist/types-CvbBw1Jo-3KQdErJY.d.mts +688 -0
- package/dist/types-CvbBw1Jo-3KQdErJY.d.mts.map +1 -0
- package/dist/types-DIBA80mc-wf5wLmON.d.mts +723 -0
- package/dist/types-DIBA80mc-wf5wLmON.d.mts.map +1 -0
- package/dist/types-DMxc5KZa.d.mts +1 -0
- package/dist/types-Dl20lxky-DC_jdA0T.d.mts +247 -0
- package/dist/types-Dl20lxky-DC_jdA0T.d.mts.map +1 -0
- package/dist/types-DmhUVq4u-BpqqjPJx.mjs +719 -0
- package/dist/types-DmhUVq4u-BpqqjPJx.mjs.map +1 -0
- package/dist/types-IqZMLrFC-DtdJNICr.d.mts +426 -0
- package/dist/types-IqZMLrFC-DtdJNICr.d.mts.map +1 -0
- package/dist/types-TvBZ2Ne9.d.mts +1 -0
- package/dist/unique-constraint-jQWfH7dg-zLWtFp99.d.mts +32 -0
- package/dist/unique-constraint-jQWfH7dg-zLWtFp99.d.mts.map +1 -0
- package/dist/util-DQQgv2j1-D6INZaRG.mjs +34 -0
- package/dist/util-DQQgv2j1-D6INZaRG.mjs.map +1 -0
- package/dist/validators-C4PItWnf.mjs +0 -0
- package/dist/validators-C4PItWnf.mjs.map +1 -0
- package/dist/validators-CxeHhHrf.d.mts +206 -0
- package/dist/validators-CxeHhHrf.d.mts.map +1 -0
- package/dist/value-set-derivation-hook-BhgGVtw0.d.mts +35 -0
- package/dist/value-set-derivation-hook-BhgGVtw0.d.mts.map +1 -0
- package/dist/value-set-derivation-hook-Di9JZ0X7.mjs +22 -0
- package/dist/value-set-derivation-hook-Di9JZ0X7.mjs.map +1 -0
- package/dist/verify-E6Dd2vYp-gYwnlhLm.mjs +86 -0
- package/dist/verify-E6Dd2vYp-gYwnlhLm.mjs.map +1 -0
- package/dist/verify-zDRnw0Rn.d.mts +26 -0
- package/dist/verify-zDRnw0Rn.d.mts.map +1 -0
- package/package.json +112 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { s as ContractCodecRegistry } from "./codec-types-MOaceoPi-C5eL2sao.mjs";
|
|
2
|
+
import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
3
|
+
import "./types-BchwQpmO.mjs";
|
|
4
|
+
import { a as SqlOperationRegistry } from "./index-BgaTJRxj.mjs";
|
|
5
|
+
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
6
|
+
import { CodecDescriptor, CodecRef } from "@prisma/orm-framework/components/codec";
|
|
7
|
+
//#region ../../../2-sql/4-lanes/relational-core/dist/query-lane-context-DtdVMqoz.d.mts
|
|
8
|
+
//#region src/query-lane-context.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Codec-id-keyed accessor for descriptor metadata. The unified read API for codec-id-keyed metadata (`traits`, `targetTypes`) — non-branching for parameterized vs. non-parameterized codecs. Every codec ships natively as a `CodecDescriptor` through the unified `codecs:` contributor slot (see ADR 208).
|
|
11
|
+
*/
|
|
12
|
+
interface CodecDescriptorRegistry {
|
|
13
|
+
/**
|
|
14
|
+
* Descriptors carry distinct param shapes per codec id; the registry is heterogeneous and the consumer narrows per codec.
|
|
15
|
+
*/
|
|
16
|
+
descriptorFor(codecId: string): CodecDescriptor<unknown> | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Derive the canonical {@link CodecRef} for a contract `(table, column)`. The builder side calls this at AST construction time to stamp `codec` onto every column-bound `ParamRef` / `ProjectionItem`; the runtime side uses the result as the cache key into the content-keyed codec resolver.
|
|
19
|
+
*
|
|
20
|
+
* Resolution rules over `storage.namespaces[namespaceId].tables[table].columns[column]`:
|
|
21
|
+
*
|
|
22
|
+
* - `typeRef` column → emit `{codecId, typeParams}` from `storage.types[typeRef]` (multiple columns sharing the typeRef produce the same ref → same memoised codec).
|
|
23
|
+
* - inline `typeParams` column → emit `{codecId, typeParams}` from the column itself.
|
|
24
|
+
* - non-parameterized column → emit `{codecId}` with `typeParams` undefined (keys as `${codecId}:undefined` → one shared codec).
|
|
25
|
+
*
|
|
26
|
+
* The `namespaceId` coordinate leads and is always supplied — the table is resolved strictly within that namespace, so two same-bare-named tables in different namespaces resolve to their own per-namespace columns/codecs without colliding.
|
|
27
|
+
*
|
|
28
|
+
* Returns `undefined` when the registry was built without contract storage (package-scoped registries used purely as descriptor lookups), when the table or column is unknown in the namespace, or when the column declares a `typeRef` that the storage doesn't define.
|
|
29
|
+
*/
|
|
30
|
+
codecRefForColumn(namespaceId: string, table: string, column: string): CodecRef | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* All registered descriptors. Used by `validateCodecRegistryCompleteness` and other startup-time consumers that enumerate descriptors.
|
|
33
|
+
*/
|
|
34
|
+
values(): IterableIterator<CodecDescriptor<unknown>>;
|
|
35
|
+
/**
|
|
36
|
+
* Descriptors indexed by `targetTypes[i]` (each scalar type the codec advertises). Multiple descriptors may map to the same scalar type; ordering reflects registration order.
|
|
37
|
+
*/
|
|
38
|
+
byTargetType(targetType: string): readonly CodecDescriptor<unknown>[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Registry of initialized type helpers from storage.types. Each key is a type name from storage.types, and the value is the resolved codec materialized once for that named instance via `descriptor.factory(typeParams)(ctx)` (or the raw `StorageTypeInstance` metadata for codec ids whose descriptor isn't registered).
|
|
42
|
+
*/
|
|
43
|
+
type TypeHelperRegistry = Record<string, unknown>;
|
|
44
|
+
type MutationDefaultsOp = 'create' | 'update';
|
|
45
|
+
type AppliedMutationDefault = {
|
|
46
|
+
readonly column: string;
|
|
47
|
+
readonly value: unknown;
|
|
48
|
+
};
|
|
49
|
+
type MutationDefaultsOptions = {
|
|
50
|
+
readonly op: MutationDefaultsOp;
|
|
51
|
+
readonly table: string;
|
|
52
|
+
/**
|
|
53
|
+
* Namespace of the target table. Execution-default refs are namespace-scoped,
|
|
54
|
+
* so only defaults declared for `(namespace, table)` are applied — this is what
|
|
55
|
+
* disambiguates same-named tables across namespaces. Required so the coordinate
|
|
56
|
+
* is always part of the match; a missing namespace is a caller bug, not a
|
|
57
|
+
* silent degrade to table-name-only matching.
|
|
58
|
+
*/
|
|
59
|
+
readonly namespace: string;
|
|
60
|
+
readonly values: Record<string, unknown>;
|
|
61
|
+
/**
|
|
62
|
+
* Per-ORM-operation cache for generators that declare `stability: 'query'`. The caller passes the same `Map` across every `applyMutationDefaults` invocation in one bulk operation; the framework keys by `generatorId` so the same value is reused across all rows and columns. Generators with `stability: 'row'` use a fresh per-call cache the framework manages internally; generators with `stability: 'field'` skip caching
|
|
63
|
+
* entirely. Omit to make every call independent (degrades `'query'` to per-call behavior).
|
|
64
|
+
*/
|
|
65
|
+
readonly defaultValueCache?: Map<string, unknown>;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Minimal context interface for SQL query lanes.
|
|
69
|
+
*
|
|
70
|
+
* Lanes only need contract, operations, and codecs to build typed ASTs and attach operation builders. This interface explicitly excludes runtime concerns like adapters, connection management, and transaction state.
|
|
71
|
+
*/
|
|
72
|
+
interface ExecutionContext<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> {
|
|
73
|
+
readonly contract: TContract;
|
|
74
|
+
/**
|
|
75
|
+
* Contract-bound codec registry built once at context-construction time by walking the contract's columns and resolving each through its descriptor's factory. Runtime dispatch (`encodeParam` / `decodeRow`) resolves codecs via `forCodecRef(ref)` — the single dispatch shape for AST-bound codec resolution.
|
|
76
|
+
*/
|
|
77
|
+
readonly contractCodecs: ContractCodecRegistry;
|
|
78
|
+
/**
|
|
79
|
+
* Codec-id-keyed descriptor map. Single source of truth for codec-id-keyed metadata (`traits`, `targetTypes`) — every codec, parameterized or not, resolves through this map without branching.
|
|
80
|
+
*/
|
|
81
|
+
readonly codecDescriptors: CodecDescriptorRegistry;
|
|
82
|
+
readonly queryOperations: SqlOperationRegistry;
|
|
83
|
+
/**
|
|
84
|
+
* Type helper registry for parameterized types. Schema builders expose these helpers via schema.types.
|
|
85
|
+
*/
|
|
86
|
+
readonly types: TypeHelperRegistry;
|
|
87
|
+
/**
|
|
88
|
+
* Applies execution-time mutation defaults for the given table. Returns the applied defaults (caller-provided values always win).
|
|
89
|
+
*/
|
|
90
|
+
applyMutationDefaults(options: MutationDefaultsOptions): ReadonlyArray<AppliedMutationDefault>;
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
export { MutationDefaultsOptions as a, MutationDefaultsOp as i, CodecDescriptorRegistry as n, TypeHelperRegistry as o, ExecutionContext as r, AppliedMutationDefault as t };
|
|
94
|
+
//# sourceMappingURL=query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-lane-context-DtdVMqoz-C2Tj5QHA.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/query-lane-context-DtdVMqoz.d.mts"],"mappings":";;;;;;;;;;;UASU;;;;EAIR,cAAc,kBAAkB;;;;;;;;;;;;;;EAchC,kBAAkB,qBAAqB,eAAe,iBAAiB;;;;EAIvE,UAAU,iBAAiB;;;;EAI3B,aAAa,8BAA8B;;;;;KAKxC,qBAAqB;KACrB;KACA;WACM;WACA;;KAEN;WACM,IAAI;WACJ;;;;;;;;WAQA;WACA,QAAQ;;;;;WAKR,oBAAoB;;;;;;;UAOrB,iBAAiB,kBAAkB,SAAS,cAAc,SAAS;WAClE,UAAU;;;;WAIV,gBAAgB;;;;WAIhB,kBAAkB;WAClB,iBAAiB;;;;WAIjB,OAAO;;;;EAIhB,sBAAsB,SAAS,0BAA0B,cAAc"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a as ReferentialAction } from "./foreign-key-BSy9u4O4-BnsOe5Nf.mjs";
|
|
2
|
+
//#region ../../../2-sql/1-core/contract/dist/referential-action-sql.d.mts
|
|
3
|
+
//#region src/referential-action-sql.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Maps each `ReferentialAction` value to the SQL keyword used in ON DELETE /
|
|
6
|
+
* ON UPDATE clauses. Shared across the migration planner and adapter DDL
|
|
7
|
+
* renderers — single source of truth for the action → SQL mapping.
|
|
8
|
+
*/
|
|
9
|
+
declare const REFERENTIAL_ACTION_SQL: Record<ReferentialAction, string>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { REFERENTIAL_ACTION_SQL as t };
|
|
12
|
+
//# sourceMappingURL=referential-action-sql-Csd6dA8G.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referential-action-sql-Csd6dA8G.d.mts","names":[],"sources":["../../../../2-sql/1-core/contract/dist/referential-action-sql.d.mts"],"mappings":";;;;;;;;cAOc,wBAAwB,OAAO"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region ../../../2-sql/1-core/contract/dist/referential-action-sql.mjs
|
|
2
|
+
/**
|
|
3
|
+
* Maps each `ReferentialAction` value to the SQL keyword used in ON DELETE /
|
|
4
|
+
* ON UPDATE clauses. Shared across the migration planner and adapter DDL
|
|
5
|
+
* renderers — single source of truth for the action → SQL mapping.
|
|
6
|
+
*/
|
|
7
|
+
const REFERENTIAL_ACTION_SQL = {
|
|
8
|
+
noAction: "NO ACTION",
|
|
9
|
+
restrict: "RESTRICT",
|
|
10
|
+
cascade: "CASCADE",
|
|
11
|
+
setNull: "SET NULL",
|
|
12
|
+
setDefault: "SET DEFAULT"
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { REFERENTIAL_ACTION_SQL as t };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=referential-action-sql-DSqkrySN.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referential-action-sql-DSqkrySN.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/referential-action-sql.mjs"],"sourcesContent":["//#region src/referential-action-sql.ts\n/**\n* Maps each `ReferentialAction` value to the SQL keyword used in ON DELETE /\n* ON UPDATE clauses. Shared across the migration planner and adapter DDL\n* renderers — single source of truth for the action → SQL mapping.\n*/\nconst REFERENTIAL_ACTION_SQL = {\n\tnoAction: \"NO ACTION\",\n\trestrict: \"RESTRICT\",\n\tcascade: \"CASCADE\",\n\tsetNull: \"SET NULL\",\n\tsetDefault: \"SET DEFAULT\"\n};\n//#endregion\nexport { REFERENTIAL_ACTION_SQL };\n\n//# sourceMappingURL=referential-action-sql.mjs.map"],"mappings":";;;;;;AAMA,MAAM,yBAAyB;CAC9B,UAAU;CACV,UAAU;CACV,SAAS;CACT,SAAS;CACT,YAAY;AACb"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { a as CodecRef$1, c as DescriptorCodecId, d as DescriptorCodecTraits, f as ExtractCodecTypes, g as frozenCodecRef, h as SqlColumnRef, i as CodecDescriptor$1, l as DescriptorCodecInput, m as SqlCodecInstanceContext, n as Codec$1, o as CodecTrait$1, p as SqlCodecCallContext, r as CodecCallContext$1, s as ContractCodecRegistry, t as AnyCodecDescriptor, u as DescriptorCodecJson } from "./codec-types-MOaceoPi-C5eL2sao.mjs";
|
|
2
|
+
import { $ as NativeJsonValueProjection, A as ExprVisitor, B as InsertValue, C as DeleteAst, Ct as isWhereExpr, D as DoUpdateSetConflictAction, E as DoNothingConflictAction, F as FunctionSource, G as JsonObjectEntry, H as JoinOnExpr, I as FunctionSourceAlias, J as LimitOffsetValue, K as JsonObjectExpr, L as IdentifierRef, M as ExpressionRewriter, N as ExpressionSource, O as EqColJoinOn, P as FunctionCallExpr, Q as LoweredStatement, R as InsertAst, S as DefaultValueExpr, St as isQueryAst, T as Direction, Tt as whereExprKinds, U as JsonArrayAggExpr, V as JoinAst, W as JsonDocumentProjection, X as LiteralExpr, Y as ListExpression, Z as LoweredParam, _ as CaseBranch, _t as ToWhereExpr, a as AndExpr, at as ParamRef, b as CodecJsonValueProjection, bt as WindowFn, c as AnyInsertOnConflictAction, ct as ProjectionItem, d as AnyOperationArg, dt as RawSqlLiteral, et as NotExpr, f as AnyParamRef, ft as SelectAst, g as BinaryOp, gt as TableSource, h as BinaryExpr, ht as TableRef, i as AggregateOpFn, it as OrderByItem, j as ExpressionFolder, k as ExistsExpr, l as AnyInsertValue, lt as RawExpr, m as AstRewriter, mt as SubqueryExpr, n as AggregateExpr, nt as OperationExpr, o as AnyExpression, ot as PreparedParamRef, p as AnyQueryAst, pt as SelectAstOptions, q as JsonValueProjectionVisitor, r as AggregateFn, rt as OrExpr, s as AnyFromSource, st as ProjectionExpr, t as AggregateCountFn, tt as NullCheckExpr, u as AnyJsonValueProjection, ut as RawSqlExpr, v as CaseExpr, vt as UpdateAst, w as DerivedTableSource, wt as queryAstKinds, x as ColumnRef, xt as WindowFuncExpr, y as CastExpr, yt as WhereArg, z as InsertOnConflict } from "./types-DIBA80mc-wf5wLmON.mjs";
|
|
3
|
+
import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-rrMsf77U-DGctYf-T.mjs";
|
|
4
|
+
import { $ as sqlTextDescriptor, A as SqlTimestampDescriptor, B as sqlCharRenderOutputType, C as SqlIntCodec, D as SqlTextCodec, E as SqlQueryable, F as compact, G as sqlFloatEncode, H as sqlFloatDecode, I as sqlCharColumn, J as sqlIntDecode, K as sqlFloatEncodeJson, L as sqlCharDecode, M as SqlVarcharCodec, N as SqlVarcharDescriptor, O as SqlTextDescriptor, P as collectOrderedParamRefs, Q as sqlTextDecode, R as sqlCharDescriptor, S as SqlFloatDescriptor, T as SqlQueryResult, U as sqlFloatDecodeJson, V as sqlFloatColumn, W as sqlFloatDescriptor, X as sqlIntEncode, Y as sqlIntDescriptor, Z as sqlTextColumn, _ as SqlDriver, a as LowererContext, at as sqlTimestampEncode, b as SqlExplainResult, c as SQL_CHAR_CODEC_ID, ct as sqlVarcharColumn, d as SQL_TEXT_CODEC_ID, dt as sqlVarcharEncode, et as sqlTextEncode, f as SQL_TIMESTAMP_CODEC_ID, ft as sqlVarcharRenderOutputType, g as SqlConnection, h as SqlCharDescriptor, i as Lowerer, it as sqlTimestampDescriptor, j as SqlTransaction, k as SqlTimestampCodec, l as SQL_FLOAT_CODEC_ID, lt as sqlVarcharDecode, m as SqlCharCodec, n as AdapterProfile, nt as sqlTimestampDecode, o as MarkerReadResult, ot as sqlTimestampEncodeJson, p as SQL_VARCHAR_CODEC_ID, q as sqlIntColumn, r as AdapterTarget, rt as sqlTimestampDecodeJson, s as PreparedExecuteRequest, st as sqlTimestampRenderOutputType, t as Adapter, tt as sqlTimestampColumn, u as SQL_INT_CODEC_ID, ut as sqlVarcharDescriptor, v as SqlDriverState, w as SqlIntDescriptor, x as SqlFloatCodec, y as SqlExecuteRequest, z as sqlCharEncode } from "./ast-DSuzmsWn.mjs";
|
|
5
|
+
import { a as Expression, c as RawSqlTag, d as TraitExpression, f as buildOperation, g as toExpr, h as param, i as CodecValue, l as ScalarListExpression, m as createRawSql, n as CodecExpression, o as RawCodecInferer, p as codecOf, r as CodecTypesBase, s as RawSqlBuilder, t as BuildOperationSpec, u as ScopeField } from "./expression-DIf8F4Mc.mjs";
|
|
6
|
+
import { t as SqlExecutionPlan } from "./sql-execution-plan-CJmsCP7n-DoEpNn7r.mjs";
|
|
7
|
+
import { n as planFromAst, t as SqlQueryPlan } from "./plan-BTD8xFfa-Dd_K-A1R.mjs";
|
|
8
|
+
import "./plan-Cm4jaoNM.mjs";
|
|
9
|
+
import { a as MutationDefaultsOptions, i as MutationDefaultsOp, n as CodecDescriptorRegistry, o as TypeHelperRegistry, r as ExecutionContext, t as AppliedMutationDefault } from "./query-lane-context-DtdVMqoz-C2Tj5QHA.mjs";
|
|
10
|
+
import "./query-lane-context-Bz8XJZ45.mjs";
|
|
11
|
+
import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-B4XbF4d4-tfwBl6mX.mjs";
|
|
12
|
+
import { C as TableDef, E as TablesOf, S as SqlPlan, T as TableMetadata, _ as RawTemplateFactory, a as ColumnsOf, b as SqlBuilderOptions, c as META, d as ModelMetadata, f as OperationTypeSignature, g as RawFunctionOptions, h as RawFactory, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as RawTemplateOptions, w as TableKey, x as SqlOrmPlan, y as RuntimeScope } from "./types-Dl20lxky-DC_jdA0T.mjs";
|
|
13
|
+
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AppliedMutationDefault, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecDescriptorRegistry, CodecExpression, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, CodecTypes, CodecTypesBase, CodecValue, ColumnRef, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, MutationDefaultsOp, MutationDefaultsOptions, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawCodecInferer, RawExpr, RawFactory, RawFunctionOptions, RawSqlBuilder, RawSqlExpr, RawSqlLiteral, RawSqlTag, RawTemplateFactory, RawTemplateOptions, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, ScalarListExpression, ScopeField, SelectAst, SelectAstOptions, SqlBuilderOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, type SqlExecutionPlan, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, type SqlOrmPlan, type SqlParamRefMutator, type SqlParamRefMutatorInternal, SqlPlan, SqlQueryPlan, SqlQueryResult, SqlQueryable, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { A as PreparedParamRef, B as isQueryAst, C as LiteralExpr, D as OrExpr, E as OperationExpr, F as SubqueryExpr, H as queryAstKinds, I as TableSource, L as UpdateAst, M as RawExpr, N as RawSqlExpr, O as OrderByItem, P as SelectAst, R as WindowFuncExpr, S as ListExpression, T as NullCheckExpr, U as whereExprKinds, V as isWhereExpr, _ as InsertAst, a as CastExpr, b as JsonArrayAggExpr, c as DeleteAst, d as DoUpdateSetConflictAction, f as EqColJoinOn, g as IdentifierRef, h as FunctionSource, i as CaseExpr, j as ProjectionItem, k as ParamRef, l as DerivedTableSource, m as FunctionCallExpr, n as AndExpr, o as ColumnRef, p as ExistsExpr, r as BinaryExpr, s as DefaultValueExpr, t as AggregateExpr, u as DoNothingConflictAction, v as InsertOnConflict, w as NotExpr, x as JsonObjectExpr, y as JoinAst, z as frozenCodecRef } from "./types-BgkZru_1-H7yfikSQ.mjs";
|
|
2
|
+
import { a as ForeignKeyConstraint, c as PrimaryKeyConstraint, i as DdlNode, l as UniqueConstraint, n as DdlColumn, o as FunctionColumnDefault, r as DdlColumnDefault, s as LiteralColumnDefault, t as CheckExpressionConstraint, u as isDdlNode } from "./ddl-types-BMp2bWVS-D1waZJ4n.mjs";
|
|
3
|
+
import { n as compact, t as collectOrderedParamRefs } from "./util-DQQgv2j1-D6INZaRG.mjs";
|
|
4
|
+
import { A as sqlFloatDescriptor, B as sqlTextEncode, C as sqlCharDecode, D as sqlFloatColumn, E as sqlCharRenderOutputType, F as sqlIntDescriptor, G as sqlTimestampEncode, H as sqlTimestampDecode, I as sqlIntEncode, J as sqlVarcharColumn, K as sqlTimestampEncodeJson, L as sqlTextColumn, M as sqlFloatEncodeJson, N as sqlIntColumn, O as sqlFloatDecode, P as sqlIntDecode, Q as sqlVarcharRenderOutputType, R as sqlTextDecode, S as sqlCharColumn, T as sqlCharEncode, U as sqlTimestampDecodeJson, V as sqlTimestampColumn, W as sqlTimestampDescriptor, X as sqlVarcharDescriptor, Y as sqlVarcharDecode, Z as sqlVarcharEncode, _ as SqlTextDescriptor, a as SQL_FLOAT_CODEC_ID, b as SqlVarcharCodec, c as SQL_TIMESTAMP_CODEC_ID, d as SqlCharDescriptor, f as SqlFloatCodec, g as SqlTextCodec, h as SqlIntDescriptor, i as SQL_CHAR_CODEC_ID, j as sqlFloatEncode, k as sqlFloatDecodeJson, l as SQL_VARCHAR_CODEC_ID, m as SqlIntCodec, n as JsonDocumentProjection, o as SQL_INT_CODEC_ID, p as SqlFloatDescriptor, q as sqlTimestampRenderOutputType, r as NativeJsonValueProjection, s as SQL_TEXT_CODEC_ID, t as CodecJsonValueProjection, u as SqlCharCodec, v as SqlTimestampCodec, w as sqlCharDescriptor, x as SqlVarcharDescriptor, y as SqlTimestampDescriptor, z as sqlTextDescriptor } from "./ast-BstHjAoG.mjs";
|
|
5
|
+
import { a as toExpr, i as param, n as codecOf, r as createRawSql, t as buildOperation } from "./expression-RUO52bJB.mjs";
|
|
6
|
+
import { t as createSqlParamRefMutator } from "./middleware-CMr4CHNz-DHIUdxlm.mjs";
|
|
7
|
+
import { t as planFromAst } from "./plan-CkpcgUaM.mjs";
|
|
8
|
+
export { AggregateExpr, AndExpr, BinaryExpr, CaseExpr, CastExpr, CheckExpressionConstraint, CodecJsonValueProjection, ColumnRef, DdlColumn, DdlColumnDefault, DdlNode, DefaultValueExpr, DeleteAst, DerivedTableSource, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, JoinAst, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectExpr, ListExpression, LiteralColumnDefault, LiteralExpr, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawSqlExpr, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { a as CodecRef$1, c as DescriptorCodecId, d as DescriptorCodecTraits, f as ExtractCodecTypes, g as frozenCodecRef, h as SqlColumnRef, i as CodecDescriptor$1, l as DescriptorCodecInput, m as SqlCodecInstanceContext, n as Codec$1, o as CodecTrait$1, p as SqlCodecCallContext, r as CodecCallContext$1, s as ContractCodecRegistry, t as AnyCodecDescriptor, u as DescriptorCodecJson } from "./codec-types-MOaceoPi-C5eL2sao.mjs";
|
|
2
|
+
import { $ as NativeJsonValueProjection, A as ExprVisitor, B as InsertValue, C as DeleteAst, Ct as isWhereExpr, D as DoUpdateSetConflictAction, E as DoNothingConflictAction, F as FunctionSource, G as JsonObjectEntry, H as JoinOnExpr, I as FunctionSourceAlias, J as LimitOffsetValue, K as JsonObjectExpr, L as IdentifierRef, M as ExpressionRewriter, N as ExpressionSource, O as EqColJoinOn, P as FunctionCallExpr, Q as LoweredStatement, R as InsertAst, S as DefaultValueExpr, St as isQueryAst, T as Direction, Tt as whereExprKinds, U as JsonArrayAggExpr, V as JoinAst, W as JsonDocumentProjection, X as LiteralExpr, Y as ListExpression, Z as LoweredParam, _ as CaseBranch, _t as ToWhereExpr, a as AndExpr, at as ParamRef, b as CodecJsonValueProjection, bt as WindowFn, c as AnyInsertOnConflictAction, ct as ProjectionItem, d as AnyOperationArg, dt as RawSqlLiteral, et as NotExpr, f as AnyParamRef, ft as SelectAst, g as BinaryOp, gt as TableSource, h as BinaryExpr, ht as TableRef, i as AggregateOpFn, it as OrderByItem, j as ExpressionFolder, k as ExistsExpr, l as AnyInsertValue, lt as RawExpr, m as AstRewriter, mt as SubqueryExpr, n as AggregateExpr, nt as OperationExpr, o as AnyExpression, ot as PreparedParamRef, p as AnyQueryAst, pt as SelectAstOptions, q as JsonValueProjectionVisitor, r as AggregateFn, rt as OrExpr, s as AnyFromSource, st as ProjectionExpr, t as AggregateCountFn, tt as NullCheckExpr, u as AnyJsonValueProjection, ut as RawSqlExpr, v as CaseExpr, vt as UpdateAst, w as DerivedTableSource, wt as queryAstKinds, x as ColumnRef, xt as WindowFuncExpr, y as CastExpr, yt as WhereArg, z as InsertOnConflict } from "./types-DIBA80mc-wf5wLmON.mjs";
|
|
3
|
+
import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-rrMsf77U-DGctYf-T.mjs";
|
|
4
|
+
import { $ as sqlTextDescriptor, A as SqlTimestampDescriptor, B as sqlCharRenderOutputType, C as SqlIntCodec, D as SqlTextCodec, E as SqlQueryable, F as compact, G as sqlFloatEncode, H as sqlFloatDecode, I as sqlCharColumn, J as sqlIntDecode, K as sqlFloatEncodeJson, L as sqlCharDecode, M as SqlVarcharCodec, N as SqlVarcharDescriptor, O as SqlTextDescriptor, P as collectOrderedParamRefs, Q as sqlTextDecode, R as sqlCharDescriptor, S as SqlFloatDescriptor, T as SqlQueryResult, U as sqlFloatDecodeJson, V as sqlFloatColumn, W as sqlFloatDescriptor, X as sqlIntEncode, Y as sqlIntDescriptor, Z as sqlTextColumn, _ as SqlDriver, a as LowererContext, at as sqlTimestampEncode, b as SqlExplainResult, c as SQL_CHAR_CODEC_ID, ct as sqlVarcharColumn, d as SQL_TEXT_CODEC_ID, dt as sqlVarcharEncode, et as sqlTextEncode, f as SQL_TIMESTAMP_CODEC_ID, ft as sqlVarcharRenderOutputType, g as SqlConnection, h as SqlCharDescriptor, i as Lowerer, it as sqlTimestampDescriptor, j as SqlTransaction, k as SqlTimestampCodec, l as SQL_FLOAT_CODEC_ID, lt as sqlVarcharDecode, m as SqlCharCodec, n as AdapterProfile, nt as sqlTimestampDecode, o as MarkerReadResult, ot as sqlTimestampEncodeJson, p as SQL_VARCHAR_CODEC_ID, q as sqlIntColumn, r as AdapterTarget, rt as sqlTimestampDecodeJson, s as PreparedExecuteRequest, st as sqlTimestampRenderOutputType, t as Adapter, tt as sqlTimestampColumn, u as SQL_INT_CODEC_ID, ut as sqlVarcharDescriptor, v as SqlDriverState, w as SqlIntDescriptor, x as SqlFloatCodec, y as SqlExecuteRequest, z as sqlCharEncode } from "./ast-DSuzmsWn.mjs";
|
|
5
|
+
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyJsonValueProjection, AnyOperationArg, AnyParamRef, AnyQueryAst, AstRewriter, BinaryExpr, BinaryOp, CaseBranch, CaseExpr, CastExpr, CheckExpressionConstraint, Codec$1 as Codec, type CodecCallContext$1 as CodecCallContext, type CodecDescriptor$1 as CodecDescriptor, CodecJsonValueProjection, type CodecRef$1 as CodecRef, type CodecTrait$1 as CodecTrait, ColumnRef, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecJson, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ExprVisitor, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, FunctionSourceAlias, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectEntry, JsonObjectExpr, JsonValueProjectionVisitor, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, MarkerReadResult, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawExpr, RawSqlExpr, RawSqlLiteral, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SelectAstOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlQueryResult, SqlQueryable, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableRef, TableSource, ToWhereExpr, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, collectOrderedParamRefs, compact, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, whereExprKinds };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { A as PreparedParamRef, B as isQueryAst, C as LiteralExpr, D as OrExpr, E as OperationExpr, F as SubqueryExpr, H as queryAstKinds, I as TableSource, L as UpdateAst, M as RawExpr, N as RawSqlExpr, O as OrderByItem, P as SelectAst, R as WindowFuncExpr, S as ListExpression, T as NullCheckExpr, U as whereExprKinds, V as isWhereExpr, _ as InsertAst, a as CastExpr, b as JsonArrayAggExpr, c as DeleteAst, d as DoUpdateSetConflictAction, f as EqColJoinOn, g as IdentifierRef, h as FunctionSource, i as CaseExpr, j as ProjectionItem, k as ParamRef, l as DerivedTableSource, m as FunctionCallExpr, n as AndExpr, o as ColumnRef, p as ExistsExpr, r as BinaryExpr, s as DefaultValueExpr, t as AggregateExpr, u as DoNothingConflictAction, v as InsertOnConflict, w as NotExpr, x as JsonObjectExpr, y as JoinAst, z as frozenCodecRef } from "./types-BgkZru_1-H7yfikSQ.mjs";
|
|
2
|
+
import { a as ForeignKeyConstraint, c as PrimaryKeyConstraint, i as DdlNode, l as UniqueConstraint, n as DdlColumn, o as FunctionColumnDefault, r as DdlColumnDefault, s as LiteralColumnDefault, t as CheckExpressionConstraint, u as isDdlNode } from "./ddl-types-BMp2bWVS-D1waZJ4n.mjs";
|
|
3
|
+
import { n as compact, t as collectOrderedParamRefs } from "./util-DQQgv2j1-D6INZaRG.mjs";
|
|
4
|
+
import { A as sqlFloatDescriptor, B as sqlTextEncode, C as sqlCharDecode, D as sqlFloatColumn, E as sqlCharRenderOutputType, F as sqlIntDescriptor, G as sqlTimestampEncode, H as sqlTimestampDecode, I as sqlIntEncode, J as sqlVarcharColumn, K as sqlTimestampEncodeJson, L as sqlTextColumn, M as sqlFloatEncodeJson, N as sqlIntColumn, O as sqlFloatDecode, P as sqlIntDecode, Q as sqlVarcharRenderOutputType, R as sqlTextDecode, S as sqlCharColumn, T as sqlCharEncode, U as sqlTimestampDecodeJson, V as sqlTimestampColumn, W as sqlTimestampDescriptor, X as sqlVarcharDescriptor, Y as sqlVarcharDecode, Z as sqlVarcharEncode, _ as SqlTextDescriptor, a as SQL_FLOAT_CODEC_ID, b as SqlVarcharCodec, c as SQL_TIMESTAMP_CODEC_ID, d as SqlCharDescriptor, f as SqlFloatCodec, g as SqlTextCodec, h as SqlIntDescriptor, i as SQL_CHAR_CODEC_ID, j as sqlFloatEncode, k as sqlFloatDecodeJson, l as SQL_VARCHAR_CODEC_ID, m as SqlIntCodec, n as JsonDocumentProjection, o as SQL_INT_CODEC_ID, p as SqlFloatDescriptor, q as sqlTimestampRenderOutputType, r as NativeJsonValueProjection, s as SQL_TEXT_CODEC_ID, t as CodecJsonValueProjection, u as SqlCharCodec, v as SqlTimestampCodec, w as sqlCharDescriptor, x as SqlVarcharDescriptor, y as SqlTimestampDescriptor, z as sqlTextDescriptor } from "./ast-BstHjAoG.mjs";
|
|
5
|
+
export { AggregateExpr, AndExpr, BinaryExpr, CaseExpr, CastExpr, CheckExpressionConstraint, CodecJsonValueProjection, ColumnRef, DdlColumn, DdlColumnDefault, DdlNode, DefaultValueExpr, DeleteAst, DerivedTableSource, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ForeignKeyConstraint, FunctionCallExpr, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, JoinAst, JsonArrayAggExpr, JsonDocumentProjection, JsonObjectExpr, ListExpression, LiteralColumnDefault, LiteralExpr, NativeJsonValueProjection, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawSqlExpr, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, collectOrderedParamRefs, compact, frozenCodecRef, isDdlNode, isQueryAst, isWhereExpr, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDecodeJson, sqlFloatDescriptor, sqlFloatEncode, sqlFloatEncodeJson, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, whereExprKinds };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as AnyCodecDescriptor$1 } from "./codec-types-MOaceoPi-C5eL2sao.mjs";
|
|
2
|
+
import { c as SqlStorage } from "./sql-storage-B0QwiTg6-B8DVctJm.mjs";
|
|
3
|
+
import "./types-BchwQpmO.mjs";
|
|
4
|
+
import { n as CodecDescriptorRegistry } from "./query-lane-context-DtdVMqoz-C2Tj5QHA.mjs";
|
|
5
|
+
import { CodecRef } from "@prisma/orm-framework/components/codec";
|
|
6
|
+
//#region ../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.d.mts
|
|
7
|
+
//#region src/codec-descriptor-registry.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* Build a {@link CodecDescriptorRegistry} from a flat descriptor list.
|
|
10
|
+
*
|
|
11
|
+
* Used by:
|
|
12
|
+
* - Each codec-shipping package's `core/registry.ts` to expose a package-scoped registry as the public consumer surface (replacing raw descriptor-array exports). See ADR 208.
|
|
13
|
+
* - The runtime's `buildExecutionContext` to construct the contract-bound combined registry from every contributor's `codecs:` slot.
|
|
14
|
+
*
|
|
15
|
+
* The descriptor map is heterogeneous in `P` — each codec id has its own params shape. The public {@link CodecDescriptorRegistry} interface widens to `CodecDescriptor<unknown>` and consumers narrow per codec id at the call site (the descriptor's `paramsSchema` validates JSON-sourced params before the factory ever sees them, so the runtime narrow is safe). The cast at registration goes through `unknown` because
|
|
16
|
+
* `CodecDescriptor<P>` is invariant in `P` (the `factory` and `renderOutputType` slots use `P` contravariantly).
|
|
17
|
+
*/
|
|
18
|
+
declare function buildCodecDescriptorRegistry(allDescriptors: ReadonlyArray<AnyCodecDescriptor$1>, storage?: SqlStorage): CodecDescriptorRegistry;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/codec-ref-for-column.d.ts
|
|
21
|
+
/**
|
|
22
|
+
* Derive the canonical {@link CodecRef} for a `(table, column)` pair against a {@link SqlStorage}. This is the build-time path every column-bound `ParamRef` / `ProjectionItem` uses to stamp its `codec` slot before the AST is handed to the runtime — the runtime resolver then materialises a memoised {@link import('@prisma/orm-family-sql/relational-core/ast').Codec} for the same `CodecRef` via `forCodecRef`.
|
|
23
|
+
*
|
|
24
|
+
* Resolution rules over namespace `entries.table[table].columns[column]`:
|
|
25
|
+
*
|
|
26
|
+
* - `typeRef` column → `{codecId, typeParams}` from `storage.types[typeRef]` (multiple columns sharing the typeRef share one ref → one memoised codec).
|
|
27
|
+
* - inline `typeParams` column → `{codecId, typeParams}` from the column itself.
|
|
28
|
+
* - non-parameterized column → `{codecId}` with `typeParams` undefined.
|
|
29
|
+
*
|
|
30
|
+
* Returns `undefined` when the table or column is unknown, or when a `typeRef` column references a `storage.types` entry that does not exist.
|
|
31
|
+
*
|
|
32
|
+
* `namespaceId` leads the coordinate args and is always supplied: every
|
|
33
|
+
* model/table sits in an explicit namespace, so the table is resolved strictly
|
|
34
|
+
* within that namespace (see {@link resolveStorageTable}).
|
|
35
|
+
*/
|
|
36
|
+
declare function codecRefForStorageColumn(storage: SqlStorage, namespaceId: string, tableName: string, columnName: string): CodecRef | undefined;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { buildCodecDescriptorRegistry, codecRefForStorageColumn };
|
|
39
|
+
//# sourceMappingURL=relational-core__codec-descriptor-registry.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relational-core__codec-descriptor-registry.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/codec-descriptor-registry.d.mts"],"mappings":";;;;;;;;;;;;;;;;;iBAeiB,6BAA6B,gBAAgB,cAAc,uBAAqB,UAAU,aAAa;;;;;;;;;;;;;;;;;;iBAkBvG,yBAAyB,SAAS,YAAY,qBAAqB,mBAAmB,qBAAqB"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { a as CodecRef$1 } from "./codec-types-MOaceoPi-C5eL2sao.mjs";
|
|
2
|
+
import { a as ReferentialAction } from "./foreign-key-BSy9u4O4-BnsOe5Nf.mjs";
|
|
3
|
+
import "./types-BchwQpmO.mjs";
|
|
4
|
+
import { R as InsertAst, V as JoinAst, ct as ProjectionItem, ft as SelectAst, gt as TableSource, it as OrderByItem, o as AnyExpression, s as AnyFromSource, vt as UpdateAst, x as ColumnRef } from "./types-DIBA80mc-wf5wLmON.mjs";
|
|
5
|
+
import { d as LiteralColumnDefault, f as PrimaryKeyConstraint, l as ForeignKeyConstraint, n as CheckExpressionConstraint, p as UniqueConstraint, r as DdlColumn, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-rrMsf77U-DGctYf-T.mjs";
|
|
6
|
+
import { ColumnDefaultLiteralInputValue } from "@prisma/orm-framework/contract/types";
|
|
7
|
+
import { ParamSpec } from "@prisma/orm-framework/operations";
|
|
8
|
+
//#region ../../../2-sql/4-lanes/relational-core/dist/exports/contract-free.d.mts
|
|
9
|
+
//#region src/contract-free/column.d.ts
|
|
10
|
+
interface DdlColumnOptions {
|
|
11
|
+
readonly notNull?: boolean;
|
|
12
|
+
readonly primaryKey?: boolean;
|
|
13
|
+
readonly default?: AnyDdlColumnDefault;
|
|
14
|
+
readonly codecRef?: CodecRef$1;
|
|
15
|
+
}
|
|
16
|
+
declare function lit(value: ColumnDefaultLiteralInputValue): LiteralColumnDefault;
|
|
17
|
+
declare function fn(expression: string): FunctionColumnDefault;
|
|
18
|
+
declare function col(name: string, type: string, options?: DdlColumnOptions): DdlColumn;
|
|
19
|
+
declare function primaryKey(columns: readonly string[], options?: {
|
|
20
|
+
readonly name?: string;
|
|
21
|
+
}): PrimaryKeyConstraint;
|
|
22
|
+
declare function foreignKey(columns: readonly string[], refTable: string, refColumns: readonly string[], options?: {
|
|
23
|
+
readonly name?: string;
|
|
24
|
+
readonly onDelete?: ReferentialAction;
|
|
25
|
+
readonly onUpdate?: ReferentialAction;
|
|
26
|
+
}): ForeignKeyConstraint;
|
|
27
|
+
declare function unique(columns: readonly string[], options?: {
|
|
28
|
+
readonly name?: string;
|
|
29
|
+
}): UniqueConstraint;
|
|
30
|
+
declare function checkExpression(name: string, expression: string): CheckExpressionConstraint;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/contract-free/table.d.ts
|
|
33
|
+
interface ColumnDescriptor {
|
|
34
|
+
readonly codecId: string;
|
|
35
|
+
readonly nullable: boolean;
|
|
36
|
+
}
|
|
37
|
+
type ColumnSchema = Record<string, ColumnDescriptor>;
|
|
38
|
+
/**
|
|
39
|
+
* A composable WHERE / ON expression. Wraps an `AnyExpression` and exposes
|
|
40
|
+
* fluent boolean combinators, mirroring the spirit of `sql-builder`'s
|
|
41
|
+
* `Expression` interface without the contract-bound type machinery.
|
|
42
|
+
*/
|
|
43
|
+
declare class CfExpr {
|
|
44
|
+
readonly ast: AnyExpression;
|
|
45
|
+
constructor(ast: AnyExpression);
|
|
46
|
+
and(other: CfExpr): CfExpr;
|
|
47
|
+
or(other: CfExpr): CfExpr;
|
|
48
|
+
not(): CfExpr;
|
|
49
|
+
isNull(): CfExpr;
|
|
50
|
+
isNotNull(): CfExpr;
|
|
51
|
+
eqLit(value: number | string | boolean): CfExpr;
|
|
52
|
+
gtLit(value: number | string | boolean): CfExpr;
|
|
53
|
+
eqParam(value: unknown, codecId: string): CfExpr;
|
|
54
|
+
eqExpr(other: CfExpr): CfExpr;
|
|
55
|
+
}
|
|
56
|
+
interface CfFnOptions {
|
|
57
|
+
readonly method: string;
|
|
58
|
+
readonly template: string;
|
|
59
|
+
readonly self: CfExpr;
|
|
60
|
+
readonly args?: ReadonlyArray<CfExpr>;
|
|
61
|
+
readonly returns: ParamSpec;
|
|
62
|
+
}
|
|
63
|
+
declare const cfExpr: {
|
|
64
|
+
countStar(): CfExpr;
|
|
65
|
+
lit(value: number | string | boolean): CfExpr;
|
|
66
|
+
identifierRef(name: string): CfExpr;
|
|
67
|
+
param(value: unknown, codecId: string): CfExpr;
|
|
68
|
+
/**
|
|
69
|
+
* Catalog function call lowered via a `'function'`-strategy template
|
|
70
|
+
* (e.g. `to_regclass({{self}})`). Owns the `OperationExpr` assembly so
|
|
71
|
+
* target packages only supply vocabulary: template, codec'd operands,
|
|
72
|
+
* and return spec.
|
|
73
|
+
*/
|
|
74
|
+
fn(options: CfFnOptions): CfExpr;
|
|
75
|
+
columnRef(qualifier: string, name: string): CfExpr;
|
|
76
|
+
allOf(exprs: ReadonlyArray<CfExpr>): CfExpr;
|
|
77
|
+
/**
|
|
78
|
+
* Opaque DB-side SQL expression (e.g. `current_schema()`) carried as a
|
|
79
|
+
* `RawExpr`. For zero-operand catalog functions where a `'function'`
|
|
80
|
+
* lowering template has nothing to substitute.
|
|
81
|
+
*/
|
|
82
|
+
raw(sql: string, returns: ParamSpec): CfExpr;
|
|
83
|
+
exists(query: CfExprSelectQuery): CfExpr;
|
|
84
|
+
notExists(query: CfExprSelectQuery): CfExpr;
|
|
85
|
+
};
|
|
86
|
+
/** Aliased table source for catalog queries (no namespace coordinate). */
|
|
87
|
+
declare function cfTable(name: string, alias?: string): TableSource;
|
|
88
|
+
declare class CfExprSelectQuery {
|
|
89
|
+
private readonly src;
|
|
90
|
+
private readonly projectionItems;
|
|
91
|
+
private readonly whereExpr;
|
|
92
|
+
private readonly joinItems;
|
|
93
|
+
private readonly limitValue;
|
|
94
|
+
constructor(src: AnyFromSource | undefined, projectionItems: ReadonlyArray<ProjectionItem>, whereExpr: CfExpr | undefined, joinItems?: ReadonlyArray<JoinAst>, limitValue?: number | undefined);
|
|
95
|
+
from(source: AnyFromSource): CfExprSelectQuery;
|
|
96
|
+
join(source: AnyFromSource, on: CfExpr): CfExprSelectQuery;
|
|
97
|
+
leftJoin(source: AnyFromSource, on: CfExpr): CfExprSelectQuery;
|
|
98
|
+
project(alias: string, expr: CfExpr): CfExprSelectQuery;
|
|
99
|
+
where(expr: CfExpr): CfExprSelectQuery;
|
|
100
|
+
limit(value: number): CfExprSelectQuery;
|
|
101
|
+
build(): SelectAst;
|
|
102
|
+
}
|
|
103
|
+
declare function exprSelect(): CfExprSelectQuery;
|
|
104
|
+
/**
|
|
105
|
+
* Per-column authoring handle exposed as a keyed property on a {@link TableHandle}.
|
|
106
|
+
* Carries codec metadata baked at declaration time so no codec ID, table name, or
|
|
107
|
+
* column name needs to be repeated at the call site.
|
|
108
|
+
*/
|
|
109
|
+
interface ColumnProxy {
|
|
110
|
+
readonly codecId: string;
|
|
111
|
+
readonly nullable: boolean;
|
|
112
|
+
readonly columnName: string;
|
|
113
|
+
readonly tableName: string;
|
|
114
|
+
eq(value: unknown): CfExpr;
|
|
115
|
+
neq(value: unknown): CfExpr;
|
|
116
|
+
isNull(): CfExpr;
|
|
117
|
+
isNotNull(): CfExpr;
|
|
118
|
+
toRef(): ColumnRef;
|
|
119
|
+
toProjectionItem(alias?: string): ProjectionItem;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Object passed to the {@link CfConflictClause.doUpdate} callback. Each key
|
|
123
|
+
* resolves to a `ColumnRef` for the corresponding `excluded.<column>`, so the
|
|
124
|
+
* upsert conflict-update branch can copy proposed values without re-binding
|
|
125
|
+
* parameters.
|
|
126
|
+
*/
|
|
127
|
+
type ExcludedProxy<Schema extends ColumnSchema> = { readonly [K in keyof Schema]: ColumnRef; };
|
|
128
|
+
type TableInsertRow<Schema extends ColumnSchema> = { readonly [K in keyof Schema]: unknown; };
|
|
129
|
+
type TableSetValues<Schema extends ColumnSchema> = { readonly [K in keyof Schema]?: unknown; };
|
|
130
|
+
/**
|
|
131
|
+
* Fluent authoring handle for a fixed control-plane table. Column proxies are
|
|
132
|
+
* exposed as keyed properties so `handle.columnName.eq(value)` composes without
|
|
133
|
+
* threading codec IDs, table names, or column refs at the call site.
|
|
134
|
+
*/
|
|
135
|
+
type TableHandle<Schema extends ColumnSchema> = {
|
|
136
|
+
readonly source: TableSource;
|
|
137
|
+
insert(row: TableInsertRow<Schema>): CfInsertQuery<Schema>;
|
|
138
|
+
upsert(row: TableInsertRow<Schema>): CfUpsertBuilder<Schema>;
|
|
139
|
+
update(): CfUpdateQuery<Schema>;
|
|
140
|
+
select(...columns: ReadonlyArray<ColumnProxy>): CfSelectQuery;
|
|
141
|
+
} & { readonly [K in keyof Schema]: ColumnProxy; };
|
|
142
|
+
declare class CfInsertQuery<Schema extends ColumnSchema> {
|
|
143
|
+
private readonly src;
|
|
144
|
+
private readonly schema;
|
|
145
|
+
private readonly rowValues;
|
|
146
|
+
private readonly returningItems;
|
|
147
|
+
constructor(src: TableSource, schema: Schema, rowValues: TableInsertRow<Schema>, returningItems?: ReadonlyArray<ProjectionItem> | undefined);
|
|
148
|
+
returning(...columns: ReadonlyArray<ColumnProxy>): CfInsertQuery<Schema>;
|
|
149
|
+
build(): InsertAst;
|
|
150
|
+
}
|
|
151
|
+
declare class CfUpsertBuilder<Schema extends ColumnSchema> {
|
|
152
|
+
private readonly src;
|
|
153
|
+
private readonly schema;
|
|
154
|
+
private readonly rowValues;
|
|
155
|
+
constructor(src: TableSource, schema: Schema, rowValues: TableInsertRow<Schema>);
|
|
156
|
+
onConflict(...columns: ReadonlyArray<ColumnProxy>): CfConflictClause<Schema>;
|
|
157
|
+
}
|
|
158
|
+
declare class CfConflictClause<Schema extends ColumnSchema> {
|
|
159
|
+
private readonly src;
|
|
160
|
+
private readonly schema;
|
|
161
|
+
private readonly rowValues;
|
|
162
|
+
private readonly conflictCols;
|
|
163
|
+
constructor(src: TableSource, schema: Schema, rowValues: TableInsertRow<Schema>, conflictCols: ReadonlyArray<ColumnProxy>);
|
|
164
|
+
doUpdate(setOrCallback: TableSetValues<Schema> | ((excluded: ExcludedProxy<Schema>) => TableSetValues<Schema>)): CfUpsertQuery<Schema>;
|
|
165
|
+
doNothing(): CfUpsertQuery<Schema>;
|
|
166
|
+
}
|
|
167
|
+
declare class CfUpsertQuery<Schema extends ColumnSchema> {
|
|
168
|
+
private readonly src;
|
|
169
|
+
private readonly schema;
|
|
170
|
+
private readonly rowValues;
|
|
171
|
+
private readonly conflictCols;
|
|
172
|
+
private readonly updateSet;
|
|
173
|
+
constructor(src: TableSource, schema: Schema, rowValues: TableInsertRow<Schema>, conflictCols: ReadonlyArray<ColumnProxy>, updateSet: TableSetValues<Schema> | undefined);
|
|
174
|
+
build(): InsertAst;
|
|
175
|
+
}
|
|
176
|
+
declare class CfUpdateQuery<Schema extends ColumnSchema> {
|
|
177
|
+
private readonly src;
|
|
178
|
+
private readonly schema;
|
|
179
|
+
private readonly setValues;
|
|
180
|
+
private readonly whereExpr;
|
|
181
|
+
private readonly returningItems;
|
|
182
|
+
constructor(src: TableSource, schema: Schema, setValues?: TableSetValues<Schema> | undefined, whereExpr?: CfExpr | undefined, returningItems?: ReadonlyArray<ProjectionItem> | undefined);
|
|
183
|
+
set(values: TableSetValues<Schema>): CfUpdateQuery<Schema>;
|
|
184
|
+
where(expr: CfExpr): CfUpdateQuery<Schema>;
|
|
185
|
+
returning(...columns: ReadonlyArray<ColumnProxy>): CfUpdateQuery<Schema>;
|
|
186
|
+
build(): UpdateAst;
|
|
187
|
+
}
|
|
188
|
+
declare class CfSelectQuery {
|
|
189
|
+
private readonly src;
|
|
190
|
+
private readonly projectionItems;
|
|
191
|
+
private readonly whereExpr;
|
|
192
|
+
private readonly orderByItems;
|
|
193
|
+
constructor(src: TableSource, projectionItems: ReadonlyArray<ProjectionItem>, whereExpr?: CfExpr | undefined, orderByItems?: ReadonlyArray<OrderByItem>);
|
|
194
|
+
where(expr: CfExpr): CfSelectQuery;
|
|
195
|
+
orderBy(column: ColumnProxy, dir?: 'asc' | 'desc'): CfSelectQuery;
|
|
196
|
+
build(): SelectAst;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Declare a control-plane table once, binding column codecs at declaration time.
|
|
200
|
+
* Returns a `TableHandle` whose column properties compose expressions directly
|
|
201
|
+
* without per-call-site codec or column-name threading.
|
|
202
|
+
*
|
|
203
|
+
* ```ts
|
|
204
|
+
* const marker = pgTable({ name: 'marker', schema: 'prisma_contract' }, {
|
|
205
|
+
* space: text(),
|
|
206
|
+
* core_hash: text(),
|
|
207
|
+
* updated_at: timestamptz(),
|
|
208
|
+
* });
|
|
209
|
+
*
|
|
210
|
+
* const query = marker.update()
|
|
211
|
+
* .set({ core_hash: newHash, updated_at: NOW })
|
|
212
|
+
* .where(marker.space.eq(space).and(marker.core_hash.eq(expectedFrom)))
|
|
213
|
+
* .returning(marker.space)
|
|
214
|
+
* .build();
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
217
|
+
declare function table<Schema extends ColumnSchema>(source: TableSource, schema: Schema): TableHandle<Schema>;
|
|
218
|
+
//#endregion
|
|
219
|
+
export { CfConflictClause, CfExpr, CfExprSelectQuery, type CfFnOptions, CfInsertQuery, CfSelectQuery, CfUpdateQuery, CfUpsertBuilder, CfUpsertQuery, type ColumnDescriptor, type ColumnProxy, type ColumnSchema, type DdlColumnOptions, type ExcludedProxy, type TableHandle, type TableInsertRow, type TableSetValues, cfExpr, cfTable, checkExpression, col, exprSelect, fn, foreignKey, lit, primaryKey, table, unique };
|
|
220
|
+
//# sourceMappingURL=relational-core__contract-free.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relational-core__contract-free.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/relational-core/dist/exports/contract-free.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;WACA,UAAU;WACV,WAAW;;iBAEL,IAAI,OAAO,iCAAiC;iBAC5C,GAAG,qBAAqB;iBACxB,IAAI,cAAc,cAAc,UAAU,mBAAmB;iBAC7D,WAAW,4BAA4B;WAC7C;IACP;iBACa,WAAW,4BAA4B,kBAAkB,+BAA+B;WAC9F;WACA,WAAW;WACX,WAAW;IAClB;iBACa,OAAO,4BAA4B;WACzC;IACP;iBACa,gBAAgB,cAAc,qBAAqB;;;UAG1D;WACC;WACA;;KAEN,eAAe,eAAe;;;;;;cAMrB;WACH,KAAK;EACd,YAAY,KAAK;EACjB,IAAI,OAAO,SAAS;EACpB,GAAG,OAAO,SAAS;EACnB,OAAO;EACP,UAAU;EACV,aAAa;EACb,MAAM,mCAAmC;EACzC,MAAM,mCAAmC;EACzC,QAAQ,gBAAgB,kBAAkB;EAC1C,OAAO,OAAO,SAAS;;UAEf;WACC;WACA;WACA,MAAM;WACN,OAAO,cAAc;WACrB,SAAS;;cAEN;EACZ,aAAa;EACb,IAAI,mCAAmC;EACvC,cAAc,eAAe;EAC7B,MAAM,gBAAgB,kBAAkB;;;;;;;EAOxC,GAAG,SAAS,cAAc;EAC1B,UAAU,mBAAmB,eAAe;EAC5C,MAAM,OAAO,cAAc,UAAU;;;;;;EAMrC,IAAI,aAAa,SAAS,YAAY;EACtC,OAAO,OAAO,oBAAoB;EAClC,UAAU,OAAO,oBAAoB;;;iBAGtB,QAAQ,cAAc,iBAAiB;cAC1C;mBACK;mBACA;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,2BAA2B,iBAAiB,cAAc,iBAAiB,WAAW,oBAAoB,YAAY,cAAc,UAAU;EAC/J,KAAK,QAAQ,gBAAgB;EAC7B,KAAK,QAAQ,eAAe,IAAI,SAAS;EACzC,SAAS,QAAQ,eAAe,IAAI,SAAS;EAC7C,QAAQ,eAAe,MAAM,SAAS;EACtC,MAAM,MAAM,SAAS;EACrB,MAAM,gBAAgB;EACtB,SAAS;;iBAEM,cAAc;;;;;;UAMrB;WACC;WACA;WACA;WACA;EACT,GAAG,iBAAiB;EACpB,IAAI,iBAAiB;EACrB,UAAU;EACV,aAAa;EACb,SAAS;EACT,iBAAiB,iBAAiB;;;;;;;;KAQ/B,cAAc,eAAe,4BAA4B,WAAW,SAAS;KAC7E,eAAe,eAAe,4BAA4B,WAAW;KACrE,eAAe,eAAe,4BAA4B,WAAW;;;;;;KAMrE,YAAY,eAAe;WACrB,QAAQ;EACjB,OAAO,KAAK,eAAe,UAAU,cAAc;EACnD,OAAO,KAAK,eAAe,UAAU,gBAAgB;EACrD,UAAU,cAAc;EACxB,UAAU,SAAS,cAAc,eAAe;gBAClC,WAAW,SAAS;cACtB,cAAc,eAAe;mBACxB;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,QAAQ,QAAQ,WAAW,eAAe,SAAS,iBAAiB,cAAc;EAChH,aAAa,SAAS,cAAc,eAAe,cAAc;EACjE,SAAS;;cAEG,gBAAgB,eAAe;mBAC1B;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,QAAQ,QAAQ,WAAW,eAAe;EACxE,cAAc,SAAS,cAAc,eAAe,iBAAiB;;cAEzD,iBAAiB,eAAe;mBAC3B;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,QAAQ,QAAQ,WAAW,eAAe,SAAS,cAAc,cAAc;EAC7G,SAAS,eAAe,eAAe,YAAY,UAAU,cAAc,YAAY,eAAe,WAAW,cAAc;EAC/H,aAAa,cAAc;;cAEf,cAAc,eAAe;mBACxB;mBACA;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,QAAQ,QAAQ,WAAW,eAAe,SAAS,cAAc,cAAc,cAAc,WAAW,eAAe;EACrJ,SAAS;;cAEG,cAAc,eAAe;mBACxB;mBACA;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,QAAQ,QAAQ,YAAY,eAAe,qBAAqB,YAAY,oBAAoB,iBAAiB,cAAc;EAC7J,IAAI,QAAQ,eAAe,UAAU,cAAc;EACnD,MAAM,MAAM,SAAS,cAAc;EACnC,aAAa,SAAS,cAAc,eAAe,cAAc;EACjE,SAAS;;cAEG;mBACK;mBACA;mBACA;mBACA;EACjB,YAAY,KAAK,aAAa,iBAAiB,cAAc,iBAAiB,YAAY,oBAAoB,eAAe,cAAc;EAC3I,MAAM,MAAM,SAAS;EACrB,QAAQ,QAAQ,aAAa,uBAAuB;EACpD,SAAS;;;;;;;;;;;;;;;;;;;;;iBAqBM,MAAM,eAAe,cAAc,QAAQ,aAAa,QAAQ,SAAS,YAAY"}
|