@nicia-ai/typegraph 0.41.0 → 0.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/drizzle/indexes.cjs +9 -9
- package/dist/backend/drizzle/indexes.d.cts +1 -2
- package/dist/backend/drizzle/indexes.d.ts +1 -2
- package/dist/backend/drizzle/indexes.js +5 -5
- package/dist/backend/index.cjs +50 -50
- package/dist/backend/index.d.cts +3 -4
- package/dist/backend/index.d.ts +3 -4
- package/dist/backend/index.js +11 -11
- package/dist/backend/postgres/index.cjs +26 -26
- package/dist/backend/postgres/index.d.cts +5 -6
- package/dist/backend/postgres/index.d.ts +5 -6
- package/dist/backend/postgres/index.js +13 -13
- package/dist/backend/postgres/pglite-store.cjs +34 -34
- package/dist/backend/postgres/pglite-store.d.cts +7 -8
- package/dist/backend/postgres/pglite-store.d.ts +7 -8
- package/dist/backend/postgres/pglite-store.js +30 -30
- package/dist/backend/postgres/pglite.cjs +15 -15
- package/dist/backend/postgres/pglite.d.cts +2 -3
- package/dist/backend/postgres/pglite.d.ts +2 -3
- package/dist/backend/postgres/pglite.js +14 -14
- package/dist/backend/sqlite/index.cjs +23 -23
- package/dist/backend/sqlite/index.d.cts +5 -6
- package/dist/backend/sqlite/index.d.ts +5 -6
- package/dist/backend/sqlite/index.js +11 -11
- package/dist/backend/sqlite/libsql.cjs +17 -17
- package/dist/backend/sqlite/libsql.d.cts +2 -3
- package/dist/backend/sqlite/libsql.d.ts +2 -3
- package/dist/backend/sqlite/libsql.js +13 -13
- package/dist/backend/sqlite/local-store.cjs +35 -35
- package/dist/backend/sqlite/local-store.d.cts +7 -8
- package/dist/backend/sqlite/local-store.d.ts +7 -8
- package/dist/backend/sqlite/local-store.js +31 -31
- package/dist/backend/sqlite/local.cjs +16 -16
- package/dist/backend/sqlite/local.d.cts +2 -3
- package/dist/backend/sqlite/local.d.ts +2 -3
- package/dist/backend/sqlite/local.js +14 -14
- package/dist/{chunk-LOKG3KQV.cjs → chunk-277UZV7X.cjs} +1113 -1089
- package/dist/chunk-277UZV7X.cjs.map +1 -0
- package/dist/{chunk-2I3DNNBU.js → chunk-2G6ZEGYO.js} +4 -4
- package/dist/{chunk-2I3DNNBU.js.map → chunk-2G6ZEGYO.js.map} +1 -1
- package/dist/{chunk-76HE7DJP.js → chunk-2HKIID5K.js} +5 -5
- package/dist/{chunk-76HE7DJP.js.map → chunk-2HKIID5K.js.map} +1 -1
- package/dist/{chunk-QOHTVDHU.js → chunk-2OOY4OYT.js} +4 -4
- package/dist/{chunk-QOHTVDHU.js.map → chunk-2OOY4OYT.js.map} +1 -1
- package/dist/{chunk-UCHW2MGP.cjs → chunk-2SO5I5AI.cjs} +196 -196
- package/dist/{chunk-UCHW2MGP.cjs.map → chunk-2SO5I5AI.cjs.map} +1 -1
- package/dist/{chunk-LFFVD5ZR.cjs → chunk-33PAKPED.cjs} +41 -41
- package/dist/{chunk-LFFVD5ZR.cjs.map → chunk-33PAKPED.cjs.map} +1 -1
- package/dist/{chunk-QCKD3RCI.cjs → chunk-3RPQDGUE.cjs} +5 -5
- package/dist/{chunk-QCKD3RCI.cjs.map → chunk-3RPQDGUE.cjs.map} +1 -1
- package/dist/{chunk-PH4IJ3V5.js → chunk-3V6D5DEC.js} +3 -3
- package/dist/{chunk-PH4IJ3V5.js.map → chunk-3V6D5DEC.js.map} +1 -1
- package/dist/{chunk-Y5UC3IXF.js → chunk-42XYPKZU.js} +3 -3
- package/dist/{chunk-Y5UC3IXF.js.map → chunk-42XYPKZU.js.map} +1 -1
- package/dist/{chunk-XZA3Y4YH.js → chunk-4WYFRACU.js} +3 -3
- package/dist/{chunk-XZA3Y4YH.js.map → chunk-4WYFRACU.js.map} +1 -1
- package/dist/{chunk-AQVDAKXH.js → chunk-4XRP2N6B.js} +3 -3
- package/dist/{chunk-AQVDAKXH.js.map → chunk-4XRP2N6B.js.map} +1 -1
- package/dist/{chunk-PWXGB77L.cjs → chunk-5AERZSHC.cjs} +4 -4
- package/dist/{chunk-PWXGB77L.cjs.map → chunk-5AERZSHC.cjs.map} +1 -1
- package/dist/{chunk-K6CD6W5J.js → chunk-5C75HQYQ.js} +5 -5
- package/dist/{chunk-K6CD6W5J.js.map → chunk-5C75HQYQ.js.map} +1 -1
- package/dist/{chunk-2J5NMMVR.cjs → chunk-5GV4JQNA.cjs} +43 -43
- package/dist/{chunk-2J5NMMVR.cjs.map → chunk-5GV4JQNA.cjs.map} +1 -1
- package/dist/{chunk-KHNKYSGP.cjs → chunk-5P6IPIT6.cjs} +41 -41
- package/dist/{chunk-KHNKYSGP.cjs.map → chunk-5P6IPIT6.cjs.map} +1 -1
- package/dist/{chunk-M2RPZS7J.cjs → chunk-5Q3P6OIC.cjs} +12 -12
- package/dist/{chunk-M2RPZS7J.cjs.map → chunk-5Q3P6OIC.cjs.map} +1 -1
- package/dist/{chunk-QXKVUJLI.cjs → chunk-5ZPRE4CV.cjs} +206 -166
- package/dist/chunk-5ZPRE4CV.cjs.map +1 -0
- package/dist/{chunk-53BSOG3O.js → chunk-6NB73BXV.js} +11 -11
- package/dist/{chunk-53BSOG3O.js.map → chunk-6NB73BXV.js.map} +1 -1
- package/dist/{chunk-SE422RES.cjs → chunk-6TJ6PKPS.cjs} +27 -27
- package/dist/{chunk-SE422RES.cjs.map → chunk-6TJ6PKPS.cjs.map} +1 -1
- package/dist/{chunk-7WLEQIHA.cjs → chunk-7Y6BV3TK.cjs} +100 -100
- package/dist/{chunk-7WLEQIHA.cjs.map → chunk-7Y6BV3TK.cjs.map} +1 -1
- package/dist/{chunk-HP6LWBLB.cjs → chunk-AO2WPYFZ.cjs} +4 -4
- package/dist/{chunk-HP6LWBLB.cjs.map → chunk-AO2WPYFZ.cjs.map} +1 -1
- package/dist/{chunk-7UTUKH4E.cjs → chunk-AQR6BHB3.cjs} +10 -10
- package/dist/{chunk-7UTUKH4E.cjs.map → chunk-AQR6BHB3.cjs.map} +1 -1
- package/dist/{chunk-X4PVHAZ6.cjs → chunk-ARN3ZODS.cjs} +6 -6
- package/dist/{chunk-X4PVHAZ6.cjs.map → chunk-ARN3ZODS.cjs.map} +1 -1
- package/dist/{chunk-YYLMXERH.js → chunk-CDYRPI5U.js} +4 -4
- package/dist/{chunk-YYLMXERH.js.map → chunk-CDYRPI5U.js.map} +1 -1
- package/dist/{chunk-3LKL3S6X.js → chunk-CI5NPLXX.js} +3 -3
- package/dist/{chunk-3LKL3S6X.js.map → chunk-CI5NPLXX.js.map} +1 -1
- package/dist/{chunk-UUIBACKJ.js → chunk-CUPJL6TS.js} +3 -3
- package/dist/{chunk-UUIBACKJ.js.map → chunk-CUPJL6TS.js.map} +1 -1
- package/dist/{chunk-JZYMOHHM.cjs → chunk-CVK4T34X.cjs} +22 -22
- package/dist/{chunk-JZYMOHHM.cjs.map → chunk-CVK4T34X.cjs.map} +1 -1
- package/dist/{chunk-L3DDZUZP.js → chunk-CVNGKTHO.js} +4 -4
- package/dist/{chunk-L3DDZUZP.js.map → chunk-CVNGKTHO.js.map} +1 -1
- package/dist/{chunk-RW24SAHI.cjs → chunk-DMZEVJGL.cjs} +13 -13
- package/dist/{chunk-RW24SAHI.cjs.map → chunk-DMZEVJGL.cjs.map} +1 -1
- package/dist/{chunk-MQBF3XGY.js → chunk-DP7KC6CL.js} +47 -23
- package/dist/chunk-DP7KC6CL.js.map +1 -0
- package/dist/{chunk-QYDUCWD2.cjs → chunk-ECU53PMN.cjs} +4 -4
- package/dist/{chunk-QYDUCWD2.cjs.map → chunk-ECU53PMN.cjs.map} +1 -1
- package/dist/{chunk-SCTZRFW5.js → chunk-EQOQOT55.js} +5 -5
- package/dist/{chunk-SCTZRFW5.js.map → chunk-EQOQOT55.js.map} +1 -1
- package/dist/{chunk-JHK6NPFV.js → chunk-EVFL2ZY5.js} +9 -9
- package/dist/{chunk-JHK6NPFV.js.map → chunk-EVFL2ZY5.js.map} +1 -1
- package/dist/{chunk-SAMJLDGG.cjs → chunk-F2KVJ6FF.cjs} +112 -112
- package/dist/{chunk-SAMJLDGG.cjs.map → chunk-F2KVJ6FF.cjs.map} +1 -1
- package/dist/{chunk-NMQ6C6TS.cjs → chunk-F7TDKSVB.cjs} +4 -4
- package/dist/{chunk-NMQ6C6TS.cjs.map → chunk-F7TDKSVB.cjs.map} +1 -1
- package/dist/{chunk-HQRZEYYB.cjs → chunk-FFQGI67R.cjs} +44 -44
- package/dist/{chunk-HQRZEYYB.cjs.map → chunk-FFQGI67R.cjs.map} +1 -1
- package/dist/{chunk-YIRLBUNN.js → chunk-FMPZPOUD.js} +3 -3
- package/dist/{chunk-YIRLBUNN.js.map → chunk-FMPZPOUD.js.map} +1 -1
- package/dist/{chunk-LL5D5T5W.cjs → chunk-FSCJOTHF.cjs} +10 -10
- package/dist/{chunk-LL5D5T5W.cjs.map → chunk-FSCJOTHF.cjs.map} +1 -1
- package/dist/{chunk-2X73QTIC.cjs → chunk-FY4VY5EV.cjs} +20 -20
- package/dist/{chunk-2X73QTIC.cjs.map → chunk-FY4VY5EV.cjs.map} +1 -1
- package/dist/{chunk-3SHAUJRB.js → chunk-GT7NEXSU.js} +3 -3
- package/dist/{chunk-3SHAUJRB.js.map → chunk-GT7NEXSU.js.map} +1 -1
- package/dist/{chunk-W66YCXWT.js → chunk-HHBKGPEI.js} +11 -10
- package/dist/chunk-HHBKGPEI.js.map +1 -0
- package/dist/{chunk-CKFBZ4LV.cjs → chunk-I73ATSAH.cjs} +4 -4
- package/dist/{chunk-CKFBZ4LV.cjs.map → chunk-I73ATSAH.cjs.map} +1 -1
- package/dist/{chunk-ELA3V6UN.js → chunk-JOYPNY33.js} +9 -9
- package/dist/{chunk-ELA3V6UN.js.map → chunk-JOYPNY33.js.map} +1 -1
- package/dist/{chunk-YIX3BEBR.cjs → chunk-K2HHCWZO.cjs} +108 -108
- package/dist/{chunk-YIX3BEBR.cjs.map → chunk-K2HHCWZO.cjs.map} +1 -1
- package/dist/{chunk-SAFZ6JTI.cjs → chunk-KTBTSHU6.cjs} +19 -2
- package/dist/chunk-KTBTSHU6.cjs.map +1 -0
- package/dist/{chunk-KOI7UEI5.js → chunk-LDCWO5B6.js} +3 -3
- package/dist/{chunk-KOI7UEI5.js.map → chunk-LDCWO5B6.js.map} +1 -1
- package/dist/{chunk-I5CRUPKO.js → chunk-LQLVJWUH.js} +7 -7
- package/dist/{chunk-I5CRUPKO.js.map → chunk-LQLVJWUH.js.map} +1 -1
- package/dist/{chunk-6N7QBIWN.js → chunk-M4GYQF2H.js} +3 -3
- package/dist/{chunk-6N7QBIWN.js.map → chunk-M4GYQF2H.js.map} +1 -1
- package/dist/{chunk-ZE7E46IZ.js → chunk-NXIZL7ZZ.js} +6 -6
- package/dist/{chunk-ZE7E46IZ.js.map → chunk-NXIZL7ZZ.js.map} +1 -1
- package/dist/{chunk-XRU7V7FF.cjs → chunk-O2GZM7UK.cjs} +7 -7
- package/dist/{chunk-XRU7V7FF.cjs.map → chunk-O2GZM7UK.cjs.map} +1 -1
- package/dist/{chunk-ZE6NVENI.js → chunk-O3USVVWS.js} +3 -3
- package/dist/{chunk-ZE6NVENI.js.map → chunk-O3USVVWS.js.map} +1 -1
- package/dist/{chunk-UDS5DZNY.cjs → chunk-O7XVCLXW.cjs} +68 -67
- package/dist/chunk-O7XVCLXW.cjs.map +1 -0
- package/dist/{chunk-KLR77R5A.cjs → chunk-OM6RIOA5.cjs} +13 -13
- package/dist/{chunk-KLR77R5A.cjs.map → chunk-OM6RIOA5.cjs.map} +1 -1
- package/dist/{chunk-LLHMAHG4.cjs → chunk-OMQ2NBOR.cjs} +27 -27
- package/dist/{chunk-LLHMAHG4.cjs.map → chunk-OMQ2NBOR.cjs.map} +1 -1
- package/dist/{chunk-DPNA466P.js → chunk-OYJSYDIH.js} +19 -3
- package/dist/chunk-OYJSYDIH.js.map +1 -0
- package/dist/{chunk-V3S74J44.js → chunk-RAWG2FEU.js} +134 -22
- package/dist/chunk-RAWG2FEU.js.map +1 -0
- package/dist/{chunk-TAUGGLNQ.js → chunk-RXOAXO3R.js} +3 -3
- package/dist/{chunk-TAUGGLNQ.js.map → chunk-RXOAXO3R.js.map} +1 -1
- package/dist/{chunk-LLE25NRD.cjs → chunk-TRC646QQ.cjs} +7 -7
- package/dist/{chunk-LLE25NRD.cjs.map → chunk-TRC646QQ.cjs.map} +1 -1
- package/dist/chunk-U3YRCZ5L.cjs +12 -0
- package/dist/{chunk-IMQKXL4E.cjs.map → chunk-U3YRCZ5L.cjs.map} +1 -1
- package/dist/{chunk-ZVME6OSV.js → chunk-UJRWOV5B.js} +5 -5
- package/dist/{chunk-ZVME6OSV.js.map → chunk-UJRWOV5B.js.map} +1 -1
- package/dist/{chunk-HAQVISUF.cjs → chunk-UTTW2Q3M.cjs} +133 -133
- package/dist/{chunk-HAQVISUF.cjs.map → chunk-UTTW2Q3M.cjs.map} +1 -1
- package/dist/{chunk-L5ET7FYQ.js → chunk-UZLEQFTV.js} +3 -3
- package/dist/{chunk-L5ET7FYQ.js.map → chunk-UZLEQFTV.js.map} +1 -1
- package/dist/{chunk-JP5EICR6.cjs → chunk-V2GZBPY2.cjs} +179 -65
- package/dist/chunk-V2GZBPY2.cjs.map +1 -0
- package/dist/{chunk-BUZWMDNL.js → chunk-VC26BUNP.js} +5 -5
- package/dist/{chunk-BUZWMDNL.js.map → chunk-VC26BUNP.js.map} +1 -1
- package/dist/chunk-VGMNGWBR.cjs +12 -0
- package/dist/{chunk-5YBDB7UG.cjs.map → chunk-VGMNGWBR.cjs.map} +1 -1
- package/dist/{chunk-XMEYZYGE.js → chunk-WYQILW5V.js} +8 -8
- package/dist/{chunk-XMEYZYGE.js.map → chunk-WYQILW5V.js.map} +1 -1
- package/dist/{chunk-YX3H63VV.cjs → chunk-X2XOQZT3.cjs} +9 -9
- package/dist/{chunk-YX3H63VV.cjs.map → chunk-X2XOQZT3.cjs.map} +1 -1
- package/dist/{chunk-N2V3HJFV.cjs → chunk-XDMPDUKL.cjs} +9 -9
- package/dist/{chunk-N2V3HJFV.cjs.map → chunk-XDMPDUKL.cjs.map} +1 -1
- package/dist/{chunk-EFZ4S22A.js → chunk-YPVQYM3L.js} +107 -67
- package/dist/chunk-YPVQYM3L.js.map +1 -0
- package/dist/{chunk-5J4VNCUD.js → chunk-Z3WIL6S3.js} +5 -5
- package/dist/{chunk-5J4VNCUD.js.map → chunk-Z3WIL6S3.js.map} +1 -1
- package/dist/{chunk-MNURF4RF.cjs → chunk-ZBV4LQD2.cjs} +4 -4
- package/dist/{chunk-MNURF4RF.cjs.map → chunk-ZBV4LQD2.cjs.map} +1 -1
- package/dist/{chunk-YGX4PMG6.js → chunk-ZGOUVMVS.js} +5 -5
- package/dist/{chunk-YGX4PMG6.js.map → chunk-ZGOUVMVS.js.map} +1 -1
- package/dist/{chunk-QZYGZVUI.js → chunk-ZIRC2U6G.js} +11 -11
- package/dist/{chunk-QZYGZVUI.js.map → chunk-ZIRC2U6G.js.map} +1 -1
- package/dist/{chunk-6QP4QXBR.js → chunk-ZOHCFYXE.js} +3 -3
- package/dist/{chunk-6QP4QXBR.js.map → chunk-ZOHCFYXE.js.map} +1 -1
- package/dist/{chunk-VWEFXG73.js → chunk-ZP2KPDNN.js} +3 -3
- package/dist/{chunk-VWEFXG73.js.map → chunk-ZP2KPDNN.js.map} +1 -1
- package/dist/{chunk-NT6ILURI.cjs → chunk-ZPCKPLMX.cjs} +8 -8
- package/dist/{chunk-NT6ILURI.cjs.map → chunk-ZPCKPLMX.cjs.map} +1 -1
- package/dist/core/index.cjs +28 -28
- package/dist/core/index.d.cts +5 -6
- package/dist/core/index.d.ts +5 -6
- package/dist/core/index.js +8 -8
- package/dist/{ddl-BCXFRLWg.d.cts → ddl-3unqC-kg.d.cts} +3 -3
- package/dist/{ddl-ByLmGgn9.d.ts → ddl-Bc4Dl8fu.d.ts} +3 -3
- package/dist/{define-graph-BSviZubs.d.ts → define-graph-Byslw2OO.d.cts} +1 -2
- package/dist/{define-graph-XyJheaFm.d.cts → define-graph-DBFnc7u_.d.ts} +1 -2
- package/dist/graph-extension/index.cjs +20 -20
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +5 -5
- package/dist/graph-merge/index.cjs +105 -105
- package/dist/graph-merge/index.d.cts +8 -9
- package/dist/graph-merge/index.d.ts +8 -9
- package/dist/graph-merge/index.js +25 -25
- package/dist/{index-BD_3TCgh.d.ts → index-DHXw7QAl.d.cts} +19 -4
- package/dist/{index-BihFPsPu.d.cts → index-DQzVJBHa.d.ts} +19 -4
- package/dist/index.cjs +206 -202
- package/dist/index.d.cts +13 -15
- package/dist/index.d.ts +13 -15
- package/dist/index.js +35 -35
- package/dist/indexes/index.cjs +13 -13
- package/dist/indexes/index.d.cts +4 -5
- package/dist/indexes/index.d.ts +4 -5
- package/dist/indexes/index.js +6 -6
- package/dist/interchange/index.cjs +40 -40
- package/dist/interchange/index.d.cts +9 -10
- package/dist/interchange/index.d.ts +9 -10
- package/dist/interchange/index.js +14 -14
- package/dist/{manager-C7iC5bk_.d.ts → manager-Dl0-er1G.d.ts} +21 -156
- package/dist/{manager-Dm6MCYO7.d.cts → manager-U9_zopqr.d.cts} +21 -156
- package/dist/materialize-indexes-BM3u0aXE.d.ts +258 -0
- package/dist/materialize-indexes-DzMCetZe.d.cts +258 -0
- package/dist/{postgres-DZxwzCQ8.d.cts → postgres-C5-WMKFA.d.ts} +1 -1
- package/dist/{postgres-Cb6ceh4-.d.ts → postgres-DpJqtbSX.d.cts} +1 -1
- package/dist/profiler/index.d.cts +9 -10
- package/dist/profiler/index.d.ts +9 -10
- package/dist/provenance/index.cjs +39 -39
- package/dist/provenance/index.d.cts +7 -8
- package/dist/provenance/index.d.ts +7 -8
- package/dist/provenance/index.js +9 -9
- package/dist/schema/index.cjs +48 -39
- package/dist/schema/index.d.cts +7 -8
- package/dist/schema/index.d.ts +7 -8
- package/dist/schema/index.js +15 -14
- package/dist/{searchable-aUaKh3_r.d.cts → searchable-B4mUXZT6.d.cts} +2 -2
- package/dist/{searchable-Cet4Oztt.d.ts → searchable-C7jmPNLT.d.ts} +2 -2
- package/dist/{sqlite-Cb3Ilj9_.d.ts → sqlite-Ch5tSYQY.d.ts} +1 -1
- package/dist/{sqlite-Dxklpizv.d.cts → sqlite-Da7jiYu9.d.cts} +1 -1
- package/dist/{store-view-PCT7vTKH.d.cts → store-view-6C2vTWqf.d.ts} +8 -7
- package/dist/{store-view-BDjGFjpN.d.ts → store-view-CNcOG8bQ.d.cts} +8 -7
- package/dist/{temporal-CyFsSPe8.d.ts → temporal-BtrTYTiB.d.ts} +1 -1
- package/dist/{temporal-Dn_JADWY.d.cts → temporal-CMpigMCW.d.cts} +1 -1
- package/dist/{types-CFZiEEPh.d.ts → types-D2rU5Taq.d.ts} +1 -2
- package/dist/{types-D-vOo_pM.d.ts → types-Dh-EgT-w.d.cts} +569 -2
- package/dist/{types-ho4DJJb_.d.cts → types-Dh-EgT-w.d.ts} +569 -2
- package/dist/{types-CsaG00wS.d.cts → types-G4sVM-76.d.cts} +1 -2
- package/dist/{where-DLYaXa4L.d.ts → where-B8Y21kig.d.ts} +1 -2
- package/dist/{where-udes1WRA.d.cts → where-DbZ9XDOI.d.cts} +1 -2
- package/package.json +1 -1
- package/dist/chunk-5YBDB7UG.cjs +0 -12
- package/dist/chunk-DPNA466P.js.map +0 -1
- package/dist/chunk-EFZ4S22A.js.map +0 -1
- package/dist/chunk-IMQKXL4E.cjs +0 -12
- package/dist/chunk-JP5EICR6.cjs.map +0 -1
- package/dist/chunk-LOKG3KQV.cjs.map +0 -1
- package/dist/chunk-MQBF3XGY.js.map +0 -1
- package/dist/chunk-QXKVUJLI.cjs.map +0 -1
- package/dist/chunk-SAFZ6JTI.cjs.map +0 -1
- package/dist/chunk-UDS5DZNY.cjs.map +0 -1
- package/dist/chunk-V3S74J44.js.map +0 -1
- package/dist/chunk-W66YCXWT.js.map +0 -1
- package/dist/extension-types-BLEVH4SG.d.cts +0 -571
- package/dist/extension-types-BLEVH4SG.d.ts +0 -571
- package/dist/materialize-indexes-D4iei4Kp.d.ts +0 -90
- package/dist/materialize-indexes-ExQ6OrAh.d.cts +0 -90
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkUCHW2MGP_cjs = require('../chunk-UCHW2MGP.cjs');
|
|
3
|
+
var chunk2SO5I5AI_cjs = require('../chunk-2SO5I5AI.cjs');
|
|
5
4
|
require('../chunk-ZDH3DX3C.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
|
|
5
|
+
require('../chunk-CVK4T34X.cjs');
|
|
6
|
+
var chunkECU53PMN_cjs = require('../chunk-ECU53PMN.cjs');
|
|
7
|
+
require('../chunk-FSCJOTHF.cjs');
|
|
8
|
+
var chunkTRF4EBJT_cjs = require('../chunk-TRF4EBJT.cjs');
|
|
9
|
+
require('../chunk-AO2WPYFZ.cjs');
|
|
10
|
+
var chunkZBV4LQD2_cjs = require('../chunk-ZBV4LQD2.cjs');
|
|
11
11
|
require('../chunk-NAUA4PW5.cjs');
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-X2XOQZT3.cjs');
|
|
13
13
|
require('../chunk-SJDMVITW.cjs');
|
|
14
14
|
require('../chunk-764JHTLT.cjs');
|
|
15
15
|
require('../chunk-HAHNRASW.cjs');
|
|
16
16
|
var chunkDI74SMXS_cjs = require('../chunk-DI74SMXS.cjs');
|
|
17
|
-
var
|
|
17
|
+
var chunkKTBTSHU6_cjs = require('../chunk-KTBTSHU6.cjs');
|
|
18
18
|
require('../chunk-TDXIBCGY.cjs');
|
|
19
19
|
|
|
20
20
|
// src/provenance/index.ts
|
|
@@ -35,7 +35,7 @@ function edgeToKey(edge) {
|
|
|
35
35
|
function keyToRef(key) {
|
|
36
36
|
const separatorIndex = key.indexOf(KEY_SEPARATOR);
|
|
37
37
|
if (separatorIndex === -1) {
|
|
38
|
-
throw new
|
|
38
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
39
39
|
"Invalid provenance identity key.",
|
|
40
40
|
{ key },
|
|
41
41
|
{
|
|
@@ -51,9 +51,9 @@ function sortedReferences(keys) {
|
|
|
51
51
|
return [...keys].toSorted((left, right) => chunkTRF4EBJT_cjs.compareStrings(left, right)).map((key) => keyToRef(key));
|
|
52
52
|
}
|
|
53
53
|
function parseNodeProps(row) {
|
|
54
|
-
const parsed =
|
|
54
|
+
const parsed = chunkECU53PMN_cjs.rowPropsToObject(row.props);
|
|
55
55
|
if (!chunkDI74SMXS_cjs.isPlainObject(parsed)) {
|
|
56
|
-
throw new
|
|
56
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
57
57
|
`Node ${row.kind}/${row.id} props are not an object.`,
|
|
58
58
|
{ kind: row.kind, id: row.id }
|
|
59
59
|
);
|
|
@@ -65,7 +65,7 @@ function sourceRetractedState(row, retractedField) {
|
|
|
65
65
|
const value = props[retractedField];
|
|
66
66
|
if (value === void 0) return "available";
|
|
67
67
|
if (typeof value !== "boolean") {
|
|
68
|
-
throw new
|
|
68
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
69
69
|
`Provenance source field "${retractedField}" must contain a boolean value.`,
|
|
70
70
|
{ kind: row.kind, id: row.id, field: retractedField },
|
|
71
71
|
{
|
|
@@ -83,26 +83,26 @@ function normalizeConfig(graph, config) {
|
|
|
83
83
|
const derivesKind = config.derives.kind;
|
|
84
84
|
const retractedField = config.source.retractedField ?? DEFAULT_RETRACTED_FIELD;
|
|
85
85
|
if (sourceKinds.length === 0) {
|
|
86
|
-
throw new
|
|
86
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
87
87
|
"Provenance retraction requires at least one source kind.",
|
|
88
88
|
{ role: "source" }
|
|
89
89
|
);
|
|
90
90
|
}
|
|
91
91
|
if (factKinds.length === 0) {
|
|
92
|
-
throw new
|
|
92
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
93
93
|
"Provenance retraction requires at least one fact kind.",
|
|
94
94
|
{ role: "fact" }
|
|
95
95
|
);
|
|
96
96
|
}
|
|
97
97
|
const duplicateSourceKinds = duplicateValues(sourceKinds);
|
|
98
98
|
if (duplicateSourceKinds.length > 0) {
|
|
99
|
-
throw new
|
|
99
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError("Provenance source kinds must be unique.", {
|
|
100
100
|
duplicateSourceKinds
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
103
|
const duplicateFactKinds = duplicateValues(factKinds);
|
|
104
104
|
if (duplicateFactKinds.length > 0) {
|
|
105
|
-
throw new
|
|
105
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError("Provenance fact kinds must be unique.", {
|
|
106
106
|
duplicateFactKinds
|
|
107
107
|
});
|
|
108
108
|
}
|
|
@@ -120,7 +120,7 @@ function normalizeConfig(graph, config) {
|
|
|
120
120
|
if (factKinds.some(
|
|
121
121
|
(kind) => sourceKinds.includes(kind) || kind === justificationKind
|
|
122
122
|
)) {
|
|
123
|
-
throw new
|
|
123
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
124
124
|
"Provenance fact kinds must be distinct from source and justification kinds.",
|
|
125
125
|
{ sourceKinds, justificationKind, factKinds }
|
|
126
126
|
);
|
|
@@ -162,7 +162,7 @@ function duplicateValues(values) {
|
|
|
162
162
|
}
|
|
163
163
|
function assertKind(records, kind, role, noun, graphId) {
|
|
164
164
|
if (Object.hasOwn(records, kind)) return;
|
|
165
|
-
throw new
|
|
165
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
166
166
|
`Provenance ${role} kind "${kind}" is not a ${noun} kind in this graph.`,
|
|
167
167
|
{ role, kind, graphId }
|
|
168
168
|
);
|
|
@@ -171,7 +171,7 @@ function assertSourceField(graph, sourceKind, retractedField) {
|
|
|
171
171
|
const registration = graph.nodes[sourceKind];
|
|
172
172
|
if (registration === void 0) return;
|
|
173
173
|
if (Object.hasOwn(registration.type.schema.shape, retractedField)) return;
|
|
174
|
-
throw new
|
|
174
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
175
175
|
`Provenance source kind "${sourceKind}" must include field "${retractedField}".`,
|
|
176
176
|
{ sourceKind, retractedField },
|
|
177
177
|
{
|
|
@@ -186,14 +186,14 @@ function assertEdgeEndpoints(graph, edgeKind, expected) {
|
|
|
186
186
|
const toKinds = new Set(registration.to.map((node) => node.kind));
|
|
187
187
|
for (const kind of expected.fromKinds) {
|
|
188
188
|
if (fromKinds.has(kind)) continue;
|
|
189
|
-
throw new
|
|
189
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
190
190
|
`Provenance ${expected.role} edge "${edgeKind}" cannot start at "${kind}".`,
|
|
191
191
|
{ edgeKind, role: expected.role, expectedFrom: kind }
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
194
|
for (const kind of expected.toKinds) {
|
|
195
195
|
if (toKinds.has(kind)) continue;
|
|
196
|
-
throw new
|
|
196
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
197
197
|
`Provenance ${expected.role} edge "${edgeKind}" cannot end at "${kind}".`,
|
|
198
198
|
{ edgeKind, role: expected.role, expectedTo: kind }
|
|
199
199
|
);
|
|
@@ -299,7 +299,7 @@ function buildSupportEdges(config, rows) {
|
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
301
|
async function loadSupportGraph(backend, graphId, config) {
|
|
302
|
-
const asOf =
|
|
302
|
+
const asOf = chunkZBV4LQD2_cjs.nowIso();
|
|
303
303
|
const roles = await readRoles(backend, graphId, config, asOf);
|
|
304
304
|
const supportEdges = buildSupportEdges(config, roles);
|
|
305
305
|
const sourceRowsByKind = await Promise.all(
|
|
@@ -430,21 +430,21 @@ async function synchronizeFactCurrency(backend, store, runHooks, snapshot, affec
|
|
|
430
430
|
snapshot,
|
|
431
431
|
affected,
|
|
432
432
|
(key) => !snapshot.supportedFactKeys.has(key),
|
|
433
|
-
|
|
433
|
+
chunkECU53PMN_cjs.isLiveNodeRow,
|
|
434
434
|
(row) => closeFactCurrency(backend, store, runHooks, row, lock)
|
|
435
435
|
);
|
|
436
436
|
await forEachAffectedFact(
|
|
437
437
|
snapshot,
|
|
438
438
|
affected,
|
|
439
439
|
(key) => snapshot.supportedFactKeys.has(key),
|
|
440
|
-
|
|
440
|
+
chunkECU53PMN_cjs.isTombstonedNodeRow,
|
|
441
441
|
(row) => reopenFactCurrency(backend, store, runHooks, row, lock)
|
|
442
442
|
);
|
|
443
443
|
}
|
|
444
444
|
function getFactRegistration(store, row) {
|
|
445
445
|
const registration = store.graph.nodes[row.kind];
|
|
446
446
|
if (registration !== void 0) return registration;
|
|
447
|
-
throw new
|
|
447
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
448
448
|
`Provenance fact kind "${row.kind}" is not a node kind in this graph.`,
|
|
449
449
|
{ kind: row.kind, graphId: store.graphId }
|
|
450
450
|
);
|
|
@@ -452,8 +452,8 @@ function getFactRegistration(store, row) {
|
|
|
452
452
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
453
453
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
454
454
|
const registration = getFactRegistration(store, row);
|
|
455
|
-
await
|
|
456
|
-
|
|
455
|
+
await chunk2SO5I5AI_cjs.applyNodeSoftDelete(
|
|
456
|
+
chunk2SO5I5AI_cjs.createNodeWriteContext(store.graphId, store.registry, lock),
|
|
457
457
|
{
|
|
458
458
|
existing: row,
|
|
459
459
|
schema: registration.type.schema,
|
|
@@ -468,8 +468,8 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
468
468
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
469
469
|
await runHooks("update", row.kind, row.id, async () => {
|
|
470
470
|
const registration = getFactRegistration(store, row);
|
|
471
|
-
await
|
|
472
|
-
|
|
471
|
+
await chunk2SO5I5AI_cjs.applyNodeResurrect(
|
|
472
|
+
chunk2SO5I5AI_cjs.createNodeWriteContext(store.graphId, store.registry, lock),
|
|
473
473
|
{
|
|
474
474
|
existing: row,
|
|
475
475
|
schema: registration.type.schema,
|
|
@@ -482,7 +482,7 @@ async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
482
482
|
function getTransactionNodeCollection(tx, kind) {
|
|
483
483
|
const collection = tx.getNodeCollection(kind);
|
|
484
484
|
if (collection !== void 0) return collection;
|
|
485
|
-
throw new
|
|
485
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
486
486
|
`Provenance source kind "${kind}" is not available on this transaction.`,
|
|
487
487
|
{ kind }
|
|
488
488
|
);
|
|
@@ -495,14 +495,14 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
495
495
|
const uniqueSources = uniqueNodeReferences(sources);
|
|
496
496
|
for (const source of uniqueSources) {
|
|
497
497
|
if (config.sourceKinds.includes(source.kind)) continue;
|
|
498
|
-
throw new
|
|
498
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
499
499
|
`Provenance retraction source must be one of: ${config.sourceKinds.join(", ")}.`,
|
|
500
500
|
{ expectedKinds: config.sourceKinds, actualKind: source.kind }
|
|
501
501
|
);
|
|
502
502
|
}
|
|
503
503
|
return store.transaction(async (tx) => {
|
|
504
|
-
const backend =
|
|
505
|
-
const lock = await
|
|
504
|
+
const backend = chunk2SO5I5AI_cjs.transactionBackend(tx);
|
|
505
|
+
const lock = await chunk2SO5I5AI_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
506
506
|
const rows = await Promise.all(
|
|
507
507
|
uniqueSources.map(
|
|
508
508
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -511,7 +511,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
511
511
|
const sourceRows = uniqueSources.map((source, index) => {
|
|
512
512
|
const sourceRow = rows[index];
|
|
513
513
|
if (sourceRow === void 0 || sourceRow.deleted_at !== void 0) {
|
|
514
|
-
throw new
|
|
514
|
+
throw new chunkKTBTSHU6_cjs.NodeNotFoundError(source.kind, source.id);
|
|
515
515
|
}
|
|
516
516
|
return { source, row: sourceRow };
|
|
517
517
|
});
|
|
@@ -538,7 +538,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
538
538
|
await synchronizeFactCurrency(
|
|
539
539
|
backend,
|
|
540
540
|
store,
|
|
541
|
-
|
|
541
|
+
chunk2SO5I5AI_cjs.transactionNodeOperationHookRunner(tx),
|
|
542
542
|
after,
|
|
543
543
|
affected,
|
|
544
544
|
lock
|
|
@@ -564,8 +564,8 @@ function createRetractionCapability(store, config) {
|
|
|
564
564
|
unRetractMany: (sources) => transition(sources, false),
|
|
565
565
|
async holding() {
|
|
566
566
|
return store.transaction(async (tx) => {
|
|
567
|
-
const backend =
|
|
568
|
-
await
|
|
567
|
+
const backend = chunk2SO5I5AI_cjs.transactionBackend(tx);
|
|
568
|
+
await chunk2SO5I5AI_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
569
569
|
const snapshot = await computeSupport(
|
|
570
570
|
backend,
|
|
571
571
|
store.graphId,
|
|
@@ -580,7 +580,7 @@ function createRetractionCapability(store, config) {
|
|
|
580
580
|
}
|
|
581
581
|
function assertRetractionHistoryEnabled(store) {
|
|
582
582
|
if (!store.historyEnabled) {
|
|
583
|
-
throw new
|
|
583
|
+
throw new chunkKTBTSHU6_cjs.ConfigurationError(
|
|
584
584
|
"createRetractionCapability requires a store created with { history: true }.",
|
|
585
585
|
{ graphId: store.graphId },
|
|
586
586
|
{
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { G as GraphDef } from '../define-graph-
|
|
2
|
-
import { b as HistoryStore } from '../store-view-
|
|
3
|
-
import '../
|
|
1
|
+
import { G as GraphDef } from '../define-graph-Byslw2OO.cjs';
|
|
2
|
+
import { b as HistoryStore } from '../store-view-CNcOG8bQ.cjs';
|
|
3
|
+
import '../types-Dh-EgT-w.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../
|
|
6
|
-
import '../
|
|
7
|
-
import '../
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../materialize-indexes-ExQ6OrAh.cjs';
|
|
5
|
+
import '../temporal-CMpigMCW.cjs';
|
|
6
|
+
import '../manager-U9_zopqr.cjs';
|
|
7
|
+
import '../materialize-indexes-DzMCetZe.cjs';
|
|
8
|
+
import '../searchable-B4mUXZT6.cjs';
|
|
10
9
|
|
|
11
10
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
12
11
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { G as GraphDef } from '../define-graph-
|
|
2
|
-
import { b as HistoryStore } from '../store-view-
|
|
3
|
-
import '../
|
|
1
|
+
import { G as GraphDef } from '../define-graph-DBFnc7u_.js';
|
|
2
|
+
import { b as HistoryStore } from '../store-view-6C2vTWqf.js';
|
|
3
|
+
import '../types-Dh-EgT-w.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../
|
|
6
|
-
import '../
|
|
7
|
-
import '../
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../materialize-indexes-D4iei4Kp.js';
|
|
5
|
+
import '../temporal-BtrTYTiB.js';
|
|
6
|
+
import '../manager-Dl0-er1G.js';
|
|
7
|
+
import '../materialize-indexes-BM3u0aXE.js';
|
|
8
|
+
import '../searchable-C7jmPNLT.js';
|
|
10
9
|
|
|
11
10
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
12
11
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
package/dist/provenance/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-JHK6NPFV.js';
|
|
1
|
+
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-EVFL2ZY5.js';
|
|
3
2
|
import '../chunk-35S6P5ZU.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import
|
|
3
|
+
import '../chunk-CDYRPI5U.js';
|
|
4
|
+
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-UZLEQFTV.js';
|
|
5
|
+
import '../chunk-2OOY4OYT.js';
|
|
6
|
+
import { compareStrings } from '../chunk-DRACN6XG.js';
|
|
7
|
+
import '../chunk-CUPJL6TS.js';
|
|
8
|
+
import { nowIso } from '../chunk-GT7NEXSU.js';
|
|
9
9
|
import '../chunk-2EBMPJBO.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-M4GYQF2H.js';
|
|
11
11
|
import '../chunk-SNXVDZAJ.js';
|
|
12
12
|
import '../chunk-QMQLUA66.js';
|
|
13
13
|
import '../chunk-PC2UBAUB.js';
|
|
14
14
|
import { isPlainObject } from '../chunk-ITE4IXAK.js';
|
|
15
|
-
import { ConfigurationError, NodeNotFoundError } from '../chunk-
|
|
15
|
+
import { ConfigurationError, NodeNotFoundError } from '../chunk-OYJSYDIH.js';
|
|
16
16
|
import '../chunk-G6Q5UM7U.js';
|
|
17
17
|
|
|
18
18
|
// src/provenance/index.ts
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,131 +1,140 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
|
|
3
|
+
var chunk3RPQDGUE_cjs = require('../chunk-3RPQDGUE.cjs');
|
|
4
|
+
var chunkV2GZBPY2_cjs = require('../chunk-V2GZBPY2.cjs');
|
|
5
|
+
require('../chunk-TRF4EBJT.cjs');
|
|
6
|
+
require('../chunk-DMZEVJGL.cjs');
|
|
7
|
+
var chunkARN3ZODS_cjs = require('../chunk-ARN3ZODS.cjs');
|
|
7
8
|
require('../chunk-ACSVZPK7.cjs');
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-AO2WPYFZ.cjs');
|
|
10
|
+
require('../chunk-ZPCKPLMX.cjs');
|
|
11
|
+
require('../chunk-ZBV4LQD2.cjs');
|
|
12
|
+
require('../chunk-I73ATSAH.cjs');
|
|
12
13
|
require('../chunk-ZY4GXIVN.cjs');
|
|
13
14
|
require('../chunk-NAUA4PW5.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-UTTW2Q3M.cjs');
|
|
16
|
+
require('../chunk-X2XOQZT3.cjs');
|
|
16
17
|
require('../chunk-FJMPR3OH.cjs');
|
|
17
18
|
require('../chunk-SJDMVITW.cjs');
|
|
18
19
|
require('../chunk-764JHTLT.cjs');
|
|
19
20
|
require('../chunk-HAHNRASW.cjs');
|
|
20
|
-
require('../chunk-
|
|
21
|
+
require('../chunk-XDMPDUKL.cjs');
|
|
21
22
|
require('../chunk-SVJ5GEXW.cjs');
|
|
22
|
-
require('../chunk-
|
|
23
|
+
require('../chunk-F7TDKSVB.cjs');
|
|
23
24
|
require('../chunk-DI74SMXS.cjs');
|
|
24
|
-
require('../chunk-
|
|
25
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-O2GZM7UK.cjs');
|
|
26
|
+
require('../chunk-KTBTSHU6.cjs');
|
|
26
27
|
require('../chunk-TDXIBCGY.cjs');
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
31
32
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk3RPQDGUE_cjs.deserializeSchema; }
|
|
33
34
|
});
|
|
34
35
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
35
36
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkV2GZBPY2_cjs.applyDeprecatedKinds; }
|
|
37
38
|
});
|
|
38
39
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
39
40
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkV2GZBPY2_cjs.assertSchemaCurrent; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkV2GZBPY2_cjs.classifySchemaChanges; }
|
|
41
46
|
});
|
|
42
47
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
43
48
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkV2GZBPY2_cjs.computeSchemaDiff; }
|
|
45
50
|
});
|
|
46
51
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
47
52
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkV2GZBPY2_cjs.computeSchemaHash; }
|
|
49
54
|
});
|
|
50
55
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
51
56
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkV2GZBPY2_cjs.deserializeWherePredicate; }
|
|
53
58
|
});
|
|
54
59
|
Object.defineProperty(exports, "ensureSchema", {
|
|
55
60
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkV2GZBPY2_cjs.ensureSchema; }
|
|
57
62
|
});
|
|
58
63
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
59
64
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkV2GZBPY2_cjs.getActiveSchema; }
|
|
61
66
|
});
|
|
62
67
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
63
68
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkV2GZBPY2_cjs.getCommittedSchemaVersion; }
|
|
65
70
|
});
|
|
66
71
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
67
72
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkV2GZBPY2_cjs.getMigrationActions; }
|
|
69
74
|
});
|
|
70
75
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
71
76
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkV2GZBPY2_cjs.getSchemaChanges; }
|
|
73
78
|
});
|
|
74
79
|
Object.defineProperty(exports, "initializeSchema", {
|
|
75
80
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkV2GZBPY2_cjs.initializeSchema; }
|
|
77
82
|
});
|
|
78
83
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
79
84
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkV2GZBPY2_cjs.isBackwardsCompatible; }
|
|
81
86
|
});
|
|
82
87
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
83
88
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkV2GZBPY2_cjs.isSchemaInitialized; }
|
|
85
90
|
});
|
|
86
91
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
87
92
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkV2GZBPY2_cjs.loadActiveSchemaWithBootstrap; }
|
|
89
94
|
});
|
|
90
95
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
91
96
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkV2GZBPY2_cjs.loadAndMergeGraphExtensionDocument; }
|
|
93
98
|
});
|
|
94
99
|
Object.defineProperty(exports, "migrateSchema", {
|
|
95
100
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkV2GZBPY2_cjs.migrateSchema; }
|
|
97
102
|
});
|
|
98
103
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
99
104
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkV2GZBPY2_cjs.parseSerializedSchema; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "requiresMigration", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return chunkV2GZBPY2_cjs.requiresMigration; }
|
|
101
110
|
});
|
|
102
111
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
103
112
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkV2GZBPY2_cjs.rollbackSchema; }
|
|
105
114
|
});
|
|
106
115
|
Object.defineProperty(exports, "serializeSchema", {
|
|
107
116
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkV2GZBPY2_cjs.serializeSchema; }
|
|
109
118
|
});
|
|
110
119
|
Object.defineProperty(exports, "createValidationError", {
|
|
111
120
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkARN3ZODS_cjs.createValidationError; }
|
|
113
122
|
});
|
|
114
123
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
115
124
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkARN3ZODS_cjs.validateEdgeProps; }
|
|
117
126
|
});
|
|
118
127
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
119
128
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkARN3ZODS_cjs.validateNodeProps; }
|
|
121
130
|
});
|
|
122
131
|
Object.defineProperty(exports, "validateProps", {
|
|
123
132
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkARN3ZODS_cjs.validateProps; }
|
|
125
134
|
});
|
|
126
135
|
Object.defineProperty(exports, "wrapZodError", {
|
|
127
136
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkARN3ZODS_cjs.wrapZodError; }
|
|
129
138
|
});
|
|
130
139
|
//# sourceMappingURL=index.cjs.map
|
|
131
140
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { K as KindRegistry } from '../manager-
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { G as GraphDef } from '../define-graph-
|
|
6
|
-
|
|
1
|
+
import { K as KindRegistry } from '../manager-U9_zopqr.cjs';
|
|
2
|
+
export { M as MigrationHookContext, S as SchemaManagerOptions, a as SchemaValidationResult, b as applyDeprecatedKinds, c as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, d as getCommittedSchemaVersion, f as getSchemaChanges, i as initializeSchema, h as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, j as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, k as rollbackSchema } from '../manager-U9_zopqr.cjs';
|
|
3
|
+
import { y as SerializedNodeDef, z as SerializedEdgeDef, H as SerializedMetaEdge, L as SerializedOntologyRelation, M as SerializedClosures, x as SerializedSchema, P as SchemaHash, U as NullCheckOp, K as KindEntity } from '../types-Dh-EgT-w.cjs';
|
|
4
|
+
export { W as JsonSchema, X as SerializedOntology, Y as SerializedUniqueConstraint } from '../types-Dh-EgT-w.cjs';
|
|
5
|
+
import { G as GraphDef } from '../define-graph-Byslw2OO.cjs';
|
|
6
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, N as NodeChange, O as OntologyChange, c as SchemaChangeClassification, S as SchemaDiff, d as classifySchemaChanges, e as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-DzMCetZe.cjs';
|
|
7
7
|
import { ZodType, ZodError } from 'zod';
|
|
8
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
9
|
-
import '../materialize-indexes-ExQ6OrAh.cjs';
|
|
8
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-DHXw7QAl.cjs';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Schema deserializer for loading stored schemas.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { K as KindRegistry } from '../manager-
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { G as GraphDef } from '../define-graph-
|
|
6
|
-
|
|
1
|
+
import { K as KindRegistry } from '../manager-Dl0-er1G.js';
|
|
2
|
+
export { M as MigrationHookContext, S as SchemaManagerOptions, a as SchemaValidationResult, b as applyDeprecatedKinds, c as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, d as getCommittedSchemaVersion, f as getSchemaChanges, i as initializeSchema, h as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, j as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, k as rollbackSchema } from '../manager-Dl0-er1G.js';
|
|
3
|
+
import { y as SerializedNodeDef, z as SerializedEdgeDef, H as SerializedMetaEdge, L as SerializedOntologyRelation, M as SerializedClosures, x as SerializedSchema, P as SchemaHash, U as NullCheckOp, K as KindEntity } from '../types-Dh-EgT-w.js';
|
|
4
|
+
export { W as JsonSchema, X as SerializedOntology, Y as SerializedUniqueConstraint } from '../types-Dh-EgT-w.js';
|
|
5
|
+
import { G as GraphDef } from '../define-graph-DBFnc7u_.js';
|
|
6
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, N as NodeChange, O as OntologyChange, c as SchemaChangeClassification, S as SchemaDiff, d as classifySchemaChanges, e as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-BM3u0aXE.js';
|
|
7
7
|
import { ZodType, ZodError } from 'zod';
|
|
8
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
9
|
-
import '../materialize-indexes-D4iei4Kp.js';
|
|
8
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-DQzVJBHa.js';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Schema deserializer for loading stored schemas.
|
package/dist/schema/index.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export { deserializeSchema } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, rollbackSchema, serializeSchema } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
|
|
1
|
+
export { deserializeSchema } from '../chunk-LDCWO5B6.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-RAWG2FEU.js';
|
|
3
|
+
import '../chunk-DRACN6XG.js';
|
|
4
|
+
import '../chunk-2HKIID5K.js';
|
|
5
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-O3USVVWS.js';
|
|
5
6
|
import '../chunk-UR7W5YQK.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-CUPJL6TS.js';
|
|
8
|
+
import '../chunk-3V6D5DEC.js';
|
|
9
|
+
import '../chunk-GT7NEXSU.js';
|
|
10
|
+
import '../chunk-ZP2KPDNN.js';
|
|
10
11
|
import '../chunk-K34OPSJK.js';
|
|
11
12
|
import '../chunk-2EBMPJBO.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-42XYPKZU.js';
|
|
14
|
+
import '../chunk-M4GYQF2H.js';
|
|
14
15
|
import '../chunk-D7PG5D5K.js';
|
|
15
16
|
import '../chunk-SNXVDZAJ.js';
|
|
16
17
|
import '../chunk-QMQLUA66.js';
|
|
17
18
|
import '../chunk-PC2UBAUB.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-EQOQOT55.js';
|
|
19
20
|
import '../chunk-GYA4JRP5.js';
|
|
20
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-RXOAXO3R.js';
|
|
21
22
|
import '../chunk-ITE4IXAK.js';
|
|
22
|
-
import '../chunk-
|
|
23
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-4WYFRACU.js';
|
|
24
|
+
import '../chunk-OYJSYDIH.js';
|
|
24
25
|
import '../chunk-G6Q5UM7U.js';
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { G as GraphDef } from './define-graph-
|
|
2
|
+
import { u as VectorSlot } from './types-Dh-EgT-w.cjs';
|
|
3
|
+
import { G as GraphDef } from './define-graph-Byslw2OO.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Embedding type for vector search.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { G as GraphDef } from './define-graph-
|
|
2
|
+
import { u as VectorSlot } from './types-Dh-EgT-w.js';
|
|
3
|
+
import { G as GraphDef } from './define-graph-DBFnc7u_.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Embedding type for vector search.
|