@nicia-ai/typegraph 0.50.0 → 0.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/backend/drizzle/indexes.cjs +10 -8
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +6 -4
- package/dist/backend/index.cjs +183 -50
- package/dist/backend/index.d.cts +90 -4
- package/dist/backend/index.d.ts +90 -4
- package/dist/backend/index.js +6 -9
- package/dist/backend/postgres/index.cjs +30 -28
- package/dist/backend/postgres/index.d.cts +7 -7
- package/dist/backend/postgres/index.d.ts +7 -7
- package/dist/backend/postgres/index.js +16 -14
- package/dist/backend/postgres/pglite-store.cjs +6 -62
- package/dist/backend/postgres/pglite-store.cjs.map +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +8 -8
- package/dist/backend/postgres/pglite-store.d.ts +8 -8
- package/dist/backend/postgres/pglite-store.js +6 -62
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +18 -16
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +17 -15
- package/dist/backend/sqlite/index.cjs +27 -25
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +14 -12
- package/dist/backend/sqlite/libsql.cjs +21 -19
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +16 -14
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +8 -64
- package/dist/backend/sqlite/local-store.cjs.map +1 -1
- package/dist/backend/sqlite/local-store.d.cts +8 -8
- package/dist/backend/sqlite/local-store.d.ts +8 -8
- package/dist/backend/sqlite/local-store.js +7 -64
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +22 -19
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +18 -15
- package/dist/{chunk-TUVD4DFR.cjs → chunk-2CVDZCXH.cjs} +122 -51
- package/dist/chunk-2CVDZCXH.cjs.map +1 -0
- package/dist/{chunk-I5C6OTKR.js → chunk-2DWTBNSH.js} +3 -3
- package/dist/{chunk-I5C6OTKR.js.map → chunk-2DWTBNSH.js.map} +1 -1
- package/dist/{chunk-C76WFIVZ.cjs → chunk-2KCTP3U2.cjs} +180 -127
- package/dist/chunk-2KCTP3U2.cjs.map +1 -0
- package/dist/{chunk-BYBDM423.cjs → chunk-322TBTOQ.cjs} +48 -48
- package/dist/{chunk-BYBDM423.cjs.map → chunk-322TBTOQ.cjs.map} +1 -1
- package/dist/chunk-36SX6QXP.cjs +186 -0
- package/dist/chunk-36SX6QXP.cjs.map +1 -0
- package/dist/{chunk-H3XP6BAV.js → chunk-36VYWVQU.js} +3 -3
- package/dist/{chunk-H3XP6BAV.js.map → chunk-36VYWVQU.js.map} +1 -1
- package/dist/{chunk-VTJVMP4I.js → chunk-4DKY6RIU.js} +102 -31
- package/dist/chunk-4DKY6RIU.js.map +1 -0
- package/dist/chunk-4QKOZYMV.js +9 -0
- package/dist/chunk-4QKOZYMV.js.map +1 -0
- package/dist/{chunk-U3Z7XKAG.js → chunk-57JM6NW3.js} +8 -18
- package/dist/chunk-57JM6NW3.js.map +1 -0
- package/dist/{chunk-WCLMKNQE.cjs → chunk-5FVZSE3B.cjs} +1356 -1108
- package/dist/chunk-5FVZSE3B.cjs.map +1 -0
- package/dist/{chunk-XMY2SXOH.cjs → chunk-5WWEYV4H.cjs} +2208 -579
- package/dist/chunk-5WWEYV4H.cjs.map +1 -0
- package/dist/{chunk-WQBAQZHR.js → chunk-6NLYIMJO.js} +4 -4
- package/dist/{chunk-WQBAQZHR.js.map → chunk-6NLYIMJO.js.map} +1 -1
- package/dist/{chunk-G2TLHH6T.cjs → chunk-7B7I7YAW.cjs} +6 -6
- package/dist/{chunk-G2TLHH6T.cjs.map → chunk-7B7I7YAW.cjs.map} +1 -1
- package/dist/{chunk-EDLKIQRI.js → chunk-7G5IYROL.js} +6 -548
- package/dist/chunk-7G5IYROL.js.map +1 -0
- package/dist/{chunk-46UGOVRW.js → chunk-7QFRK6PU.js} +3 -7
- package/dist/chunk-7QFRK6PU.js.map +1 -0
- package/dist/chunk-A4C4NJ5U.cjs +12 -0
- package/dist/chunk-A4C4NJ5U.cjs.map +1 -0
- package/dist/{chunk-7CCMCMJO.cjs → chunk-AOGOC6JF.cjs} +77 -68
- package/dist/chunk-AOGOC6JF.cjs.map +1 -0
- package/dist/{chunk-TYGGUWMS.cjs → chunk-B3MN7EJR.cjs} +177 -137
- package/dist/chunk-B3MN7EJR.cjs.map +1 -0
- package/dist/{chunk-K6VKTBST.cjs → chunk-BZ5MVITP.cjs} +4 -4
- package/dist/{chunk-K6VKTBST.cjs.map → chunk-BZ5MVITP.cjs.map} +1 -1
- package/dist/{chunk-ZAQUKCUC.js → chunk-CBOD7TXH.js} +5 -5
- package/dist/{chunk-ZAQUKCUC.js.map → chunk-CBOD7TXH.js.map} +1 -1
- package/dist/{chunk-LLVOQOWE.cjs → chunk-CRZ56SZU.cjs} +6 -5
- package/dist/chunk-CRZ56SZU.cjs.map +1 -0
- package/dist/{chunk-ON47CBE4.cjs → chunk-D3GWARN7.cjs} +47 -47
- package/dist/{chunk-ON47CBE4.cjs.map → chunk-D3GWARN7.cjs.map} +1 -1
- package/dist/{chunk-W5SOCUBL.js → chunk-D3OUDFU7.js} +5 -5
- package/dist/{chunk-W5SOCUBL.js.map → chunk-D3OUDFU7.js.map} +1 -1
- package/dist/chunk-EKG2UXNX.cjs +23 -0
- package/dist/chunk-EKG2UXNX.cjs.map +1 -0
- package/dist/{chunk-2Q45FAIE.js → chunk-EVYW3532.js} +28 -19
- package/dist/chunk-EVYW3532.js.map +1 -0
- package/dist/{chunk-7PRMDZIA.cjs → chunk-FMMW3KX7.cjs} +21 -55
- package/dist/chunk-FMMW3KX7.cjs.map +1 -0
- package/dist/chunk-H2VWDQWC.cjs +571 -0
- package/dist/chunk-H2VWDQWC.cjs.map +1 -0
- package/dist/chunk-H4FY6OZK.js +13 -0
- package/dist/chunk-H4FY6OZK.js.map +1 -0
- package/dist/{chunk-OJHD3LXJ.cjs → chunk-H5IJSROF.cjs} +2 -8
- package/dist/chunk-H5IJSROF.cjs.map +1 -0
- package/dist/{chunk-U5EL6JUV.js → chunk-I5IOSA27.js} +101 -103
- package/dist/chunk-I5IOSA27.js.map +1 -0
- package/dist/{chunk-SHC7BCG5.cjs → chunk-I7YAY2VQ.cjs} +7 -7
- package/dist/{chunk-SHC7BCG5.cjs.map → chunk-I7YAY2VQ.cjs.map} +1 -1
- package/dist/chunk-IRCWIA3R.js +20 -0
- package/dist/chunk-IRCWIA3R.js.map +1 -0
- package/dist/chunk-IVQBLXBK.cjs +55 -0
- package/dist/chunk-IVQBLXBK.cjs.map +1 -0
- package/dist/{chunk-5PP4KRPV.js → chunk-IZD4HTCP.js} +5 -5
- package/dist/{chunk-5PP4KRPV.js.map → chunk-IZD4HTCP.js.map} +1 -1
- package/dist/{chunk-RDP6ZRSM.cjs → chunk-JQKMEKKW.cjs} +261 -204
- package/dist/chunk-JQKMEKKW.cjs.map +1 -0
- package/dist/chunk-JVA3KDEA.cjs +691 -0
- package/dist/chunk-JVA3KDEA.cjs.map +1 -0
- package/dist/{chunk-JG5XIJDY.js → chunk-K67P5DLL.js} +62 -22
- package/dist/chunk-K67P5DLL.js.map +1 -0
- package/dist/{chunk-MX7EKQPM.js → chunk-K6OZIHKI.js} +345 -97
- package/dist/chunk-K6OZIHKI.js.map +1 -0
- package/dist/{chunk-CS6JTQQ2.cjs → chunk-KACEYDYV.cjs} +94 -62
- package/dist/chunk-KACEYDYV.cjs.map +1 -0
- package/dist/{chunk-5OWHU7Z7.cjs → chunk-L6EVYIID.cjs} +248 -210
- package/dist/chunk-L6EVYIID.cjs.map +1 -0
- package/dist/{chunk-7OWE7WD6.js → chunk-LI4K2KEJ.js} +4 -4
- package/dist/{chunk-7OWE7WD6.js.map → chunk-LI4K2KEJ.js.map} +1 -1
- package/dist/chunk-LKZDQ2B4.js +1581 -0
- package/dist/chunk-LKZDQ2B4.js.map +1 -0
- package/dist/{chunk-45YZXI6X.cjs → chunk-LLFPQOBA.cjs} +27 -27
- package/dist/{chunk-45YZXI6X.cjs.map → chunk-LLFPQOBA.cjs.map} +1 -1
- package/dist/{chunk-ZRJTM7MT.js → chunk-LZMQ3SFK.js} +3 -3
- package/dist/{chunk-ZRJTM7MT.js.map → chunk-LZMQ3SFK.js.map} +1 -1
- package/dist/{chunk-DI6VC62F.js → chunk-M3VTS3F6.js} +3 -3
- package/dist/{chunk-DI6VC62F.js.map → chunk-M3VTS3F6.js.map} +1 -1
- package/dist/{chunk-MZ34E2GN.js → chunk-NBOS7BY3.js} +60 -21
- package/dist/chunk-NBOS7BY3.js.map +1 -0
- package/dist/{chunk-YA36ABIL.js → chunk-NGQDGL5X.js} +14 -48
- package/dist/chunk-NGQDGL5X.js.map +1 -0
- package/dist/{chunk-ZBFZGLZE.cjs → chunk-NLX5OWK7.cjs} +6 -2
- package/dist/chunk-NLX5OWK7.cjs.map +1 -0
- package/dist/chunk-NUQ2YFFH.cjs +1637 -0
- package/dist/chunk-NUQ2YFFH.cjs.map +1 -0
- package/dist/{chunk-TTCOPKUL.cjs → chunk-OGL4X4PH.cjs} +182 -184
- package/dist/chunk-OGL4X4PH.cjs.map +1 -0
- package/dist/{chunk-HY5BNOUN.cjs → chunk-OTNTGEXR.cjs} +4 -4
- package/dist/{chunk-HY5BNOUN.cjs.map → chunk-OTNTGEXR.cjs.map} +1 -1
- package/dist/chunk-OTWE63BW.js +53 -0
- package/dist/chunk-OTWE63BW.js.map +1 -0
- package/dist/chunk-PC5NGH5A.js +549 -0
- package/dist/chunk-PC5NGH5A.js.map +1 -0
- package/dist/{chunk-IPRP6TDL.cjs → chunk-PS3TUWJM.cjs} +7 -7
- package/dist/{chunk-IPRP6TDL.cjs.map → chunk-PS3TUWJM.cjs.map} +1 -1
- package/dist/{chunk-V76FGHY3.js → chunk-PVFFH7TL.js} +5 -5
- package/dist/{chunk-V76FGHY3.js.map → chunk-PVFFH7TL.js.map} +1 -1
- package/dist/chunk-QCD5JKU4.cjs +15 -0
- package/dist/chunk-QCD5JKU4.cjs.map +1 -0
- package/dist/{chunk-IRPYOHRC.js → chunk-QG5VEOKX.js} +6 -2
- package/dist/chunk-QG5VEOKX.js.map +1 -0
- package/dist/{chunk-2CYI5HRH.js → chunk-RI7RJH4G.js} +49 -17
- package/dist/chunk-RI7RJH4G.js.map +1 -0
- package/dist/{chunk-5LKOVCPP.js → chunk-RVUL2HXY.js} +6 -5
- package/dist/chunk-RVUL2HXY.js.map +1 -0
- package/dist/{chunk-WK23PGTP.cjs → chunk-S5GU4LUN.cjs} +11 -11
- package/dist/{chunk-WK23PGTP.cjs.map → chunk-S5GU4LUN.cjs.map} +1 -1
- package/dist/{chunk-S33YQEL7.js → chunk-SDPWO2Z5.js} +6 -6
- package/dist/{chunk-S33YQEL7.js.map → chunk-SDPWO2Z5.js.map} +1 -1
- package/dist/{chunk-6S3PTHL4.js → chunk-SLGGT2XD.js} +3 -3
- package/dist/{chunk-6S3PTHL4.js.map → chunk-SLGGT2XD.js.map} +1 -1
- package/dist/{chunk-HSEZ7X6Y.cjs → chunk-TIJUA4I6.cjs} +45 -45
- package/dist/{chunk-HSEZ7X6Y.cjs.map → chunk-TIJUA4I6.cjs.map} +1 -1
- package/dist/{chunk-CSNOYIB4.cjs → chunk-TM54OBHX.cjs} +13 -13
- package/dist/{chunk-CSNOYIB4.cjs.map → chunk-TM54OBHX.cjs.map} +1 -1
- package/dist/{chunk-MM3JHVKZ.cjs → chunk-TUWSVL6I.cjs} +4 -4
- package/dist/{chunk-MM3JHVKZ.cjs.map → chunk-TUWSVL6I.cjs.map} +1 -1
- package/dist/{chunk-2GIV5X4P.js → chunk-TYEYRCXL.js} +86 -33
- package/dist/chunk-TYEYRCXL.js.map +1 -0
- package/dist/{chunk-MJPZNEJZ.js → chunk-UKOVGCRN.js} +2095 -496
- package/dist/chunk-UKOVGCRN.js.map +1 -0
- package/dist/chunk-UYKDYE5D.cjs +12 -0
- package/dist/{chunk-KWNWG4RC.cjs.map → chunk-UYKDYE5D.cjs.map} +1 -1
- package/dist/{chunk-FX5ZW6PN.js → chunk-VAAC7L57.js} +95 -40
- package/dist/chunk-VAAC7L57.js.map +1 -0
- package/dist/{chunk-ISKCIQF2.cjs → chunk-VKHXYVN7.cjs} +14 -25
- package/dist/chunk-VKHXYVN7.cjs.map +1 -0
- package/dist/chunk-VUQZNUHU.js +171 -0
- package/dist/chunk-VUQZNUHU.js.map +1 -0
- package/dist/{chunk-K2XYLVVB.cjs → chunk-WDM5WQK4.cjs} +175 -136
- package/dist/chunk-WDM5WQK4.cjs.map +1 -0
- package/dist/{chunk-GVYVGGPJ.js → chunk-WFSYYU4W.js} +66 -28
- package/dist/chunk-WFSYYU4W.js.map +1 -0
- package/dist/{chunk-R7MRFE5P.js → chunk-WS5MT2UJ.js} +3 -3
- package/dist/{chunk-R7MRFE5P.js.map → chunk-WS5MT2UJ.js.map} +1 -1
- package/dist/chunk-XORONCV3.js +202 -0
- package/dist/chunk-XORONCV3.js.map +1 -0
- package/dist/chunk-ZGVTNKTX.cjs +217 -0
- package/dist/chunk-ZGVTNKTX.cjs.map +1 -0
- package/dist/core/index.cjs +20 -20
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +4 -4
- package/dist/{ddl-B49O7dB_.d.ts → ddl-BvcbgzHo.d.ts} +3 -3
- package/dist/{ddl-DcZG660s.d.cts → ddl-Ufebz5q5.d.cts} +3 -3
- package/dist/graph-extension/index.d.cts +2 -4
- package/dist/graph-extension/index.d.ts +2 -4
- package/dist/graph-merge/index.cjs +140 -125
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +8 -9
- package/dist/graph-merge/index.d.ts +8 -9
- package/dist/graph-merge/index.js +42 -27
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +144 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -12
- package/dist/index.d.ts +11 -12
- package/dist/index.js +30 -29
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +14 -12
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +7 -5
- package/dist/{ingestion-import-target-CI8OWIkM.d.ts → ingestion-import-target-CAs1OX-l.d.cts} +1 -1
- package/dist/{ingestion-import-target-DCpfM1PX.d.cts → ingestion-import-target-DCQSPfNx.d.ts} +1 -1
- package/dist/interchange/index.cjs +41 -39
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +8 -8
- package/dist/interchange/index.d.ts +8 -8
- package/dist/interchange/index.js +16 -14
- package/dist/interchange/index.js.map +1 -1
- package/dist/local-store-impl-JC7OBRAW.js +75 -0
- package/dist/local-store-impl-JC7OBRAW.js.map +1 -0
- package/dist/local-store-impl-UOS2LUIG.cjs +77 -0
- package/dist/local-store-impl-UOS2LUIG.cjs.map +1 -0
- package/dist/{manager-Cfg1ENj1.d.ts → manager-B68OrPR2.d.ts} +1 -2
- package/dist/{manager-D348fa6W.d.cts → manager-D_t7oK69.d.cts} +1 -2
- package/dist/pglite-store-impl-J5J5AA52.cjs +75 -0
- package/dist/pglite-store-impl-J5J5AA52.cjs.map +1 -0
- package/dist/pglite-store-impl-LDRH2DUH.js +73 -0
- package/dist/pglite-store-impl-LDRH2DUH.js.map +1 -0
- package/dist/{postgres-UStOycLI.d.ts → postgres-BPLSVyHM.d.ts} +1 -1
- package/dist/{postgres-CH1kkM5J.d.cts → postgres-CqvtFC2y.d.cts} +1 -1
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +33 -20
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +7 -7
- package/dist/provenance/index.d.ts +7 -7
- package/dist/provenance/index.js +24 -11
- package/dist/provenance/index.js.map +1 -1
- package/dist/{repair-validity-windows-aWX7VNvv.d.cts → repair-validity-windows-DEzCKAdy.d.cts} +7 -3
- package/dist/{repair-validity-windows-BtOEe2pS.d.ts → repair-validity-windows-GMdaS2AH.d.ts} +7 -3
- package/dist/resolve-D_H8MHtq.d.ts +1805 -0
- package/dist/resolve-WEW8gWws.d.cts +1805 -0
- package/dist/schema/index.cjs +42 -40
- package/dist/schema/index.d.cts +4 -6
- package/dist/schema/index.d.ts +4 -6
- package/dist/schema/index.js +15 -13
- package/dist/{searchable-z4BiFfHI.d.ts → searchable-C_UREI9K.d.ts} +1 -1
- package/dist/{searchable-C8-RrL3l.d.cts → searchable-ClgET_i7.d.cts} +1 -1
- package/dist/{sqlite-axLw5Lo5.d.ts → sqlite-D1mXO9Kp.d.cts} +2 -1
- package/dist/{sqlite-Cyx9j9o6.d.cts → sqlite-MZA3oZNB.d.ts} +2 -1
- package/dist/{store-CTfQ9taw.d.ts → store-CuFX7fCx.d.cts} +38 -41
- package/dist/{store-DR9J7JVB.d.cts → store-D-ZjXQpW.d.ts} +38 -41
- package/dist/{temporal-CBOrERz5.d.ts → temporal-CpyEiRY8.d.cts} +1 -1
- package/dist/{temporal-B4Ky4wzh.d.cts → temporal-y0Aep9Su.d.ts} +1 -1
- package/dist/{types-CWg4dTjj.d.ts → types-6yf0Vv-_.d.cts} +1672 -1
- package/dist/{types-CWg4dTjj.d.cts → types-6yf0Vv-_.d.ts} +1672 -1
- package/dist/{types-BScHXVM7.d.ts → types-DzJ4dlzk.d.cts} +1 -1
- package/dist/{types-BE921wRl.d.cts → types-_vVSB9k-.d.ts} +1 -1
- package/dist/{where-BWXUPV3C.d.ts → where-DuG2LCLe.d.ts} +1 -1
- package/dist/{where-CNtx1aLc.d.cts → where-Mhf_yyKX.d.cts} +1 -1
- package/package.json +5 -1
- package/dist/chunk-2CYI5HRH.js.map +0 -1
- package/dist/chunk-2GIV5X4P.js.map +0 -1
- package/dist/chunk-2Q45FAIE.js.map +0 -1
- package/dist/chunk-46UGOVRW.js.map +0 -1
- package/dist/chunk-5LKOVCPP.js.map +0 -1
- package/dist/chunk-5OWHU7Z7.cjs.map +0 -1
- package/dist/chunk-6LEOAIIB.js +0 -1160
- package/dist/chunk-6LEOAIIB.js.map +0 -1
- package/dist/chunk-7CCMCMJO.cjs.map +0 -1
- package/dist/chunk-7PRMDZIA.cjs.map +0 -1
- package/dist/chunk-C76WFIVZ.cjs.map +0 -1
- package/dist/chunk-CS6JTQQ2.cjs.map +0 -1
- package/dist/chunk-EDLKIQRI.js.map +0 -1
- package/dist/chunk-EH3JZJUM.cjs +0 -567
- package/dist/chunk-EH3JZJUM.cjs.map +0 -1
- package/dist/chunk-FX5ZW6PN.js.map +0 -1
- package/dist/chunk-GHZPZNFC.cjs +0 -132
- package/dist/chunk-GHZPZNFC.cjs.map +0 -1
- package/dist/chunk-GVYVGGPJ.js.map +0 -1
- package/dist/chunk-IHK5KA2Q.cjs +0 -262
- package/dist/chunk-IHK5KA2Q.cjs.map +0 -1
- package/dist/chunk-IRPYOHRC.js.map +0 -1
- package/dist/chunk-ISKCIQF2.cjs.map +0 -1
- package/dist/chunk-JG5XIJDY.js.map +0 -1
- package/dist/chunk-K2XYLVVB.cjs.map +0 -1
- package/dist/chunk-KWNWG4RC.cjs +0 -12
- package/dist/chunk-LLVOQOWE.cjs.map +0 -1
- package/dist/chunk-MJPZNEJZ.js.map +0 -1
- package/dist/chunk-MX7EKQPM.js.map +0 -1
- package/dist/chunk-MZ34E2GN.js.map +0 -1
- package/dist/chunk-OJHD3LXJ.cjs.map +0 -1
- package/dist/chunk-PALYTHGM.js +0 -114
- package/dist/chunk-PALYTHGM.js.map +0 -1
- package/dist/chunk-RDP6ZRSM.cjs.map +0 -1
- package/dist/chunk-S3SDEQMC.js +0 -532
- package/dist/chunk-S3SDEQMC.js.map +0 -1
- package/dist/chunk-TEC24ZDA.cjs +0 -1254
- package/dist/chunk-TEC24ZDA.cjs.map +0 -1
- package/dist/chunk-TP4NJTI3.cjs +0 -1192
- package/dist/chunk-TP4NJTI3.cjs.map +0 -1
- package/dist/chunk-TTCOPKUL.cjs.map +0 -1
- package/dist/chunk-TUVD4DFR.cjs.map +0 -1
- package/dist/chunk-TYGGUWMS.cjs.map +0 -1
- package/dist/chunk-U3Z7XKAG.js.map +0 -1
- package/dist/chunk-U5EL6JUV.js.map +0 -1
- package/dist/chunk-VTJVMP4I.js.map +0 -1
- package/dist/chunk-WCLMKNQE.cjs.map +0 -1
- package/dist/chunk-XMY2SXOH.cjs.map +0 -1
- package/dist/chunk-Y55DLLEG.js +0 -247
- package/dist/chunk-Y55DLLEG.js.map +0 -1
- package/dist/chunk-YA36ABIL.js.map +0 -1
- package/dist/chunk-ZBFZGLZE.cjs.map +0 -1
- package/dist/index-B0PrmE3K.d.cts +0 -1146
- package/dist/index-CwcXsL5R.d.ts +0 -1146
- package/dist/materialize-indexes-C9GG3O3C.d.ts +0 -266
- package/dist/materialize-indexes-CrSiW_lT.d.cts +0 -266
package/dist/schema/index.cjs
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
3
|
+
var chunkTUWSVL6I_cjs = require('../chunk-TUWSVL6I.cjs');
|
|
4
|
+
var chunkAOGOC6JF_cjs = require('../chunk-AOGOC6JF.cjs');
|
|
5
|
+
require('../chunk-PS3TUWJM.cjs');
|
|
6
|
+
require('../chunk-L6EVYIID.cjs');
|
|
7
|
+
var chunkJQKMEKKW_cjs = require('../chunk-JQKMEKKW.cjs');
|
|
8
|
+
require('../chunk-NLX5OWK7.cjs');
|
|
9
|
+
require('../chunk-ZGVTNKTX.cjs');
|
|
10
|
+
require('../chunk-NUQ2YFFH.cjs');
|
|
11
|
+
require('../chunk-7B7I7YAW.cjs');
|
|
12
|
+
require('../chunk-CRZ56SZU.cjs');
|
|
13
13
|
require('../chunk-DWUDZ66O.cjs');
|
|
14
14
|
require('../chunk-M5MSP3BI.cjs');
|
|
15
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-OTNTGEXR.cjs');
|
|
16
16
|
require('../chunk-ZY4GXIVN.cjs');
|
|
17
|
+
require('../chunk-JVA3KDEA.cjs');
|
|
18
|
+
require('../chunk-A4C4NJ5U.cjs');
|
|
17
19
|
require('../chunk-NAUA4PW5.cjs');
|
|
18
|
-
require('../chunk-
|
|
19
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-H2VWDQWC.cjs');
|
|
21
|
+
require('../chunk-H5IJSROF.cjs');
|
|
20
22
|
require('../chunk-7EO3TCQB.cjs');
|
|
21
23
|
require('../chunk-RT5ZY4XA.cjs');
|
|
22
24
|
require('../chunk-HAHNRASW.cjs');
|
|
@@ -32,111 +34,111 @@ require('../chunk-N66HCGCY.cjs');
|
|
|
32
34
|
|
|
33
35
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
34
36
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTUWSVL6I_cjs.deserializeSchema; }
|
|
36
38
|
});
|
|
37
39
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
38
40
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkAOGOC6JF_cjs.applyDeprecatedKinds; }
|
|
40
42
|
});
|
|
41
43
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
42
44
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkAOGOC6JF_cjs.assertSchemaCurrent; }
|
|
44
46
|
});
|
|
45
47
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
46
48
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkAOGOC6JF_cjs.classifySchemaChanges; }
|
|
48
50
|
});
|
|
49
51
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
50
52
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkAOGOC6JF_cjs.computeSchemaDiff; }
|
|
52
54
|
});
|
|
53
55
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
54
56
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkAOGOC6JF_cjs.computeSchemaHash; }
|
|
56
58
|
});
|
|
57
59
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
58
60
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkAOGOC6JF_cjs.deserializeWherePredicate; }
|
|
60
62
|
});
|
|
61
63
|
Object.defineProperty(exports, "ensureSchema", {
|
|
62
64
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkAOGOC6JF_cjs.ensureSchema; }
|
|
64
66
|
});
|
|
65
67
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
66
68
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkAOGOC6JF_cjs.getActiveSchema; }
|
|
68
70
|
});
|
|
69
71
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
70
72
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkAOGOC6JF_cjs.getCommittedSchemaVersion; }
|
|
72
74
|
});
|
|
73
75
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
74
76
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkAOGOC6JF_cjs.getMigrationActions; }
|
|
76
78
|
});
|
|
77
79
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
78
80
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkAOGOC6JF_cjs.getSchemaChanges; }
|
|
80
82
|
});
|
|
81
83
|
Object.defineProperty(exports, "initializeSchema", {
|
|
82
84
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkAOGOC6JF_cjs.initializeSchema; }
|
|
84
86
|
});
|
|
85
87
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
86
88
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkAOGOC6JF_cjs.isBackwardsCompatible; }
|
|
88
90
|
});
|
|
89
91
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
90
92
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkAOGOC6JF_cjs.isSchemaInitialized; }
|
|
92
94
|
});
|
|
93
95
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
94
96
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkAOGOC6JF_cjs.loadActiveSchemaWithBootstrap; }
|
|
96
98
|
});
|
|
97
99
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
98
100
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkAOGOC6JF_cjs.loadAndMergeGraphExtensionDocument; }
|
|
100
102
|
});
|
|
101
103
|
Object.defineProperty(exports, "migrateSchema", {
|
|
102
104
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkAOGOC6JF_cjs.migrateSchema; }
|
|
104
106
|
});
|
|
105
107
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
106
108
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkAOGOC6JF_cjs.parseSerializedSchema; }
|
|
108
110
|
});
|
|
109
111
|
Object.defineProperty(exports, "requiresMigration", {
|
|
110
112
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkAOGOC6JF_cjs.requiresMigration; }
|
|
112
114
|
});
|
|
113
115
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
114
116
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkAOGOC6JF_cjs.rollbackSchema; }
|
|
116
118
|
});
|
|
117
119
|
Object.defineProperty(exports, "serializeSchema", {
|
|
118
120
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkAOGOC6JF_cjs.serializeSchema; }
|
|
120
122
|
});
|
|
121
123
|
Object.defineProperty(exports, "createValidationError", {
|
|
122
124
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkJQKMEKKW_cjs.createValidationError; }
|
|
124
126
|
});
|
|
125
127
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
126
128
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkJQKMEKKW_cjs.validateEdgeProps; }
|
|
128
130
|
});
|
|
129
131
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
130
132
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkJQKMEKKW_cjs.validateNodeProps; }
|
|
132
134
|
});
|
|
133
135
|
Object.defineProperty(exports, "validateProps", {
|
|
134
136
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkJQKMEKKW_cjs.validateProps; }
|
|
136
138
|
});
|
|
137
139
|
Object.defineProperty(exports, "wrapZodError", {
|
|
138
140
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkJQKMEKKW_cjs.wrapZodError; }
|
|
140
142
|
});
|
|
141
143
|
//# sourceMappingURL=index.cjs.map
|
|
142
144
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-CrSiW_lT.cjs';
|
|
1
|
+
import { cf as SerializedNodeDef, cd as SerializedEdgeDef, ce as SerializedMetaEdge, ch as SerializedOntologyRelation, cc as SerializedClosures, ci as SerializedSchema, dJ as SchemaHash, bH as NullCheckOp, d as GraphDef, K as KindEntity, dK as ValidationIssue, dL as ValidationError } from '../types-6yf0Vv-_.cjs';
|
|
2
|
+
export { dM as ChangeSeverity, dN as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, dO as DeprecatedKindsChange, dP as EdgeChange, dQ as ExtensionChange, G as GraphIdentityConfig, dR as IdentityChange, dS as IndexChange, bv as JsonSchema, dT as NodeChange, dU as OntologyChange, dV as SchemaChangeClassification, dH as SchemaDiff, cg as SerializedOntology, cj as SerializedUniqueConstraint, dW as classifySchemaChanges, dX as computeSchemaDiff, dY as getMigrationActions, dZ as isBackwardsCompatible } from '../types-6yf0Vv-_.cjs';
|
|
3
|
+
import { K as KindRegistry } from '../manager-D_t7oK69.cjs';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-D_t7oK69.cjs';
|
|
6
5
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-B0PrmE3K.cjs';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-C9GG3O3C.js';
|
|
1
|
+
import { cf as SerializedNodeDef, cd as SerializedEdgeDef, ce as SerializedMetaEdge, ch as SerializedOntologyRelation, cc as SerializedClosures, ci as SerializedSchema, dJ as SchemaHash, bH as NullCheckOp, d as GraphDef, K as KindEntity, dK as ValidationIssue, dL as ValidationError } from '../types-6yf0Vv-_.js';
|
|
2
|
+
export { dM as ChangeSeverity, dN as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, dO as DeprecatedKindsChange, dP as EdgeChange, dQ as ExtensionChange, G as GraphIdentityConfig, dR as IdentityChange, dS as IndexChange, bv as JsonSchema, dT as NodeChange, dU as OntologyChange, dV as SchemaChangeClassification, dH as SchemaDiff, cg as SerializedOntology, cj as SerializedUniqueConstraint, dW as classifySchemaChanges, dX as computeSchemaDiff, dY as getMigrationActions, dZ as isBackwardsCompatible } from '../types-6yf0Vv-_.js';
|
|
3
|
+
import { K as KindRegistry } from '../manager-B68OrPR2.js';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-B68OrPR2.js';
|
|
6
5
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-CwcXsL5R.js';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
export { deserializeSchema } from '../chunk-
|
|
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-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
1
|
+
export { deserializeSchema } from '../chunk-WS5MT2UJ.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-EVYW3532.js';
|
|
3
|
+
import '../chunk-LI4K2KEJ.js';
|
|
4
|
+
import '../chunk-WFSYYU4W.js';
|
|
5
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-VAAC7L57.js';
|
|
6
|
+
import '../chunk-QG5VEOKX.js';
|
|
7
|
+
import '../chunk-XORONCV3.js';
|
|
8
|
+
import '../chunk-LKZDQ2B4.js';
|
|
9
|
+
import '../chunk-M3VTS3F6.js';
|
|
10
|
+
import '../chunk-RVUL2HXY.js';
|
|
11
11
|
import '../chunk-6NKSE5AU.js';
|
|
12
12
|
import '../chunk-K46SDNQD.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-LZMQ3SFK.js';
|
|
14
14
|
import '../chunk-K34OPSJK.js';
|
|
15
|
+
import '../chunk-7G5IYROL.js';
|
|
16
|
+
import '../chunk-4QKOZYMV.js';
|
|
15
17
|
import '../chunk-2EBMPJBO.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-PC5NGH5A.js';
|
|
19
|
+
import '../chunk-7QFRK6PU.js';
|
|
18
20
|
import '../chunk-AMKPPFUO.js';
|
|
19
21
|
import '../chunk-W6OG3HDG.js';
|
|
20
22
|
import '../chunk-PC2UBAUB.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
2
|
-
import { I as IndexDeclaration } from './types-
|
|
2
|
+
import { I as IndexDeclaration } from './types-6yf0Vv-_.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Table name configuration.
|
|
@@ -24,6 +24,7 @@ type SqliteTableNames = Readonly<{
|
|
|
24
24
|
kindRemovals: string;
|
|
25
25
|
reconciliationMarkers: string;
|
|
26
26
|
}>;
|
|
27
|
+
|
|
27
28
|
type CreateSqliteTablesOptions = Readonly<{
|
|
28
29
|
/**
|
|
29
30
|
* Additional TypeGraph indexes to include in the Drizzle schema.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
2
|
-
import { I as IndexDeclaration } from './types-
|
|
2
|
+
import { I as IndexDeclaration } from './types-6yf0Vv-_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Table name configuration.
|
|
@@ -24,6 +24,7 @@ type SqliteTableNames = Readonly<{
|
|
|
24
24
|
kindRemovals: string;
|
|
25
25
|
reconciliationMarkers: string;
|
|
26
26
|
}>;
|
|
27
|
+
|
|
27
28
|
type CreateSqliteTablesOptions = Readonly<{
|
|
28
29
|
/**
|
|
29
30
|
* Additional TypeGraph indexes to include in the Drizzle schema.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-
|
|
4
|
-
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-
|
|
5
|
-
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-
|
|
6
|
-
import {
|
|
2
|
+
import { cS as ValueType, gi as PredicateExpression, aZ as FulltextQueryMode, gj as VectorMetricType, Q as QueryAst, J as JsonPointer, d$ as FieldRef, fr as ParameterRef, dF as NodeType, dG as AnyEdgeType, e4 as EdgeType, fL as TraversalExpansion, e as GraphBackend, cn as SqlDialect, dI as SqlSchema, gk as Traversal, gl as NodePredicate, gm as ProjectedField, fq as OrderSpec, gn as AggregateOrderSpec, T as TemporalMode, go as GroupBySpec, eL as HybridFusionOptions, e_ as JsonPointerInput, gp as RecursiveCyclePolicy, d as GraphDef, e2 as TraversalDirection$1, ev as EdgeRegistration, fi as NodeId, cA as TransactionBackend, d_ as AggregateExpr, fE as SortDirection, x as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, gq as VectorSlotMap, gr as RecordedReadBinding, bY as RecursiveTraversalVerdict, gs as SelectiveField, gt as ComposableQuery, gu as SetOperationType, gv as SetOperation, G as GraphIdentityConfig, fl as NodeKinds, bG as NodeRow, K as KindEntity, eG as ExternalRecordedReadSource, eq as EdgeId, ar as EdgeRow, gw as BackendValidityEndMutation, fp as NodeRegistration, er as EdgeKinds, cC as TransactionReadBackend, e6 as AllNodeTypes, bx as KindAnnotations, bv as JsonSchema, cH as UniquenessScope, s as Collation, n as Cardinality, as as EndpointExistence, b3 as GraphExtension, j as BackendIdentity, b1 as GraphEntityReadBackend, c9 as SchemaReadBackend, bO as QueryExecutionBackend, cm as SqlCompilationBackend, bP as RawQueryExecutionBackend, cZ as VectorMetric, B as BackendCapabilities, dH as SchemaDiff, f8 as MaterializeIndexesOptions, f9 as MaterializeIndexesResult, fa as MaterializeSystemIndexesOptions, C as ContributionDiagnostic, c as ContributionRepairResult, S as ContributionProbeResult, X as ContributionRebuildScope, W as ContributionRebuildResult, cB as TransactionOptions, A as AdapterBackend } from './types-6yf0Vv-_.cjs';
|
|
3
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CpyEiRY8.cjs';
|
|
4
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-ClgET_i7.cjs';
|
|
5
|
+
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-D_t7oK69.cjs';
|
|
6
|
+
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-WEW8gWws.cjs';
|
|
7
7
|
|
|
8
8
|
type FieldTypeInfo = Readonly<{
|
|
9
9
|
valueType: ValueType;
|
|
@@ -969,6 +969,12 @@ type CompileQueryOptions = Readonly<{
|
|
|
969
969
|
readInstant?: ReadInstantMode | undefined;
|
|
970
970
|
/** Equal-id behavior for historical identity traversal reconstruction. */
|
|
971
971
|
identitySameIdAcrossKinds?: "fold" | "ignore" | undefined;
|
|
972
|
+
/**
|
|
973
|
+
* Whether the active backend can compute a bounded transitive closure in
|
|
974
|
+
* one round trip. Defaults to {@link COMPILER_DEFAULT_RECURSIVE_TRAVERSAL}
|
|
975
|
+
* for direct compiler callers, mirroring `windowFunctions`.
|
|
976
|
+
*/
|
|
977
|
+
recursiveTraversal?: RecursiveTraversalVerdict | undefined;
|
|
972
978
|
}>;
|
|
973
979
|
|
|
974
980
|
/**
|
|
@@ -3818,23 +3824,6 @@ type InternalGraphAlgorithms<G extends GraphDef> = Readonly<{
|
|
|
3818
3824
|
personalizedPageRank: (options: InternalPersonalizedPageRankOptions<G>) => Promise<readonly PageRankScore[]>;
|
|
3819
3825
|
}>;
|
|
3820
3826
|
|
|
3821
|
-
/**
|
|
3822
|
-
* Claim axis vocabulary.
|
|
3823
|
-
*
|
|
3824
|
-
* A declared constraint is a CLAIM on an AXIS: the value bound to a claim row's
|
|
3825
|
-
* `node_kind` column, which is what the relation's primary key fences on. The
|
|
3826
|
-
* axis is not always a kind — it is whatever set of kinds the constraint spans —
|
|
3827
|
-
* and deciding it is this module's only job, so no write path spells its own.
|
|
3828
|
-
*
|
|
3829
|
-
* The other half of a claim row is its OWNER, `(concrete_kind, node_id)`. Ids
|
|
3830
|
-
* are unique only per kind, so an id alone cannot answer "is this row mine?":
|
|
3831
|
-
* `Employee "X"` and `Contractor "X"` are two rows under the nodes primary key
|
|
3832
|
-
* and would read as one owner. The predicate lives here once, in the two
|
|
3833
|
-
* renderings the code needs (TypeScript and SQL), so a claim's accept/refuse
|
|
3834
|
-
* verdict cannot differ between the layer that probes it and the layer that
|
|
3835
|
-
* writes it.
|
|
3836
|
-
*/
|
|
3837
|
-
|
|
3838
3827
|
/** The relation a claim row lives in. */
|
|
3839
3828
|
type ClaimRelation = "uniques" | "edgeClaims";
|
|
3840
3829
|
/** A claim row named in full — the row a statement is about to lock. */
|
|
@@ -3910,7 +3899,7 @@ type ConstraintFenceViolation = Readonly<{
|
|
|
3910
3899
|
*/
|
|
3911
3900
|
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertNode", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
3912
3901
|
type HistoryStoreBackendMember = (typeof HISTORY_STORE_BACKEND_KEYS)[number];
|
|
3913
|
-
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
3902
|
+
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "recordedTableDdl" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
3914
3903
|
type UnclassifiedHistoryStoreBackendMember = Exclude<keyof GraphBackend, HistoryStoreBackendMember | UnsafeHistoryStoreBackendMember>;
|
|
3915
3904
|
type HistoryStoreBackend = UnclassifiedHistoryStoreBackendMember extends never ? Readonly<Pick<GraphBackend, HistoryStoreBackendMember>> : never;
|
|
3916
3905
|
|
|
@@ -4066,14 +4055,6 @@ type MaterializeRemovalsResult = Readonly<{
|
|
|
4066
4055
|
reclaimedVectorFields: readonly ReclaimedVectorFieldEntry[];
|
|
4067
4056
|
}>;
|
|
4068
4057
|
|
|
4069
|
-
/**
|
|
4070
|
-
* Subgraph Extraction
|
|
4071
|
-
*
|
|
4072
|
-
* Extracts a typed subgraph from a root node by traversing a set of edge kinds.
|
|
4073
|
-
* Uses a recursive CTE for BFS traversal with cycle detection, then hydrates
|
|
4074
|
-
* the reachable nodes and connecting edges in two parallel queries.
|
|
4075
|
-
*/
|
|
4076
|
-
|
|
4077
4058
|
/**
|
|
4078
4059
|
* Discriminated union of all Node runtime types in a graph.
|
|
4079
4060
|
*
|
|
@@ -4245,6 +4226,23 @@ declare const STORE_RUNTIME: unique symbol;
|
|
|
4245
4226
|
*/
|
|
4246
4227
|
type StoreRuntime<G extends GraphDef> = Readonly<{
|
|
4247
4228
|
backend: GraphBackend;
|
|
4229
|
+
/**
|
|
4230
|
+
* @internal The `uniqueSidecarBatch` bundle's verdict, resolved once at
|
|
4231
|
+
* store construction against `backend` (ruling B8 spec item 2) and exposed
|
|
4232
|
+
* here so a Store-owned view (provenance's fact close/reopen) can build a
|
|
4233
|
+
* {@link file://./claims/node-claims.ts NodeClaimContext} without re-minting
|
|
4234
|
+
* a second verdict for the same backend — the same reason `backend` itself
|
|
4235
|
+
* is exposed here rather than reconstructed.
|
|
4236
|
+
*
|
|
4237
|
+
* Optional at this boundary — a `StoreRuntime`-shaped value is a
|
|
4238
|
+
* contravariant (externally-authorable) position, so a new REQUIRED member
|
|
4239
|
+
* here would be a breaking change (`scripts/api-surface-compat.ts`).
|
|
4240
|
+
* Required after resolution instead, the same pattern
|
|
4241
|
+
* `CompileQueryOptions.recursiveTraversal` uses: the one real producer
|
|
4242
|
+
* (`store.ts`'s constructor) always populates it, and the one real
|
|
4243
|
+
* consumer (`provenance/index.ts`) asserts it with `requireDefined`.
|
|
4244
|
+
*/
|
|
4245
|
+
uniqueSidecarBatch?: BundleVerdictOf<typeof UNIQUE_SIDECAR_BATCH> | undefined;
|
|
4248
4246
|
/**
|
|
4249
4247
|
* @internal The backend this Store's queries actually execute through for
|
|
4250
4248
|
* `target` — the Store's own backend when `target` is omitted.
|
|
@@ -4526,16 +4524,6 @@ type RebuildFulltextResult = Readonly<{
|
|
|
4526
4524
|
skippedTruncated: boolean;
|
|
4527
4525
|
}>;
|
|
4528
4526
|
|
|
4529
|
-
/**
|
|
4530
|
-
* Store-level search helpers.
|
|
4531
|
-
*
|
|
4532
|
-
* `fulltextSearch` is a thin typed wrapper over `backend.fulltextSearch`.
|
|
4533
|
-
* `hybridSearch` runs a vector and a fulltext query in parallel and
|
|
4534
|
-
* fuses the two ranked lists with Reciprocal Rank Fusion. RRF is
|
|
4535
|
-
* rank-based, so it papers over score-scale differences between
|
|
4536
|
-
* pgvector/sqlite-vec (distance-derived) and tsvector/FTS5 (BM25-style).
|
|
4537
|
-
*/
|
|
4538
|
-
|
|
4539
4527
|
/**
|
|
4540
4528
|
* A fulltext search hit. `N` defaults to the generic `Node`; the
|
|
4541
4529
|
* `store.search.fulltext<K>(kind)` facade narrows it to the concrete
|
|
@@ -4729,6 +4717,15 @@ type StoreSearchContext = Readonly<{
|
|
|
4729
4717
|
backend: GraphBackend;
|
|
4730
4718
|
registry: KindRegistry;
|
|
4731
4719
|
createQuery?: () => QueryBuilder<GraphDef>;
|
|
4720
|
+
/**
|
|
4721
|
+
* The threaded `batchPointRead` verdict, resolved once per facade. Optional
|
|
4722
|
+
* at this boundary for the same reason `search.ts`'s own
|
|
4723
|
+
* `StoreSearchContext` is: a contravariant position, so a new required
|
|
4724
|
+
* member would be a breaking change. The constructor resolves it when
|
|
4725
|
+
* legacy callers omit it; `store.ts`'s `search` getter threads its
|
|
4726
|
+
* already-resolved verdict through.
|
|
4727
|
+
*/
|
|
4728
|
+
batchPointRead?: BundleVerdictOf<typeof BATCH_POINT_READ> | undefined;
|
|
4732
4729
|
}>;
|
|
4733
4730
|
/**
|
|
4734
4731
|
* Search-related operations exposed via `store.search`.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-
|
|
4
|
-
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-
|
|
5
|
-
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-
|
|
6
|
-
import {
|
|
2
|
+
import { cS as ValueType, gi as PredicateExpression, aZ as FulltextQueryMode, gj as VectorMetricType, Q as QueryAst, J as JsonPointer, d$ as FieldRef, fr as ParameterRef, dF as NodeType, dG as AnyEdgeType, e4 as EdgeType, fL as TraversalExpansion, e as GraphBackend, cn as SqlDialect, dI as SqlSchema, gk as Traversal, gl as NodePredicate, gm as ProjectedField, fq as OrderSpec, gn as AggregateOrderSpec, T as TemporalMode, go as GroupBySpec, eL as HybridFusionOptions, e_ as JsonPointerInput, gp as RecursiveCyclePolicy, d as GraphDef, e2 as TraversalDirection$1, ev as EdgeRegistration, fi as NodeId, cA as TransactionBackend, d_ as AggregateExpr, fE as SortDirection, x as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, gq as VectorSlotMap, gr as RecordedReadBinding, bY as RecursiveTraversalVerdict, gs as SelectiveField, gt as ComposableQuery, gu as SetOperationType, gv as SetOperation, G as GraphIdentityConfig, fl as NodeKinds, bG as NodeRow, K as KindEntity, eG as ExternalRecordedReadSource, eq as EdgeId, ar as EdgeRow, gw as BackendValidityEndMutation, fp as NodeRegistration, er as EdgeKinds, cC as TransactionReadBackend, e6 as AllNodeTypes, bx as KindAnnotations, bv as JsonSchema, cH as UniquenessScope, s as Collation, n as Cardinality, as as EndpointExistence, b3 as GraphExtension, j as BackendIdentity, b1 as GraphEntityReadBackend, c9 as SchemaReadBackend, bO as QueryExecutionBackend, cm as SqlCompilationBackend, bP as RawQueryExecutionBackend, cZ as VectorMetric, B as BackendCapabilities, dH as SchemaDiff, f8 as MaterializeIndexesOptions, f9 as MaterializeIndexesResult, fa as MaterializeSystemIndexesOptions, C as ContributionDiagnostic, c as ContributionRepairResult, S as ContributionProbeResult, X as ContributionRebuildScope, W as ContributionRebuildResult, cB as TransactionOptions, A as AdapterBackend } from './types-6yf0Vv-_.js';
|
|
3
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-y0Aep9Su.js';
|
|
4
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-C_UREI9K.js';
|
|
5
|
+
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-B68OrPR2.js';
|
|
6
|
+
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-D_H8MHtq.js';
|
|
7
7
|
|
|
8
8
|
type FieldTypeInfo = Readonly<{
|
|
9
9
|
valueType: ValueType;
|
|
@@ -969,6 +969,12 @@ type CompileQueryOptions = Readonly<{
|
|
|
969
969
|
readInstant?: ReadInstantMode | undefined;
|
|
970
970
|
/** Equal-id behavior for historical identity traversal reconstruction. */
|
|
971
971
|
identitySameIdAcrossKinds?: "fold" | "ignore" | undefined;
|
|
972
|
+
/**
|
|
973
|
+
* Whether the active backend can compute a bounded transitive closure in
|
|
974
|
+
* one round trip. Defaults to {@link COMPILER_DEFAULT_RECURSIVE_TRAVERSAL}
|
|
975
|
+
* for direct compiler callers, mirroring `windowFunctions`.
|
|
976
|
+
*/
|
|
977
|
+
recursiveTraversal?: RecursiveTraversalVerdict | undefined;
|
|
972
978
|
}>;
|
|
973
979
|
|
|
974
980
|
/**
|
|
@@ -3818,23 +3824,6 @@ type InternalGraphAlgorithms<G extends GraphDef> = Readonly<{
|
|
|
3818
3824
|
personalizedPageRank: (options: InternalPersonalizedPageRankOptions<G>) => Promise<readonly PageRankScore[]>;
|
|
3819
3825
|
}>;
|
|
3820
3826
|
|
|
3821
|
-
/**
|
|
3822
|
-
* Claim axis vocabulary.
|
|
3823
|
-
*
|
|
3824
|
-
* A declared constraint is a CLAIM on an AXIS: the value bound to a claim row's
|
|
3825
|
-
* `node_kind` column, which is what the relation's primary key fences on. The
|
|
3826
|
-
* axis is not always a kind — it is whatever set of kinds the constraint spans —
|
|
3827
|
-
* and deciding it is this module's only job, so no write path spells its own.
|
|
3828
|
-
*
|
|
3829
|
-
* The other half of a claim row is its OWNER, `(concrete_kind, node_id)`. Ids
|
|
3830
|
-
* are unique only per kind, so an id alone cannot answer "is this row mine?":
|
|
3831
|
-
* `Employee "X"` and `Contractor "X"` are two rows under the nodes primary key
|
|
3832
|
-
* and would read as one owner. The predicate lives here once, in the two
|
|
3833
|
-
* renderings the code needs (TypeScript and SQL), so a claim's accept/refuse
|
|
3834
|
-
* verdict cannot differ between the layer that probes it and the layer that
|
|
3835
|
-
* writes it.
|
|
3836
|
-
*/
|
|
3837
|
-
|
|
3838
3827
|
/** The relation a claim row lives in. */
|
|
3839
3828
|
type ClaimRelation = "uniques" | "edgeClaims";
|
|
3840
3829
|
/** A claim row named in full — the row a statement is about to lock. */
|
|
@@ -3910,7 +3899,7 @@ type ConstraintFenceViolation = Readonly<{
|
|
|
3910
3899
|
*/
|
|
3911
3900
|
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertNode", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
3912
3901
|
type HistoryStoreBackendMember = (typeof HISTORY_STORE_BACKEND_KEYS)[number];
|
|
3913
|
-
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
3902
|
+
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "recordedTableDdl" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
3914
3903
|
type UnclassifiedHistoryStoreBackendMember = Exclude<keyof GraphBackend, HistoryStoreBackendMember | UnsafeHistoryStoreBackendMember>;
|
|
3915
3904
|
type HistoryStoreBackend = UnclassifiedHistoryStoreBackendMember extends never ? Readonly<Pick<GraphBackend, HistoryStoreBackendMember>> : never;
|
|
3916
3905
|
|
|
@@ -4066,14 +4055,6 @@ type MaterializeRemovalsResult = Readonly<{
|
|
|
4066
4055
|
reclaimedVectorFields: readonly ReclaimedVectorFieldEntry[];
|
|
4067
4056
|
}>;
|
|
4068
4057
|
|
|
4069
|
-
/**
|
|
4070
|
-
* Subgraph Extraction
|
|
4071
|
-
*
|
|
4072
|
-
* Extracts a typed subgraph from a root node by traversing a set of edge kinds.
|
|
4073
|
-
* Uses a recursive CTE for BFS traversal with cycle detection, then hydrates
|
|
4074
|
-
* the reachable nodes and connecting edges in two parallel queries.
|
|
4075
|
-
*/
|
|
4076
|
-
|
|
4077
4058
|
/**
|
|
4078
4059
|
* Discriminated union of all Node runtime types in a graph.
|
|
4079
4060
|
*
|
|
@@ -4245,6 +4226,23 @@ declare const STORE_RUNTIME: unique symbol;
|
|
|
4245
4226
|
*/
|
|
4246
4227
|
type StoreRuntime<G extends GraphDef> = Readonly<{
|
|
4247
4228
|
backend: GraphBackend;
|
|
4229
|
+
/**
|
|
4230
|
+
* @internal The `uniqueSidecarBatch` bundle's verdict, resolved once at
|
|
4231
|
+
* store construction against `backend` (ruling B8 spec item 2) and exposed
|
|
4232
|
+
* here so a Store-owned view (provenance's fact close/reopen) can build a
|
|
4233
|
+
* {@link file://./claims/node-claims.ts NodeClaimContext} without re-minting
|
|
4234
|
+
* a second verdict for the same backend — the same reason `backend` itself
|
|
4235
|
+
* is exposed here rather than reconstructed.
|
|
4236
|
+
*
|
|
4237
|
+
* Optional at this boundary — a `StoreRuntime`-shaped value is a
|
|
4238
|
+
* contravariant (externally-authorable) position, so a new REQUIRED member
|
|
4239
|
+
* here would be a breaking change (`scripts/api-surface-compat.ts`).
|
|
4240
|
+
* Required after resolution instead, the same pattern
|
|
4241
|
+
* `CompileQueryOptions.recursiveTraversal` uses: the one real producer
|
|
4242
|
+
* (`store.ts`'s constructor) always populates it, and the one real
|
|
4243
|
+
* consumer (`provenance/index.ts`) asserts it with `requireDefined`.
|
|
4244
|
+
*/
|
|
4245
|
+
uniqueSidecarBatch?: BundleVerdictOf<typeof UNIQUE_SIDECAR_BATCH> | undefined;
|
|
4248
4246
|
/**
|
|
4249
4247
|
* @internal The backend this Store's queries actually execute through for
|
|
4250
4248
|
* `target` — the Store's own backend when `target` is omitted.
|
|
@@ -4526,16 +4524,6 @@ type RebuildFulltextResult = Readonly<{
|
|
|
4526
4524
|
skippedTruncated: boolean;
|
|
4527
4525
|
}>;
|
|
4528
4526
|
|
|
4529
|
-
/**
|
|
4530
|
-
* Store-level search helpers.
|
|
4531
|
-
*
|
|
4532
|
-
* `fulltextSearch` is a thin typed wrapper over `backend.fulltextSearch`.
|
|
4533
|
-
* `hybridSearch` runs a vector and a fulltext query in parallel and
|
|
4534
|
-
* fuses the two ranked lists with Reciprocal Rank Fusion. RRF is
|
|
4535
|
-
* rank-based, so it papers over score-scale differences between
|
|
4536
|
-
* pgvector/sqlite-vec (distance-derived) and tsvector/FTS5 (BM25-style).
|
|
4537
|
-
*/
|
|
4538
|
-
|
|
4539
4527
|
/**
|
|
4540
4528
|
* A fulltext search hit. `N` defaults to the generic `Node`; the
|
|
4541
4529
|
* `store.search.fulltext<K>(kind)` facade narrows it to the concrete
|
|
@@ -4729,6 +4717,15 @@ type StoreSearchContext = Readonly<{
|
|
|
4729
4717
|
backend: GraphBackend;
|
|
4730
4718
|
registry: KindRegistry;
|
|
4731
4719
|
createQuery?: () => QueryBuilder<GraphDef>;
|
|
4720
|
+
/**
|
|
4721
|
+
* The threaded `batchPointRead` verdict, resolved once per facade. Optional
|
|
4722
|
+
* at this boundary for the same reason `search.ts`'s own
|
|
4723
|
+
* `StoreSearchContext` is: a contravariant position, so a new required
|
|
4724
|
+
* member would be a breaking change. The constructor resolves it when
|
|
4725
|
+
* legacy callers omit it; `store.ts`'s `search` getter threads its
|
|
4726
|
+
* already-resolved verdict through.
|
|
4727
|
+
*/
|
|
4728
|
+
batchPointRead?: BundleVerdictOf<typeof BATCH_POINT_READ> | undefined;
|
|
4732
4729
|
}>;
|
|
4733
4730
|
/**
|
|
4734
4731
|
* Search-related operations exposed via `store.search`.
|