@prisma/orm-target-sqlite 8.0.0-rc.9-dev.13 → 8.0.1-dev.2
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 +5 -1
- package/dist/adapter-BQZBUROY.d.mts +205 -0
- package/dist/adapter-BQZBUROY.d.mts.map +1 -0
- package/dist/{adapter-jwxys1MM-CmUELyBs.mjs → adapter-CxzIV2_z-DKbo2Ebu.mjs} +347 -137
- package/dist/adapter-CxzIV2_z-DKbo2Ebu.mjs.map +1 -0
- package/dist/{adapter-DEYUC-KO-DO_abhIq.d.mts → adapter-xFPDhkod-Bfb8AQQJ.d.mts} +12 -9
- package/dist/adapter-xFPDhkod-Bfb8AQQJ.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 +30 -16
- 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--0FaH9Te.d.mts +164 -0
- package/dist/aggregates--0FaH9Te.d.mts.map +1 -0
- package/dist/{aggregates-DWyPO7t6.mjs → aggregates-hLiHPHBG.mjs} +44 -26
- package/dist/aggregates-hLiHPHBG.mjs.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-CH8Nqk89-LNT9hksu.d.mts +23 -0
- package/dist/codec-ids-CH8Nqk89-LNT9hksu.d.mts.map +1 -0
- package/dist/codec-ids-CTshXpbg-tcdbf_VC.mjs +23 -0
- package/dist/codec-ids-CTshXpbg-tcdbf_VC.mjs.map +1 -0
- package/dist/codec-ids-Do7Ml2pg.d.mts +1 -0
- package/dist/codec-types-CBLOfyrr.d.mts +2 -0
- package/dist/codec-types-CcuzuROC.d.mts +1 -0
- package/dist/codec-types-Ci-h2uxN-41PNpdNL.d.mts +35 -0
- package/dist/codec-types-Ci-h2uxN-41PNpdNL.d.mts.map +1 -0
- package/dist/codecs-BO3frExA.mjs +49 -0
- package/dist/codecs-BO3frExA.mjs.map +1 -0
- package/dist/codecs-DBQsDiM--Cy-r45H3.d.mts +378 -0
- package/dist/codecs-DBQsDiM--Cy-r45H3.d.mts.map +1 -0
- package/dist/codecs-Dou3fR1K.d.mts +1 -0
- package/dist/codecs-izq9l1NG-Bb2RnXsx.mjs +1081 -0
- package/dist/codecs-izq9l1NG-Bb2RnXsx.mjs.map +1 -0
- package/dist/column-types-D3MMpY3X.d.mts +42 -0
- package/dist/column-types-D3MMpY3X.d.mts.map +1 -0
- package/dist/column-types-D_PjRS6w.mjs +24 -0
- package/dist/column-types-D_PjRS6w.mjs.map +1 -0
- package/dist/contract-contributions-DEePsuJb-CXE-f6pP.mjs +28 -0
- package/dist/contract-contributions-DEePsuJb-CXE-f6pP.mjs.map +1 -0
- package/dist/{contract-free-D5cZrgNl.mjs → contract-free-B5S1OSEd.mjs} +8 -7
- package/dist/contract-free-B5S1OSEd.mjs.map +1 -0
- package/dist/{contract-free-CCLAXZV2.d.mts → contract-free-IqKgq8Pk.d.mts} +6 -6
- package/dist/contract-free-IqKgq8Pk.d.mts.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-CtCvtwJx.d.mts +408 -0
- package/dist/control-CtCvtwJx.d.mts.map +1 -0
- package/dist/{control-CLirKz11.d.mts → control-DfWteXy-.d.mts} +31 -45
- package/dist/control-DfWteXy-.d.mts.map +1 -0
- package/dist/control-V3kPfMTR.mjs +61 -0
- package/dist/control-V3kPfMTR.mjs.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-DaT4D2GV-DE0V_N6k.mjs +120 -0
- package/dist/data-type-entries-DaT4D2GV-DE0V_N6k.mjs.map +1 -0
- package/dist/data-types-C1nzwKt7.d.mts +68 -0
- package/dist/data-types-C1nzwKt7.d.mts.map +1 -0
- package/dist/data-types-Djvapurb-BR-Y4NWN.mjs +239 -0
- package/dist/data-types-Djvapurb-BR-Y4NWN.mjs.map +1 -0
- package/dist/date-time-now-generators-DUb3x91B-D0keGG59.mjs +64 -0
- package/dist/date-time-now-generators-DUb3x91B-D0keGG59.mjs.map +1 -0
- package/dist/datetime-text-DPjoF6HJ-se0mLEbc.mjs +32 -0
- package/dist/datetime-text-DPjoF6HJ-se0mLEbc.mjs.map +1 -0
- package/dist/ddl-31OBcTco.d.mts +1 -0
- package/dist/{ddl-CXduXyOT-nlDP6DGx.mjs → ddl-CgkyurGo-B2o4mSIT.mjs} +45 -8
- package/dist/ddl-CgkyurGo-B2o4mSIT.mjs.map +1 -0
- package/dist/default-normalizer-BANdMVGr-BiUHyBX1.mjs +124 -0
- package/dist/default-normalizer-BANdMVGr-BiUHyBX1.mjs.map +1 -0
- package/dist/default-normalizer-CtNsZNRZ.d.mts +25 -0
- package/dist/default-normalizer-CtNsZNRZ.d.mts.map +1 -0
- package/dist/descriptor-meta-CafFMPhN-x3YQXDSX.mjs +26 -0
- package/dist/descriptor-meta-CafFMPhN-x3YQXDSX.mjs.map +1 -0
- package/dist/descriptor-meta-CkiPlqDS-n3hDP01X.mjs +137 -0
- package/dist/descriptor-meta-CkiPlqDS-n3hDP01X.mjs.map +1 -0
- package/dist/descriptor-meta-DEr1ALec-DvT6glGq.mjs +385 -0
- package/dist/descriptor-meta-DEr1ALec-DvT6glGq.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 +58 -20
- package/dist/driver__runtime.mjs.map +1 -1
- package/dist/errors-DxbvEzQp-CeTjoGtL.mjs +146 -0
- package/dist/errors-DxbvEzQp-CeTjoGtL.mjs.map +1 -0
- package/dist/{migration-DOKPHtxn.mjs → migration-BYRMZiPU.mjs} +6 -5
- package/dist/migration-BYRMZiPU.mjs.map +1 -0
- package/dist/{migration-uylRe5MP.d.mts → migration-Dekon_QC.d.mts} +6 -5
- package/dist/migration-Dekon_QC.d.mts.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-DjbjegGT-DsQBI5Ll.mjs +2044 -0
- package/dist/op-factory-call-DjbjegGT-DsQBI5Ll.mjs.map +1 -0
- package/dist/op-factory-call-gQ5ddSys.d.mts +327 -0
- package/dist/op-factory-call-gQ5ddSys.d.mts.map +1 -0
- package/dist/pack-CHESErO8.d.mts +1477 -0
- package/dist/pack-CHESErO8.d.mts.map +1 -0
- package/dist/{planner-Bxdi7jZF.d.mts → planner-Bu5XBkHm.d.mts} +21 -10
- package/dist/planner-Bu5XBkHm.d.mts.map +1 -0
- package/dist/planner-C1OMkqV5-BAv-WPw6.mjs +497 -0
- package/dist/planner-C1OMkqV5-BAv-WPw6.mjs.map +1 -0
- package/dist/{planner-produced-sqlite-migration-BuJysRxx-CaDUbNVx.d.mts → planner-produced-sqlite-migration-CMjzJW5V-dVv0SjJm.d.mts} +5 -6
- package/dist/planner-produced-sqlite-migration-CMjzJW5V-dVv0SjJm.d.mts.map +1 -0
- package/dist/{planner-produced-sqlite-migration-C9uVDKrJ-CWbxSANn.mjs → planner-produced-sqlite-migration-CrbMD1ch-O7Mh_aKY.mjs} +13 -23
- package/dist/planner-produced-sqlite-migration-CrbMD1ch-O7Mh_aKY.mjs.map +1 -0
- package/dist/planner-produced-sqlite-migration-DtytlAAY.d.mts +1 -0
- package/dist/{planner-target-details-xR6UfIcz-CMahymzq.d.mts → planner-target-details-B-qtfkmj-DIGpv7YQ.d.mts} +2 -3
- package/dist/planner-target-details-B-qtfkmj-DIGpv7YQ.d.mts.map +1 -0
- package/dist/{planner-target-details-CIQ789Gc-C5U4yVY9.mjs → planner-target-details-Daaeo8s9-BGAN4JVc.mjs} +2 -4
- package/dist/planner-target-details-Daaeo8s9-BGAN4JVc.mjs.map +1 -0
- package/dist/render-ops-CQ-Kf4P0-DDUU4OFY.mjs +34 -0
- package/dist/render-ops-CQ-Kf4P0-DDUU4OFY.mjs.map +1 -0
- package/dist/{render-ops-B10yqmdG.d.mts → render-ops-Wlf_Pawh.d.mts} +3 -3
- package/dist/render-ops-Wlf_Pawh.d.mts.map +1 -0
- package/dist/require-temporal-CHWqSDF3-ElFTiAh6.mjs +16 -0
- package/dist/require-temporal-CHWqSDF3-ElFTiAh6.mjs.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-C43fN_cJ.mjs +32 -0
- package/dist/runtime-C43fN_cJ.mjs.map +1 -0
- package/dist/{runtime-C5J9fusd.d.mts → runtime-CVBk_GlD.d.mts} +4 -4
- package/dist/runtime-CVBk_GlD.d.mts.map +1 -0
- package/dist/runtime-DqzT70C4.d.mts +67 -0
- package/dist/runtime-DqzT70C4.d.mts.map +1 -0
- package/dist/sql-renderer-DlZKtvVf.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-CHBxMmv--Dl7wl7n3.mjs} +31 -4
- package/dist/sql-utils-CHBxMmv--Dl7wl7n3.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-c-qO_pKt-DOCoqwrD.mjs +51 -0
- package/dist/sqlite-contract-view-c-qO_pKt-DOCoqwrD.mjs.map +1 -0
- package/dist/sqlite-migration-C_9TPlLD-DtKN8bi9.d.mts +227 -0
- package/dist/sqlite-migration-C_9TPlLD-DtKN8bi9.d.mts.map +1 -0
- package/dist/sqlite-migration-Cmzykasm--GxBXXny.mjs +1363 -0
- package/dist/sqlite-migration-Cmzykasm--GxBXXny.mjs.map +1 -0
- package/dist/{sqlite-contract-view-BYR10usg-BteDAUZr.mjs → sqlite-unbound-database-CfLXSiVo-Dy5VBXGz.mjs} +6 -47
- package/dist/sqlite-unbound-database-CfLXSiVo-Dy5VBXGz.mjs.map +1 -0
- package/dist/{shared-BYAX0FaQ--VvRXVRC.d.mts → tables-BY3u6rl_-Coqqy4JK.d.mts} +46 -10
- package/dist/tables-BY3u6rl_-Coqqy4JK.d.mts.map +1 -0
- package/dist/target.d.mts +30 -29
- package/dist/target.mjs +27 -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 +332 -114
- 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 +3 -3
- package/dist/target__runtime.mjs +4 -17
- package/dist/target__sql-utils.d.mts +1 -1
- package/dist/target__sql-utils.mjs +1 -1
- package/dist/target__types.d.mts +2 -0
- package/dist/target__types.mjs +2 -0
- package/dist/{control--wMueaTg.d.mts → types-COqCbSev.d.mts} +3 -8
- package/dist/types-COqCbSev.d.mts.map +1 -0
- package/dist/types-CexPOm8x.d.mts +2 -0
- 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/package.json +23 -14
- package/dist/adapter-D7zw14p5.d.mts +0 -2
- package/dist/adapter-DEYUC-KO-DO_abhIq.d.mts.map +0 -1
- package/dist/adapter-jwxys1MM-CmUELyBs.mjs.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 +0 -14
- package/dist/codec-ids-CzeDyMWW-BZAcI50I.d.mts.map +0 -1
- package/dist/codec-ids-KMliSCRp-BhTbmbGr.mjs +0 -14
- 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 +0 -25
- 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 +0 -193
- 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 +0 -51
- 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-C0sCVHMY-1P-YUnEW.mjs +0 -34
- package/dist/descriptor-meta-C0sCVHMY-1P-YUnEW.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-runtime-BkXK3OjD-CxZdKHCw.mjs +0 -13
- package/dist/descriptor-meta-runtime-BkXK3OjD-CxZdKHCw.mjs.map +0 -1
- package/dist/descriptor-meta-vjJkUDsn-Hz3rnAnk.mjs +0 -70
- package/dist/descriptor-meta-vjJkUDsn-Hz3rnAnk.mjs.map +0 -1
- package/dist/errors-DnR-sMHS-KkMLIP2U.mjs +0 -38
- 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 +0 -161
- 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-Cn0GAuEa.d.mts +0 -103
- package/dist/pack-Cn0GAuEa.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 +0 -28
- 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 +0 -105
- 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/target__runtime.mjs.map +0 -1
- package/dist/types-B7e2QVEx.d.mts +0 -1
- package/dist/types-C5FSREvo-CwUlKK34.d.mts.map +0 -1
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { _ as SQLITE_TIME_TEMPORAL_CODEC_ID, a as SQLITE_DATETIME_CODEC_ID, b as SQL_INT_CODEC_ID, c as SQLITE_DATE_STRING_CODEC_ID, f as SQLITE_INTEGER_CODEC_ID, g as SQLITE_TIME_STRING_CODEC_ID, l as SQLITE_DATE_TEMPORAL_CODEC_ID, m as SQLITE_REAL_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_DATETIME_STRING_CODEC_ID, p as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_DATETIME_TEMPORAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, y as SQL_FLOAT_CODEC_ID } from "./codec-ids-CTshXpbg-tcdbf_VC.mjs";
|
|
2
2
|
import { AggregateExpr, CastExpr } from "@prisma/orm-family-sql/relational-core/ast";
|
|
3
3
|
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
4
|
-
//#region ../../../3-targets/
|
|
5
|
-
const overCodec = (codecId) => ({
|
|
6
|
-
kind: "codec",
|
|
7
|
-
codecId
|
|
8
|
-
});
|
|
9
|
-
const overTrait = (trait) => ({
|
|
10
|
-
kind: "trait",
|
|
11
|
-
trait
|
|
12
|
-
});
|
|
4
|
+
//#region ../../../3-targets/sqlite/1-target/dist/aggregates.mjs
|
|
13
5
|
/** An aggregate whose result is one of the input values, so it carries the input's codec. */
|
|
14
6
|
const preservesInput = (operation, input) => ({
|
|
15
7
|
operation,
|
|
@@ -20,10 +12,9 @@ const preservesInput = (operation, input) => ({
|
|
|
20
12
|
/**
|
|
21
13
|
* Render the aggregate as text.
|
|
22
14
|
*
|
|
23
|
-
* SQLite computes an aggregate into an INTEGER
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* form both integer codecs read anyway. The hook builds the expression and
|
|
15
|
+
* SQLite computes an aggregate into an INTEGER. An aggregate whose result is a
|
|
16
|
+
* wide integer leaves the database through this cast, as the decimal text both
|
|
17
|
+
* integer codecs read exactly. The hook builds the expression and
|
|
27
18
|
* nothing else: which codec the result carries is the descriptor's `output` to
|
|
28
19
|
* declare, not this function's to choose.
|
|
29
20
|
*
|
|
@@ -32,7 +23,7 @@ const preservesInput = (operation, input) => ({
|
|
|
32
23
|
* name the database does not know.
|
|
33
24
|
*/
|
|
34
25
|
const castResultToText = (operation) => ({ expr }) => CastExpr.as(new AggregateExpr(operation, expr), "text");
|
|
35
|
-
/** The integer results wider than
|
|
26
|
+
/** The integer results wider than a JS `number`: one read exactly, one read as a `number` and guarded against the safe range. Both leave the database as text. */
|
|
36
27
|
const WIDE_INTEGER_CODECS = [SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID];
|
|
37
28
|
/** An aggregate whose result is a new value, named by codec and without the input's type parameters. */
|
|
38
29
|
const produces = (operation, input, codecId) => ({
|
|
@@ -66,17 +57,32 @@ const INTEGER_CODECS = [
|
|
|
66
57
|
/** Codecs stored as SQLite reals. Their `sum` stays real. */
|
|
67
58
|
const REAL_CODECS = [SQLITE_REAL_CODEC_ID, SQL_FLOAT_CODEC_ID];
|
|
68
59
|
/**
|
|
69
|
-
* Codecs whose `min`/`max` returns the input value and whose traits do not already say so: SQLite compares blobs bytewise and text by its collation, so a datetime, a JSON document, and a blob each have a well-defined least and greatest — unlike the numeric and textual codecs, whose traits carry them.
|
|
60
|
+
* Codecs whose `min`/`max` returns the input value and whose traits do not already say so: SQLite compares blobs bytewise and text by its collation, so a datetime, a JSON document, and a blob each have a well-defined least and greatest — unlike the numeric and textual codecs, whose traits carry them. An instant, a date and a time of day are stored in one form that sorts in the order of the values, so their least and greatest text is the earliest and latest value. A duration is not: its text does not sort in the order of the durations.
|
|
70
61
|
*/
|
|
71
62
|
const MIN_MAX_PRESERVING_CODECS = [
|
|
72
63
|
SQLITE_DATETIME_CODEC_ID,
|
|
64
|
+
SQLITE_DATETIME_TEMPORAL_CODEC_ID,
|
|
65
|
+
SQLITE_DATETIME_STRING_CODEC_ID,
|
|
66
|
+
SQLITE_DATE_STRING_CODEC_ID,
|
|
67
|
+
SQLITE_DATE_TEMPORAL_CODEC_ID,
|
|
68
|
+
SQLITE_TIME_STRING_CODEC_ID,
|
|
69
|
+
SQLITE_TIME_TEMPORAL_CODEC_ID,
|
|
73
70
|
SQLITE_JSON_CODEC_ID,
|
|
74
71
|
SQLITE_BLOB_CODEC_ID
|
|
75
72
|
];
|
|
76
73
|
const orderingDescriptors = (operation) => [
|
|
77
|
-
preservesInput(operation,
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
preservesInput(operation, {
|
|
75
|
+
kind: "trait",
|
|
76
|
+
trait: "numeric"
|
|
77
|
+
}),
|
|
78
|
+
preservesInput(operation, {
|
|
79
|
+
kind: "trait",
|
|
80
|
+
trait: "textual"
|
|
81
|
+
}),
|
|
82
|
+
...MIN_MAX_PRESERVING_CODECS.map((codecId) => preservesInput(operation, {
|
|
83
|
+
kind: "codec",
|
|
84
|
+
codecId
|
|
85
|
+
})),
|
|
80
86
|
{
|
|
81
87
|
operation,
|
|
82
88
|
input: {
|
|
@@ -100,7 +106,7 @@ const sqliteAggregateDescriptors = [
|
|
|
100
106
|
codecId: SQLITE_BIGINT_NUMBER_CODEC_ID
|
|
101
107
|
},
|
|
102
108
|
nullable: false,
|
|
103
|
-
|
|
109
|
+
emptyResultWire: "0",
|
|
104
110
|
lower: castResultToText("count")
|
|
105
111
|
},
|
|
106
112
|
{
|
|
@@ -111,17 +117,29 @@ const sqliteAggregateDescriptors = [
|
|
|
111
117
|
codecId: SQLITE_BIGINT_CODEC_ID
|
|
112
118
|
},
|
|
113
119
|
nullable: false,
|
|
114
|
-
|
|
120
|
+
emptyResultWire: "0",
|
|
115
121
|
lower: castResultToText("count")
|
|
116
122
|
},
|
|
117
|
-
...INTEGER_CODECS.map((codecId) => produces("sum",
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
...INTEGER_CODECS.map((codecId) => produces("sum", {
|
|
124
|
+
kind: "codec",
|
|
125
|
+
codecId
|
|
126
|
+
}, SQLITE_BIGINT_NUMBER_CODEC_ID)),
|
|
127
|
+
...INTEGER_CODECS.map((codecId) => producesVia("sumBigInt", {
|
|
128
|
+
kind: "codec",
|
|
129
|
+
codecId
|
|
130
|
+
}, SQLITE_BIGINT_CODEC_ID, castResultToText("sum"))),
|
|
131
|
+
...REAL_CODECS.map((codecId) => produces("sum", {
|
|
132
|
+
kind: "codec",
|
|
133
|
+
codecId
|
|
134
|
+
}, SQLITE_REAL_CODEC_ID)),
|
|
135
|
+
...[...INTEGER_CODECS, ...REAL_CODECS].map((codecId) => produces("avg", {
|
|
136
|
+
kind: "codec",
|
|
137
|
+
codecId
|
|
138
|
+
}, SQLITE_REAL_CODEC_ID)),
|
|
121
139
|
...orderingDescriptors("min"),
|
|
122
140
|
...orderingDescriptors("max")
|
|
123
141
|
];
|
|
124
142
|
//#endregion
|
|
125
143
|
export { sqliteAggregateDescriptors as t };
|
|
126
144
|
|
|
127
|
-
//# sourceMappingURL=aggregates-
|
|
145
|
+
//# sourceMappingURL=aggregates-hLiHPHBG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregates-hLiHPHBG.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/aggregates.mjs"],"sourcesContent":["import { _ as SQLITE_TIME_TEMPORAL_CODEC_ID, a as SQLITE_DATETIME_CODEC_ID, b as SQL_INT_CODEC_ID, c as SQLITE_DATE_STRING_CODEC_ID, f as SQLITE_INTEGER_CODEC_ID, g as SQLITE_TIME_STRING_CODEC_ID, l as SQLITE_DATE_TEMPORAL_CODEC_ID, m as SQLITE_REAL_CODEC_ID, n as SQLITE_BIGINT_NUMBER_CODEC_ID, o as SQLITE_DATETIME_STRING_CODEC_ID, p as SQLITE_JSON_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_DATETIME_TEMPORAL_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, y as SQL_FLOAT_CODEC_ID } from \"./codec-ids-CTshXpbg.mjs\";\nimport { AggregateExpr, CastExpr } from \"@internal/sql-relational-core/ast\";\nimport { ifDefined } from \"@internal/utils/defined\";\n//#region src/core/aggregates.ts\n/** An aggregate whose result is one of the input values, so it carries the input's codec. */\nconst preservesInput = (operation, input) => ({\n\toperation,\n\tinput,\n\toutput: { kind: \"self\" },\n\tnullable: true\n});\n/**\n* Render the aggregate as text.\n*\n* SQLite computes an aggregate into an INTEGER. An aggregate whose result is a\n* wide integer leaves the database through this cast, as the decimal text both\n* integer codecs read exactly. The hook builds the expression and\n* nothing else: which codec the result carries is the descriptor's `output` to\n* declare, not this function's to choose.\n*\n* The `operation` it names is the SQL aggregate the row computes with — its own\n* name for a bare operation, its bare namesake's for a lossless variant, whose\n* name the database does not know.\n*/\nconst castResultToText = (operation) => ({ expr }) => CastExpr.as(new AggregateExpr(operation, expr), \"text\");\n/** The integer results wider than a JS `number`: one read exactly, one read as a `number` and guarded against the safe range. Both leave the database as text. */\nconst WIDE_INTEGER_CODECS = [SQLITE_BIGINT_CODEC_ID, SQLITE_BIGINT_NUMBER_CODEC_ID];\n/** An aggregate whose result is a new value, named by codec and without the input's type parameters. */\nconst produces = (operation, input, codecId) => ({\n\toperation,\n\tinput,\n\toutput: {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t},\n\tnullable: true,\n\t...ifDefined(\"lower\", WIDE_INTEGER_CODECS.includes(codecId) ? castResultToText(operation) : void 0)\n});\n/** The same, for a lossless variant: an operation whose name the SQL alphabet does not carry, so its lowering names the aggregate it computes with. */\nconst producesVia = (operation, input, codecId, lower) => ({\n\toperation,\n\tinput,\n\toutput: {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t},\n\tnullable: true,\n\tlower\n});\n/** Codecs stored as SQLite integers. Their `sum` is an integer of up to 64 bits — past `sqlite/integer@1`'s range, and past the safe-integer range too, since a total of safe-range values is free to leave it. The bare form therefore guards and the lossless one carries. */\nconst INTEGER_CODECS = [\n\tSQLITE_INTEGER_CODEC_ID,\n\tSQLITE_BIGINT_CODEC_ID,\n\tSQLITE_BIGINT_NUMBER_CODEC_ID,\n\tSQL_INT_CODEC_ID\n];\n/** Codecs stored as SQLite reals. Their `sum` stays real. */\nconst REAL_CODECS = [SQLITE_REAL_CODEC_ID, SQL_FLOAT_CODEC_ID];\n/**\n* Codecs whose `min`/`max` returns the input value and whose traits do not already say so: SQLite compares blobs bytewise and text by its collation, so a datetime, a JSON document, and a blob each have a well-defined least and greatest — unlike the numeric and textual codecs, whose traits carry them. An instant, a date and a time of day are stored in one form that sorts in the order of the values, so their least and greatest text is the earliest and latest value. A duration is not: its text does not sort in the order of the durations.\n*/\nconst MIN_MAX_PRESERVING_CODECS = [\n\tSQLITE_DATETIME_CODEC_ID,\n\tSQLITE_DATETIME_TEMPORAL_CODEC_ID,\n\tSQLITE_DATETIME_STRING_CODEC_ID,\n\tSQLITE_DATE_STRING_CODEC_ID,\n\tSQLITE_DATE_TEMPORAL_CODEC_ID,\n\tSQLITE_TIME_STRING_CODEC_ID,\n\tSQLITE_TIME_TEMPORAL_CODEC_ID,\n\tSQLITE_JSON_CODEC_ID,\n\tSQLITE_BLOB_CODEC_ID\n];\nconst orderingDescriptors = (operation) => [\n\tpreservesInput(operation, {\n\t\tkind: \"trait\",\n\t\ttrait: \"numeric\"\n\t}),\n\tpreservesInput(operation, {\n\t\tkind: \"trait\",\n\t\ttrait: \"textual\"\n\t}),\n\t...MIN_MAX_PRESERVING_CODECS.map((codecId) => preservesInput(operation, {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t})),\n\t{\n\t\toperation,\n\t\tinput: {\n\t\t\tkind: \"codec\",\n\t\t\tcodecId: SQLITE_BIGINT_CODEC_ID\n\t\t},\n\t\toutput: { kind: \"self\" },\n\t\tnullable: true,\n\t\tlower: castResultToText(operation)\n\t}\n];\n/**\n* Every aggregate overload the SQLite target contributes. The adapter lists these on `types.aggregateDescriptors`, from where emission derives result types and the runtime builds its resolution registry.\n*/\nconst sqliteAggregateDescriptors = [\n\t{\n\t\toperation: \"count\",\n\t\tinput: { kind: \"any\" },\n\t\toutput: {\n\t\t\tkind: \"codec\",\n\t\t\tcodecId: SQLITE_BIGINT_NUMBER_CODEC_ID\n\t\t},\n\t\tnullable: false,\n\t\temptyResultWire: \"0\",\n\t\tlower: castResultToText(\"count\")\n\t},\n\t{\n\t\toperation: \"countBigInt\",\n\t\tinput: { kind: \"any\" },\n\t\toutput: {\n\t\t\tkind: \"codec\",\n\t\t\tcodecId: SQLITE_BIGINT_CODEC_ID\n\t\t},\n\t\tnullable: false,\n\t\temptyResultWire: \"0\",\n\t\tlower: castResultToText(\"count\")\n\t},\n\t...INTEGER_CODECS.map((codecId) => produces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, SQLITE_BIGINT_NUMBER_CODEC_ID)),\n\t...INTEGER_CODECS.map((codecId) => producesVia(\"sumBigInt\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, SQLITE_BIGINT_CODEC_ID, castResultToText(\"sum\"))),\n\t...REAL_CODECS.map((codecId) => produces(\"sum\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, SQLITE_REAL_CODEC_ID)),\n\t...[...INTEGER_CODECS, ...REAL_CODECS].map((codecId) => produces(\"avg\", {\n\t\tkind: \"codec\",\n\t\tcodecId\n\t}, SQLITE_REAL_CODEC_ID)),\n\t...orderingDescriptors(\"min\"),\n\t...orderingDescriptors(\"max\")\n];\n//#endregion\nexport { sqliteAggregateDescriptors };\n\n//# sourceMappingURL=aggregates.mjs.map"],"mappings":";;;;;AAKA,MAAM,kBAAkB,WAAW,WAAW;CAC7C;CACA;CACA,QAAQ,EAAE,MAAM,OAAO;CACvB,UAAU;AACX;;;;;;;;;;;;;;AAcA,MAAM,oBAAoB,eAAe,EAAE,WAAW,SAAS,GAAG,IAAI,cAAc,WAAW,IAAI,GAAG,MAAM;;AAE5G,MAAM,sBAAsB,CAAC,wBAAwB,6BAA6B;;AAElF,MAAM,YAAY,WAAW,OAAO,aAAa;CAChD;CACA;CACA,QAAQ;EACP,MAAM;EACN;CACD;CACA,UAAU;CACV,GAAG,UAAU,SAAS,oBAAoB,SAAS,OAAO,IAAI,iBAAiB,SAAS,IAAI,KAAK,CAAC;AACnG;;AAEA,MAAM,eAAe,WAAW,OAAO,SAAS,WAAW;CAC1D;CACA;CACA,QAAQ;EACP,MAAM;EACN;CACD;CACA,UAAU;CACV;AACD;;AAEA,MAAM,iBAAiB;CACtB;CACA;CACA;CACA;AACD;;AAEA,MAAM,cAAc,CAAC,sBAAsB,kBAAkB;;;;AAI7D,MAAM,4BAA4B;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AACA,MAAM,uBAAuB,cAAc;CAC1C,eAAe,WAAW;EACzB,MAAM;EACN,OAAO;CACR,CAAC;CACD,eAAe,WAAW;EACzB,MAAM;EACN,OAAO;CACR,CAAC;CACD,GAAG,0BAA0B,KAAK,YAAY,eAAe,WAAW;EACvE,MAAM;EACN;CACD,CAAC,CAAC;CACF;EACC;EACA,OAAO;GACN,MAAM;GACN,SAAS;EACV;EACA,QAAQ,EAAE,MAAM,OAAO;EACvB,UAAU;EACV,OAAO,iBAAiB,SAAS;CAClC;AACD;;;;AAIA,MAAM,6BAA6B;CAClC;EACC,WAAW;EACX,OAAO,EAAE,MAAM,MAAM;EACrB,QAAQ;GACP,MAAM;GACN,SAAS;EACV;EACA,UAAU;EACV,iBAAiB;EACjB,OAAO,iBAAiB,OAAO;CAChC;CACA;EACC,WAAW;EACX,OAAO,EAAE,MAAM,MAAM;EACrB,QAAQ;GACP,MAAM;GACN,SAAS;EACV;EACA,UAAU;EACV,iBAAiB;EACjB,OAAO,iBAAiB,OAAO;CAChC;CACA,GAAG,eAAe,KAAK,YAAY,SAAS,OAAO;EAClD,MAAM;EACN;CACD,GAAG,6BAA6B,CAAC;CACjC,GAAG,eAAe,KAAK,YAAY,YAAY,aAAa;EAC3D,MAAM;EACN;CACD,GAAG,wBAAwB,iBAAiB,KAAK,CAAC,CAAC;CACnD,GAAG,YAAY,KAAK,YAAY,SAAS,OAAO;EAC/C,MAAM;EACN;CACD,GAAG,oBAAoB,CAAC;CACxB,GAAG,CAAC,GAAG,gBAAgB,GAAG,WAAW,CAAC,CAAC,KAAK,YAAY,SAAS,OAAO;EACvE,MAAM;EACN;CACD,GAAG,oBAAoB,CAAC;CACxB,GAAG,oBAAoB,KAAK;CAC5B,GAAG,oBAAoB,KAAK;AAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-descriptor-DuW-d9ef-BBRBN0Ri.mjs";
|
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":";;;;;AAKA,MAAM,+BAA+B;AACrC,IAAI,wBAAwB,cAAc,oBAAoB;CAC7D,iBAAiB;CACjB,YAAY,YAAY,KAAK;EAC5B,IAAI,IAAI,SAAS,MAAM,MAAM,gBAAgB,8CAA8C,UAAU,IAAI,QAAQ,0FAA0F;GAC1M,KAAK;GACL,KAAK;GACL,MAAM,EAAE,SAAS,IAAI,QAAQ;EAC9B,CAAC;EACD,OAAO,KAAK,eAAe,YAAY,KAAK,eAAe,GAAG,CAAC;CAChE;CACA,eAAe,KAAK;EACnB,OAAO,UAAU,wBAAwB,MAAM,GAAG,CAAC;CACpD;AACD;AACA,IAAI,+BAA+B,cAAc,sBAAsB;CACtE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,YAAY,YAAY,SAAS;EAChC,MAAM;EACN,KAAK,UAAU;EACf,KAAK,WAAW,QAAQ,SAAS;EACjC,KAAK,UAAU,WAAW;EAC1B,KAAK,SAAS,WAAW;EACzB,KAAK,eAAe,UAAU,QAAQ,SAAS,MAAM;EACrD,MAAM,mBAAmB,WAAW;EACpC,IAAI,qBAAqB,KAAK,GAAG,KAAK,oBAAoB,WAAW,iBAAiB,KAAK,YAAY,MAAM;EAC7G,MAAM,kBAAkB,WAAW;EACnC,IAAI,oBAAoB,KAAK,GAAG,KAAK,mBAAmB,WAAW,gBAAgB,KAAK,YAAY,MAAM;EAC1G,IAAI,WAAW,uBAAuB,KAAK,GAAG,MAAM,IAAI,cAAc,GAAG,WAAW,QAAQ,2NAA2N;EACvT,IAAI,QAAQ,uBAAuB,KAAK,GAAG,KAAK,qBAAqB,QAAQ;CAC9E;CACA,WAAW,WAAW,KAAK,QAAQ,QAAQ,MAAM,KAAK,QAAQ,UAAU,MAAM;CAC9E,eAAe,YAAY,QAAQ;EAClC,OAAO,KAAK,QAAQ,eAAe,YAAY,MAAM;CACtD;AACD;AACA,SAAS,YAAY,YAAY,SAAS;CACzC,OAAO,UAAU,IAAI,6BAA6B,YAAY,OAAO,CAAC;AACvE;AACA,SAAS,mBAAmB,aAAa;CACxC,OAAO;AACR;AACA,SAAS,wBAAwB,OAAO;CACvC,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,oBAAoB,SAAS,MAAM,mBAAmB,gCAAgC,aAAa,SAAS,OAAO,MAAM,YAAY,YAAY,YAAY,SAAS,MAAM,QAAQ,MAAM,MAAM,KAAK,kBAAkB,UAAU,MAAM,iBAAiB,KAAK,KAAK,aAAa,MAAM,YAAY,KAAK,eAAe,MAAM,gBAAgB,aAAa,MAAM,aAAa,YAAY,KAAK,cAAc,MAAM,aAAa,gBAAgB,OAAO,MAAM,aAAa,YAAY,CAAC,aAAa,eAAe,qBAAqB,SAAS,OAAO,MAAM,oBAAoB,aAAa,aAAa,SAAS,OAAO,MAAM,YAAY,cAAc,iBAAiB,SAAS,OAAO,MAAM,gBAAgB;AACvuB;AACA,SAAS,aAAa,OAAO;CAC5B,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,OAAO,UAAU;AACxE;AACA,IAAI,oCAAoC,MAAM;CAC7C;CACA,YAAY,aAAa;EACxB,KAAKA,eAAe;EACpB,OAAO,OAAO,IAAI;CACnB;CACA,cAAc,SAAS;EACtB,OAAO,KAAKA,aAAa,IAAI,OAAO;CACrC;CACA,CAAC,SAAS;EACT,OAAO,KAAKA,aAAa,OAAO;CACjC;AACD;AACA,SAAS,mCAAmC,aAAa;CACxD,MAAM,uBAAuB,IAAI,IAAI;CACrC,KAAK,MAAM,cAAc,aAAa;EACrC,IAAI,CAAC,wBAAwB,UAAU,GAAG;GACzC,MAAM,UAAU,iBAAiB,UAAU;GAC3C,MAAM,gBAAgB,oCAAoC,qBAAqB,QAAQ,4CAA4C;IAClI,KAAK;IACL,KAAK;IACL,MAAM,EAAE,QAAQ;GACjB,CAAC;EACF;EACA,IAAI,KAAK,IAAI,WAAW,OAAO,GAAG,MAAM,gBAAgB,2BAA2B,yCAAyC,WAAW,QAAQ,KAAK;GACnJ,KAAK;GACL,KAAK;GACL,MAAM;IACL,SAAS,WAAW;IACpB,QAAQ;GACT;EACD,CAAC;EACD,KAAK,IAAI,WAAW,SAAS,UAAU;CACxC;CACA,OAAO,IAAI,kCAAkC,IAAI;AAClD;AACA,SAAS,iBAAiB,OAAO;CAChC,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,aAAa,SAAS,OAAO,MAAM,YAAY,WAAW,MAAM,UAAU;AACjI"}
|
|
@@ -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,23 @@
|
|
|
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-CH8Nqk89.d.mts
|
|
3
|
+
//#region src/core/codec-ids.d.ts
|
|
4
|
+
declare const SQLITE_TEXT_CODEC_ID: "sqlite/text@1";
|
|
5
|
+
declare const SQLITE_INTEGER_CODEC_ID: "sqlite/integer@1";
|
|
6
|
+
declare const SQLITE_REAL_CODEC_ID: "sqlite/real@1";
|
|
7
|
+
declare const SQLITE_BLOB_CODEC_ID: "sqlite/blob@1";
|
|
8
|
+
declare const SQLITE_DATETIME_CODEC_ID: "sqlite/datetime@1";
|
|
9
|
+
declare const SQLITE_JSON_CODEC_ID: "sqlite/json@1";
|
|
10
|
+
declare const SQLITE_BIGINT_CODEC_ID: "sqlite/bigint@1";
|
|
11
|
+
declare const SQLITE_BIGINT_NUMBER_CODEC_ID: "sqlite/bigintnumber@1";
|
|
12
|
+
declare const SQLITE_DATETIME_TEMPORAL_CODEC_ID: "sqlite/datetime-temporal@1";
|
|
13
|
+
declare const SQLITE_DATETIME_STRING_CODEC_ID: "sqlite/datetime-string@1";
|
|
14
|
+
declare const SQLITE_DATE_STRING_CODEC_ID: "sqlite/date-string@1";
|
|
15
|
+
declare const SQLITE_DATE_TEMPORAL_CODEC_ID: "sqlite/date-temporal@1";
|
|
16
|
+
declare const SQLITE_TIME_STRING_CODEC_ID: "sqlite/time-string@1";
|
|
17
|
+
declare const SQLITE_TIME_TEMPORAL_CODEC_ID: "sqlite/time-temporal@1";
|
|
18
|
+
declare const SQLITE_DURATION_STRING_CODEC_ID: "sqlite/duration-string@1";
|
|
19
|
+
declare const SQLITE_DECIMAL_CODEC_ID: "sqlite/decimal@1";
|
|
20
|
+
declare const SQLITE_BOOLEAN_CODEC_ID: "sqlite/boolean@1";
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SQL_VARCHAR_CODEC_ID as S, SQLITE_TIME_TEMPORAL_CODEC_ID as _, SQLITE_DATETIME_CODEC_ID as a, SQL_INT_CODEC_ID as b, SQLITE_DATE_STRING_CODEC_ID as c, SQLITE_DURATION_STRING_CODEC_ID as d, SQLITE_INTEGER_CODEC_ID as f, SQLITE_TIME_STRING_CODEC_ID as g, SQLITE_TEXT_CODEC_ID as h, SQLITE_BOOLEAN_CODEC_ID as i, SQLITE_DATE_TEMPORAL_CODEC_ID as l, SQLITE_REAL_CODEC_ID as m, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_DATETIME_STRING_CODEC_ID as o, SQLITE_JSON_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_DATETIME_TEMPORAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQLITE_DECIMAL_CODEC_ID as u, SQL_CHAR_CODEC_ID as v, SQL_RAW_CODEC_ID as x, SQL_FLOAT_CODEC_ID as y };
|
|
23
|
+
//# sourceMappingURL=codec-ids-CH8Nqk89-LNT9hksu.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-CH8Nqk89-LNT9hksu.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-ids-CH8Nqk89.d.mts"],"mappings":";;;cAEc;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA;cACA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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-CTshXpbg.mjs
|
|
3
|
+
const SQLITE_TEXT_CODEC_ID = "sqlite/text@1";
|
|
4
|
+
const SQLITE_INTEGER_CODEC_ID = "sqlite/integer@1";
|
|
5
|
+
const SQLITE_REAL_CODEC_ID = "sqlite/real@1";
|
|
6
|
+
const SQLITE_BLOB_CODEC_ID = "sqlite/blob@1";
|
|
7
|
+
const SQLITE_DATETIME_CODEC_ID = "sqlite/datetime@1";
|
|
8
|
+
const SQLITE_JSON_CODEC_ID = "sqlite/json@1";
|
|
9
|
+
const SQLITE_BIGINT_CODEC_ID = "sqlite/bigint@1";
|
|
10
|
+
const SQLITE_BIGINT_NUMBER_CODEC_ID = "sqlite/bigintnumber@1";
|
|
11
|
+
const SQLITE_DATETIME_TEMPORAL_CODEC_ID = "sqlite/datetime-temporal@1";
|
|
12
|
+
const SQLITE_DATETIME_STRING_CODEC_ID = "sqlite/datetime-string@1";
|
|
13
|
+
const SQLITE_DATE_STRING_CODEC_ID = "sqlite/date-string@1";
|
|
14
|
+
const SQLITE_DATE_TEMPORAL_CODEC_ID = "sqlite/date-temporal@1";
|
|
15
|
+
const SQLITE_TIME_STRING_CODEC_ID = "sqlite/time-string@1";
|
|
16
|
+
const SQLITE_TIME_TEMPORAL_CODEC_ID = "sqlite/time-temporal@1";
|
|
17
|
+
const SQLITE_DURATION_STRING_CODEC_ID = "sqlite/duration-string@1";
|
|
18
|
+
const SQLITE_DECIMAL_CODEC_ID = "sqlite/decimal@1";
|
|
19
|
+
const SQLITE_BOOLEAN_CODEC_ID = "sqlite/boolean@1";
|
|
20
|
+
//#endregion
|
|
21
|
+
export { SQL_VARCHAR_CODEC_ID as S, SQLITE_TIME_TEMPORAL_CODEC_ID as _, SQLITE_DATETIME_CODEC_ID as a, SQL_INT_CODEC_ID as b, SQLITE_DATE_STRING_CODEC_ID as c, SQLITE_DURATION_STRING_CODEC_ID as d, SQLITE_INTEGER_CODEC_ID as f, SQLITE_TIME_STRING_CODEC_ID as g, SQLITE_TEXT_CODEC_ID as h, SQLITE_BOOLEAN_CODEC_ID as i, SQLITE_DATE_TEMPORAL_CODEC_ID as l, SQLITE_REAL_CODEC_ID as m, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_DATETIME_STRING_CODEC_ID as o, SQLITE_JSON_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_DATETIME_TEMPORAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQLITE_DECIMAL_CODEC_ID as u, SQL_CHAR_CODEC_ID as v, SQL_RAW_CODEC_ID as x, SQL_FLOAT_CODEC_ID as y };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=codec-ids-CTshXpbg-tcdbf_VC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-ids-CTshXpbg-tcdbf_VC.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-ids-CTshXpbg.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\";\nconst SQLITE_DATETIME_TEMPORAL_CODEC_ID = \"sqlite/datetime-temporal@1\";\nconst SQLITE_DATETIME_STRING_CODEC_ID = \"sqlite/datetime-string@1\";\nconst SQLITE_DATE_STRING_CODEC_ID = \"sqlite/date-string@1\";\nconst SQLITE_DATE_TEMPORAL_CODEC_ID = \"sqlite/date-temporal@1\";\nconst SQLITE_TIME_STRING_CODEC_ID = \"sqlite/time-string@1\";\nconst SQLITE_TIME_TEMPORAL_CODEC_ID = \"sqlite/time-temporal@1\";\nconst SQLITE_DURATION_STRING_CODEC_ID = \"sqlite/duration-string@1\";\nconst SQLITE_DECIMAL_CODEC_ID = \"sqlite/decimal@1\";\nconst SQLITE_BOOLEAN_CODEC_ID = \"sqlite/boolean@1\";\n//#endregion\nexport { SQL_VARCHAR_CODEC_ID as S, SQLITE_TIME_TEMPORAL_CODEC_ID as _, SQLITE_DATETIME_CODEC_ID as a, SQL_INT_CODEC_ID as b, SQLITE_DATE_STRING_CODEC_ID as c, SQLITE_DURATION_STRING_CODEC_ID as d, SQLITE_INTEGER_CODEC_ID as f, SQLITE_TIME_STRING_CODEC_ID as g, SQLITE_TEXT_CODEC_ID as h, SQLITE_BOOLEAN_CODEC_ID as i, SQLITE_DATE_TEMPORAL_CODEC_ID as l, SQLITE_REAL_CODEC_ID as m, SQLITE_BIGINT_NUMBER_CODEC_ID as n, SQLITE_DATETIME_STRING_CODEC_ID as o, SQLITE_JSON_CODEC_ID as p, SQLITE_BLOB_CODEC_ID as r, SQLITE_DATETIME_TEMPORAL_CODEC_ID as s, SQLITE_BIGINT_CODEC_ID as t, SQLITE_DECIMAL_CODEC_ID as u, SQL_CHAR_CODEC_ID as v, SQL_RAW_CODEC_ID as x, SQL_FLOAT_CODEC_ID as y };\n\n//# sourceMappingURL=codec-ids-CTshXpbg.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;AACtC,MAAM,oCAAoC;AAC1C,MAAM,kCAAkC;AACxC,MAAM,8BAA8B;AACpC,MAAM,gCAAgC;AACtC,MAAM,8BAA8B;AACpC,MAAM,gCAAgC;AACtC,MAAM,kCAAkC;AACxC,MAAM,0BAA0B;AAChC,MAAM,0BAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-ids-CH8Nqk89-LNT9hksu.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./codec-types-CBLOfyrr.mjs";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { t as AdaptedSqliteCodecDescriptor } from "./codec-descriptor-DuW-d9ef-BBRBN0Ri.mjs";
|
|
2
|
+
import "./codec-descriptor-3oN7rtrW-Cc_u7U5-.mjs";
|
|
3
|
+
import { _ as SqliteRealDescriptor, a as SqliteBlobDescriptor, b as SqliteTimeTemporalDescriptor, c as SqliteDateStringDescriptor, d as SqliteDatetimeStringDescriptor, f as SqliteDatetimeTemporalDescriptor, g as SqliteJsonDescriptor, h as SqliteIntegerDescriptor, i as SqliteBigintNumberDescriptor, l as SqliteDateTemporalDescriptor, m as SqliteDurationStringDescriptor, o as SqliteBooleanDescriptor, p as SqliteDecimalDescriptor, r as SqliteBigintDescriptor, u as SqliteDatetimeDescriptor, v as SqliteTextDescriptor, y as SqliteTimeStringDescriptor } from "./codecs-DBQsDiM--Cy-r45H3.mjs";
|
|
4
|
+
import { ExtractCodecTypes } from "@prisma/orm-family-sql/relational-core/ast";
|
|
5
|
+
//#region ../../../3-targets/sqlite/1-target/dist/codec-types-Ci-h2uxN.d.mts
|
|
6
|
+
//#region src/exports/codec-types.d.ts
|
|
7
|
+
declare const codecDescriptorMap: {
|
|
8
|
+
readonly char: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlCharDescriptor>;
|
|
9
|
+
readonly varchar: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlVarcharDescriptor>;
|
|
10
|
+
readonly int: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlIntDescriptor>;
|
|
11
|
+
readonly float: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlFloatDescriptor>;
|
|
12
|
+
readonly text: SqliteTextDescriptor;
|
|
13
|
+
readonly integer: SqliteIntegerDescriptor;
|
|
14
|
+
readonly real: SqliteRealDescriptor;
|
|
15
|
+
readonly blob: SqliteBlobDescriptor;
|
|
16
|
+
readonly datetime: SqliteDatetimeDescriptor;
|
|
17
|
+
readonly 'datetime-temporal': SqliteDatetimeTemporalDescriptor;
|
|
18
|
+
readonly 'datetime-string': SqliteDatetimeStringDescriptor;
|
|
19
|
+
readonly 'date-string': SqliteDateStringDescriptor;
|
|
20
|
+
readonly 'date-temporal': SqliteDateTemporalDescriptor;
|
|
21
|
+
readonly 'time-string': SqliteTimeStringDescriptor;
|
|
22
|
+
readonly 'time-temporal': SqliteTimeTemporalDescriptor;
|
|
23
|
+
readonly 'duration-string': SqliteDurationStringDescriptor;
|
|
24
|
+
readonly json: SqliteJsonDescriptor;
|
|
25
|
+
readonly bigint: SqliteBigintDescriptor;
|
|
26
|
+
readonly bigintnumber: SqliteBigintNumberDescriptor;
|
|
27
|
+
readonly raw: AdaptedSqliteCodecDescriptor<import("@prisma/orm-family-sql/relational-core/ast").SqlRawDescriptor>;
|
|
28
|
+
readonly decimal: SqliteDecimalDescriptor;
|
|
29
|
+
readonly boolean: SqliteBooleanDescriptor;
|
|
30
|
+
};
|
|
31
|
+
type Resolve<T> = { readonly [K in keyof T]: { readonly [P in keyof T[K]]: T[K][P]; }; };
|
|
32
|
+
type CodecTypes = Resolve<ExtractCodecTypes<typeof codecDescriptorMap>>;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { CodecTypes as t };
|
|
35
|
+
//# sourceMappingURL=codec-types-Ci-h2uxN-41PNpdNL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codec-types-Ci-h2uxN-41PNpdNL.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codec-types-Ci-h2uxN.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,qBAAqB;WACrB,mBAAmB;WACnB,eAAe;WACf,iBAAiB;WACjB,eAAe;WACf,iBAAiB;WACjB,mBAAmB;WACnB,MAAM;WACN,QAAQ;WACR,cAAc;WACd,KAAK,yEAAyE;WAC9E,SAAS;WACT,SAAS;;KAEf,QAAQ,iBAAiB,WAAW,gBAAgB,WAAW,EAAE,KAAK,EAAE,GAAG;KAC3E,aAAa,QAAQ,yBAAyB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as buildSqliteCodecDescriptorRegistry } from "./codec-descriptor-DRmF-crq-BALI5Jtz.mjs";
|
|
2
|
+
import { t as codecDescriptors } from "./codecs-izq9l1NG-Bb2RnXsx.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-BO3frExA.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codecs-BO3frExA.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/codecs.mjs"],"sourcesContent":["import { _ as sqliteDurationStringColumn, a as sqliteBigintNumberColumn, b as sqliteBooleanColumn, c as sqliteIntegerColumn, d as sqliteTextColumn, f as sqliteDecimalColumn, g as sqliteDatetimeTemporalColumn, h as sqliteDatetimeStringColumn, i as sqliteBigintColumn, l as sqliteJsonColumn, m as sqliteDateTemporalColumn, o as sqliteBlobColumn, p as sqliteDateStringColumn, r as jsonDocumentRetag, s as sqliteDatetimeColumn, t as codecDescriptors, u as sqliteRealColumn, v as sqliteTimeStringColumn, y as sqliteTimeTemporalColumn } from \"./codecs-izq9l1NG.mjs\";\nimport { n as buildSqliteCodecDescriptorRegistry } from \"./codec-descriptor-DRmF-crq.mjs\";\nimport { o as sqliteNowExpressionFor, r as SQLITE_NOW_EXPRESSION } from \"./datetime-text-DPjoF6HJ.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, sqliteBooleanColumn, sqliteCodecDescriptorRegistry, sqliteCodecRegistry, sqliteDateStringColumn, sqliteDateTemporalColumn, sqliteDatetimeColumn, sqliteDatetimeStringColumn, sqliteDatetimeTemporalColumn, sqliteDecimalColumn, sqliteDurationStringColumn, sqliteIntegerColumn, sqliteJsonColumn, sqliteNowExpressionFor, sqliteRealColumn, sqliteTextColumn, sqliteTimeStringColumn, sqliteTimeTemporalColumn };\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"}
|