@prisma/orm-target-sqlite 8.0.0-rc.2-dev.2 → 8.0.0-rc.20-dev.1
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/README.md +1 -5
- package/dist/{adapter-CUTKlFpX-CW0J0Qs4.mjs → adapter-7m8HU4rt-DN15_Cn8.mjs} +178 -107
- package/dist/adapter-7m8HU4rt-DN15_Cn8.mjs.map +1 -0
- package/dist/adapter-C3hrAasJ.d.mts +197 -0
- package/dist/adapter-C3hrAasJ.d.mts.map +1 -0
- package/dist/{adapter-DEYUC-KO-DO_abhIq.d.mts → adapter-xFPDhkod-BsdLsy9N.d.mts} +12 -9
- package/dist/adapter-xFPDhkod-BsdLsy9N.d.mts.map +1 -0
- package/dist/adapter.d.mts +14 -15
- package/dist/adapter.mjs +7 -6
- package/dist/adapter__adapter.d.mts +4 -4
- package/dist/adapter__adapter.mjs +3 -2
- package/dist/adapter__codec-types.d.mts +3 -3
- package/dist/adapter__column-types.d.mts +2 -2
- package/dist/adapter__column-types.mjs +2 -2
- package/dist/adapter__control.d.mts +5 -5
- package/dist/adapter__control.mjs +12 -247
- package/dist/adapter__control.mjs.map +1 -1
- package/dist/adapter__runtime.d.mts +1 -1
- package/dist/adapter__runtime.mjs +11 -6
- package/dist/adapter__runtime.mjs.map +1 -1
- package/dist/adapter__sql-renderer.d.mts +2 -2
- package/dist/adapter__sql-renderer.mjs +1 -1
- package/dist/adapter__types.d.mts +3 -2
- package/dist/{aggregates-DWyPO7t6.mjs → aggregates-D5fuFVMC.mjs} +33 -20
- package/dist/aggregates-D5fuFVMC.mjs.map +1 -0
- package/dist/aggregates-UBmpuURb.d.mts +164 -0
- package/dist/aggregates-UBmpuURb.d.mts.map +1 -0
- package/dist/codec-descriptor-3oN7rtrW-Cc_u7U5-.d.mts +1 -0
- package/dist/codec-descriptor-C16gQAdS.d.mts +2 -0
- package/dist/{codec-descriptor-B9ru99aI-DTkdKFU5.mjs → codec-descriptor-DRmF-crq-BALI5Jtz.mjs} +11 -15
- package/dist/codec-descriptor-DRmF-crq-BALI5Jtz.mjs.map +1 -0
- package/dist/codec-descriptor-DuW-d9ef-BBRBN0Ri.d.mts +45 -0
- package/dist/codec-descriptor-DuW-d9ef-BBRBN0Ri.d.mts.map +1 -0
- package/dist/codec-ids-CMbhYIsa.d.mts +1 -0
- package/dist/{codec-ids-CzeDyMWW-BZAcI50I.d.mts → codec-ids-DuJYssXV-BPKbFNRL.d.mts} +4 -4
- package/dist/codec-ids-DuJYssXV-BPKbFNRL.d.mts.map +1 -0
- package/dist/{codec-ids-KMliSCRp-BhTbmbGr.mjs → codec-ids-wgEvkCkg-WltuexMR.mjs} +4 -4
- package/dist/codec-ids-wgEvkCkg-WltuexMR.mjs.map +1 -0
- package/dist/{codec-types-D7uWRvQ1-DPnvquS8.d.mts → codec-types-COh75Bop-CUehAexc.d.mts} +6 -5
- package/dist/codec-types-COh75Bop-CUehAexc.d.mts.map +1 -0
- package/dist/codec-types-ELHfd82J.d.mts +2 -0
- package/dist/codec-types-PONhVn74.d.mts +1 -0
- package/dist/{codecs-BQWqLgCl-CdB8t7HI.d.mts → codecs-BJYruC-a-BKDGae3k.d.mts} +86 -62
- package/dist/codecs-BJYruC-a-BKDGae3k.d.mts.map +1 -0
- package/dist/codecs-Dn0xoCuf.d.mts +1 -0
- package/dist/codecs-g-YI3BtK.mjs +49 -0
- package/dist/codecs-g-YI3BtK.mjs.map +1 -0
- package/dist/codecs-yZoH21Yj-lQXtGlEq.mjs +618 -0
- package/dist/codecs-yZoH21Yj-lQXtGlEq.mjs.map +1 -0
- package/dist/column-types-DcbNOYVb.mjs +22 -0
- package/dist/column-types-DcbNOYVb.mjs.map +1 -0
- package/dist/column-types-Dxm0BpPv.d.mts +36 -0
- package/dist/column-types-Dxm0BpPv.d.mts.map +1 -0
- package/dist/contract-contributions-wweWdXMK-CN-d35Rj.mjs +24 -0
- package/dist/contract-contributions-wweWdXMK-CN-d35Rj.mjs.map +1 -0
- package/dist/{contract-free-CCLAXZV2.d.mts → contract-free-BJwIJN6x.d.mts} +3 -3
- package/dist/contract-free-BJwIJN6x.d.mts.map +1 -0
- package/dist/{contract-free-D5cZrgNl.mjs → contract-free-DetowcoS.mjs} +8 -7
- package/dist/contract-free-DetowcoS.mjs.map +1 -0
- package/dist/{control-CLirKz11.d.mts → control-BbJiKI2r.d.mts} +24 -29
- package/dist/control-BbJiKI2r.d.mts.map +1 -0
- package/dist/{control-B16T9OoX.mjs → control-BxbKU2xs.mjs} +15 -6
- package/dist/control-BxbKU2xs.mjs.map +1 -0
- package/dist/{control-D9vMRRgU.d.mts → control-C2TjacST.d.mts} +3 -3
- package/dist/control-C2TjacST.d.mts.map +1 -0
- package/dist/{control--wMueaTg.d.mts → control-CmDsxEqb.d.mts} +75 -6
- package/dist/control-CmDsxEqb.d.mts.map +1 -0
- package/dist/{control-tables-Dua-YcJL.d.mts → control-tables-DKXLHvMU.d.mts} +2 -2
- package/dist/control-tables-DKXLHvMU.d.mts.map +1 -0
- package/dist/{control-tables-D_o8dKRB-BXi43noL.mjs → control-tables-D_o8dKRB-n_QqsXcm.mjs} +2 -2
- package/dist/control-tables-D_o8dKRB-n_QqsXcm.mjs.map +1 -0
- package/dist/data-type-entries-yQ-qYugg-C_NnX5WO.mjs +76 -0
- package/dist/data-type-entries-yQ-qYugg-C_NnX5WO.mjs.map +1 -0
- package/dist/data-types-Dx3rHsbF.d.mts +40 -0
- package/dist/data-types-Dx3rHsbF.d.mts.map +1 -0
- package/dist/data-types-coQrCWfS-yMCe4F52.mjs +140 -0
- package/dist/data-types-coQrCWfS-yMCe4F52.mjs.map +1 -0
- package/dist/datetime-text-Bniwehv--BSQhnrdE.mjs +9 -0
- package/dist/datetime-text-Bniwehv--BSQhnrdE.mjs.map +1 -0
- package/dist/ddl-31OBcTco.d.mts +1 -0
- package/dist/{ddl-CXduXyOT-nlDP6DGx.mjs → ddl-CX4tAZ-y-Bng-4PWC.mjs} +42 -5
- package/dist/ddl-CX4tAZ-y-Bng-4PWC.mjs.map +1 -0
- package/dist/default-normalizer-CkHy3JYk.d.mts +25 -0
- package/dist/default-normalizer-CkHy3JYk.d.mts.map +1 -0
- package/dist/default-normalizer-DGMXypHg-CPf7oyZA.mjs +112 -0
- package/dist/default-normalizer-DGMXypHg-CPf7oyZA.mjs.map +1 -0
- package/dist/descriptor-meta-COSGM3xb-Ct_5RPcm.mjs +110 -0
- package/dist/descriptor-meta-COSGM3xb-Ct_5RPcm.mjs.map +1 -0
- package/dist/descriptor-meta-DrNwC4vO-D7vuA6QK.mjs +26 -0
- package/dist/descriptor-meta-DrNwC4vO-D7vuA6QK.mjs.map +1 -0
- package/dist/{descriptor-meta-vjJkUDsn-Hz3rnAnk.mjs → descriptor-meta-cwy5CXTT-CLOhiryX.mjs} +17 -3
- package/dist/descriptor-meta-cwy5CXTT-CLOhiryX.mjs.map +1 -0
- package/dist/descriptor-meta-runtime-DX2JfHWF-Dbsh5NP8.mjs +15 -0
- package/dist/descriptor-meta-runtime-DX2JfHWF-Dbsh5NP8.mjs.map +1 -0
- package/dist/driver.d.mts +2 -2
- package/dist/driver.mjs +1 -1
- package/dist/driver__control.d.mts +1 -1
- package/dist/driver__control.mjs +1 -1
- package/dist/driver__runtime.d.mts +1 -1
- package/dist/driver__runtime.mjs +5 -8
- package/dist/driver__runtime.mjs.map +1 -1
- package/dist/{errors-DnR-sMHS-KkMLIP2U.mjs → errors-DnR-sMHS-D_gh214a.mjs} +2 -2
- package/dist/errors-DnR-sMHS-D_gh214a.mjs.map +1 -0
- package/dist/{migration-uylRe5MP.d.mts → migration-WJlUQmsn.d.mts} +6 -5
- package/dist/migration-WJlUQmsn.d.mts.map +1 -0
- package/dist/{migration-DOKPHtxn.mjs → migration-nqIDkjRz.mjs} +6 -5
- package/dist/migration-nqIDkjRz.mjs.map +1 -0
- package/dist/{nodes-D8EC1yCx-rpfpuJ4T.d.mts → nodes-D8EC1yCx-BS-fKla6.d.mts} +2 -2
- package/dist/nodes-D8EC1yCx-BS-fKla6.d.mts.map +1 -0
- package/dist/{nodes-DUZSdX86-BBEEaxXY.mjs → nodes-DUZSdX86-DWyLY3OW.mjs} +2 -2
- package/dist/nodes-DUZSdX86-DWyLY3OW.mjs.map +1 -0
- package/dist/{op-factory-call-DoHN7Q7L.d.mts → op-factory-call-De6MX7Yp.d.mts} +83 -19
- package/dist/op-factory-call-De6MX7Yp.d.mts.map +1 -0
- package/dist/op-factory-call-emj9Xp05-BFLkxrAK.mjs +1414 -0
- package/dist/op-factory-call-emj9Xp05-BFLkxrAK.mjs.map +1 -0
- package/dist/pack-DR0n9vHJ.d.mts +1179 -0
- package/dist/pack-DR0n9vHJ.d.mts.map +1 -0
- package/dist/planner-BvwYScnt-9H9LIJFn.mjs +362 -0
- package/dist/planner-BvwYScnt-9H9LIJFn.mjs.map +1 -0
- package/dist/{planner-Bxdi7jZF.d.mts → planner-CjMq9oEt.d.mts} +21 -10
- package/dist/planner-CjMq9oEt.d.mts.map +1 -0
- package/dist/{planner-produced-sqlite-migration-C9uVDKrJ-CWbxSANn.mjs → planner-produced-sqlite-migration-D2jtaItv-ZFZhPfGE.mjs} +4 -4
- package/dist/planner-produced-sqlite-migration-D2jtaItv-ZFZhPfGE.mjs.map +1 -0
- package/dist/{planner-produced-sqlite-migration-BuJysRxx-CaDUbNVx.d.mts → planner-produced-sqlite-migration-DuM9c3YI-Dacb6zQZ.d.mts} +4 -4
- package/dist/planner-produced-sqlite-migration-DuM9c3YI-Dacb6zQZ.d.mts.map +1 -0
- package/dist/planner-produced-sqlite-migration-GDP1M36D.d.mts +1 -0
- package/dist/{planner-target-details-CIQ789Gc-C5U4yVY9.mjs → planner-target-details-CIQ789Gc-Cug2V5g5.mjs} +2 -2
- package/dist/planner-target-details-CIQ789Gc-Cug2V5g5.mjs.map +1 -0
- package/dist/{planner-target-details-xR6UfIcz-CMahymzq.d.mts → planner-target-details-xR6UfIcz-BrBPQGOS.d.mts} +2 -2
- package/dist/planner-target-details-xR6UfIcz-BrBPQGOS.d.mts.map +1 -0
- package/dist/render-ops-BPLkHR-y-CPoXG5Ap.mjs +34 -0
- package/dist/render-ops-BPLkHR-y-CPoXG5Ap.mjs.map +1 -0
- package/dist/{render-ops-B10yqmdG.d.mts → render-ops-Ntl2jBJe.d.mts} +3 -3
- package/dist/render-ops-Ntl2jBJe.d.mts.map +1 -0
- package/dist/{runtime-B1coahKC.d.mts → runtime-BvMPuBrJ.d.mts} +3 -3
- package/dist/runtime-BvMPuBrJ.d.mts.map +1 -0
- package/dist/{runtime-B99c4n56.d.mts → runtime-CjIoI3sa.d.mts} +4 -4
- package/dist/runtime-CjIoI3sa.d.mts.map +1 -0
- package/dist/{runtime-C5J9fusd.d.mts → runtime-YfPIbtO6.d.mts} +4 -4
- package/dist/runtime-YfPIbtO6.d.mts.map +1 -0
- package/dist/sql-renderer-brQ96quu.d.mts +1 -0
- package/dist/{sql-utils-0SJZOd7Q.d.mts → sql-utils-BqHka8P6.d.mts} +2 -2
- package/dist/sql-utils-BqHka8P6.d.mts.map +1 -0
- package/dist/{sql-utils-C2O4zVkP-Dz3Hb85I.mjs → sql-utils-XGT5Esi2-Zr2mqJf8.mjs} +31 -4
- package/dist/sql-utils-XGT5Esi2-Zr2mqJf8.mjs.map +1 -0
- package/dist/{sqlite-contract-view-BpNMaU2m-COMDaGaq.d.mts → sqlite-contract-view-BDw8T5Cp-BfFajhe4.d.mts} +5 -4
- package/dist/sqlite-contract-view-BDw8T5Cp-BfFajhe4.d.mts.map +1 -0
- package/dist/{sqlite-contract-view-BYR10usg-BteDAUZr.mjs → sqlite-contract-view-CGfiGvKH-CT-JjNHd.mjs} +9 -6
- package/dist/sqlite-contract-view-CGfiGvKH-CT-JjNHd.mjs.map +1 -0
- package/dist/sqlite-migration-BAdSmooi-iWFVQgGV.mjs +1295 -0
- package/dist/sqlite-migration-BAdSmooi-iWFVQgGV.mjs.map +1 -0
- package/dist/{sqlite-migration-o23JHwzY-CwNJcqwl.d.mts → sqlite-migration-CLIMaHLy-5ZjJDdDP.d.mts} +61 -13
- package/dist/sqlite-migration-CLIMaHLy-5ZjJDdDP.d.mts.map +1 -0
- package/dist/{shared-BYAX0FaQ--VvRXVRC.d.mts → tables-C6oejIsc-CzK00Kwl.d.mts} +38 -10
- package/dist/tables-C6oejIsc-CzK00Kwl.d.mts.map +1 -0
- package/dist/target.d.mts +29 -29
- package/dist/target.mjs +24 -20
- package/dist/target__aggregates.d.mts +1 -1
- package/dist/target__aggregates.mjs +1 -1
- package/dist/target__codec-descriptor.d.mts +2 -2
- package/dist/target__codec-descriptor.mjs +1 -1
- package/dist/target__codec-ids.d.mts +3 -3
- package/dist/target__codec-ids.mjs +2 -2
- package/dist/target__codec-types.d.mts +3 -3
- package/dist/target__codecs.d.mts +3 -3
- package/dist/target__codecs.mjs +4 -2
- package/dist/target__contract-free.d.mts +1 -1
- package/dist/target__contract-free.mjs +2 -2
- package/dist/target__control-tables.d.mts +1 -1
- package/dist/target__control-tables.mjs +1 -1
- package/dist/target__control.d.mts +3 -3
- package/dist/target__control.mjs +168 -72
- package/dist/target__control.mjs.map +1 -1
- package/dist/target__data-types.d.mts +2 -0
- package/dist/target__data-types.mjs +3 -0
- package/dist/target__ddl.d.mts +2 -2
- package/dist/target__ddl.mjs +1 -1
- package/dist/target__default-normalizer.d.mts +2 -2
- package/dist/target__default-normalizer.mjs +2 -2
- package/dist/target__migration.d.mts +3 -3
- package/dist/target__migration.mjs +3 -3
- package/dist/target__op-factory-call.d.mts +2 -2
- package/dist/target__op-factory-call.mjs +2 -2
- package/dist/target__pack.d.mts +1 -1
- package/dist/target__pack.mjs +1 -1
- package/dist/target__planner-produced-sqlite-migration.d.mts +2 -2
- package/dist/target__planner-produced-sqlite-migration.mjs +1 -1
- package/dist/target__planner-target-details.d.mts +1 -1
- package/dist/target__planner-target-details.mjs +1 -1
- package/dist/target__planner.d.mts +1 -1
- package/dist/target__planner.mjs +1 -1
- package/dist/target__render-ops.d.mts +1 -1
- package/dist/target__render-ops.mjs +1 -1
- package/dist/target__runtime.d.mts +2 -2
- package/dist/target__runtime.mjs +3 -3
- package/dist/target__runtime.mjs.map +1 -1
- package/dist/target__sql-utils.d.mts +1 -1
- package/dist/target__sql-utils.mjs +1 -1
- package/dist/{types-C5FSREvo-CwUlKK34.d.mts → types-RJMd2PlL-BTGAJrBQ.d.mts} +5 -7
- package/dist/types-RJMd2PlL-BTGAJrBQ.d.mts.map +1 -0
- package/dist/types-y5JlAv97.d.mts +2 -0
- package/package.json +12 -12
- package/dist/adapter-CUTKlFpX-CW0J0Qs4.mjs.map +0 -1
- package/dist/adapter-D7zw14p5.d.mts +0 -2
- package/dist/adapter-DEYUC-KO-DO_abhIq.d.mts.map +0 -1
- package/dist/aggregates-BGuKJwfI.d.mts +0 -10
- package/dist/aggregates-BGuKJwfI.d.mts.map +0 -1
- package/dist/aggregates-DWyPO7t6.mjs.map +0 -1
- package/dist/codec-descriptor-B9ru99aI-DTkdKFU5.mjs.map +0 -1
- package/dist/codec-descriptor-BcgD9f3L-yDi5nh_k.d.mts +0 -31
- package/dist/codec-descriptor-BcgD9f3L-yDi5nh_k.d.mts.map +0 -1
- package/dist/codec-descriptor-rFuZ9DzY-CKRIRxah.d.mts +0 -1
- package/dist/codec-descriptor-vwfD3BMy.d.mts +0 -2
- package/dist/codec-ids-7WqtUuda.d.mts +0 -1
- package/dist/codec-ids-CzeDyMWW-BZAcI50I.d.mts.map +0 -1
- package/dist/codec-ids-KMliSCRp-BhTbmbGr.mjs.map +0 -1
- package/dist/codec-types-B-TDcvQc.d.mts +0 -1
- package/dist/codec-types-CS0bD1kX.d.mts +0 -2
- package/dist/codec-types-D7uWRvQ1-DPnvquS8.d.mts.map +0 -1
- package/dist/codecs-BDdR6FbY.mjs +0 -504
- package/dist/codecs-BDdR6FbY.mjs.map +0 -1
- package/dist/codecs-BQWqLgCl-CdB8t7HI.d.mts.map +0 -1
- package/dist/codecs-BTv6fRXv.d.mts +0 -1
- package/dist/column-types-NVxgsjFA.mjs +0 -34
- package/dist/column-types-NVxgsjFA.mjs.map +0 -1
- package/dist/column-types-iWGuW-0W.d.mts +0 -33
- package/dist/column-types-iWGuW-0W.d.mts.map +0 -1
- package/dist/contract-free-CCLAXZV2.d.mts.map +0 -1
- package/dist/contract-free-D5cZrgNl.mjs.map +0 -1
- package/dist/control--wMueaTg.d.mts.map +0 -1
- package/dist/control-B16T9OoX.mjs.map +0 -1
- package/dist/control-CLirKz11.d.mts.map +0 -1
- package/dist/control-D9vMRRgU.d.mts.map +0 -1
- package/dist/control-tables-D_o8dKRB-BXi43noL.mjs.map +0 -1
- package/dist/control-tables-Dua-YcJL.d.mts.map +0 -1
- package/dist/ddl-CXduXyOT-nlDP6DGx.mjs.map +0 -1
- package/dist/ddl-CfSqNT0M.d.mts +0 -1
- package/dist/default-normalizer-B9V7TY5u.d.mts +0 -7
- package/dist/default-normalizer-B9V7TY5u.d.mts.map +0 -1
- package/dist/default-normalizer-DuoHj9-O-DsK7lJZn.mjs +0 -69
- package/dist/default-normalizer-DuoHj9-O-DsK7lJZn.mjs.map +0 -1
- package/dist/descriptor-meta-DjKgG4z5-D_0obUB8.mjs +0 -34
- package/dist/descriptor-meta-DjKgG4z5-D_0obUB8.mjs.map +0 -1
- package/dist/descriptor-meta-nORSZfmr-Cw-pzAJr.mjs +0 -33
- package/dist/descriptor-meta-nORSZfmr-Cw-pzAJr.mjs.map +0 -1
- package/dist/descriptor-meta-runtime-BkXK3OjD-CxZdKHCw.mjs +0 -13
- package/dist/descriptor-meta-runtime-BkXK3OjD-CxZdKHCw.mjs.map +0 -1
- package/dist/descriptor-meta-vjJkUDsn-Hz3rnAnk.mjs.map +0 -1
- package/dist/errors-DnR-sMHS-KkMLIP2U.mjs.map +0 -1
- package/dist/migration-DOKPHtxn.mjs.map +0 -1
- package/dist/migration-uylRe5MP.d.mts.map +0 -1
- package/dist/native-type-normalizer-CO2wKGL6.d.mts +0 -12
- package/dist/native-type-normalizer-CO2wKGL6.d.mts.map +0 -1
- package/dist/native-type-normalizer-GpQMEyN5.mjs +0 -14
- package/dist/native-type-normalizer-GpQMEyN5.mjs.map +0 -1
- package/dist/nodes-D8EC1yCx-rpfpuJ4T.d.mts.map +0 -1
- package/dist/nodes-DUZSdX86-BBEEaxXY.mjs.map +0 -1
- package/dist/op-factory-call-DoHN7Q7L.d.mts.map +0 -1
- package/dist/op-factory-call-gc26GqyA-Db5Fasef.mjs +0 -829
- package/dist/op-factory-call-gc26GqyA-Db5Fasef.mjs.map +0 -1
- package/dist/pack-DIbefoZF.d.mts +0 -102
- package/dist/pack-DIbefoZF.d.mts.map +0 -1
- package/dist/planner-Bxdi7jZF.d.mts.map +0 -1
- package/dist/planner-Cqjr2usR-4wg3FB78.mjs +0 -824
- package/dist/planner-Cqjr2usR-4wg3FB78.mjs.map +0 -1
- package/dist/planner-produced-sqlite-migration-BuJysRxx-CaDUbNVx.d.mts.map +0 -1
- package/dist/planner-produced-sqlite-migration-C9uVDKrJ-CWbxSANn.mjs.map +0 -1
- package/dist/planner-produced-sqlite-migration-uySoqJO-.d.mts +0 -1
- package/dist/planner-target-details-CIQ789Gc-C5U4yVY9.mjs.map +0 -1
- package/dist/planner-target-details-xR6UfIcz-CMahymzq.d.mts.map +0 -1
- package/dist/render-ops-B10yqmdG.d.mts.map +0 -1
- package/dist/render-ops-KxAmAz6d-W2xyvA5y.mjs +0 -27
- package/dist/render-ops-KxAmAz6d-W2xyvA5y.mjs.map +0 -1
- package/dist/runtime-B1coahKC.d.mts.map +0 -1
- package/dist/runtime-B99c4n56.d.mts.map +0 -1
- package/dist/runtime-C5J9fusd.d.mts.map +0 -1
- package/dist/shared-BYAX0FaQ--VvRXVRC.d.mts.map +0 -1
- package/dist/sql-renderer-KX6hn_tg.d.mts +0 -1
- package/dist/sql-utils-0SJZOd7Q.d.mts.map +0 -1
- package/dist/sql-utils-C2O4zVkP-Dz3Hb85I.mjs.map +0 -1
- package/dist/sqlite-contract-view-BYR10usg-BteDAUZr.mjs.map +0 -1
- package/dist/sqlite-contract-view-BpNMaU2m-COMDaGaq.d.mts.map +0 -1
- package/dist/sqlite-migration-CjMkH4Id-c6dM9w61.mjs +0 -94
- package/dist/sqlite-migration-CjMkH4Id-c6dM9w61.mjs.map +0 -1
- package/dist/sqlite-migration-o23JHwzY-CwNJcqwl.d.mts.map +0 -1
- package/dist/target__native-type-normalizer.d.mts +0 -2
- package/dist/target__native-type-normalizer.mjs +0 -2
- package/dist/types-B7e2QVEx.d.mts +0 -1
- package/dist/types-C5FSREvo-CwUlKK34.d.mts.map +0 -1
package/dist/{codec-descriptor-B9ru99aI-DTkdKFU5.mjs → codec-descriptor-DRmF-crq-BALI5Jtz.mjs}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CodecDescriptorImpl, validateCodecTypeParams } from "@prisma/orm-framework/components/codec";
|
|
2
|
-
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
3
2
|
import { structuredError } from "@prisma/orm-framework/utils/structured-error";
|
|
4
|
-
|
|
3
|
+
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
4
|
+
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
5
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-descriptor-DRmF-crq.mjs
|
|
5
6
|
const SQLITE_CODEC_DESCRIPTOR_KIND = "sqlite-codec";
|
|
6
7
|
var SqliteCodecDescriptor = class extends CodecDescriptorImpl {
|
|
7
8
|
descriptorKind = SQLITE_CODEC_DESCRIPTOR_KIND;
|
|
@@ -18,34 +19,29 @@ var SqliteCodecDescriptor = class extends CodecDescriptorImpl {
|
|
|
18
19
|
}
|
|
19
20
|
};
|
|
20
21
|
var SqliteCodecDescriptorAdapter = class extends SqliteCodecDescriptor {
|
|
21
|
-
descriptor;
|
|
22
22
|
options;
|
|
23
|
+
dataType;
|
|
23
24
|
codecId;
|
|
24
25
|
traits;
|
|
25
|
-
targetTypes;
|
|
26
26
|
paramsSchema;
|
|
27
27
|
renderOutputType;
|
|
28
28
|
renderInputType;
|
|
29
29
|
renderValueLiteral;
|
|
30
30
|
constructor(descriptor, options) {
|
|
31
31
|
super();
|
|
32
|
-
this.descriptor = descriptor;
|
|
33
32
|
this.options = options;
|
|
33
|
+
this.dataType = options.dataType.id;
|
|
34
34
|
this.codecId = descriptor.codecId;
|
|
35
35
|
this.traits = descriptor.traits;
|
|
36
|
-
this.
|
|
37
|
-
this.paramsSchema = descriptor.paramsSchema;
|
|
36
|
+
this.paramsSchema = blindCast(options.dataType.params);
|
|
38
37
|
const renderOutputType = descriptor.renderOutputType;
|
|
39
38
|
if (renderOutputType !== void 0) this.renderOutputType = (params) => renderOutputType.call(descriptor, params);
|
|
40
39
|
const renderInputType = descriptor.renderInputType;
|
|
41
40
|
if (renderInputType !== void 0) this.renderInputType = (params) => renderInputType.call(descriptor, params);
|
|
42
|
-
|
|
43
|
-
if (renderValueLiteral !== void 0) this.renderValueLiteral =
|
|
44
|
-
}
|
|
45
|
-
get isParameterized() {
|
|
46
|
-
return this.descriptor.isParameterized;
|
|
41
|
+
if (descriptor.renderValueLiteral !== void 0) throw new InternalError(`${descriptor.codecId} is a family codec template with its own renderValueLiteral. A family template renders no literal, because only the target knows the form its data type stores a value in; pass renderValueLiteral in the options instead.`);
|
|
42
|
+
if (options.renderValueLiteral !== void 0) this.renderValueLiteral = options.renderValueLiteral;
|
|
47
43
|
}
|
|
48
|
-
factory = (params) => this.
|
|
44
|
+
factory = (params) => this.options.factory(this, this.options.dataType, params);
|
|
49
45
|
jsonProjection(expression, params) {
|
|
50
46
|
return this.options.jsonProjection(expression, params);
|
|
51
47
|
}
|
|
@@ -57,7 +53,7 @@ function defineSqliteCodecs(descriptors) {
|
|
|
57
53
|
return descriptors;
|
|
58
54
|
}
|
|
59
55
|
function isSqliteCodecDescriptor(value) {
|
|
60
|
-
return typeof value === "object" && value !== null && "descriptorKind" in value && value.descriptorKind === SQLITE_CODEC_DESCRIPTOR_KIND && "codecId" in value && typeof value.codecId === "string" && "traits" in value && Array.isArray(value.traits) && "
|
|
56
|
+
return typeof value === "object" && value !== null && "descriptorKind" in value && value.descriptorKind === SQLITE_CODEC_DESCRIPTOR_KIND && "codecId" in value && typeof value.codecId === "string" && "traits" in value && Array.isArray(value.traits) && "paramsSchema" in value && (value.paramsSchema === void 0 || isObjectLike(value.paramsSchema) && "~standard" in value.paramsSchema && isObjectLike(value.paramsSchema["~standard"]) && "validate" in value.paramsSchema["~standard"] && typeof value.paramsSchema["~standard"].validate === "function") && "isParameterized" in value && typeof value.isParameterized === "boolean" && "factory" in value && typeof value.factory === "function" && "projectJson" in value && typeof value.projectJson === "function";
|
|
61
57
|
}
|
|
62
58
|
function isObjectLike(value) {
|
|
63
59
|
return typeof value === "object" && value !== null || typeof value === "function";
|
|
@@ -104,4 +100,4 @@ function candidateCodecId(value) {
|
|
|
104
100
|
//#endregion
|
|
105
101
|
export { sqliteCodec as a, isSqliteCodecDescriptor as i, buildSqliteCodecDescriptorRegistry as n, defineSqliteCodecs as r, SqliteCodecDescriptor as t };
|
|
106
102
|
|
|
107
|
-
//# sourceMappingURL=codec-descriptor-
|
|
103
|
+
//# sourceMappingURL=codec-descriptor-DRmF-crq-BALI5Jtz.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-descriptor-DRmF-crq-BALI5Jtz.mjs","names":["#descriptors"],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-descriptor-DRmF-crq.mjs"],"sourcesContent":["import { CodecDescriptorImpl, validateCodecTypeParams } from \"@internal/framework-components/codec\";\nimport { structuredError } from \"@internal/utils/structured-error\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/core/codec-descriptor.ts\nconst SQLITE_CODEC_DESCRIPTOR_KIND = \"sqlite-codec\";\nvar SqliteCodecDescriptor = class extends CodecDescriptorImpl {\n\tdescriptorKind = SQLITE_CODEC_DESCRIPTOR_KIND;\n\tprojectJson(expression, ref) {\n\t\tif (ref.many === true) throw structuredError(\"RUNTIME.CODEC_DESCRIPTOR_ARRAY_UNSUPPORTED\", `Codec '${ref.codecId}' uses CodecRef.many, but SQLite codec descriptors do not support stored scalar arrays.`, {\n\t\t\twhy: \"SQLite has no stored scalar-array codec protocol, so applying a scalar projection to the whole stored array would be ambiguous.\",\n\t\t\tfix: \"Use a scalar CodecRef or introduce an explicit target representation before projecting stored arrays.\",\n\t\t\tmeta: { codecId: ref.codecId }\n\t\t});\n\t\treturn this.jsonProjection(expression, this.validateParams(ref));\n\t}\n\tvalidateParams(ref) {\n\t\treturn blindCast(validateCodecTypeParams(this, ref));\n\t}\n};\nvar SqliteCodecDescriptorAdapter = class extends SqliteCodecDescriptor {\n\toptions;\n\tdataType;\n\tcodecId;\n\ttraits;\n\tparamsSchema;\n\trenderOutputType;\n\trenderInputType;\n\trenderValueLiteral;\n\tconstructor(descriptor, options) {\n\t\tsuper();\n\t\tthis.options = options;\n\t\tthis.dataType = options.dataType.id;\n\t\tthis.codecId = descriptor.codecId;\n\t\tthis.traits = descriptor.traits;\n\t\tthis.paramsSchema = blindCast(options.dataType.params);\n\t\tconst renderOutputType = descriptor.renderOutputType;\n\t\tif (renderOutputType !== void 0) this.renderOutputType = (params) => renderOutputType.call(descriptor, params);\n\t\tconst renderInputType = descriptor.renderInputType;\n\t\tif (renderInputType !== void 0) this.renderInputType = (params) => renderInputType.call(descriptor, params);\n\t\tif (descriptor.renderValueLiteral !== void 0) throw new InternalError(`${descriptor.codecId} is a family codec template with its own renderValueLiteral. A family template renders no literal, because only the target knows the form its data type stores a value in; pass renderValueLiteral in the options instead.`);\n\t\tif (options.renderValueLiteral !== void 0) this.renderValueLiteral = options.renderValueLiteral;\n\t}\n\tfactory = (params) => this.options.factory(this, this.options.dataType, params);\n\tjsonProjection(expression, params) {\n\t\treturn this.options.jsonProjection(expression, params);\n\t}\n};\nfunction sqliteCodec(descriptor, options) {\n\treturn blindCast(new SqliteCodecDescriptorAdapter(descriptor, options));\n}\nfunction defineSqliteCodecs(descriptors) {\n\treturn descriptors;\n}\nfunction isSqliteCodecDescriptor(value) {\n\treturn typeof value === \"object\" && value !== null && \"descriptorKind\" in value && value.descriptorKind === SQLITE_CODEC_DESCRIPTOR_KIND && \"codecId\" in value && typeof value.codecId === \"string\" && \"traits\" in value && Array.isArray(value.traits) && \"paramsSchema\" in value && (value.paramsSchema === void 0 || isObjectLike(value.paramsSchema) && \"~standard\" in value.paramsSchema && isObjectLike(value.paramsSchema[\"~standard\"]) && \"validate\" in value.paramsSchema[\"~standard\"] && typeof value.paramsSchema[\"~standard\"].validate === \"function\") && \"isParameterized\" in value && typeof value.isParameterized === \"boolean\" && \"factory\" in value && typeof value.factory === \"function\" && \"projectJson\" in value && typeof value.projectJson === \"function\";\n}\nfunction isObjectLike(value) {\n\treturn typeof value === \"object\" && value !== null || typeof value === \"function\";\n}\nvar SqliteCodecDescriptorRegistryImpl = class {\n\t#descriptors;\n\tconstructor(descriptors) {\n\t\tthis.#descriptors = descriptors;\n\t\tObject.freeze(this);\n\t}\n\tdescriptorFor(codecId) {\n\t\treturn this.#descriptors.get(codecId);\n\t}\n\t*values() {\n\t\tyield* this.#descriptors.values();\n\t}\n};\nfunction buildSqliteCodecDescriptorRegistry(descriptors) {\n\tconst byId = /* @__PURE__ */ new Map();\n\tfor (const descriptor of descriptors) {\n\t\tif (!isSqliteCodecDescriptor(descriptor)) {\n\t\t\tconst codecId = candidateCodecId(descriptor);\n\t\t\tthrow structuredError(\"RUNTIME.CODEC_DESCRIPTOR_INVALID\", `Codec descriptor '${codecId}' is not a valid SQLite codec descriptor.`, {\n\t\t\t\twhy: \"SQLite codec registries require the sqlite-codec discriminant and complete target descriptor methods.\",\n\t\t\t\tfix: \"Extend SqliteCodecDescriptor or adapt a generic descriptor with sqliteCodec().\",\n\t\t\t\tmeta: { codecId }\n\t\t\t});\n\t\t}\n\t\tif (byId.has(descriptor.codecId)) throw structuredError(\"RUNTIME.DUPLICATE_CODEC\", `Duplicate SQLite codec descriptor id '${descriptor.codecId}'.`, {\n\t\t\twhy: \"Each codecId must resolve to exactly one SQLite descriptor during registry composition.\",\n\t\t\tfix: \"Remove the duplicate target, adapter, or extension contribution.\",\n\t\t\tmeta: {\n\t\t\t\tcodecId: descriptor.codecId,\n\t\t\t\ttarget: \"sqlite\"\n\t\t\t}\n\t\t});\n\t\tbyId.set(descriptor.codecId, descriptor);\n\t}\n\treturn new SqliteCodecDescriptorRegistryImpl(byId);\n}\nfunction candidateCodecId(value) {\n\treturn typeof value === \"object\" && value !== null && \"codecId\" in value && typeof value.codecId === \"string\" ? value.codecId : \"<unknown>\";\n}\n//#endregion\nexport { sqliteCodec as a, isSqliteCodecDescriptor as i, buildSqliteCodecDescriptorRegistry as n, defineSqliteCodecs as r, SqliteCodecDescriptor as t };\n\n//# sourceMappingURL=codec-descriptor-DRmF-crq.mjs.map"],"mappings":"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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ProjectionExpr } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
import { AnyCodecDescriptor, AnyCodecDescriptorTemplate, Codec, CodecDescriptor, CodecDescriptorImpl, CodecDescriptorTemplate, CodecInstanceContext, CodecRef as CodecRef$1, CodecTrait, DataType } from "@prisma/orm-framework/components/codec";
|
|
3
|
+
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
4
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-descriptor-DuW-d9ef.d.mts
|
|
5
|
+
//#region src/core/codec-descriptor.d.ts
|
|
6
|
+
declare const SQLITE_CODEC_DESCRIPTOR_KIND: "sqlite-codec";
|
|
7
|
+
interface AnySqliteCodecDescriptor extends AnyCodecDescriptor {
|
|
8
|
+
readonly descriptorKind: typeof SQLITE_CODEC_DESCRIPTOR_KIND;
|
|
9
|
+
projectJson(expression: ProjectionExpr, ref: CodecRef$1): ProjectionExpr;
|
|
10
|
+
}
|
|
11
|
+
declare abstract class SqliteCodecDescriptor<P = void> extends CodecDescriptorImpl<P> implements AnySqliteCodecDescriptor {
|
|
12
|
+
readonly descriptorKind: "sqlite-codec";
|
|
13
|
+
protected abstract jsonProjection(expression: ProjectionExpr, params: P): ProjectionExpr;
|
|
14
|
+
projectJson(expression: ProjectionExpr, ref: CodecRef$1): ProjectionExpr;
|
|
15
|
+
private validateParams;
|
|
16
|
+
}
|
|
17
|
+
type DescriptorParams<D extends AnyCodecDescriptorTemplate> = D extends CodecDescriptorTemplate<infer P> ? P : never;
|
|
18
|
+
/** The codec the family descriptor's factory builds, which a `factory` option's codec extends. */
|
|
19
|
+
type DescriptorCodec<D extends AnyCodecDescriptorTemplate> = ReturnType<ReturnType<D['factory']>>;
|
|
20
|
+
interface SqliteCodecOptions<P, C extends Codec<string, readonly CodecTrait[], unknown, unknown> = Codec<string, readonly CodecTrait[], unknown, unknown>> {
|
|
21
|
+
/**
|
|
22
|
+
* The data type the adapted codec represents here. A template names none; this target does. The
|
|
23
|
+
* adapted codec's parameter schema is this data type's, not the template's.
|
|
24
|
+
*/
|
|
25
|
+
readonly dataType: DataType;
|
|
26
|
+
/** Renders the literal of the value the codec reads from a stored value of `dataType`. A family template renders no literal, because only the target knows the form its data type stores a value in, so the adapted codec renders with this and never with a renderer on the template. */
|
|
27
|
+
readonly renderValueLiteral?: (value: JsonValue, side: 'output' | 'input') => string | undefined;
|
|
28
|
+
readonly jsonProjection: (expression: ProjectionExpr, params: P) => ProjectionExpr;
|
|
29
|
+
/**
|
|
30
|
+
* Builds the codec: the family codec, or a subclass with SQLite's own rules, constructed with `dataType` and the column's parameters, because a family template names no data type and so builds no codec of its own.
|
|
31
|
+
*/
|
|
32
|
+
readonly factory: (descriptor: SqliteCodecDescriptor<P>, dataType: DataType, params: P) => (ctx: CodecInstanceContext) => C;
|
|
33
|
+
}
|
|
34
|
+
type AdaptedSqliteCodecDescriptor<D extends AnyCodecDescriptorTemplate> = Pick<D, keyof CodecDescriptorTemplate<DescriptorParams<D>>> & Pick<CodecDescriptor, 'dataType'> & Pick<AnySqliteCodecDescriptor, 'descriptorKind' | 'projectJson'>;
|
|
35
|
+
declare function sqliteCodec<D extends AnyCodecDescriptorTemplate>(descriptor: D, options: SqliteCodecOptions<DescriptorParams<D>, DescriptorCodec<D>>): AdaptedSqliteCodecDescriptor<D>;
|
|
36
|
+
declare function defineSqliteCodecs<const Descriptors extends readonly AnySqliteCodecDescriptor[]>(descriptors: Descriptors): Descriptors;
|
|
37
|
+
declare function isSqliteCodecDescriptor(value: unknown): value is AnySqliteCodecDescriptor;
|
|
38
|
+
interface SqliteCodecDescriptorRegistry {
|
|
39
|
+
descriptorFor(codecId: string): AnySqliteCodecDescriptor | undefined;
|
|
40
|
+
values(): IterableIterator<AnySqliteCodecDescriptor>;
|
|
41
|
+
}
|
|
42
|
+
declare function buildSqliteCodecDescriptorRegistry(descriptors: ReadonlyArray<unknown>): SqliteCodecDescriptorRegistry;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { SqliteCodecOptions as a, isSqliteCodecDescriptor as c, SqliteCodecDescriptorRegistry as i, sqliteCodec as l, AnySqliteCodecDescriptor as n, buildSqliteCodecDescriptorRegistry as o, SqliteCodecDescriptor as r, defineSqliteCodecs as s, AdaptedSqliteCodecDescriptor as t };
|
|
45
|
+
//# sourceMappingURL=codec-descriptor-DuW-d9ef-BBRBN0Ri.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-descriptor-DuW-d9ef-BBRBN0Ri.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-descriptor-DuW-d9ef.d.mts"],"mappings":";;;;;cAIc;UACJ,iCAAiC;WAChC,uBAAuB;EAChC,YAAY,YAAY,gBAAgB,KAAK,aAAa;;uBAErC,sBAAsB,kBAAkB,oBAAoB,cAAc;WACtF;qBACU,eAAe,YAAY,gBAAgB,QAAQ,IAAI;EAC1E,YAAY,YAAY,gBAAgB,KAAK,aAAa;UAClD;;KAEL,iBAAiB,UAAU,8BAA8B,UAAU,8BAA8B,KAAK;;KAEtG,gBAAgB,UAAU,8BAA8B,WAAW,WAAW;UACzE,mBAAmB,GAAG,UAAU,uBAAuB,kCAAkC,uBAAuB;;;;;WAK/G,UAAU;;WAEV,sBAAsB,OAAO,WAAW;WACxC,iBAAiB,YAAY,gBAAgB,QAAQ,MAAM;;;;WAI3D,UAAU,YAAY,sBAAsB,IAAI,UAAU,UAAU,QAAQ,OAAO,KAAK,yBAAyB;;KAEvH,6BAA6B,UAAU,8BAA8B,KAAK,SAAS,wBAAwB,iBAAiB,OAAO,KAAK,+BAA+B,KAAK;iBAChK,YAAY,UAAU,4BAA4B,YAAY,GAAG,SAAS,mBAAmB,iBAAiB,IAAI,gBAAgB,MAAM,6BAA6B;iBACrK,yBAAyB,6BAA6B,4BAA4B,aAAa,cAAc;iBAC7G,wBAAwB,iBAAiB,SAAS;UACzD;EACR,cAAc,kBAAkB;EAChC,UAAU,iBAAiB;;iBAEZ,mCAAmC,aAAa,yBAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-ids-DuJYssXV-BPKbFNRL.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
-
//#region ../../../3-targets/
|
|
1
|
+
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-ids-DuJYssXV.d.mts
|
|
3
3
|
//#region src/core/codec-ids.d.ts
|
|
4
4
|
declare const SQLITE_TEXT_CODEC_ID: "sqlite/text@1";
|
|
5
5
|
declare const SQLITE_INTEGER_CODEC_ID: "sqlite/integer@1";
|
|
@@ -10,5 +10,5 @@ declare const SQLITE_JSON_CODEC_ID: "sqlite/json@1";
|
|
|
10
10
|
declare const SQLITE_BIGINT_CODEC_ID: "sqlite/bigint@1";
|
|
11
11
|
declare const SQLITE_BIGINT_NUMBER_CODEC_ID: "sqlite/bigintnumber@1";
|
|
12
12
|
//#endregion
|
|
13
|
-
export { SQLITE_INTEGER_CODEC_ID as a, SQLITE_TEXT_CODEC_ID as c, SQL_INT_CODEC_ID as d,
|
|
14
|
-
//# sourceMappingURL=codec-ids-
|
|
13
|
+
export { SQLITE_INTEGER_CODEC_ID as a, SQLITE_TEXT_CODEC_ID as c, SQL_INT_CODEC_ID as d, SQL_RAW_CODEC_ID as f, SQLITE_DATETIME_CODEC_ID as i, SQL_CHAR_CODEC_ID as l, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_JSON_CODEC_ID as o, SQL_VARCHAR_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_REAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQL_FLOAT_CODEC_ID as u };
|
|
14
|
+
//# sourceMappingURL=codec-ids-DuJYssXV-BPKbFNRL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-DuJYssXV-BPKbFNRL.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-ids-DuJYssXV.d.mts"],"mappings":";;;cAEc;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
-
//#region ../../../3-targets/
|
|
1
|
+
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_VARCHAR_CODEC_ID } from "@prisma/orm-family-sql/relational-core/ast";
|
|
2
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-ids-wgEvkCkg.mjs
|
|
3
3
|
const SQLITE_TEXT_CODEC_ID = "sqlite/text@1";
|
|
4
4
|
const SQLITE_INTEGER_CODEC_ID = "sqlite/integer@1";
|
|
5
5
|
const SQLITE_REAL_CODEC_ID = "sqlite/real@1";
|
|
@@ -9,6 +9,6 @@ const SQLITE_JSON_CODEC_ID = "sqlite/json@1";
|
|
|
9
9
|
const SQLITE_BIGINT_CODEC_ID = "sqlite/bigint@1";
|
|
10
10
|
const SQLITE_BIGINT_NUMBER_CODEC_ID = "sqlite/bigintnumber@1";
|
|
11
11
|
//#endregion
|
|
12
|
-
export { SQLITE_INTEGER_CODEC_ID as a, SQLITE_TEXT_CODEC_ID as c, SQL_INT_CODEC_ID as d,
|
|
12
|
+
export { SQLITE_INTEGER_CODEC_ID as a, SQLITE_TEXT_CODEC_ID as c, SQL_INT_CODEC_ID as d, SQL_RAW_CODEC_ID as f, SQLITE_DATETIME_CODEC_ID as i, SQL_CHAR_CODEC_ID as l, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_JSON_CODEC_ID as o, SQL_VARCHAR_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_REAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQL_FLOAT_CODEC_ID as u };
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=codec-ids-
|
|
14
|
+
//# sourceMappingURL=codec-ids-wgEvkCkg-WltuexMR.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-wgEvkCkg-WltuexMR.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-ids-wgEvkCkg.mjs"],"sourcesContent":["import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_RAW_CODEC_ID, SQL_VARCHAR_CODEC_ID } from \"@internal/sql-relational-core/ast\";\n//#region src/core/codec-ids.ts\nconst SQLITE_TEXT_CODEC_ID = \"sqlite/text@1\";\nconst SQLITE_INTEGER_CODEC_ID = \"sqlite/integer@1\";\nconst SQLITE_REAL_CODEC_ID = \"sqlite/real@1\";\nconst SQLITE_BLOB_CODEC_ID = \"sqlite/blob@1\";\nconst SQLITE_DATETIME_CODEC_ID = \"sqlite/datetime@1\";\nconst SQLITE_JSON_CODEC_ID = \"sqlite/json@1\";\nconst SQLITE_BIGINT_CODEC_ID = \"sqlite/bigint@1\";\nconst SQLITE_BIGINT_NUMBER_CODEC_ID = \"sqlite/bigintnumber@1\";\n//#endregion\nexport { SQLITE_INTEGER_CODEC_ID as a, SQLITE_TEXT_CODEC_ID as c, SQL_INT_CODEC_ID as d, SQL_RAW_CODEC_ID as f, SQLITE_DATETIME_CODEC_ID as i, SQL_CHAR_CODEC_ID as l, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_JSON_CODEC_ID as o, SQL_VARCHAR_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_REAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQL_FLOAT_CODEC_ID as u };\n\n//# sourceMappingURL=codec-ids-wgEvkCkg.mjs.map"],"mappings":";;AAEA,MAAM,uBAAuB;AAC7B,MAAM,0BAA0B;AAChC,MAAM,uBAAuB;AAC7B,MAAM,uBAAuB;AAC7B,MAAM,2BAA2B;AACjC,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,gCAAgC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import "./codec-descriptor-
|
|
3
|
-
import { a as
|
|
1
|
+
import { t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-DuW-d9ef-BBRBN0Ri.mjs";
|
|
2
|
+
import "./codec-descriptor-3oN7rtrW-Cc_u7U5-.mjs";
|
|
3
|
+
import { a as SqliteBlobDescriptor, c as SqliteIntegerDescriptor, d as SqliteTextDescriptor, i as SqliteBigintNumberDescriptor, l as SqliteJsonDescriptor, r as SqliteBigintDescriptor, s as SqliteDatetimeDescriptor, u as SqliteRealDescriptor } from "./codecs-BJYruC-a-BKDGae3k.mjs";
|
|
4
4
|
import { ExtractCodecTypes } from "@prisma/orm-family-sql/relational-core/ast";
|
|
5
|
-
//#region ../../../3-targets/
|
|
5
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-types-COh75Bop.d.mts
|
|
6
6
|
//#region src/exports/codec-types.d.ts
|
|
7
7
|
declare const codecDescriptorMap: {
|
|
8
8
|
readonly char: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlCharDescriptor>;
|
|
@@ -17,9 +17,10 @@ declare const codecDescriptorMap: {
|
|
|
17
17
|
readonly json: SqliteJsonDescriptor;
|
|
18
18
|
readonly bigint: SqliteBigintDescriptor;
|
|
19
19
|
readonly bigintnumber: SqliteBigintNumberDescriptor;
|
|
20
|
+
readonly raw: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlRawDescriptor>;
|
|
20
21
|
};
|
|
21
22
|
type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][P]; }; };
|
|
22
23
|
type CodecTypes = Resolve<ExtractCodecTypes<typeof codecDescriptorMap>>;
|
|
23
24
|
//#endregion
|
|
24
25
|
export { CodecTypes as t };
|
|
25
|
-
//# sourceMappingURL=codec-types-
|
|
26
|
+
//# sourceMappingURL=codec-types-COh75Bop-CUehAexc.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-COh75Bop-CUehAexc.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-types-COh75Bop.d.mts"],"mappings":";;;;;;cAKc;WACH,MAAM,yEAAyE;WAC/E,SAAS,yEAAyE;WAClF,KAAK,yEAAyE;WAC9E,OAAO,yEAAyE;WAChF,MAAM;WACN,SAAS;WACT,MAAM;WACN,MAAM;WACN,UAAU;WACV,MAAM;WACN,QAAQ;WACR,cAAc;WACd,KAAK,yEAAyE;;KAEpF,QAAQ,iBAAiB,WAAW,gBAAgB,WAAW,EAAE,KAAK,EAAE,GAAG;KAC3E,aAAa,QAAQ,yBAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-types-ELHfd82J.mjs";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { i as SqliteCodecDescriptorRegistry, r as SqliteCodecDescriptor } from "./codec-descriptor-
|
|
2
|
-
import { a as SQLITE_INTEGER_CODEC_ID, c as SQLITE_TEXT_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_REAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-
|
|
1
|
+
import { i as SqliteCodecDescriptorRegistry, n as AnySqliteCodecDescriptor, r as SqliteCodecDescriptor } from "./codec-descriptor-DuW-d9ef-BBRBN0Ri.mjs";
|
|
2
|
+
import { a as SQLITE_INTEGER_CODEC_ID, c as SQLITE_TEXT_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_REAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID } from "./codec-ids-DuJYssXV-BPKbFNRL.mjs";
|
|
3
3
|
import { ProjectionExpr } from "@prisma/orm-family-sql/relational-core/ast";
|
|
4
|
-
import { CodecCallContext, CodecImpl, CodecInstanceContext } from "@prisma/orm-framework/components/codec";
|
|
4
|
+
import { CodecCallContext, CodecImpl, CodecInstanceContext, CodecRegistry, DataTypeValue } from "@prisma/orm-framework/components/codec";
|
|
5
|
+
import { ComponentMetadata } from "@prisma/orm-framework/components/components";
|
|
5
6
|
import { JsonValue } from "@prisma/orm-framework/contract/types";
|
|
6
7
|
import { CodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/query-lane-context";
|
|
7
|
-
//#region ../../../3-targets/
|
|
8
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codecs-BJYruC-a.d.mts
|
|
8
9
|
//#region src/core/codec-helpers.d.ts
|
|
9
10
|
/**
|
|
10
11
|
* Local `JsonValue` alias for the SQLite target. Codec implementations live in `codecs.ts` (TML-2357); this module retains only the JSON-shape alias the surrounding adapter and tests still import.
|
|
@@ -13,6 +14,18 @@ type JsonValue$1 = string | number | boolean | null | {
|
|
|
13
14
|
readonly [key: string]: JsonValue$1;
|
|
14
15
|
} | readonly JsonValue$1[];
|
|
15
16
|
//#endregion
|
|
17
|
+
//#region src/core/codec-registry.d.ts
|
|
18
|
+
type CodecContributor = Pick<ComponentMetadata, 'types'>;
|
|
19
|
+
type SqliteCodecRegistry = CodecRegistry & SqliteCodecDescriptorRegistry;
|
|
20
|
+
declare function assembleSqliteCodecRegistry(target: CodecContributor, extensions: ReadonlyArray<CodecContributor>): SqliteCodecRegistry;
|
|
21
|
+
declare function createSqliteCodecRegistryWithBuiltins(codecDescriptors?: readonly AnySqliteCodecDescriptor[]): SqliteCodecRegistry;
|
|
22
|
+
/**
|
|
23
|
+
* Build a coherent SQLite codec registry populated with built-in descriptors only.
|
|
24
|
+
*
|
|
25
|
+
* The returned registry supports both ordinary codec materialization and SQLite target behavior. Stack-composed paths build the same combined registry from target, full adapter, and ordered extension contributions.
|
|
26
|
+
*/
|
|
27
|
+
declare function createSqliteBuiltinCodecLookup(): SqliteCodecRegistry;
|
|
28
|
+
//#endregion
|
|
16
29
|
//#region src/core/codecs.d.ts
|
|
17
30
|
/**
|
|
18
31
|
* Re-applies SQLite's JSON subtype to a document-valued expression.
|
|
@@ -36,98 +49,106 @@ type JsonValue$1 = string | number | boolean | null | {
|
|
|
36
49
|
*/
|
|
37
50
|
declare const jsonDocumentRetag: (expression: ProjectionExpr) => ProjectionExpr;
|
|
38
51
|
declare class SqliteTextCodec extends CodecImpl<typeof SQLITE_TEXT_CODEC_ID, readonly ['equality', 'order', 'textual'], string, string> {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
52
|
+
toWire(value: string, _ctx: CodecCallContext): Promise<string>;
|
|
53
|
+
fromWire(wire: string, _ctx: CodecCallContext): Promise<string>;
|
|
54
|
+
fromDataTypeValue(value: DataTypeValue<string>): string;
|
|
55
|
+
toDataTypeValue(input: string): DataTypeValue;
|
|
43
56
|
}
|
|
44
57
|
declare class SqliteTextDescriptor extends SqliteCodecDescriptor<void> {
|
|
45
58
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
59
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
46
60
|
readonly codecId: "sqlite/text@1";
|
|
47
61
|
readonly traits: readonly ["equality", "order", "textual"];
|
|
48
|
-
readonly
|
|
49
|
-
|
|
62
|
+
readonly paramsSchema: undefined;
|
|
63
|
+
renderValueLiteral(value: JsonValue): string | undefined;
|
|
50
64
|
factory(): (ctx: CodecInstanceContext) => SqliteTextCodec;
|
|
51
65
|
}
|
|
52
66
|
declare const sqliteTextColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteTextCodec, undefined>;
|
|
53
|
-
declare class SqliteIntegerCodec extends CodecImpl<typeof SQLITE_INTEGER_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
67
|
+
declare class SqliteIntegerCodec extends CodecImpl<typeof SQLITE_INTEGER_CODEC_ID, readonly ['equality', 'order', 'numeric'], number | string, number> {
|
|
68
|
+
toWire(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
69
|
+
fromWire(wire: number | string, _ctx: CodecCallContext): Promise<number>;
|
|
70
|
+
fromDataTypeValue(value: DataTypeValue<string>): number;
|
|
71
|
+
toDataTypeValue(input: number): DataTypeValue;
|
|
58
72
|
}
|
|
59
73
|
declare class SqliteIntegerDescriptor extends SqliteCodecDescriptor<void> {
|
|
60
74
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
75
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
61
76
|
readonly codecId: "sqlite/integer@1";
|
|
62
77
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
63
|
-
readonly
|
|
64
|
-
|
|
78
|
+
readonly paramsSchema: undefined;
|
|
79
|
+
renderValueLiteral(value: JsonValue): string | undefined;
|
|
65
80
|
factory(): (ctx: CodecInstanceContext) => SqliteIntegerCodec;
|
|
66
81
|
}
|
|
67
82
|
declare const sqliteIntegerColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteIntegerCodec, undefined>;
|
|
68
|
-
declare class SqliteRealCodec extends CodecImpl<typeof SQLITE_REAL_CODEC_ID, readonly ['equality', 'order', 'numeric'], number, number> {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
83
|
+
declare class SqliteRealCodec extends CodecImpl<typeof SQLITE_REAL_CODEC_ID, readonly ['equality', 'order', 'numeric'], number | string, number> {
|
|
84
|
+
toWire(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
85
|
+
fromWire(wire: number | string, _ctx: CodecCallContext): Promise<number>;
|
|
86
|
+
fromDataTypeValue(value: DataTypeValue<JsonValue>): number;
|
|
87
|
+
toDataTypeValue(input: number): DataTypeValue;
|
|
73
88
|
}
|
|
74
89
|
declare class SqliteRealDescriptor extends SqliteCodecDescriptor<void> {
|
|
75
90
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
91
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
76
92
|
readonly codecId: "sqlite/real@1";
|
|
77
93
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
78
|
-
readonly
|
|
79
|
-
|
|
94
|
+
readonly paramsSchema: undefined;
|
|
95
|
+
renderValueLiteral(value: JsonValue): string | undefined;
|
|
80
96
|
factory(): (ctx: CodecInstanceContext) => SqliteRealCodec;
|
|
81
97
|
}
|
|
82
98
|
declare const sqliteRealColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteRealCodec, undefined>;
|
|
83
|
-
declare class SqliteBlobCodec extends CodecImpl<typeof SQLITE_BLOB_CODEC_ID, readonly ['equality'], Uint8Array, Uint8Array> {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
99
|
+
declare class SqliteBlobCodec extends CodecImpl<typeof SQLITE_BLOB_CODEC_ID, readonly ['equality'], Uint8Array | readonly string[], Uint8Array> {
|
|
100
|
+
toWire(value: Uint8Array, _ctx: CodecCallContext): Promise<Uint8Array>;
|
|
101
|
+
/** A row carries the blob's bytes; an include carries the array of their hex text that its projection writes, because SQLite's JSON functions refuse a blob. Anything else a BLOB column holds is refused. */
|
|
102
|
+
fromWire(wire: Uint8Array | readonly string[], _ctx: CodecCallContext): Promise<Uint8Array>;
|
|
103
|
+
fromDataTypeValue(value: DataTypeValue<string>): Uint8Array;
|
|
104
|
+
toDataTypeValue(input: Uint8Array): DataTypeValue;
|
|
88
105
|
}
|
|
89
106
|
declare class SqliteBlobDescriptor extends SqliteCodecDescriptor<void> {
|
|
90
107
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
108
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
91
109
|
readonly codecId: "sqlite/blob@1";
|
|
92
110
|
readonly traits: readonly ["equality"];
|
|
93
|
-
readonly
|
|
94
|
-
readonly paramsSchema: import("@standard-schema/spec").StandardSchemaV1<void, void>;
|
|
111
|
+
readonly paramsSchema: undefined;
|
|
95
112
|
factory(): (ctx: CodecInstanceContext) => SqliteBlobCodec;
|
|
96
113
|
}
|
|
97
114
|
declare const sqliteBlobColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteBlobCodec, undefined>;
|
|
98
115
|
declare class SqliteDatetimeCodec extends CodecImpl<typeof SQLITE_DATETIME_CODEC_ID, readonly ['equality', 'order'], string, Date> {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
decodeJson(json: JsonValue): Date;
|
|
116
|
+
toWire(value: Date, _ctx: CodecCallContext): Promise<string>;
|
|
117
|
+
fromWire(wire: string | number, _ctx: CodecCallContext): Promise<Date>;
|
|
118
|
+
fromDataTypeValue(value: DataTypeValue<string>): Date;
|
|
119
|
+
toDataTypeValue(input: Date): DataTypeValue;
|
|
104
120
|
}
|
|
105
121
|
declare class SqliteDatetimeDescriptor extends SqliteCodecDescriptor<void> {
|
|
106
122
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
123
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
107
124
|
readonly codecId: "sqlite/datetime@1";
|
|
108
125
|
readonly traits: readonly ["equality", "order"];
|
|
109
|
-
readonly
|
|
110
|
-
readonly paramsSchema: import("@standard-schema/spec").StandardSchemaV1<void, void>;
|
|
126
|
+
readonly paramsSchema: undefined;
|
|
111
127
|
factory(): (ctx: CodecInstanceContext) => SqliteDatetimeCodec;
|
|
112
128
|
}
|
|
113
129
|
declare const sqliteDatetimeColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteDatetimeCodec, undefined>;
|
|
114
130
|
declare class SqliteJsonCodec extends CodecImpl<typeof SQLITE_JSON_CODEC_ID, readonly ['equality'], string | JsonValue, JsonValue> {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
131
|
+
toWire(value: JsonValue, _ctx: CodecCallContext): Promise<string>;
|
|
132
|
+
fromWire(wire: string | JsonValue, _ctx: CodecCallContext): Promise<JsonValue>;
|
|
133
|
+
fromDataTypeValue(value: DataTypeValue<string>): JsonValue;
|
|
134
|
+
toDataTypeValue(input: JsonValue): DataTypeValue;
|
|
119
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* The column stores the document's JSON text and the stored form is that text, so the stored
|
|
138
|
+
* value is projected as it is: a string the enclosing JSON constructor embeds as a string.
|
|
139
|
+
*/
|
|
120
140
|
declare class SqliteJsonDescriptor extends SqliteCodecDescriptor<void> {
|
|
121
141
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
142
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
122
143
|
readonly codecId: "sqlite/json@1";
|
|
123
144
|
readonly traits: readonly ["equality"];
|
|
124
|
-
readonly
|
|
125
|
-
|
|
145
|
+
readonly paramsSchema: undefined;
|
|
146
|
+
renderValueLiteral(value: JsonValue): string | undefined;
|
|
126
147
|
factory(): (ctx: CodecInstanceContext) => SqliteJsonCodec;
|
|
127
148
|
}
|
|
128
149
|
declare const sqliteJsonColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteJsonCodec, undefined>;
|
|
129
150
|
declare class SqliteBigintCodec extends CodecImpl<typeof SQLITE_BIGINT_CODEC_ID, readonly ['equality', 'order', 'numeric'], number | bigint | string, bigint> {
|
|
130
|
-
|
|
151
|
+
toWire(value: bigint, _ctx: CodecCallContext): Promise<number | bigint>;
|
|
131
152
|
/**
|
|
132
153
|
* The wire value is text wherever the value could outrun a JS number: an
|
|
133
154
|
* aggregate SQLite computes leaves the database through the descriptor's cast
|
|
@@ -136,16 +157,17 @@ declare class SqliteBigintCodec extends CodecImpl<typeof SQLITE_BIGINT_CODEC_ID,
|
|
|
136
157
|
* integer — past ±(2^53 − 1) it has already rounded, and converting it would
|
|
137
158
|
* mint a spuriously-exact `bigint` that need not equal the stored value.
|
|
138
159
|
*/
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
160
|
+
fromWire(wire: number | bigint | string, _ctx: CodecCallContext): Promise<bigint>;
|
|
161
|
+
fromDataTypeValue(value: DataTypeValue<string>): bigint;
|
|
162
|
+
toDataTypeValue(input: bigint): DataTypeValue;
|
|
142
163
|
}
|
|
143
164
|
declare class SqliteBigintDescriptor extends SqliteCodecDescriptor<void> {
|
|
144
165
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
166
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
145
167
|
readonly codecId: "sqlite/bigint@1";
|
|
146
168
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
147
|
-
readonly
|
|
148
|
-
|
|
169
|
+
readonly paramsSchema: undefined;
|
|
170
|
+
renderValueLiteral(value: JsonValue): string | undefined;
|
|
149
171
|
factory(): (ctx: CodecInstanceContext) => SqliteBigintCodec;
|
|
150
172
|
}
|
|
151
173
|
declare const sqliteBigintColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteBigintCodec, undefined>;
|
|
@@ -153,33 +175,35 @@ declare const sqliteBigintColumn: () => import("@prisma/orm-framework/components
|
|
|
153
175
|
* A SQLite INTEGER decoded as a JS `number`, for columns whose values stay
|
|
154
176
|
* within the safe integer range ±(2^53 − 1). Both directions guard rather than
|
|
155
177
|
* round: decode (wire and JSON) and encode throw a structured error on
|
|
156
|
-
* out-of-range or non-integral input. The canonical JSON is
|
|
157
|
-
*
|
|
158
|
-
* the codec's purpose. The descriptor claims no target type, so `integer` in
|
|
159
|
-
* type position keeps its current codecs.
|
|
178
|
+
* out-of-range or non-integral input. The canonical JSON is the decimal text
|
|
179
|
+
* `sqlite/integer` carries, which every codec of that data type shares.
|
|
160
180
|
*/
|
|
161
181
|
declare class SqliteBigintNumberCodec extends CodecImpl<typeof SQLITE_BIGINT_NUMBER_CODEC_ID, readonly ['equality', 'order', 'numeric'], number | bigint | string, number> {
|
|
162
|
-
|
|
182
|
+
toWire(value: number, _ctx: CodecCallContext): Promise<number>;
|
|
163
183
|
/**
|
|
164
184
|
* The driver hands an INTEGER over as a `number` or, in safe-integer mode, a
|
|
165
185
|
* `bigint`; a bigint (or decimal text) is range-checked exactly before any
|
|
166
186
|
* conversion to `number`, so an out-of-range value throws rather than rounds.
|
|
167
187
|
*/
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
188
|
+
fromWire(wire: number | bigint | string, _ctx: CodecCallContext): Promise<number>;
|
|
189
|
+
fromDataTypeValue(value: DataTypeValue<string>): number;
|
|
190
|
+
toDataTypeValue(input: number): DataTypeValue;
|
|
171
191
|
}
|
|
172
192
|
declare class SqliteBigintNumberDescriptor extends SqliteCodecDescriptor<void> {
|
|
173
193
|
protected jsonProjection(expression: ProjectionExpr): ProjectionExpr;
|
|
194
|
+
readonly dataType: import("@prisma/orm-framework/components/codec").DataTypeId;
|
|
174
195
|
readonly codecId: "sqlite/bigintnumber@1";
|
|
175
196
|
readonly traits: readonly ["equality", "order", "numeric"];
|
|
176
|
-
readonly
|
|
177
|
-
readonly paramsSchema: import("@standard-schema/spec").StandardSchemaV1<void, void>;
|
|
197
|
+
readonly paramsSchema: undefined;
|
|
178
198
|
renderValueLiteral(value: JsonValue): string | undefined;
|
|
179
199
|
factory(): (ctx: CodecInstanceContext) => SqliteBigintNumberCodec;
|
|
180
200
|
}
|
|
181
201
|
declare const sqliteBigintNumberColumn: () => import("@prisma/orm-framework/components/codec").ColumnSpec<SqliteBigintNumberCodec, undefined>;
|
|
182
202
|
//#endregion
|
|
203
|
+
//#region src/core/datetime-text.d.ts
|
|
204
|
+
/** The SQLite expression for the current instant, as the text `encodeSqliteDatetime` writes. */
|
|
205
|
+
declare const SQLITE_NOW_EXPRESSION = "strftime('%Y-%m-%dT%H:%M:%fZ','now')";
|
|
206
|
+
//#endregion
|
|
183
207
|
//#region src/core/registry.d.ts
|
|
184
208
|
/**
|
|
185
209
|
* Registry of every codec descriptor shipped by `@internal/target-sqlite`.
|
|
@@ -189,5 +213,5 @@ declare const sqliteBigintNumberColumn: () => import("@prisma/orm-framework/comp
|
|
|
189
213
|
declare const sqliteCodecRegistry: CodecDescriptorRegistry;
|
|
190
214
|
declare const sqliteCodecDescriptorRegistry: SqliteCodecDescriptorRegistry;
|
|
191
215
|
//#endregion
|
|
192
|
-
export { sqliteIntegerColumn as _,
|
|
193
|
-
//# sourceMappingURL=codecs-
|
|
216
|
+
export { sqliteJsonColumn as C, sqliteIntegerColumn as S, sqliteTextColumn as T, sqliteBigintNumberColumn as _, SqliteBlobDescriptor as a, sqliteCodecRegistry as b, SqliteIntegerDescriptor as c, SqliteTextDescriptor as d, assembleSqliteCodecRegistry as f, sqliteBigintColumn as g, jsonDocumentRetag as h, SqliteBigintNumberDescriptor as i, SqliteJsonDescriptor as l, createSqliteCodecRegistryWithBuiltins as m, SQLITE_NOW_EXPRESSION as n, SqliteCodecRegistry as o, createSqliteBuiltinCodecLookup as p, SqliteBigintDescriptor as r, SqliteDatetimeDescriptor as s, JsonValue$1 as t, SqliteRealDescriptor as u, sqliteBlobColumn as v, sqliteRealColumn as w, sqliteDatetimeColumn as x, sqliteCodecDescriptorRegistry as y };
|
|
217
|
+
//# sourceMappingURL=codecs-BJYruC-a-BKDGae3k.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-BJYruC-a-BKDGae3k.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codecs-BJYruC-a.d.mts"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codecs-BJYruC-a-BKDGae3k.mjs";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as buildSqliteCodecDescriptorRegistry } from "./codec-descriptor-DRmF-crq-BALI5Jtz.mjs";
|
|
2
|
+
import { t as codecDescriptors } from "./codecs-yZoH21Yj-lQXtGlEq.mjs";
|
|
3
|
+
import { extractCodecLookup } from "@prisma/orm-framework/components/control";
|
|
4
|
+
import { buildCodecDescriptorRegistry } from "@prisma/orm-family-sql/relational-core/codec-descriptor-registry";
|
|
5
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codecs.mjs
|
|
6
|
+
/**
|
|
7
|
+
* Registry of every codec descriptor shipped by `@internal/target-sqlite`.
|
|
8
|
+
*
|
|
9
|
+
* Public consumer surface for the sqlite codec set: the sqlite adapter and any other consumer that needs to enumerate or look up a sqlite codec by id consumes this rather than the raw descriptor array. See ADR 208.
|
|
10
|
+
*/
|
|
11
|
+
const sqliteCodecRegistry = buildCodecDescriptorRegistry(codecDescriptors);
|
|
12
|
+
const sqliteCodecDescriptorRegistry = buildSqliteCodecDescriptorRegistry(codecDescriptors);
|
|
13
|
+
function descriptorsFrom(contributors) {
|
|
14
|
+
return contributors.flatMap((contributor) => contributor.types?.codecTypes?.codecDescriptors ?? []);
|
|
15
|
+
}
|
|
16
|
+
function buildSqliteCodecRegistry(descriptors) {
|
|
17
|
+
const descriptorRegistry = buildSqliteCodecDescriptorRegistry(descriptors);
|
|
18
|
+
const registry = {
|
|
19
|
+
...extractCodecLookup([{
|
|
20
|
+
id: "sqlite-codecs",
|
|
21
|
+
types: { codecTypes: { codecDescriptors: Array.from(descriptorRegistry.values()) } }
|
|
22
|
+
}]),
|
|
23
|
+
descriptorFor: (codecId) => descriptorRegistry.descriptorFor(codecId),
|
|
24
|
+
values: () => descriptorRegistry.values()
|
|
25
|
+
};
|
|
26
|
+
return Object.freeze(registry);
|
|
27
|
+
}
|
|
28
|
+
function assembleSqliteCodecRegistry(target, extensions) {
|
|
29
|
+
return buildSqliteCodecRegistry([
|
|
30
|
+
...descriptorsFrom([target]),
|
|
31
|
+
...sqliteCodecDescriptorRegistry.values(),
|
|
32
|
+
...descriptorsFrom(extensions)
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
35
|
+
function createSqliteCodecRegistryWithBuiltins(codecDescriptors = []) {
|
|
36
|
+
return buildSqliteCodecRegistry([...sqliteCodecDescriptorRegistry.values(), ...codecDescriptors]);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Build a coherent SQLite codec registry populated with built-in descriptors only.
|
|
40
|
+
*
|
|
41
|
+
* The returned registry supports both ordinary codec materialization and SQLite target behavior. Stack-composed paths build the same combined registry from target, full adapter, and ordered extension contributions.
|
|
42
|
+
*/
|
|
43
|
+
function createSqliteBuiltinCodecLookup() {
|
|
44
|
+
return createSqliteCodecRegistryWithBuiltins();
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { sqliteCodecRegistry as a, sqliteCodecDescriptorRegistry as i, createSqliteBuiltinCodecLookup as n, createSqliteCodecRegistryWithBuiltins as r, assembleSqliteCodecRegistry as t };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=codecs-g-YI3BtK.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-g-YI3BtK.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codecs.mjs"],"sourcesContent":["import { n as buildSqliteCodecDescriptorRegistry } from \"./codec-descriptor-DRmF-crq.mjs\";\nimport { a as sqliteBigintNumberColumn, c as sqliteIntegerColumn, d as sqliteTextColumn, i as sqliteBigintColumn, l as sqliteJsonColumn, o as sqliteBlobColumn, r as jsonDocumentRetag, s as sqliteDatetimeColumn, t as codecDescriptors, u as sqliteRealColumn } from \"./codecs-yZoH21Yj.mjs\";\nimport { n as SQLITE_NOW_EXPRESSION } from \"./datetime-text-Bniwehv-.mjs\";\nimport { extractCodecLookup } from \"@internal/framework-components/control\";\nimport { buildCodecDescriptorRegistry } from \"@internal/sql-relational-core/codec-descriptor-registry\";\n//#region src/core/registry.ts\n/**\n* Registry of every codec descriptor shipped by `@internal/target-sqlite`.\n*\n* Public consumer surface for the sqlite codec set: the sqlite adapter and any other consumer that needs to enumerate or look up a sqlite codec by id consumes this rather than the raw descriptor array. See ADR 208.\n*/\nconst sqliteCodecRegistry = buildCodecDescriptorRegistry(codecDescriptors);\nconst sqliteCodecDescriptorRegistry = buildSqliteCodecDescriptorRegistry(codecDescriptors);\n//#endregion\n//#region src/core/codec-registry.ts\nfunction descriptorsFrom(contributors) {\n\treturn contributors.flatMap((contributor) => contributor.types?.codecTypes?.codecDescriptors ?? []);\n}\nfunction buildSqliteCodecRegistry(descriptors) {\n\tconst descriptorRegistry = buildSqliteCodecDescriptorRegistry(descriptors);\n\tconst registry = {\n\t\t...extractCodecLookup([{\n\t\t\tid: \"sqlite-codecs\",\n\t\t\ttypes: { codecTypes: { codecDescriptors: Array.from(descriptorRegistry.values()) } }\n\t\t}]),\n\t\tdescriptorFor: (codecId) => descriptorRegistry.descriptorFor(codecId),\n\t\tvalues: () => descriptorRegistry.values()\n\t};\n\treturn Object.freeze(registry);\n}\nfunction assembleSqliteCodecRegistry(target, extensions) {\n\treturn buildSqliteCodecRegistry([\n\t\t...descriptorsFrom([target]),\n\t\t...sqliteCodecDescriptorRegistry.values(),\n\t\t...descriptorsFrom(extensions)\n\t]);\n}\nfunction createSqliteCodecRegistryWithBuiltins(codecDescriptors = []) {\n\treturn buildSqliteCodecRegistry([...sqliteCodecDescriptorRegistry.values(), ...codecDescriptors]);\n}\n/**\n* Build a coherent SQLite codec registry populated with built-in descriptors only.\n*\n* The returned registry supports both ordinary codec materialization and SQLite target behavior. Stack-composed paths build the same combined registry from target, full adapter, and ordered extension contributions.\n*/\nfunction createSqliteBuiltinCodecLookup() {\n\treturn createSqliteCodecRegistryWithBuiltins();\n}\n//#endregion\nexport { SQLITE_NOW_EXPRESSION, assembleSqliteCodecRegistry, createSqliteBuiltinCodecLookup, createSqliteCodecRegistryWithBuiltins, jsonDocumentRetag, sqliteBigintColumn, sqliteBigintNumberColumn, sqliteBlobColumn, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteDatetimeColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteRealColumn, sqliteTextColumn };\n\n//# sourceMappingURL=codecs.mjs.map"],"mappings":";;;;;;;;;;AAWA,MAAM,sBAAsB,6BAA6B,gBAAgB;AACzE,MAAM,gCAAgC,mCAAmC,gBAAgB;AAGzF,SAAS,gBAAgB,cAAc;CACtC,OAAO,aAAa,SAAS,gBAAgB,YAAY,OAAO,YAAY,oBAAoB,CAAC,CAAC;AACnG;AACA,SAAS,yBAAyB,aAAa;CAC9C,MAAM,qBAAqB,mCAAmC,WAAW;CACzE,MAAM,WAAW;EAChB,GAAG,mBAAmB,CAAC;GACtB,IAAI;GACJ,OAAO,EAAE,YAAY,EAAE,kBAAkB,MAAM,KAAK,mBAAmB,OAAO,CAAC,EAAE,EAAE;EACpF,CAAC,CAAC;EACF,gBAAgB,YAAY,mBAAmB,cAAc,OAAO;EACpE,cAAc,mBAAmB,OAAO;CACzC;CACA,OAAO,OAAO,OAAO,QAAQ;AAC9B;AACA,SAAS,4BAA4B,QAAQ,YAAY;CACxD,OAAO,yBAAyB;EAC/B,GAAG,gBAAgB,CAAC,MAAM,CAAC;EAC3B,GAAG,8BAA8B,OAAO;EACxC,GAAG,gBAAgB,UAAU;CAC9B,CAAC;AACF;AACA,SAAS,sCAAsC,mBAAmB,CAAC,GAAG;CACrE,OAAO,yBAAyB,CAAC,GAAG,8BAA8B,OAAO,GAAG,GAAG,gBAAgB,CAAC;AACjG;;;;;;AAMA,SAAS,iCAAiC;CACzC,OAAO,sCAAsC;AAC9C"}
|