@prisma/orm-family-sql 8.0.0-rc.14-dev.28 → 8.0.0-rc.14-dev.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{aggregate-descriptor-registry-CJF2KxUb.mjs → aggregate-descriptor-registry-B3RG0Zom.mjs} +2 -2
- package/dist/{aggregate-descriptor-registry-CJF2KxUb.mjs.map → aggregate-descriptor-registry-B3RG0Zom.mjs.map} +1 -1
- package/dist/{ast-dPjHeaNs.d.mts → ast-BUbHXpzG.d.mts} +7 -105
- package/dist/ast-BUbHXpzG.d.mts.map +1 -0
- package/dist/ast-CQZn-6Wd.mjs +310 -0
- package/dist/ast-CQZn-6Wd.mjs.map +1 -0
- package/dist/{authoring-entity-types-CZ-vdwYS-BfyaoH53.d.mts → authoring-entity-types-CZ-vdwYS-C25VGQVB.d.mts} +2 -2
- package/dist/{authoring-entity-types-CZ-vdwYS-BfyaoH53.d.mts.map → authoring-entity-types-CZ-vdwYS-C25VGQVB.d.mts.map} +1 -1
- package/dist/{authoring-type-constructors-DIyheCzv-BSrAEZsD.mjs → authoring-type-constructors-dihiQslc-hldmqa1r.mjs} +22 -28
- package/dist/authoring-type-constructors-dihiQslc-hldmqa1r.mjs.map +1 -0
- package/dist/builder.d.mts +2 -2
- package/dist/builder__runtime.d.mts +6 -6
- package/dist/builder__runtime.mjs +3 -3
- package/dist/builder__types.d.mts +2 -2
- package/dist/{codec-descriptor-registry-u6_e6WfA.mjs → codec-descriptor-registry-BW0REwkz.mjs} +2 -11
- package/dist/{codec-descriptor-registry-u6_e6WfA.mjs.map → codec-descriptor-registry-BW0REwkz.mjs.map} +1 -1
- package/dist/{config-types-DNRmpGNL.mjs → config-types-ump1oN82.mjs} +8 -4
- package/dist/config-types-ump1oN82.mjs.map +1 -0
- package/dist/{contract-builder-Br5TlHMh.d.mts → contract-builder-BXxFihYc.d.mts} +16 -11
- package/dist/contract-builder-BXxFihYc.d.mts.map +1 -0
- package/dist/{contract-builder-C3MYW38z.mjs → contract-builder-CQvwPGAW.mjs} +29 -24
- package/dist/contract-builder-CQvwPGAW.mjs.map +1 -0
- package/dist/contract-emitter.d.mts +1 -1
- package/dist/contract-emitter.mjs +1 -1
- package/dist/contract-prisma7__provider.d.mts +2 -1
- package/dist/contract-prisma7__provider.d.mts.map +1 -1
- package/dist/contract-prisma7__provider.mjs +16 -9
- package/dist/contract-prisma7__provider.mjs.map +1 -1
- package/dist/contract-psl.d.mts +4 -4
- package/dist/contract-psl.d.mts.map +1 -1
- package/dist/contract-psl.mjs +1 -1
- package/dist/contract-psl__attribute-specs.d.mts +2 -2
- package/dist/contract-psl__attribute-specs.mjs +1 -1
- package/dist/contract-psl__provider.mjs +2 -2
- package/dist/contract-psl__provider.mjs.map +1 -1
- package/dist/contract-ts.d.mts +1 -1
- package/dist/contract-ts.mjs +3 -3
- package/dist/contract-ts__config-types.mjs +1 -1
- package/dist/contract-ts__contract-builder.d.mts +1 -1
- package/dist/contract-ts__contract-builder.mjs +2 -2
- package/dist/contract.d.mts +5 -3
- package/dist/contract.mjs +11 -8
- package/dist/contract__data-type-support.d.mts +2 -0
- package/dist/contract__data-type-support.mjs +2 -0
- package/dist/contract__data-type.d.mts +2 -0
- package/dist/contract__data-type.mjs +3 -0
- package/dist/contract__entity-kinds.mjs +1 -1
- package/dist/contract__factories.mjs +1 -1
- package/dist/contract__sql-expression.d.mts +1 -1
- package/dist/contract__sql-expression.mjs +1 -1
- package/dist/contract__types.mjs +3 -3
- package/dist/contract__validators.d.mts +1 -1
- package/dist/contract__validators.mjs +2 -2
- package/dist/{control-BYOcSVih.mjs → control-BYT1Lgtm.mjs} +76 -117
- package/dist/control-BYT1Lgtm.mjs.map +1 -0
- package/dist/{control-DL9y6GfG.d.mts → control-Bpk8PtSL.d.mts} +40 -128
- package/dist/control-Bpk8PtSL.d.mts.map +1 -0
- package/dist/{control-adapter-WoXvPNj4-D64oWh9I.d.mts → control-adapter-BVN98SzR-C-H_T7s-.d.mts} +8 -20
- package/dist/control-adapter-BVN98SzR-C-H_T7s-.d.mts.map +1 -0
- package/dist/control-adapter-DSGwSagr.d.mts +1 -0
- package/dist/data-type-CAPmGXg9.mjs +297 -0
- package/dist/data-type-CAPmGXg9.mjs.map +1 -0
- package/dist/data-type-CpqSDmR_.d.mts +113 -0
- package/dist/data-type-CpqSDmR_.d.mts.map +1 -0
- package/dist/data-type-support-B_Dr1cxB.d.mts +92 -0
- package/dist/data-type-support-B_Dr1cxB.d.mts.map +1 -0
- package/dist/{ast-5hifzBHC.mjs → data-type-support-rpD1jyZd.mjs} +6 -329
- package/dist/data-type-support-rpD1jyZd.mjs.map +1 -0
- package/dist/{db-DLjWu9-f-BjAFEKe9.d.mts → db-DLjWu9-f-T8QbxDGY.d.mts} +6 -6
- package/dist/{db-DLjWu9-f-BjAFEKe9.d.mts.map → db-DLjWu9-f-T8QbxDGY.d.mts.map} +1 -1
- package/dist/{ddl-types-B48YmQSt-DLCUHORB.d.mts → ddl-types-BUqZdoZK-vyWnW2PW.d.mts} +3 -3
- package/dist/{ddl-types-B48YmQSt-DLCUHORB.d.mts.map → ddl-types-BUqZdoZK-vyWnW2PW.d.mts.map} +1 -1
- package/dist/{derived-checks-C_y1rk6O-DwCaGICl.mjs → derived-checks-CILnJKoa-D42YRW01.mjs} +48 -25
- package/dist/derived-checks-CILnJKoa-D42YRW01.mjs.map +1 -0
- package/dist/diff-B16bL_IR.mjs.map +1 -1
- package/dist/{diff-CJI5hKWL.d.mts → diff-BsHizC0z.d.mts} +6 -6
- package/dist/{diff-CJI5hKWL.d.mts.map → diff-BsHizC0z.d.mts.map} +1 -1
- package/dist/{dist-BdePIXOu.mjs → dist-C_HYPisk.mjs} +3 -3
- package/dist/{dist-BdePIXOu.mjs.map → dist-C_HYPisk.mjs.map} +1 -1
- package/dist/{entity-kinds-ChX-owgJ-DqGkW6Dq.mjs → entity-kinds-BNQFeECV-BOJmOArY.mjs} +4 -4
- package/dist/{entity-kinds-ChX-owgJ-DqGkW6Dq.mjs.map → entity-kinds-BNQFeECV-BOJmOArY.mjs.map} +1 -1
- package/dist/{expression-n9sdM2RA.d.mts → expression-Bf_MkeQS.d.mts} +3 -3
- package/dist/{expression-n9sdM2RA.d.mts.map → expression-Bf_MkeQS.d.mts.map} +1 -1
- package/dist/{expression-vAEOvq7J.mjs → expression-Bv8X6-Qg.mjs} +2 -2
- package/dist/{expression-vAEOvq7J.mjs.map → expression-Bv8X6-Qg.mjs.map} +1 -1
- package/dist/{factories-BnzIZxE1.mjs → factories-D6haP7by.mjs} +2 -2
- package/dist/{factories-BnzIZxE1.mjs.map → factories-D6haP7by.mjs.map} +1 -1
- package/dist/family.d.mts +13 -13
- package/dist/family.mjs +7 -7
- package/dist/family__control-adapter.d.mts +2 -2
- package/dist/family__control.d.mts +5 -5
- package/dist/family__control.mjs +4 -4
- package/dist/family__diff.d.mts +3 -3
- package/dist/family__diff.mjs +1 -1
- package/dist/family__ir.mjs +1 -1
- package/dist/family__migration.d.mts +1 -1
- package/dist/family__pack.d.mts +1 -1
- package/dist/family__pack.mjs +2 -2
- package/dist/family__pack.mjs.map +1 -1
- package/dist/family__psl-build.d.mts +2 -2
- package/dist/family__psl-build.mjs +1 -1
- package/dist/family__psl-infer.d.mts +1 -1
- package/dist/family__verify.mjs +1 -1
- package/dist/{index-BoQtw7lz.d.mts → index-D2ho4por.d.mts} +9 -9
- package/dist/{index-BoQtw7lz.d.mts.map → index-D2ho4por.d.mts.map} +1 -1
- package/dist/index-type-validation-COH4d78M.mjs.map +1 -1
- package/dist/{interpreter-C8cP92FD-BfjuQvb1.mjs → interpreter-CDflex9x-Bx84tcl5.mjs} +33 -29
- package/dist/interpreter-CDflex9x-Bx84tcl5.mjs.map +1 -0
- package/dist/{middleware-CuGBptK0-xrXqWhc7.d.mts → middleware-BtMX6nSF-DUnzMyGl.d.mts} +3 -3
- package/dist/{middleware-CuGBptK0-xrXqWhc7.d.mts.map → middleware-BtMX6nSF-DUnzMyGl.d.mts.map} +1 -1
- package/dist/middleware-pBMsszaq.d.mts +1 -0
- package/dist/{migration-CSEh4QPu.d.mts → migration-oet2BBxc.d.mts} +2 -2
- package/dist/{migration-CSEh4QPu.d.mts.map → migration-oet2BBxc.d.mts.map} +1 -1
- package/dist/numeral-text-Cqu87pVe-DJCqBaSC.mjs +20 -0
- package/dist/numeral-text-Cqu87pVe-DJCqBaSC.mjs.map +1 -0
- package/dist/orm-client.d.mts +11 -11
- package/dist/orm-client.mjs +6 -6
- package/dist/{pack-C3mqZevM.d.mts → pack-C-JTs3HQ.d.mts} +2 -16
- package/dist/pack-C-JTs3HQ.d.mts.map +1 -0
- package/dist/plan-BbkBYyGR.d.mts +2 -0
- package/dist/{plan-B7g2kDfQ-Dth0BeTe.d.mts → plan-BlQITcbP-DvbDlHXA.d.mts} +3 -3
- package/dist/plan-BlQITcbP-DvbDlHXA.d.mts.map +1 -0
- package/dist/{prepared-statement-Cv54gpY_-DbHPSN5Q.d.mts → prepared-statement-Cv54gpY_-dg9Qr8sK.d.mts} +14 -14
- package/dist/{prepared-statement-Cv54gpY_-DbHPSN5Q.d.mts.map → prepared-statement-Cv54gpY_-dg9Qr8sK.d.mts.map} +1 -1
- package/dist/{psl-build-zkIJwkdq.mjs → psl-build-B6nw6MAM.mjs} +18 -17
- package/dist/psl-build-B6nw6MAM.mjs.map +1 -0
- package/dist/{psl-build-BnM1ZTyK.d.mts → psl-build-BrW7lQMO.d.mts} +2 -2
- package/dist/psl-build-BrW7lQMO.d.mts.map +1 -0
- package/dist/{psl-column-resolution-sNpXQygQ-BBo4tqwO.d.mts → psl-column-resolution-BegCa1-t-BJJ9WB1c.d.mts} +4 -5
- package/dist/psl-column-resolution-BegCa1-t-BJJ9WB1c.d.mts.map +1 -0
- package/dist/{psl-field-resolution-_o74AUE4-C-vTNklI.mjs → psl-field-resolution-CKMm6Gx0-CdzpWIV5.mjs} +69 -17
- package/dist/psl-field-resolution-CKMm6Gx0-CdzpWIV5.mjs.map +1 -0
- package/dist/{psl-infer-BwbmOInx.d.mts → psl-infer-DzH2Khty.d.mts} +4 -4
- package/dist/{psl-infer-BwbmOInx.d.mts.map → psl-infer-DzH2Khty.d.mts.map} +1 -1
- package/dist/query-lane-context-CLtywrTY.d.mts +1 -0
- package/dist/{query-lane-context-BSmWfohZ-Jn0AbOQt.d.mts → query-lane-context-OSV9X636-CcPv1TZj.d.mts} +6 -10
- package/dist/query-lane-context-OSV9X636-CcPv1TZj.d.mts.map +1 -0
- package/dist/relational-core.d.mts +12 -12
- package/dist/relational-core.mjs +4 -4
- package/dist/relational-core__aggregate-descriptor-registry.d.mts +1 -1
- package/dist/relational-core__aggregate-descriptor-registry.mjs +1 -1
- package/dist/relational-core__ast.d.mts +4 -4
- package/dist/relational-core__ast.mjs +3 -3
- package/dist/relational-core__codec-descriptor-registry.d.mts +2 -2
- package/dist/relational-core__codec-descriptor-registry.mjs +1 -1
- package/dist/relational-core__contract-free.d.mts +4 -2
- package/dist/relational-core__contract-free.d.mts.map +1 -1
- package/dist/relational-core__contract-free.mjs +10 -4
- package/dist/relational-core__contract-free.mjs.map +1 -1
- package/dist/relational-core__expression.d.mts +1 -1
- package/dist/relational-core__expression.mjs +1 -1
- package/dist/relational-core__middleware.d.mts +2 -2
- package/dist/relational-core__plan.d.mts +3 -3
- package/dist/relational-core__query-lane-context.d.mts +2 -2
- package/dist/relational-core__types.d.mts +2 -2
- package/dist/runtime.d.mts +4 -4
- package/dist/runtime.mjs +6 -6
- package/dist/runtime__internal__prepared-query.d.mts +1 -1
- package/dist/{schema-differ-DpG_gnur-CUh9eZM-.d.mts → schema-differ-DpG_gnur-if2KDxZC.d.mts} +3 -3
- package/dist/{schema-differ-DpG_gnur-CUh9eZM-.d.mts.map → schema-differ-DpG_gnur-if2KDxZC.d.mts.map} +1 -1
- package/dist/schema-ir.d.mts +2 -2
- package/dist/schema-ir.mjs +1 -1
- package/dist/schema-ir__types.d.mts +3 -3
- package/dist/schema-ir__types.mjs +1 -1
- package/dist/{schema-verify-Xmpe1PGb-Bcd_2avJ.mjs → schema-verify-lPfqY_aE-CZCO8my1.mjs} +32 -6
- package/dist/schema-verify-lPfqY_aE-CZCO8my1.mjs.map +1 -0
- package/dist/{serialized-index-B5X7s-oX-CVs8-5Rw.mjs → serialized-index-BeGqqsrC-PymnV1h-.mjs} +3 -3
- package/dist/{serialized-index-B5X7s-oX-CVs8-5Rw.mjs.map → serialized-index-BeGqqsrC-PymnV1h-.mjs.map} +1 -1
- package/dist/{sql-contract-serializer-C90xg7_q-C_Okh4NM.mjs → sql-contract-serializer-C90xg7_q-4UVEMTWO.mjs} +5 -5
- package/dist/{sql-contract-serializer-C90xg7_q-C_Okh4NM.mjs.map → sql-contract-serializer-C90xg7_q-4UVEMTWO.mjs.map} +1 -1
- package/dist/{sql-execution-plan-Db0j752I-dJ-JGxbD.d.mts → sql-execution-plan-CV6K4o9N-DAIvJbkb.d.mts} +3 -3
- package/dist/sql-execution-plan-CV6K4o9N-DAIvJbkb.d.mts.map +1 -0
- package/dist/{sql-expression-BXx0Ilj-.mjs → sql-expression-D7GsLgDM.mjs} +2 -2
- package/dist/{sql-expression-BXx0Ilj-.mjs.map → sql-expression-D7GsLgDM.mjs.map} +1 -1
- package/dist/{sql-expression-D_hbJOgM.d.mts → sql-expression-DE_MTt3T.d.mts} +2 -2
- package/dist/{sql-expression-D_hbJOgM.d.mts.map → sql-expression-DE_MTt3T.d.mts.map} +1 -1
- package/dist/{storage-table-ADhJ4Imk-CwcQVFXC.mjs → storage-table-BwwDKQkD-BN9cZrGX.mjs} +2 -2
- package/dist/{storage-table-ADhJ4Imk-CwcQVFXC.mjs.map → storage-table-BwwDKQkD-BN9cZrGX.mjs.map} +1 -1
- package/dist/{type-map-DpfnXzun-DZaSuJXh.d.mts → type-map-DmIbL4o--BfPMblbZ.d.mts} +4 -4
- package/dist/type-map-DmIbL4o--BfPMblbZ.d.mts.map +1 -0
- package/dist/{types-BPi4d3WI-D8PIEqBU.mjs → types-BLnsGaJf-m-qTW3ox.mjs} +3 -3
- package/dist/{types-BPi4d3WI-D8PIEqBU.mjs.map → types-BLnsGaJf-m-qTW3ox.mjs.map} +1 -1
- package/dist/{types-ByKpjyVh-CtYwWrbL.d.mts → types-CcGO_LSh-BKHiJvvA.d.mts} +8 -26
- package/dist/types-CcGO_LSh-BKHiJvvA.d.mts.map +1 -0
- package/dist/{types-Z-l6gAVD.mjs → types-Cn4JEguu.mjs} +2 -2
- package/dist/{types-Z-l6gAVD.mjs.map → types-Cn4JEguu.mjs.map} +1 -1
- package/dist/{types-DAoMCSPl-D2ajBTpK.mjs → types-CyPuXMTn-pumFirZ6.mjs} +4 -7
- package/dist/types-CyPuXMTn-pumFirZ6.mjs.map +1 -0
- package/dist/types-DZA5xxDT.d.mts +1 -0
- package/dist/{types-BzpC_V7p-DyBYmK1f.d.mts → types-Da1Y_OI7-BPyFwdFU.d.mts} +4 -43
- package/dist/types-Da1Y_OI7-BPyFwdFU.d.mts.map +1 -0
- package/dist/{types-BGHABElw-C5dqoVCg.d.mts → types-DpwLgzPO-Cb9nQ-Wt.d.mts} +6 -6
- package/dist/{types-BGHABElw-C5dqoVCg.d.mts.map → types-DpwLgzPO-Cb9nQ-Wt.d.mts.map} +1 -1
- package/dist/{types-Yui2yFf6-DYiGm9ET.d.mts → types-Dskga3R1-BtXuRmbf.d.mts} +3 -3
- package/dist/{types-Yui2yFf6-DYiGm9ET.d.mts.map → types-Dskga3R1-BtXuRmbf.d.mts.map} +1 -1
- package/dist/types-QvcS13Qc.d.mts +1 -0
- package/dist/{validators-D1wQns12.d.mts → validators-B-4g3vwP.d.mts} +2 -2
- package/dist/{validators-D1wQns12.d.mts.map → validators-B-4g3vwP.d.mts.map} +1 -1
- package/dist/{validators-Cx6UXIBf.mjs → validators-IGdAEEIM.mjs} +4 -4
- package/dist/{validators-Cx6UXIBf.mjs.map → validators-IGdAEEIM.mjs.map} +1 -1
- package/dist/{verify-BVk5bjdH-BXgGLM2U.mjs → verify-BVk5bjdH-dq5M4iIh.mjs} +2 -2
- package/dist/{verify-BVk5bjdH-BXgGLM2U.mjs.map → verify-BVk5bjdH-dq5M4iIh.mjs.map} +1 -1
- package/package.json +20 -18
- package/dist/ast-5hifzBHC.mjs.map +0 -1
- package/dist/ast-dPjHeaNs.d.mts.map +0 -1
- package/dist/authoring-type-constructors-DIyheCzv-BSrAEZsD.mjs.map +0 -1
- package/dist/config-types-DNRmpGNL.mjs.map +0 -1
- package/dist/contract-builder-Br5TlHMh.d.mts.map +0 -1
- package/dist/contract-builder-C3MYW38z.mjs.map +0 -1
- package/dist/control-BYOcSVih.mjs.map +0 -1
- package/dist/control-DL9y6GfG.d.mts.map +0 -1
- package/dist/control-adapter-C1hjk3Ic.d.mts +0 -1
- package/dist/control-adapter-WoXvPNj4-D64oWh9I.d.mts.map +0 -1
- package/dist/derived-checks-C_y1rk6O-DwCaGICl.mjs.map +0 -1
- package/dist/interpreter-C8cP92FD-BfjuQvb1.mjs.map +0 -1
- package/dist/middleware-CN4vQuOi.d.mts +0 -1
- package/dist/pack-C3mqZevM.d.mts.map +0 -1
- package/dist/plan-B7g2kDfQ-Dth0BeTe.d.mts.map +0 -1
- package/dist/plan-CrKSowWJ.d.mts +0 -2
- package/dist/psl-build-BnM1ZTyK.d.mts.map +0 -1
- package/dist/psl-build-zkIJwkdq.mjs.map +0 -1
- package/dist/psl-column-resolution-sNpXQygQ-BBo4tqwO.d.mts.map +0 -1
- package/dist/psl-field-resolution-_o74AUE4-C-vTNklI.mjs.map +0 -1
- package/dist/query-lane-context-BSmWfohZ-Jn0AbOQt.d.mts.map +0 -1
- package/dist/query-lane-context-DWdmmnrN.d.mts +0 -1
- package/dist/schema-verify-Xmpe1PGb-Bcd_2avJ.mjs.map +0 -1
- package/dist/sql-execution-plan-Db0j752I-dJ-JGxbD.d.mts.map +0 -1
- package/dist/type-map-DpfnXzun-DZaSuJXh.d.mts.map +0 -1
- package/dist/types-ByKpjyVh-CtYwWrbL.d.mts.map +0 -1
- package/dist/types-BzpC_V7p-DyBYmK1f.d.mts.map +0 -1
- package/dist/types-CQBRYgDW.d.mts +0 -1
- package/dist/types-DAoMCSPl-D2ajBTpK.mjs.map +0 -1
- package/dist/types-DdTdsdMn.d.mts +0 -1
package/dist/family__diff.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as computeStorageTypeVerdict, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue
|
|
1
|
+
import { a as computeStorageTypeVerdict, c as verifySqlSchemaByDiff, i as computeSqlDiffVerdict, n as classifyDiffSubjectGranularity, r as classifySqlDiffIssue } from "./schema-verify-lPfqY_aE-CZCO8my1.mjs";
|
|
2
2
|
import { t as arraysEqual } from "./diff-B16bL_IR.mjs";
|
|
3
3
|
export { arraysEqual, classifyDiffSubjectGranularity, classifySqlDiffIssue, computeSqlDiffVerdict, computeStorageTypeVerdict, verifySqlSchemaByDiff };
|
package/dist/family__ir.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-C90xg7_q-
|
|
1
|
+
import { n as SqlContractSerializerBase, t as SqlContractSerializer } from "./sql-contract-serializer-C90xg7_q-4UVEMTWO.mjs";
|
|
2
2
|
import { t as SqlSchemaVerifierBase } from "./ir-I-xciGUH.mjs";
|
|
3
3
|
export { SqlContractSerializer, SqlContractSerializerBase, SqlSchemaVerifierBase };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SqlMigration } from "./migration-
|
|
1
|
+
import { t as SqlMigration } from "./migration-oet2BBxc.mjs";
|
|
2
2
|
export { SqlMigration as Migration };
|
package/dist/family__pack.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqlFamilyPack } from "./pack-
|
|
1
|
+
import { t as sqlFamilyPack } from "./pack-C-JTs3HQ.mjs";
|
|
2
2
|
export { sqlFamilyPack as default };
|
package/dist/family__pack.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as sqlAttributeSpecs } from "./psl-field-resolution-
|
|
2
|
-
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-
|
|
1
|
+
import { b as sqlAttributeSpecs } from "./psl-field-resolution-CKMm6Gx0-CdzpWIV5.mjs";
|
|
2
|
+
import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringTypes, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringFieldPresets } from "./authoring-type-constructors-dihiQslc-hldmqa1r.mjs";
|
|
3
3
|
//#region ../../../2-sql/9-family/dist/pack.mjs
|
|
4
4
|
const sqlFamilyPack = {
|
|
5
5
|
kind: "family",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"family__pack.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/pack.mjs"],"sourcesContent":["import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringFieldPresets, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringTypes } from \"./authoring-type-constructors-
|
|
1
|
+
{"version":3,"file":"family__pack.mjs","names":[],"sources":["../../../../2-sql/9-family/dist/pack.mjs"],"sourcesContent":["import { i as sqlFamilyPslBlockDescriptors, n as sqlFamilyAuthoringFieldPresets, r as sqlFamilyEntityTypes, t as sqlFamilyAuthoringTypes } from \"./authoring-type-constructors-dihiQslc.mjs\";\nimport { sqlAttributeSpecs } from \"@internal/sql-contract-psl/attribute-specs\";\n//#region src/exports/pack.ts\nconst sqlFamilyPack = {\n\tkind: \"family\",\n\tid: \"sql\",\n\tfamilyId: \"sql\",\n\tversion: \"0.0.1\",\n\tauthoring: {\n\t\tfield: sqlFamilyAuthoringFieldPresets,\n\t\ttype: sqlFamilyAuthoringTypes,\n\t\tentityTypes: sqlFamilyEntityTypes,\n\t\tpslBlockDescriptors: sqlFamilyPslBlockDescriptors,\n\t\tattributeSpecs: sqlAttributeSpecs\n\t}\n};\n//#endregion\nexport { sqlFamilyPack as default };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;;AAGA,MAAM,gBAAgB;CACrB,MAAM;CACN,IAAI;CACJ,UAAU;CACV,SAAS;CACT,WAAW;EACV,OAAO;EACP,MAAM;EACN,aAAa;EACb,qBAAqB;EACrB,gBAAgB;CACjB;AACD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PslTypeResolution, i as PslTypeReference, n as DefaultMappingResult, o as mapDefault, r as PslTypeMap, t as DefaultMappingOptions } from "./type-map-
|
|
2
|
-
import { t as toEnumMemberName } from "./psl-build-
|
|
1
|
+
import { a as PslTypeResolution, i as PslTypeReference, n as DefaultMappingResult, o as mapDefault, r as PslTypeMap, t as DefaultMappingOptions } from "./type-map-DmIbL4o--BfPMblbZ.mjs";
|
|
2
|
+
import { t as toEnumMemberName } from "./psl-build-BrW7lQMO.mjs";
|
|
3
3
|
export { type DefaultMappingOptions, type DefaultMappingResult, type PslTypeMap, type PslTypeReference, type PslTypeResolution, mapDefault, toEnumMemberName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-
|
|
1
|
+
import { a as buildChildRelationField, c as inferRelations, d as toFieldName, f as toModelName, i as RelationField, l as pluralize, n as InferredRelations, o as deriveBackRelationFieldName, r as PslPrinterOptions, s as deriveRelationFieldName, t as EnumInfo, u as toEnumName } from "./psl-infer-DzH2Khty.mjs";
|
|
2
2
|
export { type EnumInfo, type InferredRelations, type PslPrinterOptions, type RelationField, buildChildRelationField, deriveBackRelationFieldName, deriveRelationFieldName, inferRelations, pluralize, toEnumName, toFieldName, toModelName };
|
package/dist/family__verify.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-
|
|
1
|
+
import { n as parseContractMarkerRow } from "./verify-BVk5bjdH-dq5M4iIh.mjs";
|
|
2
2
|
export { parseContractMarkerRow };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as SqlStorage } from "./sql-storage-jJySr7bL-C_xAiyzH.mjs";
|
|
2
2
|
import "./types-B11MGgKr.mjs";
|
|
3
|
-
import { dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry } from "./types-
|
|
4
|
-
import { t as Adapter } from "./ast-
|
|
5
|
-
import { n as SqlQueryPlan } from "./plan-
|
|
6
|
-
import { t as SqlExecutionPlan } from "./sql-execution-plan-
|
|
7
|
-
import "./plan-
|
|
8
|
-
import { t as CodecDescriptorRegistry } from "./query-lane-context-
|
|
9
|
-
import "./query-lane-context-
|
|
10
|
-
import { k as SqlMiddleware } from "./prepared-statement-Cv54gpY_-
|
|
3
|
+
import { dt as LoweredStatement, h as AnyQueryAst, k as ContractCodecRegistry } from "./types-Dskga3R1-BtXuRmbf.mjs";
|
|
4
|
+
import { t as Adapter } from "./ast-BUbHXpzG.mjs";
|
|
5
|
+
import { n as SqlQueryPlan } from "./plan-BlQITcbP-DvbDlHXA.mjs";
|
|
6
|
+
import { t as SqlExecutionPlan } from "./sql-execution-plan-CV6K4o9N-DAIvJbkb.mjs";
|
|
7
|
+
import "./plan-BbkBYyGR.mjs";
|
|
8
|
+
import { t as CodecDescriptorRegistry } from "./query-lane-context-OSV9X636-CcPv1TZj.mjs";
|
|
9
|
+
import "./query-lane-context-CLtywrTY.mjs";
|
|
10
|
+
import { k as SqlMiddleware } from "./prepared-statement-Cv54gpY_-dg9Qr8sK.mjs";
|
|
11
11
|
import { Contract } from "@prisma/orm-framework/contract/types";
|
|
12
12
|
import { AfterExecuteResult as AfterExecuteResult$1, AfterQueryResult as AfterQueryResult$1, ExecuteInterceptResult as ExecuteInterceptResult$1, QueryInterceptResult as QueryInterceptResult$1, RuntimeLog as Log } from "@prisma/orm-framework/components/runtime";
|
|
13
13
|
//#region ../../../2-sql/5-runtime/dist/index.d.mts
|
|
@@ -81,4 +81,4 @@ interface LintsOptions {
|
|
|
81
81
|
declare function lints(options?: LintsOptions): SqlMiddleware;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { LintsOptions as a, budgets as c, lints as d, lowerSqlPlan as f, ExecuteInterceptResult$1 as i, createAstCodecRegistry as l, validateContractCodecMappings as m, AfterQueryResult$1 as n, Log as o, validateCodecRegistryCompleteness as p, BudgetsOptions as r, QueryInterceptResult$1 as s, AfterExecuteResult$1 as t, extractCodecIds as u };
|
|
84
|
-
//# sourceMappingURL=index-
|
|
84
|
+
//# sourceMappingURL=index-D2ho4por.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-D2ho4por.d.mts","names":[],"sources":["../../../../2-sql/5-runtime/dist/index.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAiBiB,uBAAuB,aAAa,0BAA0B;;;iBAG9D,gBAAgB,UAAU,SAAS,cAAc;iBACjD,8BAA8B,UAAU,yBAAyB,UAAU,SAAS;iBACpF,kCAAkC,UAAU,yBAAyB,UAAU,SAAS;;;;;;;;;;;;iBAYxF,aAAa,KAAK,SAAS,QAAQ,aAAa,SAAS,aAAa,mBAAmB,UAAU,SAAS,aAAa,WAAW,aAAa,OAAO,iBAAiB;;;UAGhL;WACC;WACA;WACA,YAAY;WACZ;WACA;aACE;aACA;;;iBAGI,QAAQ,UAAU,iBAAiB;;;UAG1C;WACC;aACE;aACA;aACA;aACA;aACA;;WAEF;;;;;;;;;;;;;;;;iBAgBM,MAAM,UAAU,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-type-validation-COH4d78M.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-type-validation.mjs"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"index-type-validation-COH4d78M.mjs","names":[],"sources":["../../../../2-sql/1-core/contract/dist/index-type-validation.mjs"],"sourcesContent":["import { type } from \"arktype\";\nimport { ContractValidationError } from \"@internal/contract/contract-validation-error\";\n//#region src/index-type-validation.ts\nfunction validateIndexTypes(contract, indexTypeRegistry) {\n\tfor (const [namespaceId, ns] of Object.entries(contract.storage.namespaces)) for (const [tableName, table] of Object.entries(ns.entries.table ?? {})) for (const index of table.indexes) {\n\t\tif (index.type === void 0) continue;\n\t\tconst entry = indexTypeRegistry.get(index.type);\n\t\tif (entry === void 0) throw new ContractValidationError(`Namespace \"${namespaceId}\" table \"${tableName}\" index \"${index.name}\" uses unregistered index type \"${index.type}\"`, \"storage\");\n\t\tconst optionsValue = index.options ?? {};\n\t\tconst result = entry.options(optionsValue);\n\t\tif (result instanceof type.errors) throw new ContractValidationError(`Namespace \"${namespaceId}\" table \"${tableName}\" index \"${index.name}\" has invalid options for type \"${index.type}\": ${result.summary}`, \"storage\");\n\t}\n}\n//#endregion\nexport { validateIndexTypes };\n\n//# sourceMappingURL=index-type-validation.mjs.map"],"mappings":";;;AAGA,SAAS,mBAAmB,UAAU,mBAAmB;CACxD,KAAK,MAAM,CAAC,aAAa,OAAO,OAAO,QAAQ,SAAS,QAAQ,UAAU,GAAG,KAAK,MAAM,CAAC,WAAW,UAAU,OAAO,QAAQ,GAAG,QAAQ,SAAS,CAAC,CAAC,GAAG,KAAK,MAAM,SAAS,MAAM,SAAS;EACxL,IAAI,MAAM,SAAS,KAAK,GAAG;EAC3B,MAAM,QAAQ,kBAAkB,IAAI,MAAM,IAAI;EAC9C,IAAI,UAAU,KAAK,GAAG,MAAM,IAAI,wBAAwB,cAAc,YAAY,WAAW,UAAU,WAAW,MAAM,KAAK,kCAAkC,MAAM,KAAK,IAAI,SAAS;EACvL,MAAM,eAAe,MAAM,WAAW,CAAC;EACvC,MAAM,SAAS,MAAM,QAAQ,YAAY;EACzC,IAAI,kBAAkB,KAAK,QAAQ,MAAM,IAAI,wBAAwB,cAAc,YAAY,WAAW,UAAU,WAAW,MAAM,KAAK,kCAAkC,MAAM,KAAK,KAAK,OAAO,WAAW,SAAS;CACxN;AACD"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { n as isAuthoredIndexInput } from "./index-naming-Cj1Anq-T-DgO8vEIL.mjs";
|
|
2
|
+
import { d as unquotedSqlBaseNameOfCodec } from "./data-type-CAPmGXg9.mjs";
|
|
2
3
|
import { n as providesPslEntityPlacement } from "./entity-handle-lowering-hook-B3atrRKX.mjs";
|
|
3
|
-
import { d as resolvedTypeParams } from "./types-
|
|
4
|
+
import { d as resolvedTypeParams } from "./types-Cn4JEguu.mjs";
|
|
4
5
|
import { t as deriveValueSetFromEntity } from "./value-set-derivation-hook-Di9JZ0X7.mjs";
|
|
5
|
-
import { n as buildSqlContractFromDefinition } from "./derived-checks-
|
|
6
|
-
import { S as toNamedTypeFieldDescriptor, _ as modelCoordinateKey, b as sqlAttributeSpecs, c as getAttribute, f as instantiatePslTypeConstructor, g as modelAttributeSpecsFrom, h as mapFieldNamesToColumns, i as contractError, l as getAuthoringEntity, m as interpretModelAttribute, n as bareTypeConstructorOf, p as interpretFieldAttribute, r as collectResolvedFields, s as formatDbAttributeMigrationMessage, t as PSL_CHECK_ON_STI_VARIANT, u as getNamedArgument, x as storageName, y as resolveFieldTypeDescriptor } from "./psl-field-resolution-
|
|
6
|
+
import { n as buildSqlContractFromDefinition } from "./derived-checks-CILnJKoa-D42YRW01.mjs";
|
|
7
|
+
import { S as toNamedTypeFieldDescriptor, _ as modelCoordinateKey, b as sqlAttributeSpecs, c as getAttribute, f as instantiatePslTypeConstructor, g as modelAttributeSpecsFrom, h as mapFieldNamesToColumns, i as contractError, l as getAuthoringEntity, m as interpretModelAttribute, n as bareTypeConstructorOf, p as interpretFieldAttribute, r as collectResolvedFields, s as formatDbAttributeMigrationMessage, t as PSL_CHECK_ON_STI_VARIANT, u as getNamedArgument, x as storageName, y as resolveFieldTypeDescriptor } from "./psl-field-resolution-CKMm6Gx0-CdzpWIV5.mjs";
|
|
7
8
|
import { t as defaultTableName } from "./default-table-name-BfFY8qYR-lHNcVmY5.mjs";
|
|
8
9
|
import { instantiateAuthoringEntityType, instantiateAuthoringTypeConstructor, isAuthoringEntityTypeDescriptor, isAuthoringModelAttributeDescriptor } from "@prisma/orm-framework/components/authoring";
|
|
9
10
|
import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
|
|
11
|
+
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
12
|
+
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
10
13
|
import { InternalError } from "@prisma/orm-framework/utils/internal-error";
|
|
11
14
|
import { crossRef } from "@prisma/orm-framework/contract/types";
|
|
12
|
-
import { ifDefined } from "@prisma/orm-framework/utils/defined";
|
|
13
|
-
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
14
15
|
import { NamespaceDeclarationAst } from "@prisma/orm-framework/psl-parser/syntax";
|
|
15
16
|
import { resolveToOneRelationNullable } from "@prisma/orm-framework/contract-authoring";
|
|
16
17
|
import { assertDefined, invariant } from "@prisma/orm-framework/utils/assertions";
|
|
@@ -18,7 +19,7 @@ import { notOk, ok } from "@prisma/orm-framework/utils/result";
|
|
|
18
19
|
import { contributedTypeOf, createPslDiagnosticCollector, diagnosticSource, findBlockDescriptor, interpretExtensionBlocks, nodePslSpan, typeReferenceNode } from "@prisma/orm-framework/psl-parser";
|
|
19
20
|
import { claimedBlockKeywords, enumMemberAttributeDiagnostics, fkRelationPairKey, requiredOneToOneBackrelationDiagnostic, unsupportedBlockDiagnostic } from "@prisma/orm-framework/psl-parser/interpret";
|
|
20
21
|
import { UNBOUND_PSL_NAMESPACE_NAME, UNSPECIFIED_PSL_NAMESPACE_ID } from "@prisma/orm-framework/components/psl-ast";
|
|
21
|
-
//#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-
|
|
22
|
+
//#region ../../../2-sql/2-authoring/contract-psl/dist/interpreter-CDflex9x.mjs
|
|
22
23
|
function baseColumnDescriptor(resolution, enumTypeDescriptors) {
|
|
23
24
|
if (resolution?.kind === "block") return enumTypeDescriptors.get(resolution.symbol);
|
|
24
25
|
const scalar = bareTypeConstructorOf(resolution);
|
|
@@ -48,6 +49,15 @@ function validateNamedTypeAttributes(input) {
|
|
|
48
49
|
function resolveNamedTypeDeclarations(input) {
|
|
49
50
|
const storageTypeEntries = [];
|
|
50
51
|
const namedTypeDescriptors = /* @__PURE__ */ new Map();
|
|
52
|
+
const storageTypeOf = (descriptor) => {
|
|
53
|
+
const typeParams = descriptor.typeParams ?? {};
|
|
54
|
+
return {
|
|
55
|
+
kind: "codec-instance",
|
|
56
|
+
codecId: descriptor.codecId,
|
|
57
|
+
nativeType: unquotedSqlBaseNameOfCodec(descriptor.codecId, typeParams, input),
|
|
58
|
+
typeParams
|
|
59
|
+
};
|
|
60
|
+
};
|
|
51
61
|
for (const declaration of input.declarations) {
|
|
52
62
|
const source = diagnosticSource(input.source.sources, declaration.node.syntax);
|
|
53
63
|
const reference = typeReferenceNode(declaration);
|
|
@@ -79,18 +89,14 @@ function resolveNamedTypeDeclarations(input) {
|
|
|
79
89
|
const storageType = instantiatePslTypeConstructor({
|
|
80
90
|
call: typeConstructor,
|
|
81
91
|
descriptor,
|
|
92
|
+
codecLookup: input.codecLookup,
|
|
82
93
|
diagnostics: input.diagnostics,
|
|
83
94
|
source,
|
|
84
95
|
entityLabel: `Named type "${declaration.name}"`
|
|
85
96
|
});
|
|
86
97
|
if (!storageType) continue;
|
|
87
98
|
namedTypeDescriptors.set(declaration, toNamedTypeFieldDescriptor(declaration.name, storageType));
|
|
88
|
-
storageTypeEntries.push([declaration.name,
|
|
89
|
-
kind: "codec-instance",
|
|
90
|
-
codecId: storageType.codecId,
|
|
91
|
-
nativeType: storageType.nativeType,
|
|
92
|
-
typeParams: storageType.typeParams ?? {}
|
|
93
|
-
}]);
|
|
99
|
+
storageTypeEntries.push([declaration.name, storageTypeOf(storageType)]);
|
|
94
100
|
continue;
|
|
95
101
|
}
|
|
96
102
|
const baseType = declaration.baseType;
|
|
@@ -118,12 +124,7 @@ function resolveNamedTypeDeclarations(input) {
|
|
|
118
124
|
})) continue;
|
|
119
125
|
const descriptor = toNamedTypeFieldDescriptor(declaration.name, baseDescriptor);
|
|
120
126
|
namedTypeDescriptors.set(declaration, descriptor);
|
|
121
|
-
storageTypeEntries.push([declaration.name,
|
|
122
|
-
kind: "codec-instance",
|
|
123
|
-
codecId: baseDescriptor.codecId,
|
|
124
|
-
nativeType: baseDescriptor.nativeType,
|
|
125
|
-
typeParams: baseDescriptor.typeParams ?? {}
|
|
126
|
-
}]);
|
|
127
|
+
storageTypeEntries.push([declaration.name, storageTypeOf(baseDescriptor)]);
|
|
127
128
|
}
|
|
128
129
|
return {
|
|
129
130
|
storageTypes: Object.fromEntries(storageTypeEntries),
|
|
@@ -700,10 +701,7 @@ function processEnumDeclarations(input) {
|
|
|
700
701
|
});
|
|
701
702
|
if (handle === void 0 || handle === null) continue;
|
|
702
703
|
enumHandles.set(symbol, handle);
|
|
703
|
-
enumTypeDescriptors.set(symbol, {
|
|
704
|
-
codecId: handle.codecId,
|
|
705
|
-
nativeType: handle.nativeType
|
|
706
|
-
});
|
|
704
|
+
enumTypeDescriptors.set(symbol, { codecId: handle.codecId });
|
|
707
705
|
}
|
|
708
706
|
return {
|
|
709
707
|
enumHandles,
|
|
@@ -762,7 +760,7 @@ function buildModelNodeFromPsl(input) {
|
|
|
762
760
|
capabilities: input.capabilities,
|
|
763
761
|
...ifDefined("namespaceId", modelNamespaceId),
|
|
764
762
|
...ifDefined("namespaceExtensionEntities", namespaceExtensionEntitiesForModel),
|
|
765
|
-
|
|
763
|
+
codecLookup: input.codecLookup
|
|
766
764
|
});
|
|
767
765
|
const inlineIdFields = resolvedFields.filter((field) => field.isId);
|
|
768
766
|
if (inlineIdFields.length > 1) diagnostics.push({
|
|
@@ -1064,6 +1062,8 @@ function buildModelNodeFromPsl(input) {
|
|
|
1064
1062
|
const lowered = blindCast(contributedModelAttribute.lower)(parsed, {
|
|
1065
1063
|
family: input.familyId,
|
|
1066
1064
|
target: input.targetId,
|
|
1065
|
+
codecLookup: input.codecLookup,
|
|
1066
|
+
dataTypeLookup: input.dataTypeSupport.lookup,
|
|
1067
1067
|
modelName: model.name,
|
|
1068
1068
|
storageName: tableName,
|
|
1069
1069
|
fieldStorageName: (fieldName) => {
|
|
@@ -1393,7 +1393,7 @@ function buildValueObjectNodes(input) {
|
|
|
1393
1393
|
entityLabel: `Field "${compositeType.name}.${field.name}"`,
|
|
1394
1394
|
namespaceId: input.defaultNamespaceId,
|
|
1395
1395
|
...ifDefined("namespaceExtensionEntities", input.defaultNamespaceExtensionEntities),
|
|
1396
|
-
|
|
1396
|
+
codecLookup: input.codecLookup
|
|
1397
1397
|
});
|
|
1398
1398
|
if (!resolved.ok) continue;
|
|
1399
1399
|
const { descriptor } = resolved;
|
|
@@ -1866,7 +1866,8 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
1866
1866
|
entityContext: {
|
|
1867
1867
|
family: input.target.familyId,
|
|
1868
1868
|
target: input.target.targetId,
|
|
1869
|
-
|
|
1869
|
+
codecLookup: input.codecLookup,
|
|
1870
|
+
dataTypeLookup: input.dataTypeLookup,
|
|
1870
1871
|
sourceId: source.sources.sourceFileFor(source.node).filename,
|
|
1871
1872
|
diagnostics: { push: (d) => {
|
|
1872
1873
|
diagnostics.pushExternal(blindCast(d));
|
|
@@ -1884,7 +1885,8 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
1884
1885
|
family: input.target.familyId,
|
|
1885
1886
|
target: input.target.targetId,
|
|
1886
1887
|
...ifDefined("enumInferenceCodecs", input.enumInferenceCodecs),
|
|
1887
|
-
|
|
1888
|
+
codecLookup: input.codecLookup,
|
|
1889
|
+
dataTypeLookup: input.dataTypeLookup,
|
|
1888
1890
|
sourceId: source.sources.sourceFileFor(source.node).filename,
|
|
1889
1891
|
diagnostics: { push: (d) => {
|
|
1890
1892
|
diagnostics.pushExternal(blindCast(d));
|
|
@@ -1958,6 +1960,8 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
1958
1960
|
source,
|
|
1959
1961
|
binder,
|
|
1960
1962
|
enumTypeDescriptors: allEnumTypeDescriptors,
|
|
1963
|
+
codecLookup: input.codecLookup,
|
|
1964
|
+
dataTypeLookup: input.dataTypeLookup,
|
|
1961
1965
|
diagnostics
|
|
1962
1966
|
});
|
|
1963
1967
|
const storageTypes = { ...namedTypeResult.storageTypes };
|
|
@@ -2007,7 +2011,7 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
2007
2011
|
enumHandles,
|
|
2008
2012
|
capabilities: input.capabilities,
|
|
2009
2013
|
...namespaceExtensionEntities.size > 0 ? { namespaceExtensionEntities } : {},
|
|
2010
|
-
|
|
2014
|
+
codecLookup: input.codecLookup,
|
|
2011
2015
|
modelAttributesByName,
|
|
2012
2016
|
contributedModelAttributeSpecs: contributedModelSpecs,
|
|
2013
2017
|
defaultNamespaceId,
|
|
@@ -2129,7 +2133,7 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
2129
2133
|
createNamespace: createNamespaceWithExtensions,
|
|
2130
2134
|
...ifDefined("valueObjects", valueObjects.length > 0 ? valueObjects : void 0),
|
|
2131
2135
|
models: stiColumnModelNodes
|
|
2132
|
-
}, input.codecLookup);
|
|
2136
|
+
}, input.codecLookup, input.dataTypeLookup);
|
|
2133
2137
|
const modelsByCoordinate = {};
|
|
2134
2138
|
for (const [namespaceId, namespaceSlice] of Object.entries(contract.domain.namespaces)) for (const [modelName, model] of Object.entries(namespaceSlice.models)) {
|
|
2135
2139
|
const coordinate = modelCoordinateKey(namespaceId, modelName);
|
|
@@ -2156,4 +2160,4 @@ function interpretPslDocumentToSqlContract(input) {
|
|
|
2156
2160
|
//#endregion
|
|
2157
2161
|
export { normalizeReferentialAction as a, interpretPslDocumentToSqlContract as i, buildEntityTypesByDiscriminator as n, indexFkRelations as r, applyBackrelationCandidates as t };
|
|
2158
2162
|
|
|
2159
|
-
//# sourceMappingURL=interpreter-
|
|
2163
|
+
//# sourceMappingURL=interpreter-CDflex9x-Bx84tcl5.mjs.map
|