@prisma/orm-family-sql 8.0.0-rc.19-dev.9 → 8.0.0-rc.19-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{aggregate-descriptor-registry-Dd7Uj7DJ.mjs → aggregate-descriptor-registry-ZrKjxwQe.mjs} +3 -3
- package/dist/aggregate-descriptor-registry-ZrKjxwQe.mjs.map +1 -0
- package/dist/{ast-BJs2669T.mjs → ast-D0miQ1B6.mjs} +3 -3
- package/dist/ast-D0miQ1B6.mjs.map +1 -0
- package/dist/{ast-BySjcUKx.d.mts → ast-De1p3DM9.d.mts} +5 -5
- package/dist/ast-De1p3DM9.d.mts.map +1 -0
- package/dist/{attribute-specs-BsaemIyu.d.mts → attribute-specs-CTEOxEJS.d.mts} +5 -5
- package/dist/attribute-specs-CTEOxEJS.d.mts.map +1 -0
- package/dist/{authored-check-naming-CIX7Bbyh.mjs → authored-check-naming-BHGJhjqn.mjs} +5 -5
- package/dist/authored-check-naming-BHGJhjqn.mjs.map +1 -0
- package/dist/{authored-check-naming-CK6T_Dfh.d.mts → authored-check-naming-D-o196ry.d.mts} +3 -3
- package/dist/authored-check-naming-D-o196ry.d.mts.map +1 -0
- package/dist/{authoring-entity-types-CgKIgWq5-Dxf_T0Ih.d.mts → authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts} +3 -3
- package/dist/authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts.map +1 -0
- package/dist/builder.d.mts +3 -3
- package/dist/builder__runtime.d.mts +11 -11
- package/dist/builder__runtime.d.mts.map +1 -1
- package/dist/builder__runtime.mjs +8 -8
- package/dist/builder__runtime.mjs.map +1 -1
- package/dist/builder__types.d.mts +5 -5
- package/dist/{canonicalization-hooks-dmXkOR4a.mjs → canonicalization-hooks-Ce1v_TDl.mjs} +2 -2
- package/dist/canonicalization-hooks-Ce1v_TDl.mjs.map +1 -0
- package/dist/{canonicalization-hooks-CYnW_sGn.d.mts → canonicalization-hooks-DyapQ0my.d.mts} +2 -2
- package/dist/canonicalization-hooks-DyapQ0my.d.mts.map +1 -0
- package/dist/{check-constraint-B7qGu6rc-CBVYAMwG.d.mts → check-constraint-B7qGu6rc-Bk2ezWXu.d.mts} +4 -4
- package/dist/check-constraint-B7qGu6rc-Bk2ezWXu.d.mts.map +1 -0
- package/dist/{codec-descriptor-registry-MG2bFxW_.mjs → codec-descriptor-registry-CiiFzMtb.mjs} +4 -4
- package/dist/codec-descriptor-registry-CiiFzMtb.mjs.map +1 -0
- package/dist/collection-methods-Bc8v7iVP.d.mts +1 -0
- package/dist/{collection-methods-D2UnCS0S-CRYoAOtB.d.mts → collection-methods-D2UnCS0S-CjdGDJ5y.d.mts} +5 -5
- package/dist/collection-methods-D2UnCS0S-CjdGDJ5y.d.mts.map +1 -0
- package/dist/{config-types-D8quwydu.d.mts → config-types-DGD0sYRS.d.mts} +5 -5
- package/dist/config-types-DGD0sYRS.d.mts.map +1 -0
- package/dist/{config-types-BbBY5_GQ.mjs → config-types-DkEeq_qq.mjs} +3 -3
- package/dist/config-types-DkEeq_qq.mjs.map +1 -0
- package/dist/{contract-builder-xFftVmD8.d.mts → contract-builder-BrpdASoV.d.mts} +12 -12
- package/dist/contract-builder-BrpdASoV.d.mts.map +1 -0
- package/dist/{contract-builder-D7cTmhfs.mjs → contract-builder-Dp7AOnHB.mjs} +8 -8
- package/dist/contract-builder-Dp7AOnHB.mjs.map +1 -0
- package/dist/contract-emitter.d.mts +1 -1
- package/dist/contract-emitter.d.mts.map +1 -1
- package/dist/contract-emitter.mjs +1 -1
- package/dist/{contract-errors-BCN6RVI5-5IHBF_lg.mjs → contract-errors-BCN6RVI5-DoH6b_KZ.mjs} +2 -2
- package/dist/contract-errors-BCN6RVI5-DoH6b_KZ.mjs.map +1 -0
- package/dist/contract-prisma7__provider.d.mts +3 -3
- package/dist/contract-prisma7__provider.d.mts.map +1 -1
- package/dist/contract-prisma7__provider.mjs +10 -10
- package/dist/contract-prisma7__provider.mjs.map +1 -1
- package/dist/contract-psl.d.mts +4 -4
- package/dist/contract-psl.d.mts.map +1 -1
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.d.mts +1 -1
- package/dist/contract-psl__attribute-specs.mjs +1 -1
- package/dist/contract-psl__default-table-name.d.mts +1 -1
- package/dist/contract-psl__default-table-name.d.mts.map +1 -1
- package/dist/contract-psl__default-table-name.mjs +1 -1
- package/dist/contract-psl__diagnostics.d.mts +1 -1
- package/dist/contract-psl__diagnostics.d.mts.map +1 -1
- package/dist/contract-psl__diagnostics.mjs +1 -1
- package/dist/contract-psl__map-names.d.mts +1 -1
- package/dist/contract-psl__map-names.d.mts.map +1 -1
- package/dist/contract-psl__map-names.mjs +2 -2
- package/dist/contract-psl__map-names.mjs.map +1 -1
- package/dist/contract-psl__provider.d.mts +3 -3
- package/dist/contract-psl__provider.d.mts.map +1 -1
- package/dist/contract-psl__provider.mjs +3 -3
- package/dist/contract-psl__provider.mjs.map +1 -1
- package/dist/contract-ts.d.mts +4 -4
- package/dist/contract-ts.mjs +4 -4
- package/dist/contract-ts__config-types.d.mts +1 -1
- package/dist/contract-ts__config-types.mjs +1 -1
- package/dist/contract-ts__contract-builder.d.mts +3 -3
- package/dist/contract-ts__contract-builder.mjs +3 -3
- package/dist/{contract-view-BMR5IWk4.mjs → contract-view-DqpzeYeE.mjs} +2 -2
- package/dist/contract-view-DqpzeYeE.mjs.map +1 -0
- package/dist/{contract-view-BgpEwVz0.d.mts → contract-view-DuB35or0.d.mts} +3 -3
- package/dist/contract-view-DuB35or0.d.mts.map +1 -0
- package/dist/contract.d.mts +29 -29
- package/dist/contract.mjs +22 -22
- package/dist/contract__authored-check-naming.d.mts +1 -1
- package/dist/contract__authored-check-naming.mjs +1 -1
- package/dist/contract__canonicalization-hooks.d.mts +1 -1
- package/dist/contract__canonicalization-hooks.mjs +1 -1
- package/dist/contract__contract-view.d.mts +1 -1
- package/dist/contract__contract-view.mjs +1 -1
- package/dist/contract__data-type-support.d.mts +1 -1
- package/dist/contract__data-type-support.mjs +1 -1
- package/dist/contract__data-type.d.mts +1 -1
- package/dist/contract__data-type.mjs +2 -2
- package/dist/contract__entity-handle-lowering-hook.d.mts +1 -1
- package/dist/contract__entity-handle-lowering-hook.mjs +1 -1
- package/dist/contract__entity-kinds.d.mts +1 -1
- package/dist/contract__entity-kinds.mjs +1 -1
- package/dist/contract__factories.d.mts +1 -1
- package/dist/contract__factories.mjs +1 -1
- package/dist/contract__foreign-key-materialization.d.mts +1 -1
- package/dist/contract__foreign-key-materialization.mjs +2 -2
- package/dist/contract__index-naming.d.mts +1 -1
- package/dist/contract__index-naming.mjs +1 -1
- package/dist/contract__index-type-validation.d.mts +1 -1
- package/dist/contract__index-type-validation.mjs +1 -1
- package/dist/contract__index-types.d.mts +2 -2
- package/dist/contract__index-types.mjs +1 -1
- package/dist/contract__referential-action-sql.d.mts +1 -1
- package/dist/contract__referential-action-sql.mjs +1 -1
- package/dist/contract__resolve-storage-table.d.mts +1 -1
- package/dist/contract__resolve-storage-table.mjs +1 -1
- package/dist/contract__sql-expression.d.mts +1 -1
- package/dist/contract__sql-expression.mjs +1 -1
- package/dist/contract__types.d.mts +11 -11
- package/dist/contract__types.mjs +3 -3
- package/dist/contract__validators.d.mts +1 -1
- package/dist/contract__validators.mjs +2 -2
- package/dist/contract__value-set-derivation-hook.d.mts +1 -1
- package/dist/contract__value-set-derivation-hook.mjs +1 -1
- package/dist/{control-BW6gbqvb.d.mts → control-0cDzwyu1.d.mts} +19 -19
- package/dist/control-0cDzwyu1.d.mts.map +1 -0
- package/dist/{control-adapter-El4czoUh.d.mts → control-adapter-BLLXAM9_.d.mts} +5 -5
- package/dist/control-adapter-BLLXAM9_.d.mts.map +1 -0
- package/dist/{control-adapter-Bn0uhplA-D0fhkvnJ.d.mts → control-adapter-Bn0uhplA-DYCjJlfN.d.mts} +10 -10
- package/dist/control-adapter-Bn0uhplA-DYCjJlfN.d.mts.map +1 -0
- package/dist/{control-adapter-DRlEXxsv.mjs → control-adapter-SlQkTEwT.mjs} +3 -3
- package/dist/control-adapter-SlQkTEwT.mjs.map +1 -0
- package/dist/{control-DnFJf5_F.mjs → control-ba0_VwlQ.mjs} +18 -18
- package/dist/control-ba0_VwlQ.mjs.map +1 -0
- package/dist/{data-type-BMnEHaW3.mjs → data-type-BFSpaotu.mjs} +3 -3
- package/dist/data-type-BFSpaotu.mjs.map +1 -0
- package/dist/{data-type-iatMyRs6.d.mts → data-type-DJIvKQHf.d.mts} +4 -4
- package/dist/data-type-DJIvKQHf.d.mts.map +1 -0
- package/dist/{data-type-support-juGV2d9c.mjs → data-type-support-BhSoPUFj.mjs} +2 -2
- package/dist/data-type-support-BhSoPUFj.mjs.map +1 -0
- package/dist/{data-type-support-a9BR-PbH.d.mts → data-type-support-CXpA0ex-.d.mts} +2 -2
- package/dist/data-type-support-CXpA0ex-.d.mts.map +1 -0
- package/dist/{db-BmrN9nRS-MT5cfCJy.d.mts → db-BmrN9nRS-BKdvl6Lv.d.mts} +14 -14
- package/dist/db-BmrN9nRS-BKdvl6Lv.d.mts.map +1 -0
- package/dist/{ddl-types-By5mT2_S--j4lTxme.d.mts → ddl-types-By5mT2_S-CEkSuvfl.d.mts} +5 -5
- package/dist/ddl-types-By5mT2_S-CEkSuvfl.d.mts.map +1 -0
- package/dist/{default-mapping-CAOONlKQ-v7GTIkjE.d.mts → default-mapping-CAOONlKQ-4m07nb-O.d.mts} +2 -2
- package/dist/default-mapping-CAOONlKQ-4m07nb-O.d.mts.map +1 -0
- package/dist/{default-table-name-BfFY8qYR-lHNcVmY5.mjs → default-table-name-BfFY8qYR-CWZFDX6v.mjs} +2 -2
- package/dist/default-table-name-BfFY8qYR-CWZFDX6v.mjs.map +1 -0
- package/dist/{derived-checks-D5HVRvqN-B37oe30Z.mjs → derived-checks-D5HVRvqN-BJx1gwPA.mjs} +16 -16
- package/dist/derived-checks-D5HVRvqN-BJx1gwPA.mjs.map +1 -0
- package/dist/{derived-checks-DpPkO6Dt-D6tfanWv.d.mts → derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts} +4 -4
- package/dist/derived-checks-DpPkO6Dt-BzFrQoFZ.d.mts.map +1 -0
- package/dist/{diagnostics-IM48vCjC.mjs → diagnostics-RHJxoiIk.mjs} +4 -4
- package/dist/diagnostics-RHJxoiIk.mjs.map +1 -0
- package/dist/{diff-DZ82XaGR.mjs → diff-C1rFOhek.mjs} +2 -2
- package/dist/diff-C1rFOhek.mjs.map +1 -0
- package/dist/{diff-D2PJJkGv.d.mts → diff-DnJBqc_l.d.mts} +8 -8
- package/dist/diff-DnJBqc_l.d.mts.map +1 -0
- package/dist/{dist-D8RKUdwh.mjs → dist-C8Y-PPuE.mjs} +4 -4
- package/dist/dist-C8Y-PPuE.mjs.map +1 -0
- package/dist/{dist-C_q1_QR9.mjs → dist-CHz1hF8M.mjs} +2 -2
- package/dist/dist-CHz1hF8M.mjs.map +1 -0
- package/dist/{dist-x6jvtkKM.mjs → dist-CMDXybwm.mjs} +2 -2
- package/dist/dist-CMDXybwm.mjs.map +1 -0
- package/dist/{driver-types-DRsYeq3j-X_D6hNMZ.d.mts → driver-types-DRsYeq3j-BimeCnUk.d.mts} +2 -2
- package/dist/driver-types-DRsYeq3j-BimeCnUk.d.mts.map +1 -0
- package/dist/{entity-handle-lowering-hook-B3atrRKX.mjs → entity-handle-lowering-hook-BJZSlVVF.mjs} +2 -2
- package/dist/entity-handle-lowering-hook-BJZSlVVF.mjs.map +1 -0
- package/dist/{entity-handle-lowering-hook-93syhZ0p.d.mts → entity-handle-lowering-hook-BuvLtgFi.d.mts} +2 -2
- package/dist/entity-handle-lowering-hook-BuvLtgFi.d.mts.map +1 -0
- package/dist/{entity-kinds-OhCjfrIe.d.mts → entity-kinds-BPG2xCZV.d.mts} +7 -7
- package/dist/entity-kinds-BPG2xCZV.d.mts.map +1 -0
- package/dist/{entity-kinds-JR5SAm5h-ZkDejOUK.mjs → entity-kinds-JR5SAm5h-DOH6VUtL.mjs} +5 -5
- package/dist/entity-kinds-JR5SAm5h-DOH6VUtL.mjs.map +1 -0
- package/dist/{errors-B5g0xWro-mWH2C07F.mjs → errors-B5g0xWro-C8plbqga.mjs} +2 -2
- package/dist/errors-B5g0xWro-C8plbqga.mjs.map +1 -0
- package/dist/errors.d.mts +1 -1
- package/dist/errors.d.mts.map +1 -1
- package/dist/errors.mjs +1 -1
- package/dist/{exports-C3wGYtID-Bg6ThaBe.mjs → exports-C3wGYtID-D65DEUTC.mjs} +9 -9
- package/dist/exports-C3wGYtID-D65DEUTC.mjs.map +1 -0
- package/dist/{expression-6ld_ZQL6-CQghHqQ4.d.mts → expression-6ld_ZQL6-Brvfpjqy.d.mts} +9 -9
- package/dist/expression-6ld_ZQL6-Brvfpjqy.d.mts.map +1 -0
- package/dist/{expression-CieaNuRM-BpwVyjJL.d.mts → expression-CieaNuRM-CI_2zExe.d.mts} +4 -4
- package/dist/expression-CieaNuRM-CI_2zExe.d.mts.map +1 -0
- package/dist/{expression-impl-B-XNINxr-vYwKVFeP.mjs → expression-impl-B-XNINxr-BhN2sysZ.mjs} +4 -4
- package/dist/expression-impl-B-XNINxr-BhN2sysZ.mjs.map +1 -0
- package/dist/expression-kBtMHj-W.d.mts +2 -0
- package/dist/{factories-C4JbtO84.mjs → factories-Crobuxwn.mjs} +5 -5
- package/dist/factories-Crobuxwn.mjs.map +1 -0
- package/dist/{factories-CfHDga-q.d.mts → factories-DbNP9qfs.d.mts} +7 -7
- package/dist/factories-DbNP9qfs.d.mts.map +1 -0
- package/dist/family.d.mts +16 -16
- package/dist/family.mjs +16 -16
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control-adapter.mjs +1 -1
- package/dist/family__control.d.mts +4 -4
- package/dist/family__control.mjs +3 -3
- package/dist/family__diff.d.mts +1 -1
- package/dist/family__diff.mjs +2 -2
- package/dist/family__ir.d.mts +1 -1
- package/dist/family__ir.mjs +2 -2
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__migration.mjs +1 -1
- package/dist/family__pack.d.mts +1 -1
- package/dist/family__pack.mjs +2 -2
- package/dist/family__psl-build.d.mts +2 -2
- package/dist/family__psl-build.mjs +2 -2
- package/dist/family__psl-infer.d.mts +1 -1
- package/dist/family__psl-infer.mjs +1 -1
- package/dist/family__runtime.d.mts +2 -2
- package/dist/family__runtime.mjs +2 -2
- package/dist/family__verify.d.mts +1 -1
- package/dist/family__verify.mjs +1 -1
- package/dist/{foreign-key-materialization-CgW18KP-.d.mts → foreign-key-materialization-48P2V8on.d.mts} +8 -8
- package/dist/foreign-key-materialization-48P2V8on.d.mts.map +1 -0
- package/dist/{foreign-key-materialization-BPQqd0qF.mjs → foreign-key-materialization-BM59w_Xg.mjs} +7 -7
- package/dist/foreign-key-materialization-BM59w_Xg.mjs.map +1 -0
- package/dist/{foreign-key-qkDFfG8t-Fyrzd0VI.d.mts → foreign-key-qkDFfG8t-TaK_GYWR.d.mts} +3 -3
- package/dist/foreign-key-qkDFfG8t-TaK_GYWR.d.mts.map +1 -0
- package/dist/{functions-DTInIMZT.d.mts → functions-CRvEdiQM.d.mts} +7 -7
- package/dist/functions-CRvEdiQM.d.mts.map +1 -0
- package/dist/{functions-0YWByawj.mjs → functions-CsOoN7I3.mjs} +4 -4
- package/dist/functions-CsOoN7I3.mjs.map +1 -0
- package/dist/{generator-functions-D_qdqBV--BoeJwWsz.mjs → generator-functions-D_qdqBV--B2Q0WOf5.mjs} +4 -4
- package/dist/generator-functions-D_qdqBV--B2Q0WOf5.mjs.map +1 -0
- package/dist/{index-ffCr9ySU.d.mts → index-CUG8HKk_.d.mts} +4 -4
- package/dist/index-CUG8HKk_.d.mts.map +1 -0
- package/dist/{index-BAxGJxON.d.mts → index-ClfuhAEt.d.mts} +23 -23
- package/dist/index-ClfuhAEt.d.mts.map +1 -0
- package/dist/{index-equivalence-DswCiq5l-D5VK0qTy.mjs → index-equivalence-DswCiq5l-CGsyPP9B.mjs} +3 -3
- package/dist/index-equivalence-DswCiq5l-CGsyPP9B.mjs.map +1 -0
- package/dist/{index-naming-BOcJT1B3-18gQUduD.mjs → index-naming-BOcJT1B3-mG8Fd6KN.mjs} +5 -5
- package/dist/index-naming-BOcJT1B3-mG8Fd6KN.mjs.map +1 -0
- package/dist/{index-naming-C7pme5Pj.d.mts → index-naming-Cs6wwia3.d.mts} +4 -4
- package/dist/index-naming-Cs6wwia3.d.mts.map +1 -0
- package/dist/{index-reference-4wsdeB7v-DiTLLldN.d.mts → index-reference-4wsdeB7v-BTOzTNIT.d.mts} +5 -5
- package/dist/index-reference-4wsdeB7v-BTOzTNIT.d.mts.map +1 -0
- package/dist/{index-reference-DR62gjQS.mjs → index-reference-BQSrkRfT.mjs} +2 -2
- package/dist/index-reference-BQSrkRfT.mjs.map +1 -0
- package/dist/index-reference-DFUfnGcB.d.mts +1 -0
- package/dist/{index-type-validation-Bcme_Ust.mjs → index-type-validation-DJEMmmw0.mjs} +3 -3
- package/dist/index-type-validation-DJEMmmw0.mjs.map +1 -0
- package/dist/{index-type-validation-Ibtp3RKo.d.mts → index-type-validation-fGGwAHWc.d.mts} +5 -5
- package/dist/index-type-validation-fGGwAHWc.d.mts.map +1 -0
- package/dist/{index-types-H1O43iYT-ONvDbszL.d.mts → index-types-H1O43iYT-BD0VwPqV.d.mts} +2 -2
- package/dist/index-types-H1O43iYT-BD0VwPqV.d.mts.map +1 -0
- package/dist/{index-types-pC_5vADQ-TTUXAfmL.mjs → index-types-pC_5vADQ-BOOBi14R.mjs} +3 -3
- package/dist/index-types-pC_5vADQ-BOOBi14R.mjs.map +1 -0
- package/dist/index-types-snhtt_Fo.d.mts +1 -0
- package/dist/{interpreter-BDpym-rc-BZVFp5GU.mjs → interpreter-BDpym-rc-C3-vTcej.mjs} +12 -12
- package/dist/interpreter-BDpym-rc-C3-vTcej.mjs.map +1 -0
- package/dist/{ir-I-xciGUH.mjs → ir-DzsUDO8e.mjs} +2 -2
- package/dist/ir-DzsUDO8e.mjs.map +1 -0
- package/dist/{ir-BjC1VOuq.d.mts → ir-VGuTeCGp.d.mts} +4 -4
- package/dist/ir-VGuTeCGp.d.mts.map +1 -0
- package/dist/middleware-D5UhS_mW.d.mts +1 -0
- package/dist/{middleware-DHkW6pRr-CFiQojK4.d.mts → middleware-DHkW6pRr-B67Dujfd.d.mts} +3 -3
- package/dist/middleware-DHkW6pRr-B67Dujfd.d.mts.map +1 -0
- package/dist/{middleware-yBAfiVWn-CzNCthJT.mjs → middleware-yBAfiVWn-DZO0vCRQ.mjs} +3 -3
- package/dist/middleware-yBAfiVWn-DZO0vCRQ.mjs.map +1 -0
- package/dist/{migration-Dy_4Wmiy.mjs → migration-BJQjkqFz.mjs} +2 -2
- package/dist/migration-BJQjkqFz.mjs.map +1 -0
- package/dist/{migration-DWLbMM34.d.mts → migration-CXZQR3C_.d.mts} +5 -5
- package/dist/migration-CXZQR3C_.d.mts.map +1 -0
- package/dist/{naming-BcD36g9T-DFyaudUa.d.mts → naming-BcD36g9T-Mfe_xGGL.d.mts} +2 -2
- package/dist/naming-BcD36g9T-Mfe_xGGL.d.mts.map +1 -0
- package/dist/{naming-bM5qm5PY-DdginUhA.mjs → naming-bM5qm5PY-jOg3JFMb.mjs} +2 -2
- package/dist/naming-bM5qm5PY-jOg3JFMb.mjs.map +1 -0
- package/dist/{opaque-sql-Dset3kln-BzzXoO94.mjs → opaque-sql-Dset3kln-CtsPDTXn.mjs} +2 -2
- package/dist/opaque-sql-Dset3kln-CtsPDTXn.mjs.map +1 -0
- package/dist/operations.d.mts +1 -1
- package/dist/operations.mjs +1 -1
- package/dist/orm-client.d.mts +21 -21
- package/dist/orm-client.mjs +11 -11
- package/dist/{pack-CdaZMfI_.d.mts → pack-CGcsowo7.d.mts} +5 -5
- package/dist/pack-CGcsowo7.d.mts.map +1 -0
- package/dist/{pack-BifOs83a.mjs → pack-vaUY9-7E.mjs} +5 -5
- package/dist/pack-vaUY9-7E.mjs.map +1 -0
- package/dist/{plan-Cr4azjnG-lIrzIrmu.d.mts → plan-Cr4azjnG-B5MWRcqp.d.mts} +5 -5
- package/dist/plan-Cr4azjnG-B5MWRcqp.d.mts.map +1 -0
- package/dist/{plan-Dh0LbYIv-Crx5-ThG.mjs → plan-Dh0LbYIv-ubBSdUgl.mjs} +2 -2
- package/dist/plan-Dh0LbYIv-ubBSdUgl.mjs.map +1 -0
- package/dist/plan-cqtZBj5m.d.mts +2 -0
- package/dist/{psl-attribute-parsing-BCsFWsSp-LaNsbcrw.mjs → psl-attribute-parsing-BCsFWsSp-BJ-wGlY6.mjs} +2 -2
- package/dist/psl-attribute-parsing-BCsFWsSp-BJ-wGlY6.mjs.map +1 -0
- package/dist/{psl-build-fwoI6rBO.mjs → psl-build-DFBG6vhz.mjs} +6 -6
- package/dist/psl-build-DFBG6vhz.mjs.map +1 -0
- package/dist/{psl-build-BYXXz2XD.d.mts → psl-build-RelubU2E.d.mts} +6 -6
- package/dist/psl-build-RelubU2E.d.mts.map +1 -0
- package/dist/{psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts → psl-column-resolution-ChZqioOc-DkKTu21I.d.mts} +3 -3
- package/dist/psl-column-resolution-ChZqioOc-DkKTu21I.d.mts.map +1 -0
- package/dist/{psl-field-resolution-C5KQ7kzP-DH8oSBIL.mjs → psl-field-resolution-C5KQ7kzP-B0NwuRWV.mjs} +7 -7
- package/dist/psl-field-resolution-C5KQ7kzP-B0NwuRWV.mjs.map +1 -0
- package/dist/{psl-infer-CaEnF_x3.mjs → psl-infer--g4i84Go.mjs} +5 -5
- package/dist/psl-infer--g4i84Go.mjs.map +1 -0
- package/dist/{psl-infer-CpTRaF5I.d.mts → psl-infer-DzoxPZGd.d.mts} +5 -5
- package/dist/psl-infer-DzoxPZGd.d.mts.map +1 -0
- package/dist/{psl-names-C3cwe0rg-CsuHOV7E.mjs → psl-names-C3cwe0rg-D1CTmC3a.mjs} +2 -2
- package/dist/psl-names-C3cwe0rg-D1CTmC3a.mjs.map +1 -0
- package/dist/{query-lane-context-BCEoKy0_-DQOOliDn.d.mts → query-lane-context-BCEoKy0_-CBzNngG3.d.mts} +8 -8
- package/dist/query-lane-context-BCEoKy0_-CBzNngG3.d.mts.map +1 -0
- package/dist/query-lane-context-DElm2VXX.d.mts +1 -0
- package/dist/{referential-action-sql-Cw1Q0YSd.d.mts → referential-action-sql-B2vKoUK6.d.mts} +3 -3
- package/dist/referential-action-sql-B2vKoUK6.d.mts.map +1 -0
- package/dist/{referential-action-sql-DSqkrySN.mjs → referential-action-sql-BLzCtTi8.mjs} +2 -2
- package/dist/referential-action-sql-BLzCtTi8.mjs.map +1 -0
- package/dist/relational-core.d.mts +13 -13
- package/dist/relational-core.mjs +7 -7
- package/dist/relational-core__aggregate-descriptor-registry.d.mts +2 -2
- package/dist/relational-core__aggregate-descriptor-registry.d.mts.map +1 -1
- package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
- package/dist/relational-core__ast.d.mts +4 -4
- package/dist/relational-core__ast.mjs +4 -4
- package/dist/relational-core__codec-descriptor-registry.d.mts +5 -5
- package/dist/relational-core__codec-descriptor-registry.d.mts.map +1 -1
- package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
- package/dist/relational-core__collection-methods.d.mts +2 -2
- package/dist/relational-core__contract-free.d.mts +6 -6
- package/dist/relational-core__contract-free.d.mts.map +1 -1
- package/dist/relational-core__contract-free.mjs +4 -4
- package/dist/relational-core__contract-free.mjs.map +1 -1
- package/dist/relational-core__expression.d.mts +3 -3
- package/dist/relational-core__expression.mjs +1 -1
- package/dist/relational-core__functions.d.mts +1 -1
- package/dist/relational-core__functions.mjs +1 -1
- package/dist/relational-core__index-reference.d.mts +2 -2
- package/dist/relational-core__index-reference.mjs +1 -1
- package/dist/relational-core__middleware.d.mts +2 -2
- package/dist/relational-core__middleware.mjs +1 -1
- package/dist/relational-core__plan.d.mts +3 -3
- package/dist/relational-core__plan.mjs +1 -1
- package/dist/relational-core__query-lane-context.d.mts +2 -2
- package/dist/relational-core__types.d.mts +2 -2
- package/dist/{resolve-storage-table-DZsfnzeW.mjs → resolve-storage-table-BHLQsOza.mjs} +3 -3
- package/dist/resolve-storage-table-BHLQsOza.mjs.map +1 -0
- package/dist/{resolve-storage-table-CxmU_MPu.d.mts → resolve-storage-table-DCqtmnSU.d.mts} +4 -4
- package/dist/resolve-storage-table-DCqtmnSU.d.mts.map +1 -0
- package/dist/{runtime-Z3nD7ix1.mjs → runtime-6tH1yOxK.mjs} +2 -2
- package/dist/runtime-6tH1yOxK.mjs.map +1 -0
- package/dist/{runtime-Bmndf-fm.d.mts → runtime-CF6rAlE5.d.mts} +3 -3
- package/dist/runtime-CF6rAlE5.d.mts.map +1 -0
- package/dist/runtime.d.mts +4 -4
- package/dist/runtime.mjs +1 -1
- package/dist/runtime__internal__prepared-query.d.mts +1 -1
- package/dist/runtime__internal__prepared-query.mjs +1 -1
- package/dist/{schema-differ-DmP74bB8-0ZupRJKb.d.mts → schema-differ-DmP74bB8-Be7PDHNx.d.mts} +6 -6
- package/dist/schema-differ-DmP74bB8-Be7PDHNx.d.mts.map +1 -0
- package/dist/schema-ir.d.mts +1 -1
- package/dist/schema-ir.mjs +1 -1
- package/dist/schema-ir__naming.d.mts +1 -1
- package/dist/schema-ir__naming.mjs +1 -1
- package/dist/schema-ir__types.d.mts +2 -2
- package/dist/schema-ir__types.mjs +1 -1
- package/dist/{schema-verify-C3wbdviw-BifQBCpu.mjs → schema-verify-C3wbdviw-DMjIubOr.mjs} +5 -5
- package/dist/schema-verify-C3wbdviw-DMjIubOr.mjs.map +1 -0
- package/dist/{serialized-index-CrgG8ct1-DDfHKUEK.d.mts → serialized-index-CrgG8ct1-DKVJ7TDX.d.mts} +4 -4
- package/dist/serialized-index-CrgG8ct1-DKVJ7TDX.d.mts.map +1 -0
- package/dist/{serialized-index-DjCCnXB1-C_YccpTL.mjs → serialized-index-DjCCnXB1-DMA7BtO2.mjs} +4 -4
- package/dist/serialized-index-DjCCnXB1-DMA7BtO2.mjs.map +1 -0
- package/dist/{sql-contract-serializer-sMY3prTx-BkFoHhST.mjs → sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs} +7 -7
- package/dist/sql-contract-serializer-sMY3prTx-D2BfrNxs.mjs.map +1 -0
- package/dist/{sql-data-type-D7M-YTTY-C9oWGZ3z.mjs → sql-data-type-D7M-YTTY-D2vRqDxn.mjs} +3 -3
- package/dist/sql-data-type-D7M-YTTY-D2vRqDxn.mjs.map +1 -0
- package/dist/{sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts → sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts} +3 -3
- package/dist/sql-execution-plan-3uxYjHyu-Cl0eB5av.d.mts.map +1 -0
- package/dist/{sql-expression-BAtH-2UU.d.mts → sql-expression-B4BrhGPi.d.mts} +2 -2
- package/dist/sql-expression-B4BrhGPi.d.mts.map +1 -0
- package/dist/{sql-expression-BJCuy-WI.mjs → sql-expression-CKgKznXS.mjs} +3 -3
- package/dist/sql-expression-CKgKznXS.mjs.map +1 -0
- package/dist/{sql-index-ByAAE7K8-BpbPBWPD.d.mts → sql-index-ByAAE7K8-Dqtn_vUL.d.mts} +4 -4
- package/dist/sql-index-ByAAE7K8-Dqtn_vUL.d.mts.map +1 -0
- package/dist/{sql-node-kEz6YFZo-v2F7delx.d.mts → sql-node-kEz6YFZo-1ogT6Cxt.d.mts} +2 -2
- package/dist/sql-node-kEz6YFZo-1ogT6Cxt.d.mts.map +1 -0
- package/dist/{sql-storage-DeCAh5Hi-nJQUIgfL.d.mts → sql-storage-DeCAh5Hi-CEM-m8cs.d.mts} +5 -5
- package/dist/sql-storage-DeCAh5Hi-CEM-m8cs.d.mts.map +1 -0
- package/dist/{storage-table-Bf1ZjnxO-NvkG2pgq.d.mts → storage-table-Bf1ZjnxO-pUj6pyP0.d.mts} +7 -7
- package/dist/storage-table-Bf1ZjnxO-pUj6pyP0.d.mts.map +1 -0
- package/dist/{storage-table-DDvN83mw-CbCFr5wm.mjs → storage-table-DDvN83mw-DkbBFmK9.mjs} +4 -4
- package/dist/storage-table-DDvN83mw-DkbBFmK9.mjs.map +1 -0
- package/dist/{storage-value-set-BGlj5Uus-CvZD--GG.d.mts → storage-value-set-BGlj5Uus-ny2k-0PA.d.mts} +3 -3
- package/dist/storage-value-set-BGlj5Uus-ny2k-0PA.d.mts.map +1 -0
- package/dist/{transaction-state-BfXhs7D7-3k10jZ8I.mjs → transaction-state-BfXhs7D7-DhmbySW9.mjs} +2 -2
- package/dist/transaction-state-BfXhs7D7-DhmbySW9.mjs.map +1 -0
- package/dist/{transaction-state-DR3nKTmH-D6VdY7YX.d.mts → transaction-state-DR3nKTmH-Dcu5lbwd.d.mts} +11 -11
- package/dist/transaction-state-DR3nKTmH-Dcu5lbwd.d.mts.map +1 -0
- package/dist/{types-CRbj_WQf.d.mts → types-B0J6ZASy.d.mts} +12 -12
- package/dist/types-B0J6ZASy.d.mts.map +1 -0
- package/dist/{types-C7610W2l.mjs → types-CTdSkl0s.mjs} +3 -3
- package/dist/types-CTdSkl0s.mjs.map +1 -0
- package/dist/{types-Cq6ImLAB-BqOfLAYG.d.mts → types-Cq6ImLAB-BRpWMRJe.d.mts} +10 -10
- package/dist/types-Cq6ImLAB-BRpWMRJe.d.mts.map +1 -0
- package/dist/{types-CuCxAQat-BBGUHEku.d.mts → types-CuCxAQat-Dz8P4xyt.d.mts} +3 -3
- package/dist/types-CuCxAQat-Dz8P4xyt.d.mts.map +1 -0
- package/dist/types-CwP7Hgmt.d.mts +1 -0
- package/dist/{types-DfKvtJwS-tndgHh53.d.mts → types-DfKvtJwS-CrpWTGBJ.d.mts} +11 -11
- package/dist/types-DfKvtJwS-CrpWTGBJ.d.mts.map +1 -0
- package/dist/{types-DoyiTsjg-DDTmYyNY.mjs → types-DoyiTsjg-2YMhMJDA.mjs} +3 -3
- package/dist/types-DoyiTsjg-2YMhMJDA.mjs.map +1 -0
- package/dist/{types-DriMIMNQ-BBacSgaI.d.mts → types-DriMIMNQ-Cs5YW-O-.d.mts} +3 -3
- package/dist/types-DriMIMNQ-Cs5YW-O-.d.mts.map +1 -0
- package/dist/{types-NTQsD2MS-DAP2yVDn.mjs → types-NTQsD2MS-xcLtvKO9.mjs} +2 -2
- package/dist/types-NTQsD2MS-xcLtvKO9.mjs.map +1 -0
- package/dist/{types-TXO7x1BA-DuW4v0rw.d.mts → types-TXO7x1BA-B8fGzOYJ.d.mts} +12 -12
- package/dist/types-TXO7x1BA-B8fGzOYJ.d.mts.map +1 -0
- package/dist/types-ljUNyiWe.d.mts +1 -0
- package/dist/{unique-constraint-M5TlQnJQ-BiIHJ85k.d.mts → unique-constraint-M5TlQnJQ-qX-maNUV.d.mts} +3 -3
- package/dist/unique-constraint-M5TlQnJQ-qX-maNUV.d.mts.map +1 -0
- package/dist/{util-BBgcP3gI-XJBkxo1K.mjs → util-BBgcP3gI-CpL-0VuC.mjs} +2 -2
- package/dist/util-BBgcP3gI-CpL-0VuC.mjs.map +1 -0
- package/dist/{validators-xXKEHvnw.mjs → validators-BwA7ttZM.mjs} +7 -7
- package/dist/validators-BwA7ttZM.mjs.map +1 -0
- package/dist/{validators-BDuMio1F.d.mts → validators-FJs8HvFr.d.mts} +6 -6
- package/dist/validators-FJs8HvFr.d.mts.map +1 -0
- package/dist/{value-set-derivation-hook-BhgGVtw0.d.mts → value-set-derivation-hook-3E437jPU.d.mts} +3 -3
- package/dist/value-set-derivation-hook-3E437jPU.d.mts.map +1 -0
- package/dist/{value-set-derivation-hook-Di9JZ0X7.mjs → value-set-derivation-hook-HVaxhALD.mjs} +2 -2
- package/dist/value-set-derivation-hook-HVaxhALD.mjs.map +1 -0
- package/dist/{verify-BVk5bjdH-dq5M4iIh.mjs → verify-BVk5bjdH-DhKm6hB3.mjs} +3 -3
- package/dist/verify-BVk5bjdH-DhKm6hB3.mjs.map +1 -0
- package/dist/{verify-zDRnw0Rn.d.mts → verify-DHXbuZPB.d.mts} +2 -2
- package/dist/verify-DHXbuZPB.d.mts.map +1 -0
- package/package.json +18 -18
- package/dist/aggregate-descriptor-registry-Dd7Uj7DJ.mjs.map +0 -1
- package/dist/ast-BJs2669T.mjs.map +0 -1
- package/dist/ast-BySjcUKx.d.mts.map +0 -1
- package/dist/attribute-specs-BsaemIyu.d.mts.map +0 -1
- package/dist/authored-check-naming-CIX7Bbyh.mjs.map +0 -1
- package/dist/authored-check-naming-CK6T_Dfh.d.mts.map +0 -1
- package/dist/authoring-entity-types-CgKIgWq5-Dxf_T0Ih.d.mts.map +0 -1
- package/dist/canonicalization-hooks-CYnW_sGn.d.mts.map +0 -1
- package/dist/canonicalization-hooks-dmXkOR4a.mjs.map +0 -1
- package/dist/check-constraint-B7qGu6rc-CBVYAMwG.d.mts.map +0 -1
- package/dist/codec-descriptor-registry-MG2bFxW_.mjs.map +0 -1
- package/dist/collection-methods-BTknGdHI.d.mts +0 -1
- package/dist/collection-methods-D2UnCS0S-CRYoAOtB.d.mts.map +0 -1
- package/dist/config-types-BbBY5_GQ.mjs.map +0 -1
- package/dist/config-types-D8quwydu.d.mts.map +0 -1
- package/dist/contract-builder-D7cTmhfs.mjs.map +0 -1
- package/dist/contract-builder-xFftVmD8.d.mts.map +0 -1
- package/dist/contract-errors-BCN6RVI5-5IHBF_lg.mjs.map +0 -1
- package/dist/contract-view-BMR5IWk4.mjs.map +0 -1
- package/dist/contract-view-BgpEwVz0.d.mts.map +0 -1
- package/dist/control-BW6gbqvb.d.mts.map +0 -1
- package/dist/control-DnFJf5_F.mjs.map +0 -1
- package/dist/control-adapter-Bn0uhplA-D0fhkvnJ.d.mts.map +0 -1
- package/dist/control-adapter-DRlEXxsv.mjs.map +0 -1
- package/dist/control-adapter-El4czoUh.d.mts.map +0 -1
- package/dist/data-type-BMnEHaW3.mjs.map +0 -1
- package/dist/data-type-iatMyRs6.d.mts.map +0 -1
- package/dist/data-type-support-a9BR-PbH.d.mts.map +0 -1
- package/dist/data-type-support-juGV2d9c.mjs.map +0 -1
- package/dist/db-BmrN9nRS-MT5cfCJy.d.mts.map +0 -1
- package/dist/ddl-types-By5mT2_S--j4lTxme.d.mts.map +0 -1
- package/dist/default-mapping-CAOONlKQ-v7GTIkjE.d.mts.map +0 -1
- package/dist/default-table-name-BfFY8qYR-lHNcVmY5.mjs.map +0 -1
- package/dist/derived-checks-D5HVRvqN-B37oe30Z.mjs.map +0 -1
- package/dist/derived-checks-DpPkO6Dt-D6tfanWv.d.mts.map +0 -1
- package/dist/diagnostics-IM48vCjC.mjs.map +0 -1
- package/dist/diff-D2PJJkGv.d.mts.map +0 -1
- package/dist/diff-DZ82XaGR.mjs.map +0 -1
- package/dist/dist-C_q1_QR9.mjs.map +0 -1
- package/dist/dist-D8RKUdwh.mjs.map +0 -1
- package/dist/dist-x6jvtkKM.mjs.map +0 -1
- package/dist/driver-types-DRsYeq3j-X_D6hNMZ.d.mts.map +0 -1
- package/dist/entity-handle-lowering-hook-93syhZ0p.d.mts.map +0 -1
- package/dist/entity-handle-lowering-hook-B3atrRKX.mjs.map +0 -1
- package/dist/entity-kinds-JR5SAm5h-ZkDejOUK.mjs.map +0 -1
- package/dist/entity-kinds-OhCjfrIe.d.mts.map +0 -1
- package/dist/errors-B5g0xWro-mWH2C07F.mjs.map +0 -1
- package/dist/exports-C3wGYtID-Bg6ThaBe.mjs.map +0 -1
- package/dist/expression-6ld_ZQL6-CQghHqQ4.d.mts.map +0 -1
- package/dist/expression-BLiObOS8.d.mts +0 -2
- package/dist/expression-CieaNuRM-BpwVyjJL.d.mts.map +0 -1
- package/dist/expression-impl-B-XNINxr-vYwKVFeP.mjs.map +0 -1
- package/dist/factories-C4JbtO84.mjs.map +0 -1
- package/dist/factories-CfHDga-q.d.mts.map +0 -1
- package/dist/foreign-key-materialization-BPQqd0qF.mjs.map +0 -1
- package/dist/foreign-key-materialization-CgW18KP-.d.mts.map +0 -1
- package/dist/foreign-key-qkDFfG8t-Fyrzd0VI.d.mts.map +0 -1
- package/dist/functions-0YWByawj.mjs.map +0 -1
- package/dist/functions-DTInIMZT.d.mts.map +0 -1
- package/dist/generator-functions-D_qdqBV--BoeJwWsz.mjs.map +0 -1
- package/dist/index-BAxGJxON.d.mts.map +0 -1
- package/dist/index-equivalence-DswCiq5l-D5VK0qTy.mjs.map +0 -1
- package/dist/index-ffCr9ySU.d.mts.map +0 -1
- package/dist/index-naming-BOcJT1B3-18gQUduD.mjs.map +0 -1
- package/dist/index-naming-C7pme5Pj.d.mts.map +0 -1
- package/dist/index-reference-4wsdeB7v-DiTLLldN.d.mts.map +0 -1
- package/dist/index-reference-DR62gjQS.mjs.map +0 -1
- package/dist/index-reference-Da9mdOjD.d.mts +0 -1
- package/dist/index-type-validation-Bcme_Ust.mjs.map +0 -1
- package/dist/index-type-validation-Ibtp3RKo.d.mts.map +0 -1
- package/dist/index-types-ByX8MLso.d.mts +0 -1
- package/dist/index-types-H1O43iYT-ONvDbszL.d.mts.map +0 -1
- package/dist/index-types-pC_5vADQ-TTUXAfmL.mjs.map +0 -1
- package/dist/interpreter-BDpym-rc-BZVFp5GU.mjs.map +0 -1
- package/dist/ir-BjC1VOuq.d.mts.map +0 -1
- package/dist/ir-I-xciGUH.mjs.map +0 -1
- package/dist/middleware-DHkW6pRr-CFiQojK4.d.mts.map +0 -1
- package/dist/middleware-GO31SJSv.d.mts +0 -1
- package/dist/middleware-yBAfiVWn-CzNCthJT.mjs.map +0 -1
- package/dist/migration-DWLbMM34.d.mts.map +0 -1
- package/dist/migration-Dy_4Wmiy.mjs.map +0 -1
- package/dist/naming-BcD36g9T-DFyaudUa.d.mts.map +0 -1
- package/dist/naming-bM5qm5PY-DdginUhA.mjs.map +0 -1
- package/dist/opaque-sql-Dset3kln-BzzXoO94.mjs.map +0 -1
- package/dist/pack-BifOs83a.mjs.map +0 -1
- package/dist/pack-CdaZMfI_.d.mts.map +0 -1
- package/dist/plan-Cr4azjnG-lIrzIrmu.d.mts.map +0 -1
- package/dist/plan-Dh0LbYIv-Crx5-ThG.mjs.map +0 -1
- package/dist/plan-OXQ8s6Ee.d.mts +0 -2
- package/dist/psl-attribute-parsing-BCsFWsSp-LaNsbcrw.mjs.map +0 -1
- package/dist/psl-build-BYXXz2XD.d.mts.map +0 -1
- package/dist/psl-build-fwoI6rBO.mjs.map +0 -1
- package/dist/psl-column-resolution-ChZqioOc-DcjGSXDp.d.mts.map +0 -1
- package/dist/psl-field-resolution-C5KQ7kzP-DH8oSBIL.mjs.map +0 -1
- package/dist/psl-infer-CaEnF_x3.mjs.map +0 -1
- package/dist/psl-infer-CpTRaF5I.d.mts.map +0 -1
- package/dist/psl-names-C3cwe0rg-CsuHOV7E.mjs.map +0 -1
- package/dist/query-lane-context-BCEoKy0_-DQOOliDn.d.mts.map +0 -1
- package/dist/query-lane-context-BssPNZey.d.mts +0 -1
- package/dist/referential-action-sql-Cw1Q0YSd.d.mts.map +0 -1
- package/dist/referential-action-sql-DSqkrySN.mjs.map +0 -1
- package/dist/resolve-storage-table-CxmU_MPu.d.mts.map +0 -1
- package/dist/resolve-storage-table-DZsfnzeW.mjs.map +0 -1
- package/dist/runtime-Bmndf-fm.d.mts.map +0 -1
- package/dist/runtime-Z3nD7ix1.mjs.map +0 -1
- package/dist/schema-differ-DmP74bB8-0ZupRJKb.d.mts.map +0 -1
- package/dist/schema-verify-C3wbdviw-BifQBCpu.mjs.map +0 -1
- package/dist/serialized-index-CrgG8ct1-DDfHKUEK.d.mts.map +0 -1
- package/dist/serialized-index-DjCCnXB1-C_YccpTL.mjs.map +0 -1
- package/dist/sql-contract-serializer-sMY3prTx-BkFoHhST.mjs.map +0 -1
- package/dist/sql-data-type-D7M-YTTY-C9oWGZ3z.mjs.map +0 -1
- package/dist/sql-execution-plan-3uxYjHyu-C0Z4_RSY.d.mts.map +0 -1
- package/dist/sql-expression-BAtH-2UU.d.mts.map +0 -1
- package/dist/sql-expression-BJCuy-WI.mjs.map +0 -1
- package/dist/sql-index-ByAAE7K8-BpbPBWPD.d.mts.map +0 -1
- package/dist/sql-node-kEz6YFZo-v2F7delx.d.mts.map +0 -1
- package/dist/sql-storage-DeCAh5Hi-nJQUIgfL.d.mts.map +0 -1
- package/dist/storage-table-Bf1ZjnxO-NvkG2pgq.d.mts.map +0 -1
- package/dist/storage-table-DDvN83mw-CbCFr5wm.mjs.map +0 -1
- package/dist/storage-value-set-BGlj5Uus-CvZD--GG.d.mts.map +0 -1
- package/dist/transaction-state-BfXhs7D7-3k10jZ8I.mjs.map +0 -1
- package/dist/transaction-state-DR3nKTmH-D6VdY7YX.d.mts.map +0 -1
- package/dist/types-BUggiEEH.d.mts +0 -1
- package/dist/types-C7610W2l.mjs.map +0 -1
- package/dist/types-CRbj_WQf.d.mts.map +0 -1
- package/dist/types-Cq6ImLAB-BqOfLAYG.d.mts.map +0 -1
- package/dist/types-CuCxAQat-BBGUHEku.d.mts.map +0 -1
- package/dist/types-DDqbg3WC.d.mts +0 -1
- package/dist/types-DfKvtJwS-tndgHh53.d.mts.map +0 -1
- package/dist/types-DoyiTsjg-DDTmYyNY.mjs.map +0 -1
- package/dist/types-DriMIMNQ-BBacSgaI.d.mts.map +0 -1
- package/dist/types-NTQsD2MS-DAP2yVDn.mjs.map +0 -1
- package/dist/types-TXO7x1BA-DuW4v0rw.d.mts.map +0 -1
- package/dist/unique-constraint-M5TlQnJQ-BiIHJ85k.d.mts.map +0 -1
- package/dist/util-BBgcP3gI-XJBkxo1K.mjs.map +0 -1
- package/dist/validators-BDuMio1F.d.mts.map +0 -1
- package/dist/validators-xXKEHvnw.mjs.map +0 -1
- package/dist/value-set-derivation-hook-BhgGVtw0.d.mts.map +0 -1
- package/dist/value-set-derivation-hook-Di9JZ0X7.mjs.map +0 -1
- package/dist/verify-BVk5bjdH-dq5M4iIh.mjs.map +0 -1
- package/dist/verify-zDRnw0Rn.d.mts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as aggregateFnNames, H as frozenCodecRef, U as isAggregateFn } from "./types-NTQsD2MS-
|
|
1
|
+
import { B as aggregateFnNames, H as frozenCodecRef, U as isAggregateFn } from "./types-NTQsD2MS-xcLtvKO9.mjs";
|
|
2
2
|
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
3
3
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
4
4
|
import { aggregateDescriptorKey, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, settleAggregateOverloads } from "@prisma/orm-framework/components/components";
|
|
5
|
-
//#region ../../../2-sql/4-lanes/relational-core/dist/exports/aggregate-descriptor-registry.mjs
|
|
5
|
+
//#region ../../../2-sql-family/4-lanes/relational-core/dist/exports/aggregate-descriptor-registry.mjs
|
|
6
6
|
/** Structural validation of a contributed SQL aggregate descriptor: the declarative shape plus a callable lowering hook where one is declared. */
|
|
7
7
|
function isSqlAggregateDescriptor(value) {
|
|
8
8
|
if (!isAggregateDescriptor(value)) return false;
|
|
@@ -123,4 +123,4 @@ function describeCandidate(value) {
|
|
|
123
123
|
//#endregion
|
|
124
124
|
export { isSqlAggregateDescriptor as n, buildSqlAggregateDescriptorRegistry as t };
|
|
125
125
|
|
|
126
|
-
//# sourceMappingURL=aggregate-descriptor-registry-
|
|
126
|
+
//# sourceMappingURL=aggregate-descriptor-registry-ZrKjxwQe.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregate-descriptor-registry-ZrKjxwQe.mjs","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/aggregate-descriptor-registry.mjs"],"sourcesContent":["import { B as aggregateFnNames, H as isAggregateFn, Y as frozenCodecRef } from \"../types-NTQsD2MS.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { aggregateDescriptorKey, isAggregateDescriptor, isAnyInputAggregateDescriptor, isNoInputAggregateDescriptor, settleAggregateOverloads } from \"@internal/framework-components/components\";\n//#region src/aggregate-descriptor.ts\n/** Structural validation of a contributed SQL aggregate descriptor: the declarative shape plus a callable lowering hook where one is declared. */\nfunction isSqlAggregateDescriptor(value) {\n\tif (!isAggregateDescriptor(value)) return false;\n\treturn !(\"lower\" in value) || value.lower === void 0 || typeof value.lower === \"function\";\n}\n//#endregion\n//#region src/aggregate-descriptor-registry.ts\nfunction namedOutputRef(output, input) {\n\treturn frozenCodecRef({\n\t\tcodecId: output.codecId,\n\t\t...ifDefined(\"typeParams\", output.typeParams?.(input))\n\t});\n}\n/** The descriptor's own answer for a result set carrying no row, carried into resolution unchanged. */\nfunction resultNullability(descriptor) {\n\treturn descriptor.nullable ? { nullable: true } : {\n\t\tnullable: false,\n\t\temptyResultWire: descriptor.emptyResultWire\n\t};\n}\n/**\n* Validate every contributed aggregate descriptor and settle its matches against the composed codec set.\n*\n* Validation covers the descriptor's own shape, the lowering rule — an operation outside the closed SQL aggregate alphabet must carry a `lower` hook, there being no plain `AggregateExpr` form for it — a second claim on one `(operation, input)` pair, and two trait descriptors that both claim a registered codec for one operation — the last of which only a composed stack can detect, which is why it is settled here rather than at contribution.\n*/\nfunction buildSqlAggregateDescriptorRegistry(descriptors, codecDescriptors) {\n\tconst validated = [];\n\tconst claimedKeys = /* @__PURE__ */ new Set();\n\tfor (const candidate of descriptors) {\n\t\tif (!isSqlAggregateDescriptor(candidate)) throw structuredError(\"RUNTIME.AGGREGATE_DESCRIPTOR_INVALID\", `Contributed value ${describeCandidate(candidate)} is not a valid SQL aggregate descriptor.`, {\n\t\t\twhy: \"Aggregate resolution reads a declared operation, input match, result codec, and nullability — plus, for a non-nullable result, the empty-result value; a lowering hook, where present, must be callable.\",\n\t\t\tfix: \"Declare `operation`, `input` (`none` / `any` / `codec` / `trait`), `output` (`self` / `codec`), and `nullable` on the descriptor, adding `emptyResultWire` where `nullable` is false.\",\n\t\t\tmeta: { descriptor: describeCandidate(candidate) }\n\t\t});\n\t\tconst key = aggregateDescriptorKey(candidate);\n\t\tif (!isAggregateFn(candidate.operation) && candidate.lower === void 0) throw structuredError(\"RUNTIME.AGGREGATE_LOWERING_MISSING\", `Aggregate descriptor '${key}' declares operation '${candidate.operation}', which is outside the SQL aggregate alphabet (${[...aggregateFnNames].join(\", \")}) and carries no lowering hook.`, {\n\t\t\twhy: \"An operation in the alphabet lowers to a plain aggregate call; renderers know no other operation, so any other name must build its expression through a `lower` hook from existing nodes.\",\n\t\t\tfix: \"Declare a `lower` hook on the descriptor, or use an operation name from the SQL aggregate alphabet.\",\n\t\t\tmeta: {\n\t\t\t\toperation: candidate.operation,\n\t\t\t\tkey\n\t\t\t}\n\t\t});\n\t\tif (claimedKeys.has(key)) throw structuredError(\"RUNTIME.DUPLICATE_AGGREGATE_DESCRIPTOR\", `Duplicate aggregate descriptor for '${key}'.`, {\n\t\t\twhy: \"Each operation/input pair resolves to exactly one result codec, so exactly one component may claim it.\",\n\t\t\tfix: \"Remove the duplicate target, adapter, or extension contribution.\",\n\t\t\tmeta: { key }\n\t\t});\n\t\tclaimedKeys.add(key);\n\t\tvalidated.push(candidate);\n\t}\n\tconst settled = settleAggregateOverloads(validated, codecDescriptors.values());\n\tconst ambiguity = settled.ambiguities[0];\n\tif (ambiguity !== void 0) throw structuredError(\"RUNTIME.AMBIGUOUS_AGGREGATE_DESCRIPTOR\", `Ambiguous aggregate descriptors for '${ambiguity.operation}' over codec '${ambiguity.codecId}': traits ${ambiguity.traits.join(\", \")} all claim it.`, {\n\t\twhy: \"A codec advertising several claimed traits leaves the result codec undetermined.\",\n\t\tfix: `Contribute an exact descriptor for '${ambiguity.operation}' over '${ambiguity.codecId}', or narrow the overlapping trait contributions.`,\n\t\tmeta: {\n\t\t\toperation: ambiguity.operation,\n\t\t\tcodecId: ambiguity.codecId,\n\t\t\ttraits: ambiguity.traits\n\t\t}\n\t});\n\tfor (const descriptor of validated) {\n\t\tconst outputCodecId = descriptor.output.kind === \"codec\" ? descriptor.output.codecId : descriptor.input.kind === \"codec\" ? descriptor.input.codecId : void 0;\n\t\tif (outputCodecId !== void 0 && codecDescriptors.descriptorFor(outputCodecId) === void 0) {\n\t\t\tconst key = aggregateDescriptorKey(descriptor);\n\t\t\tthrow structuredError(\"RUNTIME.AGGREGATE_OUTPUT_CODEC_MISSING\", `Aggregate descriptor '${key}' names result codec '${outputCodecId}', which the composed stack does not register.`, {\n\t\t\t\twhy: \"A resolved aggregate decodes its result through the declared codec; a codec the stack does not compose cannot decode anything.\",\n\t\t\t\tfix: \"Register the codec on the composed stack, or declare a result codec the stack composes.\",\n\t\t\t\tmeta: {\n\t\t\t\t\toperation: descriptor.operation,\n\t\t\t\t\tkey,\n\t\t\t\t\toutputCodecId\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tconst tables = /* @__PURE__ */ new Map();\n\tfor (const [operation, entry] of settled.operations) tables.set(operation, {\n\t\twithoutInput: resolveWithoutInput(operation, entry.noInput) ?? resolveWithoutInput(operation, entry.anyInput),\n\t\tbyCodecId: entry.byCodecId,\n\t\tanyInput: entry.anyInput\n\t});\n\treturn {\n\t\tresolve(operation, input) {\n\t\t\tconst table = tables.get(operation);\n\t\t\tif (table === void 0) return void 0;\n\t\t\tif (input === void 0) return table.withoutInput;\n\t\t\tconst descriptor = table.byCodecId.get(input.codecId) ?? table.anyInput;\n\t\t\tif (descriptor === void 0) return void 0;\n\t\t\treturn {\n\t\t\t\toperation,\n\t\t\t\toutput: descriptor.output.kind === \"self\" ? frozenCodecRef(input) : namedOutputRef(descriptor.output, input),\n\t\t\t\t...resultNullability(descriptor),\n\t\t\t\tlower: descriptor.lower\n\t\t\t};\n\t\t},\n\t\t*values() {\n\t\t\tyield* validated;\n\t\t}\n\t};\n}\n/**\n* Resolve the overload that answers a call carrying no input. Both kinds that qualify name their result codec outright, there being no input codec to reuse.\n*/\nfunction resolveWithoutInput(operation, descriptor) {\n\tif (descriptor === void 0) return void 0;\n\tif (!isNoInputAggregateDescriptor(descriptor) && !isAnyInputAggregateDescriptor(descriptor)) return;\n\treturn {\n\t\toperation,\n\t\toutput: namedOutputRef(descriptor.output, void 0),\n\t\t...resultNullability(descriptor),\n\t\tlower: descriptor.lower\n\t};\n}\nfunction describeCandidate(value) {\n\tif (typeof value === \"object\" && value !== null && \"operation\" in value) return `'${String(value.operation)}'`;\n\treturn `of type ${typeof value}`;\n}\n//#endregion\nexport { buildSqlAggregateDescriptorRegistry, isSqlAggregateDescriptor };\n\n//# sourceMappingURL=aggregate-descriptor-registry.mjs.map"],"mappings":";;;;;;AAMA,SAAS,yBAAyB,OAAO;CACxC,IAAI,CAAC,sBAAsB,KAAK,GAAG,OAAO;CAC1C,OAAO,EAAE,WAAW,UAAU,MAAM,UAAU,KAAK,KAAK,OAAO,MAAM,UAAU;AAChF;AAGA,SAAS,eAAe,QAAQ,OAAO;CACtC,OAAO,eAAe;EACrB,SAAS,OAAO;EAChB,GAAG,UAAU,cAAc,OAAO,aAAa,KAAK,CAAC;CACtD,CAAC;AACF;;AAEA,SAAS,kBAAkB,YAAY;CACtC,OAAO,WAAW,WAAW,EAAE,UAAU,KAAK,IAAI;EACjD,UAAU;EACV,iBAAiB,WAAW;CAC7B;AACD;;;;;;AAMA,SAAS,oCAAoC,aAAa,kBAAkB;CAC3E,MAAM,YAAY,CAAC;CACnB,MAAM,8BAA8B,IAAI,IAAI;CAC5C,KAAK,MAAM,aAAa,aAAa;EACpC,IAAI,CAAC,yBAAyB,SAAS,GAAG,MAAM,gBAAgB,wCAAwC,qBAAqB,kBAAkB,SAAS,EAAE,4CAA4C;GACrM,KAAK;GACL,KAAK;GACL,MAAM,EAAE,YAAY,kBAAkB,SAAS,EAAE;EAClD,CAAC;EACD,MAAM,MAAM,uBAAuB,SAAS;EAC5C,IAAI,CAAC,cAAc,UAAU,SAAS,KAAK,UAAU,UAAU,KAAK,GAAG,MAAM,gBAAgB,sCAAsC,yBAAyB,IAAI,wBAAwB,UAAU,UAAU,kDAAkD,CAAC,GAAG,gBAAgB,CAAC,CAAC,KAAK,IAAI,EAAE,kCAAkC;GAChU,KAAK;GACL,KAAK;GACL,MAAM;IACL,WAAW,UAAU;IACrB;GACD;EACD,CAAC;EACD,IAAI,YAAY,IAAI,GAAG,GAAG,MAAM,g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GAAG,OAAO,KAAK;GAClC,IAAI,UAAU,KAAK,GAAG,OAAO,MAAM;GACnC,MAAM,aAAa,MAAM,UAAU,IAAI,MAAM,OAAO,KAAK,MAAM;GAC/D,IAAI,eAAe,KAAK,GAAG,OAAO,KAAK;GACvC,OAAO;IACN;IACA,QAAQ,WAAW,OAAO,SAAS,SAAS,eAAe,KAAK,IAAI,eAAe,WAAW,QAAQ,KAAK;IAC3G,GAAG,kBAAkB,UAAU;IAC/B,OAAO,WAAW;GACnB;EACD;EACA,CAAC,SAAS;GACT,OAAO;EACR;CACD;AACD;;;;AAIA,SAAS,oBAAoB,WAAW,YAAY;CACnD,IAAI,eAAe,KAAK,GAAG,OAAO,KAAK;CACvC,IAAI,CAAC,6BAA6B,UAAU,KAAK,CAAC,8BAA8B,UAAU,GAAG;CAC7F,OAAO;EACN;EACA,QAAQ,eAAe,WAAW,QAAQ,KAAK,CAAC;EAChD,GAAG,kBAAkB,UAAU;EAC/B,OAAO,WAAW;CACnB;AACD;AACA,SAAS,kBAAkB,OAAO;CACjC,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,eAAe,OAAO,OAAO,IAAI,OAAO,MAAM,SAAS,EAAE;CAC5G,OAAO,WAAW,OAAO;AAC1B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as frozenCodecRef } from "./types-NTQsD2MS-
|
|
1
|
+
import { H as frozenCodecRef } from "./types-NTQsD2MS-xcLtvKO9.mjs";
|
|
2
2
|
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
3
3
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
4
4
|
import { withoutTrailing } from "@prisma/orm-framework/utils/text";
|
|
5
5
|
import { CodecDescriptorTemplateImpl, CodecImpl, SAFE_INTEGER_RANGE, codecForRef, column, floatToJson, readContractValue, readJsonFloat, readJsonInteger } from "@prisma/orm-framework/components/codec";
|
|
6
6
|
import { InternalError, isInternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
7
|
-
//#region ../../../2-sql/4-lanes/relational-core/dist/exports/ast.mjs
|
|
7
|
+
//#region ../../../2-sql-family/4-lanes/relational-core/dist/exports/ast.mjs
|
|
8
8
|
/**
|
|
9
9
|
* Reads a column's literal default as a value of the column's data type, converts it with the column's codec, built with its type parameters, and writes it with `toWire` for the DDL renderer to inline. `undefined` when no codec descriptor has the column's codec id, so the renderer inlines the value as written.
|
|
10
10
|
*
|
|
@@ -369,4 +369,4 @@ const sqlRawColumn = (sql) => column(sqlRawDescriptor.factory({ sql }), sqlRawDe
|
|
|
369
369
|
//#endregion
|
|
370
370
|
export { sqlCharDecode as A, sqlIntEncode as B, encodeLiteralDefault as C, lockWaitPolicyOf as D, lockStrengthCapabilities as E, sqlFloatDescriptor as F, sqlTextDescriptor as G, sqlRawDescriptor as H, sqlFloatEncode as I, sqlVarcharDecode as J, sqlTextEncode as K, sqlIntColumn as L, sqlCharEncode as M, sqlFloatColumn as N, missingCapability as O, sqlFloatDecode as P, sqlIntDecode as R, encodeListLiteralDefault as S, lockOptionCapabilities as T, sqlTextColumn as U, sqlRawColumn as V, sqlTextDecode as W, sqlVarcharEncode as X, sqlVarcharDescriptor as Y, SqlRawDescriptor as _, SQL_FLOAT_CODEC_ID as a, SqlVarcharCodec as b, SQL_TEXT_CODEC_ID as c, SqlCharDescriptor as d, SqlFloatCodec as f, SqlRawCodec as g, SqlIntDescriptor as h, SQL_CHAR_CODEC_ID as i, sqlCharDescriptor as j, sqlCharColumn as k, SQL_VARCHAR_CODEC_ID as l, SqlIntCodec as m, JsonDocumentProjection as n, SQL_INT_CODEC_ID as o, SqlFloatDescriptor as p, sqlVarcharColumn as q, NativeJsonValueProjection as r, SQL_RAW_CODEC_ID as s, CodecJsonValueProjection as t, SqlCharCodec as u, SqlTextCodec as v, lockIncompatible as w, SqlVarcharDescriptor as x, SqlTextDescriptor as y, sqlIntDescriptor as z };
|
|
371
371
|
|
|
372
|
-
//# sourceMappingURL=ast-
|
|
372
|
+
//# sourceMappingURL=ast-D0miQ1B6.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-D0miQ1B6.mjs","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/ast.mjs"],"sourcesContent":["import { A as ParamRef, B as aggregateFnNames, C as LiteralExpr, D as OperationExpr, E as NullCheckExpr, F as SelectAst, G as isQueryAst, H as isAggregateFn, I as SubqueryExpr, J as whereExprKinds, K as isWhereExpr, L as TableSource, M as ProjectionItem, N as RawExpr, O as OrExpr, P as RawQueryAst, R as UpdateAst, S as ListExpression, T as NotExpr, U as isOrderByDirection, V as checkLimitOffset, W as isOrderByNulls, Y as frozenCodecRef, _ 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 PreparedParamRef, k as OrderByItem, l as DerivedTableSource, m as FunctionCallExpr, n as AndExpr, o as ColumnRef, p as ExistsExpr, q as queryAstKinds, r as BinaryExpr, s as DefaultValueExpr, t as AggregateExpr, u as DoNothingConflictAction, v as InsertOnConflict, w as LockingClause, x as JsonObjectExpr, y as JoinAst, z as WindowFuncExpr } from \"../types-NTQsD2MS.mjs\";\nimport { a as DdlColumn, c as ForeignKeyConstraint, d as PrimaryKeyConstraint, f as UniqueConstraint, i as CheckExpressionConstraint, l as FunctionColumnDefault, n as opaqueSql, o as DdlColumnDefault, p as isDdlNode, r as renderOpaqueSql, s as DdlNode, t as OpaqueSql, u as LiteralColumnDefault } from \"../opaque-sql-Dset3kln.mjs\";\nimport { n as compact, r as isAggregateProjection, t as collectOrderedParamRefs } from \"../util-BBgcP3gI.mjs\";\nimport { ifDefined } from \"@internal/utils/defined\";\nimport { CodecDescriptorTemplateImpl, CodecImpl, SAFE_INTEGER_RANGE, codecForRef, column, floatToJson, readContractValue, readJsonFloat, readJsonInteger } from \"@internal/framework-components/codec\";\nimport { InternalError, isInternalError } from \"@internal/utils/internal-error\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { withoutTrailing } from \"@internal/utils/text\";\n//#region src/ast/ddl-default.ts\n/**\n* Reads a column's literal default as a value of the column's data type, converts it with the column's codec, built with its type parameters, and writes it with `toWire` for the DDL renderer to inline. `undefined` when no codec descriptor has the column's codec id, so the renderer inlines the value as written.\n*\n* A `Date` is the one authored value JSON has no notation for, so the codec reads it into a value of the column's type with `toDataTypeValue`, and the Date it reads back from that value is encoded: the type and the codec check it as they check any other default. A `null` the type or codec refuses is SQL NULL, because SQL NULL has no stored form of its own; a type that stores `null` (a JSON type) makes it the JSON value null. Any other value either refuses is a `CONTRACT.DEFAULT_INVALID` naming the column.\n*/\nasync function encodeLiteralDefault(codecLookup, codecRef, value, where) {\n\tconst codec = codecForRef(codecLookup, codecRef);\n\tif (codec === void 0) return void 0;\n\tconst refused = (cause) => refusedDefault(where, codecRef.codecId, value, void 0, cause);\n\tif (value instanceof Date) return encodeDate(codec, value, refused);\n\treturn encodeWithCodec(codec, codecRef, value, refused);\n}\nasync function encodeDate(codec, value, refused) {\n\tlet decoded;\n\ttry {\n\t\tdecoded = codec.fromDataTypeValue(codec.toDataTypeValue(value));\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\tthrow refused(error);\n\t}\n\treturn {\n\t\tkind: \"wire\",\n\t\twire: await codec.toWire(decoded, {})\n\t};\n}\n/**\n* Reads and encodes each element of a list column's literal default with the column's codec, as {@link encodeLiteralDefault} does a single value, so a `null` element the codec refuses is SQL NULL. `undefined` when no codec descriptor has the column's codec id. An element the codec refuses is a `CONTRACT.DEFAULT_INVALID` naming the column and the element's 1-based position.\n*/\nasync function encodeListLiteralDefault(codecLookup, codecRef, elements, where) {\n\tconst codec = codecForRef(codecLookup, codecRef);\n\tif (codec === void 0) return void 0;\n\treturn Promise.all(elements.map((element, index) => encodeWithCodec(codec, codecRef, element, (cause) => refusedDefault(where, codecRef.codecId, element, index + 1, cause))));\n}\nasync function encodeWithCodec(codec, codecRef, value, refused) {\n\tlet decoded;\n\ttry {\n\t\tdecoded = readContractValue(codec, value, codecRef.typeParams);\n\t} catch (error) {\n\t\tif (isInternalError(error)) throw error;\n\t\tif (value === null) return { kind: \"sql-null\" };\n\t\tthrow refused(error);\n\t}\n\treturn {\n\t\tkind: \"wire\",\n\t\twire: await codec.toWire(decoded, {})\n\t};\n}\nfunction refusedDefault(where, codecId, value, elementPosition, cause) {\n\tconst reason = cause instanceof Error ? cause.message : String(cause);\n\tconst subject = elementPosition === void 0 ? \"default\" : `default (element ${elementPosition})`;\n\treturn structuredError(\"CONTRACT.DEFAULT_INVALID\", `Column \"${where.table}\".\"${where.column}\" has a ${subject} its codec ${codecId} refuses: ${reason}`, {\n\t\twhy: \"A contract.json that an earlier version emitted, or a migration.ts it planned, can hold a default that this version's codec refuses, and so can either file after a hand edit.\",\n\t\tfix: \"If contract.json holds the default, emit the contract again with this version, and correct the default in the contract source if emit refuses it. If a migration.ts sets it, correct it in that file.\",\n\t\tcause,\n\t\tmeta: {\n\t\t\ttable: where.table,\n\t\t\tcolumn: where.column,\n\t\t\tcodecId,\n\t\t\tvalue,\n\t\t\t...ifDefined(\"elementPosition\", elementPosition),\n\t\t\treason: \"codec-refused-default\"\n\t\t}\n\t});\n}\n//#endregion\n//#region src/ast/json-value-projection.ts\nvar JsonValueProjection = class {\n\tvalue;\n\tconstructor(value) {\n\t\tthis.value = value;\n\t}\n\tfold(folder) {\n\t\treturn this.value.fold(folder);\n\t}\n\tcollectColumnRefs() {\n\t\treturn this.value.collectColumnRefs();\n\t}\n\tcollectParamRefs() {\n\t\treturn this.value.collectParamRefs();\n\t}\n\tfreeze() {\n\t\tObject.freeze(this);\n\t}\n};\nvar CodecJsonValueProjection = class CodecJsonValueProjection extends JsonValueProjection {\n\tkind = \"codec\";\n\tcodec;\n\tconstructor(value, codec) {\n\t\tsuper(value);\n\t\tthis.codec = frozenCodecRef(codec);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.codec(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new CodecJsonValueProjection(this.value.rewrite(rewriter), this.codec);\n\t}\n};\nvar NativeJsonValueProjection = class NativeJsonValueProjection extends JsonValueProjection {\n\tkind = \"native\";\n\tconstructor(value) {\n\t\tsuper(value);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.native(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new NativeJsonValueProjection(this.value.rewrite(rewriter));\n\t}\n};\nvar JsonDocumentProjection = class JsonDocumentProjection extends JsonValueProjection {\n\tkind = \"document\";\n\tconstructor(value) {\n\t\tsuper(value);\n\t\tthis.freeze();\n\t}\n\taccept(visitor) {\n\t\treturn visitor.document(this);\n\t}\n\trewrite(rewriter) {\n\t\treturn new JsonDocumentProjection(this.value.rewrite(rewriter));\n\t}\n};\n//#endregion\n//#region src/ast/locking.ts\n/** The `ORM.LOCK_INCOMPATIBLE` error for a lock refused because of `conflict`. */\nfunction lockIncompatible(conflict, message) {\n\treturn structuredError(\"ORM.LOCK_INCOMPATIBLE\", message, { meta: { conflict } });\n}\n/** The capability each lock strength needs. */\nconst lockStrengthCapabilities = {\n\tforUpdate: { sql: { forUpdate: true } },\n\tforNoKeyUpdate: { postgres: { forNoKeyUpdate: true } },\n\tforShare: { sql: { forShare: true } },\n\tforKeyShare: { postgres: { forKeyShare: true } }\n};\n/** The capability each locking option needs; the wait-policy keys equal the `LockWaitPolicy` values. */\nconst lockOptionCapabilities = {\n\tof: { sql: { lockOf: true } },\n\tnowait: { sql: { lockNowait: true } },\n\tskipLocked: { sql: { lockSkipLocked: true } }\n};\n/** The first flag in `requirement` that `capabilities` does not report as `true`, as `group.flag`. */\nfunction missingCapability(capabilities, requirement) {\n\tfor (const [group, flags] of Object.entries(requirement)) for (const flag of Object.keys(flags)) if (capabilities[group]?.[flag] !== true) return `${group}.${flag}`;\n}\n/** Turns `{ nowait, skipLocked }` into a wait policy, refusing both together with `ORM.ARGUMENT_INVALID`. */\nfunction lockWaitPolicyOf(methodName, options) {\n\tif (options?.nowait && options.skipLocked) throw structuredError(\"ORM.ARGUMENT_INVALID\", `${methodName}() takes nowait or skipLocked, not both`, { meta: { method: methodName } });\n\tif (options?.nowait) return \"nowait\";\n\tif (options?.skipLocked) return \"skipLocked\";\n}\n//#endregion\n//#region src/ast/sql-codec-helpers.ts\n/**\n* Shared encode/decode constants and codec id literals for the five SQL base codecs (`sql/char@1`, `sql/varchar@1`, `sql/int@1`, `sql/float@1`, `sql/text@1`).\n*\n* The codec implementations live in `sql-codecs.ts` (TML-2357). This module retains only the conversion helpers the codec methods compose with — keeping a single source of truth for non-trivial conversions while the codec methods provide the framework-required `Promise<…>` boundary.\n*/\nconst SQL_CHAR_CODEC_ID = \"sql/char@1\";\nconst SQL_VARCHAR_CODEC_ID = \"sql/varchar@1\";\nconst SQL_INT_CODEC_ID = \"sql/int@1\";\nconst SQL_FLOAT_CODEC_ID = \"sql/float@1\";\nconst SQL_TEXT_CODEC_ID = \"sql/text@1\";\nconst SQL_RAW_CODEC_ID = \"sql/raw@1\";\nconst sqlCharEncode = (value) => value;\n/** A `character` value as the database returns it, without the spaces that pad it to its length. Only spaces pad it, so a trailing tab or newline is part of the value. */\nconst sqlCharDecode = (wire) => withoutTrailing(wire, \" \");\nconst sqlVarcharEncode = (value) => value;\nconst sqlVarcharDecode = (wire) => wire;\nconst sqlIntEncode = (value) => value;\nconst sqlIntDecode = (wire) => wire;\nconst sqlFloatEncode = (value) => value;\nconst sqlFloatDecode = (wire) => wire;\nconst sqlTextEncode = (value) => value;\nconst sqlTextDecode = (wire) => wire;\n//#endregion\n//#region src/ast/sql-codecs.ts\n/** A family codec has no data type of its own, so only a target that adapts it, naming its data type, builds its codec. A column helper below names the codec for a contract; the target's adapted descriptor builds it. */\nfunction unadapted(codecId) {\n\tthrow new InternalError(`${codecId} is a SQL family template. A target adapts it with its own data type and builds its codecs; the template builds none.`);\n}\nvar SqlTextCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn sqlTextEncode(value);\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn sqlTextDecode(wire);\n\t}\n\tfromDataTypeValue(value) {\n\t\treturn value.value;\n\t}\n\ttoDataTypeValue(input) {\n\t\treturn this.dataTypeValueOf(input);\n\t}\n};\nvar SqlTextDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_TEXT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\tparamsSchema = void 0;\n\tfactory() {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlTextDescriptor = new SqlTextDescriptor();\nconst sqlTextColumn = () => column(sqlTextDescriptor.factory(), sqlTextDescriptor.codecId, void 0);\nvar SqlIntCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn sqlIntEncode(value);\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn sqlIntDecode(wire);\n\t}\n\t/** A `number` holds an integer exactly only within the safe integer range. */\n\tfromDataTypeValue(value) {\n\t\treturn readJsonInteger(this.id, value.value, SAFE_INTEGER_RANGE);\n\t}\n\ttoDataTypeValue(input) {\n\t\treturn this.dataTypeValueOf(input);\n\t}\n};\nvar SqlIntDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_INT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\tparamsSchema = void 0;\n\tfactory() {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlIntDescriptor = new SqlIntDescriptor();\nconst sqlIntColumn = () => column(sqlIntDescriptor.factory(), sqlIntDescriptor.codecId, void 0);\nvar SqlFloatCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn sqlFloatEncode(value);\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn sqlFloatDecode(wire);\n\t}\n\tfromDataTypeValue(value) {\n\t\treturn readJsonFloat(this.id, value.value);\n\t}\n\ttoDataTypeValue(input) {\n\t\treturn this.dataTypeValueOf(floatToJson(input));\n\t}\n};\nvar SqlFloatDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_FLOAT_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"numeric\"\n\t];\n\tparamsSchema = void 0;\n\tfactory() {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlFloatDescriptor = new SqlFloatDescriptor();\nconst sqlFloatColumn = () => column(sqlFloatDescriptor.factory(), sqlFloatDescriptor.codecId, void 0);\nvar SqlCharCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn sqlCharEncode(value);\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn sqlCharDecode(wire);\n\t}\n\tfromDataTypeValue(value) {\n\t\treturn value.value;\n\t}\n\ttoDataTypeValue(input) {\n\t\treturn this.dataTypeValueOf(input);\n\t}\n};\nvar SqlCharDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_CHAR_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\tparamsSchema = void 0;\n\tfactory(_params) {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlCharDescriptor = new SqlCharDescriptor();\nconst sqlCharColumn = (params = {}) => column(sqlCharDescriptor.factory(params), sqlCharDescriptor.codecId, params);\nvar SqlVarcharCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn sqlVarcharEncode(value);\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn sqlVarcharDecode(wire);\n\t}\n\tfromDataTypeValue(value) {\n\t\treturn value.value;\n\t}\n\ttoDataTypeValue(input) {\n\t\treturn this.dataTypeValueOf(input);\n\t}\n};\nvar SqlVarcharDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_VARCHAR_CODEC_ID;\n\ttraits = [\n\t\t\"equality\",\n\t\t\"order\",\n\t\t\"textual\"\n\t];\n\tparamsSchema = void 0;\n\tfactory(_params) {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlVarcharDescriptor = new SqlVarcharDescriptor();\nconst sqlVarcharColumn = (params = {}) => column(sqlVarcharDescriptor.factory(params), sqlVarcharDescriptor.codecId, params);\nfunction isJsonValue(value) {\n\tif (value === null) return true;\n\tswitch (typeof value) {\n\t\tcase \"string\":\n\t\tcase \"boolean\": return true;\n\t\tcase \"number\": return Number.isFinite(value);\n\t\tcase \"object\":\n\t\t\tif (Array.isArray(value)) return value.every(isJsonValue);\n\t\t\treturn Object.getPrototypeOf(value) === Object.prototype && Object.values(value).every(isJsonValue);\n\t\tdefault: return false;\n\t}\n}\n/**\n* The codec of a raw column, whose type no other data type claims. Values pass through unchanged and\n* are typed `unknown`, since nothing is known about them beyond what the database returns. A raw\n* column has no literal values, but that is its data type's rule: the data type's reader refuses\n* every value, so `toDataTypeValue` refuses every literal. ADR 273.\n*/\nvar SqlRawCodec = class extends CodecImpl {\n\tasync toWire(value, _ctx) {\n\t\treturn value;\n\t}\n\tasync fromWire(wire, _ctx) {\n\t\treturn wire;\n\t}\n\tfromDataTypeValue(value) {\n\t\treturn value.value;\n\t}\n\ttoDataTypeValue(input) {\n\t\tif (isJsonValue(input)) return this.dataTypeValueOf(input);\n\t\tthrow structuredError(\"RUNTIME.ENCODE_FAILED\", `${this.id} writes only JSON values as JSON`, { meta: { codecId: this.id } });\n\t}\n};\nvar SqlRawDescriptor = class extends CodecDescriptorTemplateImpl {\n\tcodecId = SQL_RAW_CODEC_ID;\n\ttraits = [];\n\tenumRefusal = \"A raw column has a type Prisma does not interpret, so no member can be written as one of its values. No enum can use the raw codec; use a text enum instead.\";\n\tparamsSchema = void 0;\n\tfactory(_params) {\n\t\treturn () => unadapted(this.codecId);\n\t}\n};\nconst sqlRawDescriptor = new SqlRawDescriptor();\nconst sqlRawColumn = (sql) => column(sqlRawDescriptor.factory({ sql }), sqlRawDescriptor.codecId, { sql });\n//#endregion\nexport { 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, LockingClause, NativeJsonValueProjection, NotExpr, NullCheckExpr, OpaqueSql, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawQueryAst, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlRawCodec, SqlRawDescriptor, SqlTextCodec, SqlTextDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, aggregateFnNames, checkLimitOffset, collectOrderedParamRefs, compact, encodeListLiteralDefault, encodeLiteralDefault, frozenCodecRef, isAggregateFn, isAggregateProjection, isDdlNode, isOrderByDirection, isOrderByNulls, isQueryAst, isWhereExpr, lockIncompatible, lockOptionCapabilities, lockStrengthCapabilities, lockWaitPolicyOf, missingCapability, opaqueSql, queryAstKinds, renderOpaqueSql, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlRawColumn, sqlRawDescriptor, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, whereExprKinds };\n\n//# sourceMappingURL=ast.mjs.map"],"mappings":";;;;;;;;;;;;AAcA,eAAe,qBAAqB,aAAa,UAAU,OAAO,OAAO;CACxE,MAAM,QAAQ,YAAY,aAAa,QAAQ;CAC/C,IAAI,UAAU,KAAK,GAAG,OAAO,KAAK;CAClC,MAAM,WAAW,UAAU,eAAe,OAAO,SAAS,SAAS,OAAO,KAAK,GAAG,KAAK;CACvF,IAAI,iBAAiB,MAAM,OAAO,WAAW,OAAO,OAAO,OAAO;CAClE,OAAO,gBAAgB,OAAO,UAAU,OAAO,OAAO;AACvD;AACA,eAAe,WAAW,OAAO,OAAO,SAAS;CAChD,IAAI;CACJ,IAAI;EACH,UAAU,MAAM,kBAAkB,MAAM,gBAAgB,KAAK,CAAC;CAC/D,SAAS,OAAO;EACf,IAAI,gBAAgB,KAAK,GAAG,MAAM;EAClC,MAAM,QAAQ,KAAK;CACpB;CACA,OAAO;EACN,MAAM;EACN,MAAM,MAAM,MAAM,OAAO,SAAS,CAAC,CAAC;CACrC;AACD;;;;AAIA,eAAe,yBAAyB,aAAa,UAAU,UAAU,OAAO;CAC/E,MAAM,QAAQ,YAAY,aAAa,QAAQ;CAC/C,IAAI,UAAU,KAAK,GAAG,OAAO,KAAK;CAClC,OAAO,QAAQ,IAAI,SAAS,KAAK,SAAS,UAAU,gBAAgB,OAAO,UAAU,UAAU,UAAU,eAAe,OAAO,SAAS,SAAS,SAAS,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC;AAC9K;AACA,eAAe,gBAAgB,OAAO,UAAU,OAAO,SAAS;CAC/D,IAAI;CACJ,IAAI;EACH,UAAU,kBAAkB,OAAO,OAAO,SAAS,UAAU;CAC9D,SAAS,OAAO;EACf,IAAI,gBAAgB,KAA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AAM,WAAW;EACnG,SAAS,OAAO;CACjB;AACD;;;;;;;AAOA,IAAI,cAAc,cAAc,UAAU;CACzC,MAAM,OAAO,OAAO,MAAM;EACzB,OAAO;CACR;CACA,MAAM,SAAS,MAAM,MAAM;EAC1B,OAAO;CACR;CACA,kBAAkB,OAAO;EACxB,OAAO,MAAM;CACd;CACA,gBAAgB,OAAO;EACtB,IAAI,YAAY,KAAK,GAAG,OAAO,KAAK,gBAAgB,KAAK;EACzD,MAAM,gBAAgB,yBAAyB,GAAG,KAAK,GAAG,mCAAmC,EAAE,MAAM,EAAE,SAAS,KAAK,GAAG,EAAE,CAAC;CAC5H;AACD;AACA,IAAI,mBAAmB,cAAc,4BAA4B;CAChE,UAAU;CACV,SAAS,CAAC;CACV,cAAc;CACd,eAAe,KAAK;CACpB,QAAQ,SAAS;EAChB,aAAa,UAAU,KAAK,OAAO;CACpC;AACD;AACA,MAAM,mBAAmB,IAAI,iBAAiB;AAC9C,MAAM,gBAAgB,QAAQ,OAAO,iBAAiB,QAAQ,EAAE,IAAI,CAAC,GAAG,iBAAiB,SAAS,EAAE,IAAI,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-DriMIMNQ-
|
|
2
|
-
import { c as SqlQueryable } from "./driver-types-DRsYeq3j-
|
|
3
|
-
import "./ddl-types-By5mT2_S
|
|
1
|
+
import { Dt as ProjectionItem, E as CodecRef$1, ft as LockWaitPolicy, gt as LoweredStatement, h as AnyQueryAst, m as AnyParamRef } from "./types-DriMIMNQ-Cs5YW-O-.mjs";
|
|
2
|
+
import { c as SqlQueryable } from "./driver-types-DRsYeq3j-BimeCnUk.mjs";
|
|
3
|
+
import "./ddl-types-By5mT2_S-CEkSuvfl.mjs";
|
|
4
4
|
import { StructuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
5
5
|
import { CodecCallContext, CodecDescriptorTemplateImpl, CodecImpl, CodecInstanceContext, CodecLookupWithDescriptors, DataTypeValue } from "@prisma/orm-framework/components/codec";
|
|
6
6
|
import { ColumnDefaultLiteralInputValue, ContractMarkerRecord, JsonValue } from "@prisma/orm-framework/contract/types";
|
|
7
|
-
//#region ../../../2-sql/4-lanes/relational-core/dist/exports/ast.d.mts
|
|
7
|
+
//#region ../../../2-sql-family/4-lanes/relational-core/dist/exports/ast.d.mts
|
|
8
8
|
//#region src/ast/adapter-types.d.ts
|
|
9
9
|
type AdapterTarget = string;
|
|
10
10
|
/**
|
|
@@ -289,4 +289,4 @@ declare function collectOrderedParamRefs(ast: AnyQueryAst): ReadonlyArray<AnyPar
|
|
|
289
289
|
declare function isAggregateProjection(item: ProjectionItem): boolean;
|
|
290
290
|
//#endregion
|
|
291
291
|
export { sqlIntDescriptor as $, SqlTextDescriptor as A, lockStrengthCapabilities as B, SqlFloatCodec as C, SqlRawCodec as D, SqlIntDescriptor as E, encodeListLiteralDefault as F, sqlCharDescriptor as G, missingCapability as H, encodeLiteralDefault as I, sqlFloatDecode as J, sqlCharEncode as K, isAggregateProjection as L, SqlVarcharDescriptor as M, collectOrderedParamRefs as N, SqlRawDescriptor as O, compact as P, sqlIntDecode as Q, lockIncompatible as R, SqlCharDescriptor as S, SqlIntCodec as T, sqlCharColumn as U, lockWaitPolicyOf as V, sqlCharDecode as W, sqlFloatEncode as X, sqlFloatDescriptor as Y, sqlIntColumn as Z, SQL_INT_CODEC_ID as _, EncodedLiteralDefault as a, sqlTextDescriptor as at, SQL_VARCHAR_CODEC_ID as b, LockOptionCapabilities as c, sqlVarcharDecode as ct, LockWaitRequest as d, sqlIntEncode as et, Lowerer as f, SQL_FLOAT_CODEC_ID as g, SQL_CHAR_CODEC_ID as h, CapabilityRequirement as i, sqlTextDecode as it, SqlVarcharCodec as j, SqlTextCodec as k, LockStrengthCapabilities as l, sqlVarcharDescriptor as lt, MarkerReadResult as m, AdapterProfile as n, sqlRawDescriptor as nt, LiteralDefaultColumn as o, sqlTextEncode as ot, LowererContext as p, sqlFloatColumn as q, AdapterTarget as r, sqlTextColumn as rt, LockConflict as s, sqlVarcharColumn as st, Adapter as t, sqlRawColumn as tt, LockWaitOptions as u, sqlVarcharEncode as ut, SQL_RAW_CODEC_ID as v, SqlFloatDescriptor as w, SqlCharCodec as x, SQL_TEXT_CODEC_ID as y, lockOptionCapabilities as z };
|
|
292
|
-
//# sourceMappingURL=ast-
|
|
292
|
+
//# sourceMappingURL=ast-De1p3DM9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-De1p3DM9.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/relational-core/dist/exports/ast.d.mts"],"mappings":";;;;;;;;KAOK;;;;;;;KAOA;WACM;WACA,QAAQ;;WAER;;WAEA;;UAED,eAAe,gBAAgB,gBAAgB;WAC9C;WACA,QAAQ;WACR,cAAc;;;;EAIvB,WAAW,WAAW,eAAe,QAAQ;;UAErC,eAAe;WACd,UAAU;WACV;;KAEN,QAAQ,eAAe,qBAAqB,QAAQ,qBAAqB,KAAK,KAAK,SAAS,eAAe,eAAe;;;;UAIrH,QAAQ,eAAe,qBAAqB,QAAQ;WACnD,SAAS;EAClB,MAAM,KAAK,KAAK,SAAS,eAAe,aAAa;;;;;KAKlD;WACM;;WAEA;WACA;;;UAGD;WACC;WACA;;;;;;;iBAOM,qBAAqB,aAAa,KAAK,8CAA8C,UAAU,YAAU,OAAO,gCAAgC,OAAO,uBAAuB,QAAQ;;;;iBAItL,yBAAyB,aAAa,KAAK,8CAA8C,UAAU,YAAU,mBAAmB,aAAa,OAAO,uBAAuB,iBAAiB;;;;KAIxM;;iBAEY,iBAAiB,UAAU,cAAc,kBAAkB;;KAEvE;YACO;cACE;;;;cAIA;WACH;aACE;eACE;;;WAGJ;aACE;eACE;;;WAGJ;aACE;eACE;;;WAGJ;aACE;eACE;;;;;cAKD;WACH;aACE;eACE;;;WAGJ;aACE;eACE;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gB,gBAAgB;;cAEpB,0BAA0B,4BAA4B;WACzD;WACA;WACA;EACT,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,mBAAmB;cACnB,gBAAgB,SAAS,gEAAgE,WAAW,cAAc;cAClH,wBAAwB,iBAAiB;EACrD,OAAO,eAAe,MAAM,mBAAqB;EACjD,SAAS,cAAc,MAAM,mBAAqB;EAClD,kBAAkB,OAAO;EACzB,gBAAgB,gBAAgB;;cAEpB,6BAA6B,4BAA4B;WAC5D;WACA;WACA;EACT,QAAQ,SAAS,gBAAgB,KAAK,yBAAyB;;cAEnD,sBAAsB;cACtB,mBAAmB,SAAS,gEAAgE,WAAW,iBAAiB;KACjI;WACM;;;;;;;;cAQG,oBAAoB,iBAAiB;EACjD,OAAO,gBAAgB,MAAM,mBAAqB;EAClD,SAAS,eAAe,MAAM,mBAAqB;EACnD,kBAAkB,OAAO;EACzB,gBAAgB,iBAAiB;;cAErB,yBAAyB,4BAA4B;WACxD;WACA;WACA;WACA;EACT,QAAQ,SAAS,aAAa,KAAK,yBAAyB;;cAEhD,kBAAkB;cAClB,eAAe,+DAA+D,WAAW;EACrG;;;;iBAIe,QAAQ,UAAU,yBAAyB,GAAG,IAAI;;;;;;;;;;;iBAWlD,wBAAwB,KAAK,cAAc,cAAc;;iBAEzD,sBAAsB,MAAM"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./contract-builder-
|
|
2
|
-
import "./psl-column-resolution-ChZqioOc-
|
|
1
|
+
import "./contract-builder-BrpdASoV.mjs";
|
|
2
|
+
import "./psl-column-resolution-ChZqioOc-DkKTu21I.mjs";
|
|
3
3
|
import { DataTypeSupport } from "@prisma/orm-framework/components/authoring";
|
|
4
4
|
import { PslSources } from "@prisma/orm-framework/psl-parser/syntax";
|
|
5
5
|
import { ControlMutationDefaultEntry } from "@prisma/orm-framework/components/control";
|
|
6
6
|
import { ArgType, AttributeCtx, AttributeSpec, AttributeSpecContext, DescribeUnsupportedAttribute, FieldAttributeCtx, FieldAttributeSpecContext, FuncCallSig, ModelAttributeCtx, ModelSymbol, ParsedWrittenList, ParsedWrittenScalar, PslSpan, TypedFuncCall } from "@prisma/orm-framework/psl-parser";
|
|
7
7
|
import "@prisma/orm-framework/components/psl-ast";
|
|
8
|
-
//#region ../../../2-sql/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts
|
|
8
|
+
//#region ../../../2-sql-family/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts
|
|
9
9
|
//#region src/sql-attribute-specs.d.ts
|
|
10
10
|
interface EnumMemberDefault {
|
|
11
11
|
readonly kind: 'member';
|
|
@@ -106,9 +106,9 @@ declare const sqlAttributeSpecs: {
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
//#endregion
|
|
109
|
-
//#region ../../../2-sql/2-authoring/contract-psl/dist/attribute-specs.d.mts
|
|
109
|
+
//#region ../../../2-sql-family/2-authoring/contract-psl/dist/attribute-specs.d.mts
|
|
110
110
|
//#region src/psl-field-resolution.d.ts
|
|
111
111
|
declare function describeUnsupportedSqlAttribute(sources: PslSources): DescribeUnsupportedAttribute;
|
|
112
112
|
//#endregion
|
|
113
113
|
export { EnumMemberListDefault as a, sqlAttributeSpecs as c, EnumMemberDefault as i, DefaultFunctionCall as n, ParsedNullLiteral as o, DefaultFunctionSignature as r, defaultFunctionCall as s, describeUnsupportedSqlAttribute as t };
|
|
114
|
-
//# sourceMappingURL=attribute-specs-
|
|
114
|
+
//# sourceMappingURL=attribute-specs-CTEOxEJS.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attribute-specs-CTEOxEJS.d.mts","names":[],"sources":["../../../../2-sql-family/2-authoring/contract-psl/dist/sql-attribute-specs-CK9iRCBj.d.mts","../../../../2-sql-family/2-authoring/contract-psl/dist/attribute-specs.d.mts"],"mappings":";;;;;;;;;UAOU;WACC;WACA;;;UAGD;WACC;WACA,MAAM;;;UAGP;WACC;WACA,oBAAoB,oBAAoB;;;UAGzC;WACC;WACA,MAAM;;KAEZ,kBAAkB,sBAAsB,oBAAoB,kBAAkB,sBAAsB,qBAAqB,sBAAsB,oBAAoB;;KAEnK,2BAA2B,gBAAgB,WAAW,oBAAoB;;;;iBAI9D,oBAAoB,cAAc,OAAO,6BAA6B,WAAW,kBAAkB,QAAQ,eAAe;iBAC1H,eAAe,KAAK,uBAAuB;EAC1D;WACS,4CAA4C;WAC5C,uCAAuC;WACvC;WACA;WACA;WACA;WACA,UAAU;GAClB;iBACc,eAAe,KAAK,uBAAuB;WACjD,2CAA2C;WAC3C;WACA;GACR;;cAEW;WACH;aACE,MAAM,MAAM,yBAAyB;MAC5C;OACC;aACM,KAAK,MAAM,yBAAyB;MAC3C;eACS;OACR;aACM,SAAS,MAAM,yBAAyB;MAC/C;eACS;OACR;aACM,cAAc;aACd,cAAc;aACd,UAAU,MAAM,yBAAyB;MAChD;OACC;aACM,gBAAgB,MAAM,yBAAyB;MACtD;OACC;aACM,OAAO,MAAM,yBAAyB;MAC7C,qCAAqC,wBAAwB;MAC7D,OAAO;OACN;;WAEI;aACE,MAAM,MAAM,8BAA8B;MACjD;OACC;aACM,KAAK,MAAM,8BAA8B;eACvC;OACR;aACM,SAAS,MAAM,8BAA8B;eAC3C;OACR;aACM,WAAW,MAAM,8BAA8B;MACtD;eACS;eACA;eACA;eACA;eACA;eACA;OACR;aACM,UAAU,KAAK,8BAA8B;MACpD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;aACM,WAAW,KAAK,8BAA8B;MACrD,OAAO;OACN;;;;;;iBC3FU,gCAAgC,SAAS,aAAa"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as contractError } from "./contract-errors-BCN6RVI5-
|
|
2
|
-
import { i as computeCheckContentHash, n as assertWireNamePrefixLength } from "./naming-bM5qm5PY-
|
|
3
|
-
import { t as exactNameBodyWarning } from "./index-naming-BOcJT1B3-
|
|
1
|
+
import { t as contractError } from "./contract-errors-BCN6RVI5-DoH6b_KZ.mjs";
|
|
2
|
+
import { i as computeCheckContentHash, n as assertWireNamePrefixLength } from "./naming-bM5qm5PY-jOg3JFMb.mjs";
|
|
3
|
+
import { t as exactNameBodyWarning } from "./index-naming-BOcJT1B3-mG8Fd6KN.mjs";
|
|
4
4
|
import { flushAuthoringWarnings } from "@prisma/orm-framework/components/authoring";
|
|
5
|
-
//#region ../../../2-sql/1-core/contract/dist/authored-check-naming.mjs
|
|
5
|
+
//#region ../../../2-sql-family/1-core/contract/dist/authored-check-naming.mjs
|
|
6
6
|
/**
|
|
7
7
|
* Lowers an authored check constraint into the name-identified entity
|
|
8
8
|
* `contract.json` persists: exact mode adopts `map` verbatim (no prefix, no
|
|
@@ -44,4 +44,4 @@ function lowerAuthoredCheck(tableName, authored, warnings) {
|
|
|
44
44
|
//#endregion
|
|
45
45
|
export { lowerAuthoredCheck as t };
|
|
46
46
|
|
|
47
|
-
//# sourceMappingURL=authored-check-naming-
|
|
47
|
+
//# sourceMappingURL=authored-check-naming-BHGJhjqn.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authored-check-naming-BHGJhjqn.mjs","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/authored-check-naming.mjs"],"sourcesContent":["import { t as contractError } from \"./contract-errors-BCN6RVI5.mjs\";\nimport { t as exactNameBodyWarning } from \"./index-naming-BOcJT1B3.mjs\";\nimport { flushAuthoringWarnings } from \"@internal/framework-components/authoring\";\nimport { assertWireNamePrefixLength, computeCheckContentHash } from \"@internal/sql-schema-ir/naming\";\n//#region src/authored-check-naming.ts\n/**\n* Lowers an authored check constraint into the name-identified entity\n* `contract.json` persists: exact mode adopts `map` verbatim (no prefix, no\n* hash) and warns, because a hand-authored body compared verbatim against\n* Postgres's reprint would false-drift; wire mode appends the content-hash\n* suffix to the authored prefix. There is no default prefix to fall back on\n* — a check has no column tuple to derive one from, unlike an index — so an\n* absent `name` is only valid alongside a present `map`. The cross-field\n* guards are the shared enforcement backstop for both authoring surfaces\n* (PSL pre-empts them with span-anchored diagnostics).\n*/\nfunction lowerAuthoredCheck(tableName, authored, warnings) {\n\tif (authored.map !== void 0 && authored.name !== void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Check \"${authored.map}\" on table \"${tableName}\": map and name are mutually exclusive — map adopts an exact physical name, name is a wire prefix.`);\n\tif (authored.expression.trim().length === 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Check on table \"${tableName}\": expression must not be empty — an empty predicate is not a constraint.`);\n\tif (authored.map !== void 0) {\n\t\tconst warning = exactNameBodyWarning(\"check\", authored.map);\n\t\tif (warnings !== void 0) warnings.push(warning);\n\t\telse flushAuthoringWarnings([warning]);\n\t\treturn {\n\t\t\tnaming: {\n\t\t\t\tkind: \"exact\",\n\t\t\t\tname: authored.map\n\t\t\t},\n\t\t\texpression: authored.expression\n\t\t};\n\t}\n\tif (authored.name === void 0) throw contractError(\"CONTRACT.ARGUMENT_INVALID\", `Check on table \"${tableName}\": a check constraint requires an explicit name (name:) or exact physical name (map:) — unlike an index there is no column tuple to derive a default name from.`);\n\tconst prefix = authored.name;\n\tassertWireNamePrefixLength(prefix, \"check prefix\");\n\treturn {\n\t\tnaming: {\n\t\t\tkind: \"wire\",\n\t\t\tprefix,\n\t\t\thash: computeCheckContentHash(authored.expression)\n\t\t},\n\t\texpression: authored.expression\n\t};\n}\n//#endregion\nexport { lowerAuthoredCheck };\n\n//# sourceMappingURL=authored-check-naming.mjs.map"],"mappings":";;;;;;;;;;;;;;;;AAgBA,SAAS,mBAAmB,WAAW,UAAU,UAAU;CAC1D,IAAI,SAAS,QAAQ,KAAK,KAAK,SAAS,SAAS,KAAK,GAAG,MAAM,cAAc,6BAA6B,UAAU,SAAS,IAAI,cAAc,UAAU,mGAAmG;CAC5P,IAAI,SAAS,WAAW,KAAK,CAAC,CAAC,WAAW,GAAG,MAAM,cAAc,6BAA6B,mBAAmB,UAAU,0EAA0E;CACrM,IAAI,SAAS,QAAQ,KAAK,GAAG;EAC5B,MAAM,UAAU,qBAAqB,SAAS,SAAS,GAAG;EAC1D,IAAI,aAAa,KAAK,GAAG,SAAS,KAAK,OAAO;OACzC,uBAAuB,CAAC,OAAO,CAAC;EACrC,OAAO;GACN,QAAQ;IACP,MAAM;IACN,MAAM,SAAS;GAChB;GACA,YAAY,SAAS;EACtB;CACD;CACA,IAAI,SAAS,SAAS,KAAK,GAAG,MAAM,cAAc,6BAA6B,mBAAmB,UAAU,gKAAgK;CAC5Q,MAAM,SAAS,SAAS;CACxB,2BAA2B,QAAQ,cAAc;CACjD,OAAO;EACN,QAAQ;GACP,MAAM;GACN;GACA,MAAM,wBAAwB,SAAS,UAAU;EAClD;EACA,YAAY,SAAS;CACtB;AACD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as CheckConstraintInput } from "./check-constraint-B7qGu6rc-
|
|
1
|
+
import { n as CheckConstraintInput } from "./check-constraint-B7qGu6rc-Bk2ezWXu.mjs";
|
|
2
2
|
import { AuthoringWarningSink } from "@prisma/orm-framework/components/authoring";
|
|
3
|
-
//#region ../../../2-sql/1-core/contract/dist/authored-check-naming.d.mts
|
|
3
|
+
//#region ../../../2-sql-family/1-core/contract/dist/authored-check-naming.d.mts
|
|
4
4
|
//#region src/authored-check-naming.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* A check constraint as authored, before naming: `map` is an exact physical
|
|
@@ -27,4 +27,4 @@ type AuthoredCheckInput = {
|
|
|
27
27
|
declare function lowerAuthoredCheck(tableName: string, authored: AuthoredCheckInput, warnings?: AuthoringWarningSink): CheckConstraintInput;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { lowerAuthoredCheck as n, AuthoredCheckInput as t };
|
|
30
|
-
//# sourceMappingURL=authored-check-naming-
|
|
30
|
+
//# sourceMappingURL=authored-check-naming-D-o196ry.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authored-check-naming-D-o196ry.d.mts","names":[],"sources":["../../../../2-sql-family/1-core/contract/dist/authored-check-naming.d.mts"],"mappings":";;;;;;;;;;KASK;WACM;WACA;WACA;;;;;;;;;;;;;iBAaM,mBAAmB,mBAAmB,UAAU,oBAAoB,WAAW,uBAAuB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./contract-builder-
|
|
1
|
+
import "./contract-builder-BrpdASoV.mjs";
|
|
2
2
|
import "@prisma/orm-framework/components/authoring";
|
|
3
3
|
import "@prisma/orm-framework/psl-parser";
|
|
4
|
-
//#region ../../../2-sql/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts
|
|
4
|
+
//#region ../../../2-sql-family/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts
|
|
5
5
|
//#region src/core/authoring-entity-types.d.ts
|
|
6
6
|
declare function sqlFamilyEnumSpec(): import("@prisma/orm-framework/psl-parser").MapBlockSpec<Record<string, string | number | boolean | import("@prisma/orm-framework/components/authoring").WrittenScalar | (string | number | boolean | import("@prisma/orm-framework/components/authoring").WrittenScalar)[] | undefined>>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { sqlFamilyEnumSpec as t };
|
|
9
|
-
//# sourceMappingURL=authoring-entity-types-CgKIgWq5-
|
|
9
|
+
//# sourceMappingURL=authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authoring-entity-types-CgKIgWq5-CjIkEw1m.d.mts","names":[],"sources":["../../../../2-sql-family/9-family/dist/authoring-entity-types-CgKIgWq5.d.mts"],"mappings":";;;;;iBAIiB,oDAAoD,aAAa,8FAA8F,gGAAgG"}
|
package/dist/builder.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-
|
|
2
|
-
import { a as Subquery, r as Functions } from "./functions-
|
|
3
|
-
import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-BmrN9nRS-
|
|
1
|
+
import { o as Expression, x as ScopeField } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
|
|
2
|
+
import { a as Subquery, r as Functions } from "./functions-CRvEdiQM.mjs";
|
|
3
|
+
import { C as WhereFilter, S as UpdateQuery, d as QueryContext, g as SelectQuery, h as Scope, i as DeleteQuery, l as InsertQuery, m as ResolveRow, o as GatedMethod, r as Db, s as GroupedQuery, t as AggregateFunctions, y as TableProxy } from "./db-BmrN9nRS-BKdvl6Lv.mjs";
|
|
4
4
|
export type { AggregateFunctions, Db, DeleteQuery, Expression, Functions, GatedMethod, GroupedQuery, InsertQuery, QueryContext, ResolveRow, Scope, ScopeField, SelectQuery, Subquery, TableProxy, UpdateQuery, WhereFilter };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-
|
|
2
|
-
import "./types-
|
|
3
|
-
import { i as SqlOperationEntry } from "./index-
|
|
4
|
-
import { l as RawCodecInferer } from "./expression-6ld_ZQL6-
|
|
5
|
-
import { t as ExpressionImpl } from "./expression-CieaNuRM-
|
|
6
|
-
import "./expression-
|
|
7
|
-
import { s as createFunctions } from "./functions-
|
|
8
|
-
import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-BmrN9nRS-
|
|
9
|
-
import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-BCEoKy0_-
|
|
10
|
-
import "./query-lane-context-
|
|
1
|
+
import { l as SqlStorage } from "./sql-storage-DeCAh5Hi-CEM-m8cs.mjs";
|
|
2
|
+
import "./types-B0J6ZASy.mjs";
|
|
3
|
+
import { i as SqlOperationEntry } from "./index-CUG8HKk_.mjs";
|
|
4
|
+
import { l as RawCodecInferer } from "./expression-6ld_ZQL6-Brvfpjqy.mjs";
|
|
5
|
+
import { t as ExpressionImpl } from "./expression-CieaNuRM-CI_2zExe.mjs";
|
|
6
|
+
import "./expression-kBtMHj-W.mjs";
|
|
7
|
+
import { s as createFunctions } from "./functions-CRvEdiQM.mjs";
|
|
8
|
+
import { a as FieldProxy, b as TableProxyContract, d as QueryContext, f as RawLane, h as Scope, r as Db, t as AggregateFunctions } from "./db-BmrN9nRS-BKdvl6Lv.mjs";
|
|
9
|
+
import { a as SqlAggregateDescriptorRegistry, n as ExecutionContext } from "./query-lane-context-BCEoKy0_-CBzNngG3.mjs";
|
|
10
|
+
import "./query-lane-context-DElm2VXX.mjs";
|
|
11
11
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
12
|
-
//#region ../../../2-sql/4-lanes/sql-builder/dist/runtime/index.d.mts
|
|
12
|
+
//#region ../../../2-sql-family/4-lanes/sql-builder/dist/runtime/index.d.mts
|
|
13
13
|
//#region src/runtime/field-proxy.d.ts
|
|
14
14
|
declare function createFieldProxy<S extends Scope>(scope: S): FieldProxy<S>;
|
|
15
15
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder__runtime.d.mts","names":[],"sources":["../../../../2-sql/4-lanes/sql-builder/dist/runtime/index.d.mts"],"mappings":";;;;;;;;;;;;;iBAQiB,iBAAiB,UAAU,OAAO,OAAO,IAAI,WAAW;;;iBAGxD,yBAAyB,WAAW,cAAc,YAAY,SAAS,eAAe,qBAAqB,iBAAiB,iBAAiB,mBAAmB,iCAAiC,mBAAmB;;;UAG3N,eAAe,UAAU,SAAS,cAAc;WAC/C,SAAS,iBAAiB;WAC1B,iBAAiB;;;;;;;;;;;;iBAYX,cAAc,UAAU,SAAS,cAAc,oBAAoB,SAAS,eAAe,KAAK,QAAQ;;;UAG/G,WAAW,UAAU,SAAS,cAAc;WAC3C,SAAS,iBAAiB;WAC1B,iBAAiB;;iBAEX,IAAI,UAAU,SAAS,cAAc,oBAAoB,SAAS,WAAW,KAAK,GAAG"}
|
|
1
|
+
{"version":3,"file":"builder__runtime.d.mts","names":[],"sources":["../../../../2-sql-family/4-lanes/sql-builder/dist/runtime/index.d.mts"],"mappings":";;;;;;;;;;;;;iBAQiB,iBAAiB,UAAU,OAAO,OAAO,IAAI,WAAW;;;iBAGxD,yBAAyB,WAAW,cAAc,YAAY,SAAS,eAAe,qBAAqB,iBAAiB,iBAAiB,mBAAmB,iCAAiC,mBAAmB;;;UAG3N,eAAe,UAAU,SAAS,cAAc;WAC/C,SAAS,iBAAiB;WAC1B,iBAAiB;;;;;;;;;;;;iBAYX,cAAc,UAAU,SAAS,cAAc,oBAAoB,SAAS,eAAe,KAAK,QAAQ;;;UAG/G,WAAW,UAAU,SAAS,cAAc;WAC3C,SAAS,iBAAiB;WAC1B,iBAAiB;;iBAEX,IAAI,UAAU,SAAS,cAAc,oBAAoB,SAAS,WAAW,KAAK,GAAG"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as ParamRef, F as SelectAst, G as isOrderByNulls, L as TableSource, M as ProjectionItem, R as UpdateAst, U as isAggregateFn, W as isOrderByDirection, _ as InsertAst, c as DeleteAst, g as IdentifierRef, k as OrderByItem, l as DerivedTableSource, n as AndExpr, o as ColumnRef, t as AggregateExpr, w as LockingClause, y as JoinAst } from "./types-NTQsD2MS-
|
|
2
|
-
import { r as isAggregateProjection, t as collectOrderedParamRefs } from "./util-BBgcP3gI-
|
|
3
|
-
import { D as lockWaitPolicyOf, E as lockStrengthCapabilities, T as lockOptionCapabilities, w as lockIncompatible } from "./ast-
|
|
4
|
-
import { i as createRawSql, s as toExpr, t as ExpressionImpl } from "./expression-impl-B-XNINxr-
|
|
5
|
-
import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-
|
|
6
|
-
import { t as createFunctions } from "./functions-
|
|
7
|
-
import { t as createIndexReferences } from "./index-reference-
|
|
1
|
+
import { A as ParamRef, F as SelectAst, G as isOrderByNulls, L as TableSource, M as ProjectionItem, R as UpdateAst, U as isAggregateFn, W as isOrderByDirection, _ as InsertAst, c as DeleteAst, g as IdentifierRef, k as OrderByItem, l as DerivedTableSource, n as AndExpr, o as ColumnRef, t as AggregateExpr, w as LockingClause, y as JoinAst } from "./types-NTQsD2MS-xcLtvKO9.mjs";
|
|
2
|
+
import { r as isAggregateProjection, t as collectOrderedParamRefs } from "./util-BBgcP3gI-CpL-0VuC.mjs";
|
|
3
|
+
import { D as lockWaitPolicyOf, E as lockStrengthCapabilities, T as lockOptionCapabilities, w as lockIncompatible } from "./ast-D0miQ1B6.mjs";
|
|
4
|
+
import { i as createRawSql, s as toExpr, t as ExpressionImpl } from "./expression-impl-B-XNINxr-BhN2sysZ.mjs";
|
|
5
|
+
import { n as codecRefForStorageColumn } from "./codec-descriptor-registry-CiiFzMtb.mjs";
|
|
6
|
+
import { t as createFunctions } from "./functions-CsOoN7I3.mjs";
|
|
7
|
+
import { t as createIndexReferences } from "./index-reference-BQSrkRfT.mjs";
|
|
8
8
|
import { assertAnnotationsApplicable } from "@prisma/orm-framework/components/runtime";
|
|
9
|
-
//#region ../../../2-sql/4-lanes/sql-builder/dist/runtime/index.mjs
|
|
9
|
+
//#region ../../../2-sql-family/4-lanes/sql-builder/dist/runtime/index.mjs
|
|
10
10
|
/**
|
|
11
11
|
* **Last-resort escape hatch for unsafe type assertions. Not a sanctioned tool to reach for.**
|
|
12
12
|
*
|