@nicia-ai/typegraph 0.46.1 → 0.47.0
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 +20 -1
- package/dist/backend/drizzle/indexes.cjs +9 -9
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +5 -5
- package/dist/backend/index.cjs +50 -49
- package/dist/backend/index.d.cts +3 -3
- package/dist/backend/index.d.ts +3 -3
- package/dist/backend/index.js +11 -10
- package/dist/backend/postgres/index.cjs +27 -26
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +14 -13
- package/dist/backend/postgres/pglite-store.cjs +34 -33
- 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 +30 -29
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +16 -15
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +15 -14
- package/dist/backend/sqlite/index.cjs +24 -23
- package/dist/backend/sqlite/index.d.cts +6 -6
- package/dist/backend/sqlite/index.d.ts +6 -6
- package/dist/backend/sqlite/index.js +12 -11
- package/dist/backend/sqlite/libsql.cjs +19 -18
- 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 +14 -13
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +35 -34
- 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 +31 -30
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +17 -16
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +15 -14
- package/dist/{chunk-NK5Q7UNE.cjs → chunk-26YKDNUD.cjs} +10 -10
- package/dist/{chunk-NK5Q7UNE.cjs.map → chunk-26YKDNUD.cjs.map} +1 -1
- package/dist/{chunk-PQBQG7IM.js → chunk-3DMMGT6S.js} +3 -3
- package/dist/{chunk-PQBQG7IM.js.map → chunk-3DMMGT6S.js.map} +1 -1
- package/dist/{chunk-XBYVV3MP.cjs → chunk-3HGRTCDU.cjs} +6 -4
- package/dist/chunk-3HGRTCDU.cjs.map +1 -0
- package/dist/{chunk-NFCVHQ5P.cjs → chunk-3U5ABFDW.cjs} +26 -26
- package/dist/{chunk-NFCVHQ5P.cjs.map → chunk-3U5ABFDW.cjs.map} +1 -1
- package/dist/{chunk-MCLYU6BN.cjs → chunk-425IZOQ5.cjs} +11 -164
- package/dist/chunk-425IZOQ5.cjs.map +1 -0
- package/dist/{chunk-M4BDU5RX.cjs → chunk-5FBRVORR.cjs} +12 -12
- package/dist/{chunk-M4BDU5RX.cjs.map → chunk-5FBRVORR.cjs.map} +1 -1
- package/dist/{chunk-C23WSN5E.js → chunk-5FT3TLPK.js} +20 -14
- package/dist/chunk-5FT3TLPK.js.map +1 -0
- package/dist/{chunk-YBFHZUXX.js → chunk-5UMTUOM5.js} +6 -6
- package/dist/{chunk-YBFHZUXX.js.map → chunk-5UMTUOM5.js.map} +1 -1
- package/dist/{chunk-HFHTMECK.js → chunk-6FWSNSRE.js} +7 -7
- package/dist/{chunk-HFHTMECK.js.map → chunk-6FWSNSRE.js.map} +1 -1
- package/dist/{chunk-65E3XWGF.cjs → chunk-6JVZSOHQ.cjs} +91 -91
- package/dist/{chunk-65E3XWGF.cjs.map → chunk-6JVZSOHQ.cjs.map} +1 -1
- package/dist/chunk-6KFLYYOC.cjs +161 -0
- package/dist/chunk-6KFLYYOC.cjs.map +1 -0
- package/dist/{chunk-LBJKZXDE.cjs → chunk-6NGW27EO.cjs} +10 -10
- package/dist/{chunk-LBJKZXDE.cjs.map → chunk-6NGW27EO.cjs.map} +1 -1
- package/dist/{chunk-5UVRGXD3.js → chunk-6SWPJEYN.js} +5 -5
- package/dist/{chunk-5UVRGXD3.js.map → chunk-6SWPJEYN.js.map} +1 -1
- package/dist/{chunk-BKCUOV7A.js → chunk-7SQSZN2J.js} +5 -5
- package/dist/{chunk-BKCUOV7A.js.map → chunk-7SQSZN2J.js.map} +1 -1
- package/dist/{chunk-YAAM3M2S.cjs → chunk-AMMWA76F.cjs} +51 -59
- package/dist/chunk-AMMWA76F.cjs.map +1 -0
- package/dist/{chunk-62ZP23AW.cjs → chunk-AOSSQDVO.cjs} +13 -13
- package/dist/{chunk-62ZP23AW.cjs.map → chunk-AOSSQDVO.cjs.map} +1 -1
- package/dist/{chunk-NLI2AVEF.js → chunk-AVGUJWVX.js} +30 -10
- package/dist/chunk-AVGUJWVX.js.map +1 -0
- package/dist/{chunk-TQR4KBY2.cjs → chunk-BCQ76AXA.cjs} +262 -155
- package/dist/chunk-BCQ76AXA.cjs.map +1 -0
- package/dist/{chunk-CXBHOOIQ.cjs → chunk-BFUOME67.cjs} +11 -11
- package/dist/{chunk-CXBHOOIQ.cjs.map → chunk-BFUOME67.cjs.map} +1 -1
- package/dist/{chunk-PNTCATDE.cjs → chunk-BR7SHKGM.cjs} +1672 -1400
- package/dist/chunk-BR7SHKGM.cjs.map +1 -0
- package/dist/{chunk-ASTI57H3.js → chunk-CHAOFCHV.js} +3 -3
- package/dist/{chunk-ASTI57H3.js.map → chunk-CHAOFCHV.js.map} +1 -1
- package/dist/chunk-CICO5GXD.cjs +12 -0
- package/dist/{chunk-A4OC4DVN.cjs.map → chunk-CICO5GXD.cjs.map} +1 -1
- package/dist/{chunk-T4XNKYXB.js → chunk-D5R42W5D.js} +4 -4
- package/dist/{chunk-T4XNKYXB.js.map → chunk-D5R42W5D.js.map} +1 -1
- package/dist/{chunk-S6PW7VV5.js → chunk-DJZTXBWY.js} +410 -138
- package/dist/chunk-DJZTXBWY.js.map +1 -0
- package/dist/{chunk-UDISNXDL.cjs → chunk-DO7SAMEK.cjs} +47 -47
- package/dist/{chunk-UDISNXDL.cjs.map → chunk-DO7SAMEK.cjs.map} +1 -1
- package/dist/{chunk-VCRRKBLN.cjs → chunk-EDN4Y4ZG.cjs} +9 -9
- package/dist/{chunk-VCRRKBLN.cjs.map → chunk-EDN4Y4ZG.cjs.map} +1 -1
- package/dist/{chunk-YVWGEQJE.cjs → chunk-EMIB2RXD.cjs} +139 -133
- package/dist/chunk-EMIB2RXD.cjs.map +1 -0
- package/dist/{chunk-2Z2Z3ZD6.js → chunk-EP4RUYD6.js} +3 -3
- package/dist/{chunk-2Z2Z3ZD6.js.map → chunk-EP4RUYD6.js.map} +1 -1
- package/dist/{chunk-M3WP7RQZ.js → chunk-FNOMT74T.js} +10 -8
- package/dist/chunk-FNOMT74T.js.map +1 -0
- package/dist/{chunk-E4WNQBEF.cjs → chunk-FQPEMEWX.cjs} +12 -12
- package/dist/{chunk-E4WNQBEF.cjs.map → chunk-FQPEMEWX.cjs.map} +1 -1
- package/dist/{chunk-WDGA7IYB.js → chunk-GLHXM7C4.js} +3 -3
- package/dist/{chunk-WDGA7IYB.js.map → chunk-GLHXM7C4.js.map} +1 -1
- package/dist/{chunk-7BQXPCGN.cjs → chunk-GYEG3ZLZ.cjs} +10 -10
- package/dist/{chunk-7BQXPCGN.cjs.map → chunk-GYEG3ZLZ.cjs.map} +1 -1
- package/dist/{chunk-VLT6PEWR.cjs → chunk-GYUJZARH.cjs} +4 -4
- package/dist/{chunk-VLT6PEWR.cjs.map → chunk-GYUJZARH.cjs.map} +1 -1
- package/dist/{chunk-RMQLSPA2.cjs → chunk-HDL2ARHX.cjs} +27 -27
- package/dist/{chunk-RMQLSPA2.cjs.map → chunk-HDL2ARHX.cjs.map} +1 -1
- package/dist/{chunk-775A4ZMN.js → chunk-HEV35TGT.js} +4 -4
- package/dist/{chunk-775A4ZMN.js.map → chunk-HEV35TGT.js.map} +1 -1
- package/dist/{chunk-3DHZCOT7.cjs → chunk-I4G3SQPF.cjs} +20 -20
- package/dist/{chunk-3DHZCOT7.cjs.map → chunk-I4G3SQPF.cjs.map} +1 -1
- package/dist/{chunk-VGTJPTIC.js → chunk-JONXFAPO.js} +5 -5
- package/dist/{chunk-VGTJPTIC.js.map → chunk-JONXFAPO.js.map} +1 -1
- package/dist/{chunk-BSFJMMV3.cjs → chunk-JR6SX5RH.cjs} +4 -4
- package/dist/{chunk-BSFJMMV3.cjs.map → chunk-JR6SX5RH.cjs.map} +1 -1
- package/dist/{chunk-YBQOHKHN.cjs → chunk-KABFHAL7.cjs} +100 -99
- package/dist/chunk-KABFHAL7.cjs.map +1 -0
- package/dist/{chunk-7VQXLT5O.js → chunk-KH7XW7VV.js} +111 -27
- package/dist/chunk-KH7XW7VV.js.map +1 -0
- package/dist/{chunk-DCQVHAYQ.js → chunk-KKBDXCLQ.js} +4 -4
- package/dist/{chunk-DCQVHAYQ.js.map → chunk-KKBDXCLQ.js.map} +1 -1
- package/dist/{chunk-4UGOKMI5.cjs → chunk-L3LQNR34.cjs} +161 -161
- package/dist/{chunk-4UGOKMI5.cjs.map → chunk-L3LQNR34.cjs.map} +1 -1
- package/dist/{chunk-NMWDXFPH.js → chunk-LEWHMOUY.js} +46 -56
- package/dist/chunk-LEWHMOUY.js.map +1 -0
- package/dist/{chunk-U63GDNRC.cjs → chunk-LRQKXRXO.cjs} +4 -4
- package/dist/{chunk-U63GDNRC.cjs.map → chunk-LRQKXRXO.cjs.map} +1 -1
- package/dist/{chunk-5763DULU.js → chunk-M35DF33T.js} +147 -40
- package/dist/chunk-M35DF33T.js.map +1 -0
- package/dist/{chunk-Q3G6A4I3.cjs → chunk-MFZR4QKM.cjs} +30 -28
- package/dist/chunk-MFZR4QKM.cjs.map +1 -0
- package/dist/chunk-MKJ4KXL5.cjs +12 -0
- package/dist/{chunk-VQH4VAWD.cjs.map → chunk-MKJ4KXL5.cjs.map} +1 -1
- package/dist/{chunk-NI72YOJB.cjs → chunk-MRDBBHIZ.cjs} +70 -2
- package/dist/chunk-MRDBBHIZ.cjs.map +1 -0
- package/dist/{chunk-DTVWX77L.cjs → chunk-MX4DHSQP.cjs} +1023 -360
- package/dist/chunk-MX4DHSQP.cjs.map +1 -0
- package/dist/{chunk-2LG2XB2M.js → chunk-MYKHJI2J.js} +3 -3
- package/dist/{chunk-2LG2XB2M.js.map → chunk-MYKHJI2J.js.map} +1 -1
- package/dist/{chunk-JZUR7ZWE.js → chunk-NAZ2RA4L.js} +3 -3
- package/dist/{chunk-JZUR7ZWE.js.map → chunk-NAZ2RA4L.js.map} +1 -1
- package/dist/{chunk-XL7SLCXS.js → chunk-NG2RB5WL.js} +4 -145
- package/dist/chunk-NG2RB5WL.js.map +1 -0
- package/dist/{chunk-GF3KXUTW.js → chunk-NNQ6A3RM.js} +803 -143
- package/dist/chunk-NNQ6A3RM.js.map +1 -0
- package/dist/{chunk-MSY7FSX4.js → chunk-NVY5CJFP.js} +4 -4
- package/dist/{chunk-MSY7FSX4.js.map → chunk-NVY5CJFP.js.map} +1 -1
- package/dist/{chunk-XCAGZAKP.cjs → chunk-OI2GQ25X.cjs} +7 -7
- package/dist/{chunk-XCAGZAKP.cjs.map → chunk-OI2GQ25X.cjs.map} +1 -1
- package/dist/{chunk-PF6F5NLJ.cjs → chunk-OIFSOPSR.cjs} +259 -238
- package/dist/chunk-OIFSOPSR.cjs.map +1 -0
- package/dist/{chunk-UV3SN74I.js → chunk-OMZ37BM2.js} +5 -5
- package/dist/{chunk-UV3SN74I.js.map → chunk-OMZ37BM2.js.map} +1 -1
- package/dist/{chunk-PNN7RHVR.cjs → chunk-OORXGFL5.cjs} +48 -48
- package/dist/{chunk-PNN7RHVR.cjs.map → chunk-OORXGFL5.cjs.map} +1 -1
- package/dist/{chunk-YWGVVALJ.js → chunk-OVI7IXYX.js} +3 -3
- package/dist/{chunk-YWGVVALJ.js.map → chunk-OVI7IXYX.js.map} +1 -1
- package/dist/{chunk-I5MOXA4H.js → chunk-P6YLZTRE.js} +3 -3
- package/dist/{chunk-I5MOXA4H.js.map → chunk-P6YLZTRE.js.map} +1 -1
- package/dist/{chunk-WQZLUGVR.js → chunk-QS3NQZVC.js} +82 -16
- package/dist/chunk-QS3NQZVC.js.map +1 -0
- package/dist/{chunk-5262ZMTR.js → chunk-QTD6HX4O.js} +5 -5
- package/dist/{chunk-5262ZMTR.js.map → chunk-QTD6HX4O.js.map} +1 -1
- package/dist/{chunk-MXJDTH5B.cjs → chunk-ROR5ZR6A.cjs} +45 -45
- package/dist/{chunk-MXJDTH5B.cjs.map → chunk-ROR5ZR6A.cjs.map} +1 -1
- package/dist/{chunk-CBTIUB76.js → chunk-SDBBMD4N.js} +3 -3
- package/dist/{chunk-CBTIUB76.js.map → chunk-SDBBMD4N.js.map} +1 -1
- package/dist/{chunk-L65OU2U3.js → chunk-SE6EGQSD.js} +78 -16
- package/dist/chunk-SE6EGQSD.js.map +1 -0
- package/dist/{chunk-JXA2ZP2Q.js → chunk-SHFBB23Q.js} +4 -4
- package/dist/{chunk-JXA2ZP2Q.js.map → chunk-SHFBB23Q.js.map} +1 -1
- package/dist/{chunk-AKLS3BYZ.js → chunk-SHSSRCFR.js} +5 -3
- package/dist/chunk-SHSSRCFR.js.map +1 -0
- package/dist/{chunk-2NA5DYLO.cjs → chunk-TZEGUG6D.cjs} +4 -4
- package/dist/{chunk-2NA5DYLO.cjs.map → chunk-TZEGUG6D.cjs.map} +1 -1
- package/dist/{chunk-CMWHLBVN.cjs → chunk-U5EDAVOJ.cjs} +140 -74
- package/dist/chunk-U5EDAVOJ.cjs.map +1 -0
- package/dist/{chunk-MUK4BU7K.cjs → chunk-UPAJHMW3.cjs} +210 -126
- package/dist/chunk-UPAJHMW3.cjs.map +1 -0
- package/dist/{chunk-PT7RIRIZ.cjs → chunk-WGX7JH7E.cjs} +235 -170
- package/dist/chunk-WGX7JH7E.cjs.map +1 -0
- package/dist/{chunk-U5SON7R2.cjs → chunk-WODMN3Q2.cjs} +27 -27
- package/dist/{chunk-U5SON7R2.cjs.map → chunk-WODMN3Q2.cjs.map} +1 -1
- package/dist/{chunk-K5ELX2GT.js → chunk-XVWOYKIK.js} +3 -3
- package/dist/{chunk-K5ELX2GT.js.map → chunk-XVWOYKIK.js.map} +1 -1
- package/dist/chunk-XY5OMOJD.js +147 -0
- package/dist/chunk-XY5OMOJD.js.map +1 -0
- package/dist/{chunk-LGHCOKTT.js → chunk-XYBQI6LE.js} +14 -14
- package/dist/{chunk-LGHCOKTT.js.map → chunk-XYBQI6LE.js.map} +1 -1
- package/dist/{chunk-YDFDBE6D.js → chunk-ZDKTPBGV.js} +4 -4
- package/dist/{chunk-YDFDBE6D.js.map → chunk-ZDKTPBGV.js.map} +1 -1
- package/dist/{chunk-MZLPX2R7.js → chunk-ZHNXLS3C.js} +9 -8
- package/dist/chunk-ZHNXLS3C.js.map +1 -0
- package/dist/{chunk-J3WZ3FA2.js → chunk-ZLONH2UD.js} +67 -3
- package/dist/chunk-ZLONH2UD.js.map +1 -0
- package/dist/core/index.cjs +28 -27
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +8 -7
- package/dist/{ddl-BXfGHbPN.d.ts → ddl-CprnMXJ-.d.ts} +3 -3
- package/dist/{ddl-BJcOp4WZ.d.cts → ddl-DJA7Lci5.d.cts} +3 -3
- 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 +4 -4
- package/dist/graph-merge/index.cjs +3204 -635
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +502 -60
- package/dist/graph-merge/index.d.ts +502 -60
- package/dist/graph-merge/index.js +2979 -427
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-BSHvKfok.d.ts → index-CHTv4XMZ.d.cts} +64 -3
- package/dist/{index-DxaYCv8Y.d.cts → index-CzoJ3MUw.d.ts} +64 -3
- package/dist/index.cjs +232 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +35 -34
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +13 -13
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +6 -6
- package/dist/interchange/index.cjs +53 -52
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +17 -13
- package/dist/interchange/index.d.ts +17 -13
- package/dist/interchange/index.js +17 -16
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-CfZAimti.d.ts → manager-B6sOQzcQ.d.ts} +2 -2
- package/dist/{manager-HGk6E_HW.d.cts → manager-DlY1vlla.d.cts} +2 -2
- package/dist/{materialize-indexes-BMJP6Tms.d.ts → materialize-indexes-DQL4xcpf.d.ts} +1 -1
- package/dist/{materialize-indexes-6A7dWGtb.d.cts → materialize-indexes-sskhp-c_.d.cts} +1 -1
- package/dist/{postgres-DFYWENdR.d.cts → postgres-B6YOUcaK.d.ts} +1 -1
- package/dist/{postgres-e7a9TdvR.d.ts → postgres-BXy_nyMs.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 +43 -42
- 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 +10 -9
- package/dist/provenance/index.js.map +1 -1
- package/dist/schema/index.cjs +45 -44
- package/dist/schema/index.d.cts +6 -6
- package/dist/schema/index.d.ts +6 -6
- package/dist/schema/index.js +18 -17
- package/dist/{searchable-CIje5XYD.d.cts → searchable-0Cn_lY8U.d.cts} +1 -1
- package/dist/{searchable-9OQoPuRs.d.ts → searchable-D9gMiwcS.d.ts} +1 -1
- package/dist/{sqlite-DerU5tc7.d.ts → sqlite-ClXuBYAj.d.ts} +1 -1
- package/dist/{sqlite-DitnISa9.d.cts → sqlite-DioSxaPe.d.cts} +1 -1
- package/dist/{store-ClQ-MZQS.d.ts → store-5j-w5onJ.d.ts} +128 -69
- package/dist/{store-B0h6x7wo.d.cts → store-CFedKGU5.d.cts} +128 -69
- package/dist/{temporal-Bn-Fi8FJ.d.cts → temporal-Ce1pG0S1.d.cts} +1 -1
- package/dist/{temporal-BtM4UALv.d.ts → temporal-CjO9FH1l.d.ts} +1 -1
- package/dist/{types-KFfk-8Ah.d.ts → types-BrdOFu48.d.ts} +1 -1
- package/dist/{types-HkveCCx0.d.ts → types-DKkMJZjR.d.cts} +39 -12
- package/dist/{types-HkveCCx0.d.cts → types-DKkMJZjR.d.ts} +39 -12
- package/dist/{types-CoIx8HX5.d.cts → types-oj_OGAaZ.d.cts} +1 -1
- package/dist/{where-ws5hf-Ov.d.ts → where-C8w2627G.d.ts} +1 -1
- package/dist/{where--fk7_0kv.d.cts → where-D1wKCJ4Q.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-5763DULU.js.map +0 -1
- package/dist/chunk-7VQXLT5O.js.map +0 -1
- package/dist/chunk-A4OC4DVN.cjs +0 -12
- package/dist/chunk-AKLS3BYZ.js.map +0 -1
- package/dist/chunk-C23WSN5E.js.map +0 -1
- package/dist/chunk-CMWHLBVN.cjs.map +0 -1
- package/dist/chunk-DTVWX77L.cjs.map +0 -1
- package/dist/chunk-GF3KXUTW.js.map +0 -1
- package/dist/chunk-J3WZ3FA2.js.map +0 -1
- package/dist/chunk-L65OU2U3.js.map +0 -1
- package/dist/chunk-M3WP7RQZ.js.map +0 -1
- package/dist/chunk-MCLYU6BN.cjs.map +0 -1
- package/dist/chunk-MUK4BU7K.cjs.map +0 -1
- package/dist/chunk-MZLPX2R7.js.map +0 -1
- package/dist/chunk-NI72YOJB.cjs.map +0 -1
- package/dist/chunk-NLI2AVEF.js.map +0 -1
- package/dist/chunk-NMWDXFPH.js.map +0 -1
- package/dist/chunk-PF6F5NLJ.cjs.map +0 -1
- package/dist/chunk-PNTCATDE.cjs.map +0 -1
- package/dist/chunk-PT7RIRIZ.cjs.map +0 -1
- package/dist/chunk-Q3G6A4I3.cjs.map +0 -1
- package/dist/chunk-S6PW7VV5.js.map +0 -1
- package/dist/chunk-TQR4KBY2.cjs.map +0 -1
- package/dist/chunk-VQH4VAWD.cjs +0 -12
- package/dist/chunk-WQZLUGVR.js.map +0 -1
- package/dist/chunk-XBYVV3MP.cjs.map +0 -1
- package/dist/chunk-XL7SLCXS.js.map +0 -1
- package/dist/chunk-YAAM3M2S.cjs.map +0 -1
- package/dist/chunk-YBQOHKHN.cjs.map +0 -1
- package/dist/chunk-YVWGEQJE.cjs.map +0 -1
|
@@ -2470,6 +2470,13 @@ type BackendCapabilities = Readonly<{
|
|
|
2470
2470
|
transactions: boolean;
|
|
2471
2471
|
/** Whether the backend supports SQL window functions such as ROW_NUMBER() */
|
|
2472
2472
|
windowFunctions: boolean;
|
|
2473
|
+
/**
|
|
2474
|
+
* Whether `updateNode` / `updateEdge` honor `clearValidTo: true` by storing
|
|
2475
|
+
* SQL NULL in `valid_to`. Absent is `false`: custom backends must opt in so
|
|
2476
|
+
* the store refuses every explicit clear-bearing call before lookup,
|
|
2477
|
+
* coalescing, or write instead of making support depend on row state.
|
|
2478
|
+
*/
|
|
2479
|
+
clearValidTo?: boolean;
|
|
2473
2480
|
/**
|
|
2474
2481
|
* Whether the backend's `execute()` supports `UPDATE … RETURNING`. Absent or
|
|
2475
2482
|
* `true` means supported (every engine TypeGraph ships — SQLite ≥ 3.35,
|
|
@@ -2624,8 +2631,18 @@ type InsertNodeParams = Readonly<{
|
|
|
2624
2631
|
validTo?: string;
|
|
2625
2632
|
}>;
|
|
2626
2633
|
/**
|
|
2627
|
-
*
|
|
2634
|
+
* A backend validity-end mutation. Omission preserves the stored end,
|
|
2635
|
+
* `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
|
|
2636
|
+
* two write actions mutually exclusive without exposing SQL `NULL`.
|
|
2628
2637
|
*/
|
|
2638
|
+
type BackendValidityEndMutation = Readonly<{
|
|
2639
|
+
validTo?: string;
|
|
2640
|
+
clearValidTo?: never;
|
|
2641
|
+
}> | Readonly<{
|
|
2642
|
+
validTo?: never;
|
|
2643
|
+
clearValidTo: true;
|
|
2644
|
+
}>;
|
|
2645
|
+
/** Parameters for updating a node. */
|
|
2629
2646
|
type UpdateNodeParams = Readonly<{
|
|
2630
2647
|
graphId: string;
|
|
2631
2648
|
kind: string;
|
|
@@ -2633,7 +2650,6 @@ type UpdateNodeParams = Readonly<{
|
|
|
2633
2650
|
props: Readonly<Record<string, unknown>>;
|
|
2634
2651
|
/** Applied when resurrecting a tombstone; omitted means the resurrection instant. */
|
|
2635
2652
|
validFrom?: string | null;
|
|
2636
|
-
validTo?: string;
|
|
2637
2653
|
/**
|
|
2638
2654
|
* The effective `valid_from` this write ASSERTS the target row already
|
|
2639
2655
|
* carries, stated only by a caller whose decision DEPENDED on it.
|
|
@@ -2661,7 +2677,7 @@ type UpdateNodeParams = Readonly<{
|
|
|
2661
2677
|
incrementVersion?: boolean;
|
|
2662
2678
|
/** If true, clears deleted_at (un-deletes the node). Used by upsert. */
|
|
2663
2679
|
clearDeleted?: boolean;
|
|
2664
|
-
}
|
|
2680
|
+
}> & BackendValidityEndMutation;
|
|
2665
2681
|
/**
|
|
2666
2682
|
* Parameters for updating a set of live nodes selected by a compiled
|
|
2667
2683
|
* TypeGraph query.
|
|
@@ -2793,7 +2809,6 @@ type UpdateEdgeParams = Readonly<{
|
|
|
2793
2809
|
* Omitting `validFrom` on a resurrection leaves the stored window in place.
|
|
2794
2810
|
*/
|
|
2795
2811
|
validFrom?: string | null;
|
|
2796
|
-
validTo?: string;
|
|
2797
2812
|
/**
|
|
2798
2813
|
* The effective `valid_from` this write asserts the target row already
|
|
2799
2814
|
* carries. Same three states, same NULL-safety, and the same MUST-apply
|
|
@@ -2806,8 +2821,13 @@ type UpdateEdgeParams = Readonly<{
|
|
|
2806
2821
|
* it must be fenced against it having changed.
|
|
2807
2822
|
*/
|
|
2808
2823
|
expectedValidFrom?: string | null;
|
|
2824
|
+
/**
|
|
2825
|
+
* The `valid_to` state a constraint decision read. NULL-safe and MUST apply
|
|
2826
|
+
* when present, like `expectedValidFrom`; used to fence ended-to-open edges.
|
|
2827
|
+
*/
|
|
2828
|
+
expectedValidTo?: string | null;
|
|
2809
2829
|
clearDeleted?: boolean;
|
|
2810
|
-
}
|
|
2830
|
+
}> & BackendValidityEndMutation;
|
|
2811
2831
|
/**
|
|
2812
2832
|
* Parameters for deleting an edge (soft delete).
|
|
2813
2833
|
*/
|
|
@@ -3330,7 +3350,7 @@ type RecordContributionMaterializationParams = Readonly<{
|
|
|
3330
3350
|
* `DROP`, a schema-scoped restore that missed the contribution
|
|
3331
3351
|
* tables). The state {@link GraphBackend.verifyContributions} exists
|
|
3332
3352
|
* to surface: nothing on the open path probes the catalog, so this
|
|
3333
|
-
* database opens clean and fails at the first read
|
|
3353
|
+
* database opens clean and fails at the first dependent read or write.
|
|
3334
3354
|
* - `missing-marker` — the physical table exists but no marker attests
|
|
3335
3355
|
* it as initialized (no row, no recorded success, or a recorded
|
|
3336
3356
|
* failure). Reads and writes are refused with
|
|
@@ -3453,9 +3473,10 @@ type ContributionProbeContribution = "fulltext" | "vector";
|
|
|
3453
3473
|
* its durable marker and present in the catalog. Not a promise about
|
|
3454
3474
|
* future coherence: a write that lands after the probe returns is
|
|
3455
3475
|
* outside what any assessment can cover.
|
|
3456
|
-
* - `degraded` — at least one contribution is unusable.
|
|
3457
|
-
*
|
|
3458
|
-
*
|
|
3476
|
+
* - `degraded` — at least one contribution is unusable. Dependent operations
|
|
3477
|
+
* may be refused with a typed contribution error, fail at the engine boundary
|
|
3478
|
+
* when compiled SQL directly references missing storage, or observe
|
|
3479
|
+
* incomplete storage.
|
|
3459
3480
|
* {@link ContributionProbeEntry.detail} says which and why.
|
|
3460
3481
|
* - `building` — **reserved.** No shipped path publishes it. Recording
|
|
3461
3482
|
* an in-flight marker would need a fifth
|
|
@@ -3901,6 +3922,12 @@ type GraphBackend = Readonly<{
|
|
|
3901
3922
|
* is well-behaved on Postgres.
|
|
3902
3923
|
*/
|
|
3903
3924
|
ensureIndexMaterializationsTable?: (this: void) => Promise<void>;
|
|
3925
|
+
/**
|
|
3926
|
+
* Install the PostgreSQL `pg_trgm` extension under a database-global
|
|
3927
|
+
* concurrency fence. Relational trigram index materialization calls this
|
|
3928
|
+
* before emitting its index DDL; non-PostgreSQL backends omit it.
|
|
3929
|
+
*/
|
|
3930
|
+
ensureTrigramExtension?: (this: void) => Promise<void>;
|
|
3904
3931
|
/**
|
|
3905
3932
|
* Idempotently ensure ONLY the `typegraph_revision_origins` table exists.
|
|
3906
3933
|
*
|
|
@@ -4152,8 +4179,8 @@ type GraphBackend = Readonly<{
|
|
|
4152
4179
|
* per-instance signature cache and then on the marker row alone, which
|
|
4153
4180
|
* is the right default for a hot path but leaves a database whose
|
|
4154
4181
|
* contribution tables were dropped out of band opening clean and
|
|
4155
|
-
* failing at the first read. This method is the explicit,
|
|
4156
|
-
* invoked catalog probe that fills that gap: it issues one uncached
|
|
4182
|
+
* failing at the first dependent read or write. This method is the explicit,
|
|
4183
|
+
* operator-invoked catalog probe that fills that gap: it issues one uncached
|
|
4157
4184
|
* existence query per distinct physical table and performs ZERO DDL
|
|
4158
4185
|
* and ZERO writes, so it is safe under a least-privilege runtime role.
|
|
4159
4186
|
*
|
|
@@ -5601,4 +5628,4 @@ type RelationalIndexDeclaration = NodeIndexDeclaration | EdgeIndexDeclaration;
|
|
|
5601
5628
|
type IndexDeclaration = RelationalIndexDeclaration | VectorIndexDeclaration;
|
|
5602
5629
|
type SystemColumnName = "graph_id" | "kind" | "id" | "from_kind" | "from_id" | "to_kind" | "to_id" | "deleted_at" | "valid_from" | "valid_to" | "created_at" | "updated_at" | "version";
|
|
5603
5630
|
|
|
5604
|
-
export { type EdgeId as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type NodeId as _, type ContributionDiagnosticState as a, type GetEdgeType as a$, type JsonValue as a0, type NodeKinds as a1, type GetNodeType as a2, type KindAnnotations as a3, type MetaEdge as a4, type EdgeType as a5, type DeleteBehavior as a6, type GraphExtensionVersion as a7, type ExtensionNodeDef as a8, type ExtensionEdgeDef as a9, type ContributionMaterializationBackend as aA, type ContributionProbeContribution as aB, type ContributionProbeEntry as aC, type ContributionProbeResult as aD, type ContributionProbeState as aE, type ContributionRebuildResult as aF, type ContributionRebuildScope as aG, type ContributionRepopulationStats as aH, DEFAULT_SQL_SCHEMA as aI, type DeleteFulltextBatchParams as aJ, type EdgeEntityReadBackend as aK, type EdgeEntityWriteBackend as aL, type EdgeKinds as aM, type EdgeProps as aN, type EdgeRegistration as aO, type EdgeTypeWithEndpoints as aP, type EndpointExistence as aQ, type ExternalRecordedReadSource as aR, type FilteredApproximateSearch as aS, type FilteredApproximateSearchMode as aT, type FindEdgesByHeterogeneousEndpointSetParams as aU, type FulltextBatchRow as aV, type FulltextCapabilities as aW, type FulltextOperationBackend as aX, type FulltextQueryMode as aY, type FulltextSearchParams as aZ, type FulltextSearchResult as a_, type ExtensionOntologyRelation as aa, type ExtensionIndex as ab, type AggregateExpr as ac, type FieldRef as ad, type ComparisonOp as ae, type AggregateComparisonPredicate as af, type TraversalDirection as ag, type OntologyRelation as ah, type InferenceType as ai, type AdapterBackendTransactions as aj, type AllEdgeTypes as ak, type AllNodeTypes as al, type BackendIdentity as am, type BackendLifecycle as an, type BackendMaintenance as ao, type BackendTransactions as ap, CURRENT_GRAPH_EXTENSION_VERSION as aq, type Cardinality as ar, type Collation as as, type CommitSchemaVersionExpected as at, type CommitSchemaVersionIfKindsEmptyResult as au, type CommitSchemaVersionParams as av, type CompiledRowsSql as aw, type CompiledSelectSql as ax, type CompiledStatementSql as ay, type ContributionCapabilities as az, type ContributionRepairEntry as b, type UpdateNodeSetParams as b$, type GraphAnalyticsCapabilities as b0, type GraphDefaults as b1, type GraphEntityReadBackend as b2, type GraphEntityWriteBackend as b3, type GraphExtension as b4, type GraphLifecycleBackend as b5, type HardDeleteUniquesByNodeIdsParams as b6, type HybridFusionOptions as b7, type IndexMaterializationBackend as b8, type IntentSql as b9, type RowProps as bA, type SchemaCommitBackend as bB, type SchemaKindEmptinessProbe as bC, type SchemaReadBackend as bD, type SchemaWriteFenceBackend as bE, type SetActiveVersionParams as bF, type SortDirection as bG, type SqlChunk as bH, type SqlFragment as bI, type SqlIdentifierChunk as bJ, type SqlIntent as bK, type SqlParameterChunk as bL, type SqlPlaceholderChunk as bM, type SqlTableNames as bN, type SqlTag as bO, type SqlTextChunk as bP, type StrategyTableContribution as bQ, type TableContribution as bR, type TransactionBackend as bS, type TransactionOptions as bT, type TransactionReadBackend as bU, type TraversalExpansion as bV, type TrustedImportOptions as bW, type TrustedImportSession as bX, type UniqueConstraint as bY, type UniqueConstraintBackend as bZ, type UniquenessScope as b_, type JsonPointerFor as ba, type JsonPointerInput as bb, type JsonPointerSegment as bc, type JsonPointerSegments as bd, type JsonPointerSegmentsFor as be, LEGACY_GRAPH_EXTENSION_VERSION as bf, type LockSchemaVersionForWriteParams as bg, MAX_JSON_POINTER_DEPTH as bh, type MetaEdgeProperties as bi, type NodeEntityReadBackend as bj, type NodeEntityWriteBackend as bk, type NodeProps as bl, type NodeRegistration as bm, type OrderSpec as bn, type ParameterRef as bo, Placeholder as bp, type PopulatedSchemaKind as bq, type QueryExecutionBackend as br, type RawQueryExecutionBackend as bs, type RawStatementExecutionBackend as bt, type RecordedRelationOptions as bu, type RemovalMaterializationBackend as bv, type RenderedSql as bw, type ResolveJsonPointer as bx, type ResolveJsonPointerSegments as by, type ResolvedSqlTableNames as bz, type ContributionRepairResult as c, D1_MAX_BIND_PARAMETERS as c$, type UpdateNodeSetResult as c0, type UpsertFulltextBatchParams as c1, type VectorCapabilities as c2, type VectorOperationBackend as c3, type VectorSearchFrontierTuning as c4, asEdgeId as c5, asNodeId as c6, buildVectorCapabilities as c7, createSqlSchema as c8, defineGraph as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type VectorMetric as cN, ALL_FULLTEXT_MODES as cO, ALL_META_EDGE_NAMES as cP, BASE_CONTRIBUTION_OWNER as cQ, type CheckUniqueBatchParams as cR, type CheckUniqueParams as cS, type ClaimIndexMaterializationParams as cT, type CompiledTemporaryStatementSql as cU, type ContributionMaterializationIdentity as cV, type ContributionMaterializationRow as cW, type CountEdgesByKindParams as cX, type CountEdgesFromParams as cY, type CountNodesByKindParams as cZ, type CreateVectorIndexParams as c_, fts5Strategy as ca, getEdgeKinds as cb, getNodeKinds as cc, isEdgeType as cd, isEdgeTypeWithEndpoints as ce, isGraphDef as cf, isMetaEdge as cg, isNodeType as ch, isSqlFragment as ci, joinJsonPointers as cj, jsonPointer as ck, normalizeJsonPointer as cl, parseJsonPointer as cm, recordedRelation as cn, renderPostgres as co, renderSql as cp, renderSqlInline as cq, renderSqlite as cr, rowPropsToJsonText as cs, rowPropsToObject as ct, sql as cu, tsvectorStrategy as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type ReleaseIndexMaterializationClaimParams as d$, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d0, type DeleteEdgeParams as d1, type DeleteEdgesBatchParams as d2, type DeleteEmbeddingParams as d3, type DeleteFulltextParams as d4, type DeleteNodeParams as d5, type DeleteUniqueParams as d6, type DialectAdapter as d7, type DialectCapabilities as d8, type DialectRecursiveQueryStrategy as d9, type FindNodesByKindParams as dA, type GraphReadBackend as dB, type HardDeleteEdgeParams as dC, type HardDeleteNodeParams as dD, type HybridSearchParams as dE, type HybridSearchRow as dF, type IdentityTableNames as dG, type InListParameterOptions as dH, type IndexDeclarationBase as dI, type IndexMaterializationRow as dJ, type IndexWhereLiteral as dK, type IndexWhereOp as dL, type IndexWhereOperand as dM, type InsertEdgeParams as dN, type InsertNodeParams as dO, type InsertSchemaParams as dP, type InsertUniqueParams as dQ, type KindRemovalRow as dR, type LiveNodeRow as dS, MODERN_SQLITE_MAX_BIND_PARAMETERS as dT, type MetaEdgeName as dU, POSTGRES_CAPABILITIES as dV, POSTGRES_MAX_BIND_PARAMETERS as dW, type RecordContributionMaterializationParams as dX, type RecordIndexMaterializationParams as dY, type RecordKindRemovalParams as dZ, type RelationalIndexMethod as d_, type DialectStandardQueryStrategy as da, type DialectVectorPredicateStrategy as db, type DropVectorIndexParams as dc, type EdgeExistsBetweenParams as dd, type ExtensionArrayItemType as de, type ExtensionArrayProperty as df, type ExtensionBooleanProperty as dg, type ExtensionEdgeIndex as dh, type ExtensionEmbeddingModifier as di, type ExtensionEnumProperty as dj, type ExtensionIndexWhere as dk, type ExtensionNodeIndex as dl, type ExtensionNumberProperty as dm, type ExtensionObjectFieldProperty as dn, type ExtensionObjectProperty as dp, type ExtensionPropertyModifiers as dq, type ExtensionPropertyType as dr, type ExtensionSearchableModifier as ds, type ExtensionStringProperty as dt, type ExtensionUniqueConstraint as du, type ExtensionUniqueWhere as dv, FULLTEXT_CONTRIBUTION_NAME as dw, type FindEdgesByEndpointSetParams as dx, type FindEdgesByKindParams as dy, type FindEdgesConnectedToParams as dz, type EdgeIndexConfig as e, SQLITE_CAPABILITIES as e0, SQLITE_MAX_BIND_PARAMETERS as e1, type SchemaCommitPreflightBackend as e2, type SqlCompilationBackend as e3, type TombstonedNodeRow as e4, type UniqueRow as e5, type UpdateEdgeParams as e6, type UpdateNodeParams as e7, type UpsertEmbeddingBatchParams as e8, type UpsertEmbeddingBatchRow as e9, type UpsertEmbeddingParams as ea, type UpsertFulltextParams as eb, VECTOR_CONTRIBUTION_PREFIX as ec, type VectorIndexType as ed, type VectorSearchParams as ee, type VectorSearchResult as ef, assertFiniteEmbedding as eg, assertVectorMinScore as eh, assertVectorSearchLimit as ei, buildFulltextCapabilities as ej, isLiveNodeRow as ek, isSqlPlaceholder as el, isTombstonedNodeRow as em, normalizeGraphAnalyticsCapabilities as en, quoteIdentifier as eo, shortHash as ep, vectorMinScoreCondition as eq, vectorPhysicalName as er, vectorScoreExpression as es, GRAPH_EXTENSION_TOP_LEVEL_KEYS as et, type GraphExtensionTopLevelKey as eu, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };
|
|
5631
|
+
export { type FieldRef as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type AggregateExpr as _, type ContributionDiagnosticState as a, type IndexMaterializationBackend as a$, type ComparisonOp as a0, type AggregateComparisonPredicate as a1, type TraversalDirection as a2, type OntologyRelation as a3, type InferenceType as a4, type EdgeType as a5, type AdapterBackendTransactions as a6, type AllEdgeTypes as a7, type AllNodeTypes as a8, type BackendIdentity as a9, type EdgeId as aA, type EdgeKinds as aB, type EdgeProps as aC, type EdgeRegistration as aD, type EdgeTypeWithEndpoints as aE, type EndpointExistence as aF, type ExternalRecordedReadSource as aG, type FilteredApproximateSearch as aH, type FilteredApproximateSearchMode as aI, type FindEdgesByHeterogeneousEndpointSetParams as aJ, type FulltextBatchRow as aK, type FulltextCapabilities as aL, type FulltextOperationBackend as aM, type FulltextQueryMode as aN, type FulltextSearchParams as aO, type FulltextSearchResult as aP, type GetEdgeType as aQ, type GetNodeType as aR, type GraphAnalyticsCapabilities as aS, type GraphDefaults as aT, type GraphEntityReadBackend as aU, type GraphEntityWriteBackend as aV, type GraphExtension as aW, type GraphExtensionVersion as aX, type GraphLifecycleBackend as aY, type HardDeleteUniquesByNodeIdsParams as aZ, type HybridFusionOptions as a_, type BackendLifecycle as aa, type BackendMaintenance as ab, type BackendTransactions as ac, CURRENT_GRAPH_EXTENSION_VERSION as ad, type Cardinality as ae, type Collation as af, type CommitSchemaVersionExpected as ag, type CommitSchemaVersionIfKindsEmptyResult as ah, type CommitSchemaVersionParams as ai, type CompiledRowsSql as aj, type CompiledSelectSql as ak, type CompiledStatementSql as al, type ContributionCapabilities as am, type ContributionMaterializationBackend as an, type ContributionProbeContribution as ao, type ContributionProbeEntry as ap, type ContributionProbeResult as aq, type ContributionProbeState as ar, type ContributionRebuildResult as as, type ContributionRebuildScope as at, type ContributionRepopulationStats as au, DEFAULT_SQL_SCHEMA as av, type DeleteBehavior as aw, type DeleteFulltextBatchParams as ax, type EdgeEntityReadBackend as ay, type EdgeEntityWriteBackend as az, type ContributionRepairEntry as b, type VectorOperationBackend as b$, type IntentSql as b0, type JsonPointerFor as b1, type JsonPointerInput as b2, type JsonPointerSegment as b3, type JsonPointerSegments as b4, type JsonPointerSegmentsFor as b5, type JsonValue as b6, type KindAnnotations as b7, LEGACY_GRAPH_EXTENSION_VERSION as b8, type LockSchemaVersionForWriteParams as b9, type SchemaWriteFenceBackend as bA, type SetActiveVersionParams as bB, type SortDirection as bC, type SqlChunk as bD, type SqlFragment as bE, type SqlIdentifierChunk as bF, type SqlIntent as bG, type SqlParameterChunk as bH, type SqlPlaceholderChunk as bI, type SqlTableNames as bJ, type SqlTag as bK, type SqlTextChunk as bL, type StrategyTableContribution as bM, type TableContribution as bN, type TransactionBackend as bO, type TransactionOptions as bP, type TransactionReadBackend as bQ, type TraversalExpansion as bR, type TrustedImportOptions as bS, type TrustedImportSession as bT, type UniqueConstraint as bU, type UniqueConstraintBackend as bV, type UniquenessScope as bW, type UpdateNodeSetParams as bX, type UpdateNodeSetResult as bY, type UpsertFulltextBatchParams as bZ, type VectorCapabilities as b_, MAX_JSON_POINTER_DEPTH as ba, type MetaEdge as bb, type MetaEdgeProperties as bc, type NodeEntityReadBackend as bd, type NodeEntityWriteBackend as be, type NodeId as bf, type NodeKinds as bg, type NodeProps as bh, type NodeRegistration as bi, type OrderSpec as bj, type ParameterRef as bk, Placeholder as bl, type PopulatedSchemaKind as bm, type QueryExecutionBackend as bn, type RawQueryExecutionBackend as bo, type RawStatementExecutionBackend as bp, type RecordedRelationOptions as bq, type RemovalMaterializationBackend as br, type RenderedSql as bs, type ResolveJsonPointer as bt, type ResolveJsonPointerSegments as bu, type ResolvedSqlTableNames as bv, type RowProps as bw, type SchemaCommitBackend as bx, type SchemaKindEmptinessProbe as by, type SchemaReadBackend as bz, type ContributionRepairResult as c, type CreateVectorIndexParams as c$, type VectorSearchFrontierTuning as c0, asEdgeId as c1, asNodeId as c2, buildVectorCapabilities as c3, createSqlSchema as c4, defineGraph as c5, fts5Strategy as c6, getEdgeKinds as c7, getNodeKinds as c8, isEdgeType as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type BackendValidityEndMutation as cN, type VectorMetric as cO, ALL_FULLTEXT_MODES as cP, ALL_META_EDGE_NAMES as cQ, BASE_CONTRIBUTION_OWNER as cR, type CheckUniqueBatchParams as cS, type CheckUniqueParams as cT, type ClaimIndexMaterializationParams as cU, type CompiledTemporaryStatementSql as cV, type ContributionMaterializationIdentity as cW, type ContributionMaterializationRow as cX, type CountEdgesByKindParams as cY, type CountEdgesFromParams as cZ, type CountNodesByKindParams as c_, isEdgeTypeWithEndpoints as ca, isGraphDef as cb, isMetaEdge as cc, isNodeType as cd, isSqlFragment as ce, joinJsonPointers as cf, jsonPointer as cg, normalizeJsonPointer as ch, parseJsonPointer as ci, recordedRelation as cj, renderPostgres as ck, renderSql as cl, renderSqlInline as cm, renderSqlite as cn, rowPropsToJsonText as co, rowPropsToObject as cp, sql as cq, tsvectorStrategy as cr, type ExtensionNodeDef as cs, type ExtensionEdgeDef as ct, type ExtensionOntologyRelation as cu, type ExtensionIndex as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type RelationalIndexMethod as d$, D1_MAX_BIND_PARAMETERS as d0, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d1, type DeleteEdgeParams as d2, type DeleteEdgesBatchParams as d3, type DeleteEmbeddingParams as d4, type DeleteFulltextParams as d5, type DeleteNodeParams as d6, type DeleteUniqueParams as d7, type DialectAdapter as d8, type DialectCapabilities as d9, type FindEdgesConnectedToParams as dA, type FindNodesByKindParams as dB, type GraphReadBackend as dC, type HardDeleteEdgeParams as dD, type HardDeleteNodeParams as dE, type HybridSearchParams as dF, type HybridSearchRow as dG, type IdentityTableNames as dH, type InListParameterOptions as dI, type IndexDeclarationBase as dJ, type IndexMaterializationRow as dK, type IndexWhereLiteral as dL, type IndexWhereOp as dM, type IndexWhereOperand as dN, type InsertEdgeParams as dO, type InsertNodeParams as dP, type InsertSchemaParams as dQ, type InsertUniqueParams as dR, type KindRemovalRow as dS, type LiveNodeRow as dT, MODERN_SQLITE_MAX_BIND_PARAMETERS as dU, type MetaEdgeName as dV, POSTGRES_CAPABILITIES as dW, POSTGRES_MAX_BIND_PARAMETERS as dX, type RecordContributionMaterializationParams as dY, type RecordIndexMaterializationParams as dZ, type RecordKindRemovalParams as d_, type DialectRecursiveQueryStrategy as da, type DialectStandardQueryStrategy as db, type DialectVectorPredicateStrategy as dc, type DropVectorIndexParams as dd, type EdgeExistsBetweenParams as de, type ExtensionArrayItemType as df, type ExtensionArrayProperty as dg, type ExtensionBooleanProperty as dh, type ExtensionEdgeIndex as di, type ExtensionEmbeddingModifier as dj, type ExtensionEnumProperty as dk, type ExtensionIndexWhere as dl, type ExtensionNodeIndex as dm, type ExtensionNumberProperty as dn, type ExtensionObjectFieldProperty as dp, type ExtensionObjectProperty as dq, type ExtensionPropertyModifiers as dr, type ExtensionPropertyType as ds, type ExtensionSearchableModifier as dt, type ExtensionStringProperty as du, type ExtensionUniqueConstraint as dv, type ExtensionUniqueWhere as dw, FULLTEXT_CONTRIBUTION_NAME as dx, type FindEdgesByEndpointSetParams as dy, type FindEdgesByKindParams as dz, type EdgeIndexConfig as e, type ReleaseIndexMaterializationClaimParams as e0, SQLITE_CAPABILITIES as e1, SQLITE_MAX_BIND_PARAMETERS as e2, type SchemaCommitPreflightBackend as e3, type SqlCompilationBackend as e4, type TombstonedNodeRow as e5, type UniqueRow as e6, type UpdateEdgeParams as e7, type UpdateNodeParams as e8, type UpsertEmbeddingBatchParams as e9, type UpsertEmbeddingBatchRow as ea, type UpsertEmbeddingParams as eb, type UpsertFulltextParams as ec, VECTOR_CONTRIBUTION_PREFIX as ed, type VectorIndexType as ee, type VectorSearchParams as ef, type VectorSearchResult as eg, assertFiniteEmbedding as eh, assertVectorMinScore as ei, assertVectorSearchLimit as ej, buildFulltextCapabilities as ek, isLiveNodeRow as el, isSqlPlaceholder as em, isTombstonedNodeRow as en, normalizeGraphAnalyticsCapabilities as eo, quoteIdentifier as ep, shortHash as eq, vectorMinScoreCondition as er, vectorPhysicalName as es, vectorScoreExpression as et, GRAPH_EXTENSION_TOP_LEVEL_KEYS as eu, type GraphExtensionTopLevelKey as ev, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };
|
|
@@ -2470,6 +2470,13 @@ type BackendCapabilities = Readonly<{
|
|
|
2470
2470
|
transactions: boolean;
|
|
2471
2471
|
/** Whether the backend supports SQL window functions such as ROW_NUMBER() */
|
|
2472
2472
|
windowFunctions: boolean;
|
|
2473
|
+
/**
|
|
2474
|
+
* Whether `updateNode` / `updateEdge` honor `clearValidTo: true` by storing
|
|
2475
|
+
* SQL NULL in `valid_to`. Absent is `false`: custom backends must opt in so
|
|
2476
|
+
* the store refuses every explicit clear-bearing call before lookup,
|
|
2477
|
+
* coalescing, or write instead of making support depend on row state.
|
|
2478
|
+
*/
|
|
2479
|
+
clearValidTo?: boolean;
|
|
2473
2480
|
/**
|
|
2474
2481
|
* Whether the backend's `execute()` supports `UPDATE … RETURNING`. Absent or
|
|
2475
2482
|
* `true` means supported (every engine TypeGraph ships — SQLite ≥ 3.35,
|
|
@@ -2624,8 +2631,18 @@ type InsertNodeParams = Readonly<{
|
|
|
2624
2631
|
validTo?: string;
|
|
2625
2632
|
}>;
|
|
2626
2633
|
/**
|
|
2627
|
-
*
|
|
2634
|
+
* A backend validity-end mutation. Omission preserves the stored end,
|
|
2635
|
+
* `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
|
|
2636
|
+
* two write actions mutually exclusive without exposing SQL `NULL`.
|
|
2628
2637
|
*/
|
|
2638
|
+
type BackendValidityEndMutation = Readonly<{
|
|
2639
|
+
validTo?: string;
|
|
2640
|
+
clearValidTo?: never;
|
|
2641
|
+
}> | Readonly<{
|
|
2642
|
+
validTo?: never;
|
|
2643
|
+
clearValidTo: true;
|
|
2644
|
+
}>;
|
|
2645
|
+
/** Parameters for updating a node. */
|
|
2629
2646
|
type UpdateNodeParams = Readonly<{
|
|
2630
2647
|
graphId: string;
|
|
2631
2648
|
kind: string;
|
|
@@ -2633,7 +2650,6 @@ type UpdateNodeParams = Readonly<{
|
|
|
2633
2650
|
props: Readonly<Record<string, unknown>>;
|
|
2634
2651
|
/** Applied when resurrecting a tombstone; omitted means the resurrection instant. */
|
|
2635
2652
|
validFrom?: string | null;
|
|
2636
|
-
validTo?: string;
|
|
2637
2653
|
/**
|
|
2638
2654
|
* The effective `valid_from` this write ASSERTS the target row already
|
|
2639
2655
|
* carries, stated only by a caller whose decision DEPENDED on it.
|
|
@@ -2661,7 +2677,7 @@ type UpdateNodeParams = Readonly<{
|
|
|
2661
2677
|
incrementVersion?: boolean;
|
|
2662
2678
|
/** If true, clears deleted_at (un-deletes the node). Used by upsert. */
|
|
2663
2679
|
clearDeleted?: boolean;
|
|
2664
|
-
}
|
|
2680
|
+
}> & BackendValidityEndMutation;
|
|
2665
2681
|
/**
|
|
2666
2682
|
* Parameters for updating a set of live nodes selected by a compiled
|
|
2667
2683
|
* TypeGraph query.
|
|
@@ -2793,7 +2809,6 @@ type UpdateEdgeParams = Readonly<{
|
|
|
2793
2809
|
* Omitting `validFrom` on a resurrection leaves the stored window in place.
|
|
2794
2810
|
*/
|
|
2795
2811
|
validFrom?: string | null;
|
|
2796
|
-
validTo?: string;
|
|
2797
2812
|
/**
|
|
2798
2813
|
* The effective `valid_from` this write asserts the target row already
|
|
2799
2814
|
* carries. Same three states, same NULL-safety, and the same MUST-apply
|
|
@@ -2806,8 +2821,13 @@ type UpdateEdgeParams = Readonly<{
|
|
|
2806
2821
|
* it must be fenced against it having changed.
|
|
2807
2822
|
*/
|
|
2808
2823
|
expectedValidFrom?: string | null;
|
|
2824
|
+
/**
|
|
2825
|
+
* The `valid_to` state a constraint decision read. NULL-safe and MUST apply
|
|
2826
|
+
* when present, like `expectedValidFrom`; used to fence ended-to-open edges.
|
|
2827
|
+
*/
|
|
2828
|
+
expectedValidTo?: string | null;
|
|
2809
2829
|
clearDeleted?: boolean;
|
|
2810
|
-
}
|
|
2830
|
+
}> & BackendValidityEndMutation;
|
|
2811
2831
|
/**
|
|
2812
2832
|
* Parameters for deleting an edge (soft delete).
|
|
2813
2833
|
*/
|
|
@@ -3330,7 +3350,7 @@ type RecordContributionMaterializationParams = Readonly<{
|
|
|
3330
3350
|
* `DROP`, a schema-scoped restore that missed the contribution
|
|
3331
3351
|
* tables). The state {@link GraphBackend.verifyContributions} exists
|
|
3332
3352
|
* to surface: nothing on the open path probes the catalog, so this
|
|
3333
|
-
* database opens clean and fails at the first read
|
|
3353
|
+
* database opens clean and fails at the first dependent read or write.
|
|
3334
3354
|
* - `missing-marker` — the physical table exists but no marker attests
|
|
3335
3355
|
* it as initialized (no row, no recorded success, or a recorded
|
|
3336
3356
|
* failure). Reads and writes are refused with
|
|
@@ -3453,9 +3473,10 @@ type ContributionProbeContribution = "fulltext" | "vector";
|
|
|
3453
3473
|
* its durable marker and present in the catalog. Not a promise about
|
|
3454
3474
|
* future coherence: a write that lands after the probe returns is
|
|
3455
3475
|
* outside what any assessment can cover.
|
|
3456
|
-
* - `degraded` — at least one contribution is unusable.
|
|
3457
|
-
*
|
|
3458
|
-
*
|
|
3476
|
+
* - `degraded` — at least one contribution is unusable. Dependent operations
|
|
3477
|
+
* may be refused with a typed contribution error, fail at the engine boundary
|
|
3478
|
+
* when compiled SQL directly references missing storage, or observe
|
|
3479
|
+
* incomplete storage.
|
|
3459
3480
|
* {@link ContributionProbeEntry.detail} says which and why.
|
|
3460
3481
|
* - `building` — **reserved.** No shipped path publishes it. Recording
|
|
3461
3482
|
* an in-flight marker would need a fifth
|
|
@@ -3901,6 +3922,12 @@ type GraphBackend = Readonly<{
|
|
|
3901
3922
|
* is well-behaved on Postgres.
|
|
3902
3923
|
*/
|
|
3903
3924
|
ensureIndexMaterializationsTable?: (this: void) => Promise<void>;
|
|
3925
|
+
/**
|
|
3926
|
+
* Install the PostgreSQL `pg_trgm` extension under a database-global
|
|
3927
|
+
* concurrency fence. Relational trigram index materialization calls this
|
|
3928
|
+
* before emitting its index DDL; non-PostgreSQL backends omit it.
|
|
3929
|
+
*/
|
|
3930
|
+
ensureTrigramExtension?: (this: void) => Promise<void>;
|
|
3904
3931
|
/**
|
|
3905
3932
|
* Idempotently ensure ONLY the `typegraph_revision_origins` table exists.
|
|
3906
3933
|
*
|
|
@@ -4152,8 +4179,8 @@ type GraphBackend = Readonly<{
|
|
|
4152
4179
|
* per-instance signature cache and then on the marker row alone, which
|
|
4153
4180
|
* is the right default for a hot path but leaves a database whose
|
|
4154
4181
|
* contribution tables were dropped out of band opening clean and
|
|
4155
|
-
* failing at the first read. This method is the explicit,
|
|
4156
|
-
* invoked catalog probe that fills that gap: it issues one uncached
|
|
4182
|
+
* failing at the first dependent read or write. This method is the explicit,
|
|
4183
|
+
* operator-invoked catalog probe that fills that gap: it issues one uncached
|
|
4157
4184
|
* existence query per distinct physical table and performs ZERO DDL
|
|
4158
4185
|
* and ZERO writes, so it is safe under a least-privilege runtime role.
|
|
4159
4186
|
*
|
|
@@ -5601,4 +5628,4 @@ type RelationalIndexDeclaration = NodeIndexDeclaration | EdgeIndexDeclaration;
|
|
|
5601
5628
|
type IndexDeclaration = RelationalIndexDeclaration | VectorIndexDeclaration;
|
|
5602
5629
|
type SystemColumnName = "graph_id" | "kind" | "id" | "from_kind" | "from_id" | "to_kind" | "to_id" | "deleted_at" | "valid_from" | "valid_to" | "created_at" | "updated_at" | "version";
|
|
5603
5630
|
|
|
5604
|
-
export { type EdgeId as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type NodeId as _, type ContributionDiagnosticState as a, type GetEdgeType as a$, type JsonValue as a0, type NodeKinds as a1, type GetNodeType as a2, type KindAnnotations as a3, type MetaEdge as a4, type EdgeType as a5, type DeleteBehavior as a6, type GraphExtensionVersion as a7, type ExtensionNodeDef as a8, type ExtensionEdgeDef as a9, type ContributionMaterializationBackend as aA, type ContributionProbeContribution as aB, type ContributionProbeEntry as aC, type ContributionProbeResult as aD, type ContributionProbeState as aE, type ContributionRebuildResult as aF, type ContributionRebuildScope as aG, type ContributionRepopulationStats as aH, DEFAULT_SQL_SCHEMA as aI, type DeleteFulltextBatchParams as aJ, type EdgeEntityReadBackend as aK, type EdgeEntityWriteBackend as aL, type EdgeKinds as aM, type EdgeProps as aN, type EdgeRegistration as aO, type EdgeTypeWithEndpoints as aP, type EndpointExistence as aQ, type ExternalRecordedReadSource as aR, type FilteredApproximateSearch as aS, type FilteredApproximateSearchMode as aT, type FindEdgesByHeterogeneousEndpointSetParams as aU, type FulltextBatchRow as aV, type FulltextCapabilities as aW, type FulltextOperationBackend as aX, type FulltextQueryMode as aY, type FulltextSearchParams as aZ, type FulltextSearchResult as a_, type ExtensionOntologyRelation as aa, type ExtensionIndex as ab, type AggregateExpr as ac, type FieldRef as ad, type ComparisonOp as ae, type AggregateComparisonPredicate as af, type TraversalDirection as ag, type OntologyRelation as ah, type InferenceType as ai, type AdapterBackendTransactions as aj, type AllEdgeTypes as ak, type AllNodeTypes as al, type BackendIdentity as am, type BackendLifecycle as an, type BackendMaintenance as ao, type BackendTransactions as ap, CURRENT_GRAPH_EXTENSION_VERSION as aq, type Cardinality as ar, type Collation as as, type CommitSchemaVersionExpected as at, type CommitSchemaVersionIfKindsEmptyResult as au, type CommitSchemaVersionParams as av, type CompiledRowsSql as aw, type CompiledSelectSql as ax, type CompiledStatementSql as ay, type ContributionCapabilities as az, type ContributionRepairEntry as b, type UpdateNodeSetParams as b$, type GraphAnalyticsCapabilities as b0, type GraphDefaults as b1, type GraphEntityReadBackend as b2, type GraphEntityWriteBackend as b3, type GraphExtension as b4, type GraphLifecycleBackend as b5, type HardDeleteUniquesByNodeIdsParams as b6, type HybridFusionOptions as b7, type IndexMaterializationBackend as b8, type IntentSql as b9, type RowProps as bA, type SchemaCommitBackend as bB, type SchemaKindEmptinessProbe as bC, type SchemaReadBackend as bD, type SchemaWriteFenceBackend as bE, type SetActiveVersionParams as bF, type SortDirection as bG, type SqlChunk as bH, type SqlFragment as bI, type SqlIdentifierChunk as bJ, type SqlIntent as bK, type SqlParameterChunk as bL, type SqlPlaceholderChunk as bM, type SqlTableNames as bN, type SqlTag as bO, type SqlTextChunk as bP, type StrategyTableContribution as bQ, type TableContribution as bR, type TransactionBackend as bS, type TransactionOptions as bT, type TransactionReadBackend as bU, type TraversalExpansion as bV, type TrustedImportOptions as bW, type TrustedImportSession as bX, type UniqueConstraint as bY, type UniqueConstraintBackend as bZ, type UniquenessScope as b_, type JsonPointerFor as ba, type JsonPointerInput as bb, type JsonPointerSegment as bc, type JsonPointerSegments as bd, type JsonPointerSegmentsFor as be, LEGACY_GRAPH_EXTENSION_VERSION as bf, type LockSchemaVersionForWriteParams as bg, MAX_JSON_POINTER_DEPTH as bh, type MetaEdgeProperties as bi, type NodeEntityReadBackend as bj, type NodeEntityWriteBackend as bk, type NodeProps as bl, type NodeRegistration as bm, type OrderSpec as bn, type ParameterRef as bo, Placeholder as bp, type PopulatedSchemaKind as bq, type QueryExecutionBackend as br, type RawQueryExecutionBackend as bs, type RawStatementExecutionBackend as bt, type RecordedRelationOptions as bu, type RemovalMaterializationBackend as bv, type RenderedSql as bw, type ResolveJsonPointer as bx, type ResolveJsonPointerSegments as by, type ResolvedSqlTableNames as bz, type ContributionRepairResult as c, D1_MAX_BIND_PARAMETERS as c$, type UpdateNodeSetResult as c0, type UpsertFulltextBatchParams as c1, type VectorCapabilities as c2, type VectorOperationBackend as c3, type VectorSearchFrontierTuning as c4, asEdgeId as c5, asNodeId as c6, buildVectorCapabilities as c7, createSqlSchema as c8, defineGraph as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type VectorMetric as cN, ALL_FULLTEXT_MODES as cO, ALL_META_EDGE_NAMES as cP, BASE_CONTRIBUTION_OWNER as cQ, type CheckUniqueBatchParams as cR, type CheckUniqueParams as cS, type ClaimIndexMaterializationParams as cT, type CompiledTemporaryStatementSql as cU, type ContributionMaterializationIdentity as cV, type ContributionMaterializationRow as cW, type CountEdgesByKindParams as cX, type CountEdgesFromParams as cY, type CountNodesByKindParams as cZ, type CreateVectorIndexParams as c_, fts5Strategy as ca, getEdgeKinds as cb, getNodeKinds as cc, isEdgeType as cd, isEdgeTypeWithEndpoints as ce, isGraphDef as cf, isMetaEdge as cg, isNodeType as ch, isSqlFragment as ci, joinJsonPointers as cj, jsonPointer as ck, normalizeJsonPointer as cl, parseJsonPointer as cm, recordedRelation as cn, renderPostgres as co, renderSql as cp, renderSqlInline as cq, renderSqlite as cr, rowPropsToJsonText as cs, rowPropsToObject as ct, sql as cu, tsvectorStrategy as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type ReleaseIndexMaterializationClaimParams as d$, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d0, type DeleteEdgeParams as d1, type DeleteEdgesBatchParams as d2, type DeleteEmbeddingParams as d3, type DeleteFulltextParams as d4, type DeleteNodeParams as d5, type DeleteUniqueParams as d6, type DialectAdapter as d7, type DialectCapabilities as d8, type DialectRecursiveQueryStrategy as d9, type FindNodesByKindParams as dA, type GraphReadBackend as dB, type HardDeleteEdgeParams as dC, type HardDeleteNodeParams as dD, type HybridSearchParams as dE, type HybridSearchRow as dF, type IdentityTableNames as dG, type InListParameterOptions as dH, type IndexDeclarationBase as dI, type IndexMaterializationRow as dJ, type IndexWhereLiteral as dK, type IndexWhereOp as dL, type IndexWhereOperand as dM, type InsertEdgeParams as dN, type InsertNodeParams as dO, type InsertSchemaParams as dP, type InsertUniqueParams as dQ, type KindRemovalRow as dR, type LiveNodeRow as dS, MODERN_SQLITE_MAX_BIND_PARAMETERS as dT, type MetaEdgeName as dU, POSTGRES_CAPABILITIES as dV, POSTGRES_MAX_BIND_PARAMETERS as dW, type RecordContributionMaterializationParams as dX, type RecordIndexMaterializationParams as dY, type RecordKindRemovalParams as dZ, type RelationalIndexMethod as d_, type DialectStandardQueryStrategy as da, type DialectVectorPredicateStrategy as db, type DropVectorIndexParams as dc, type EdgeExistsBetweenParams as dd, type ExtensionArrayItemType as de, type ExtensionArrayProperty as df, type ExtensionBooleanProperty as dg, type ExtensionEdgeIndex as dh, type ExtensionEmbeddingModifier as di, type ExtensionEnumProperty as dj, type ExtensionIndexWhere as dk, type ExtensionNodeIndex as dl, type ExtensionNumberProperty as dm, type ExtensionObjectFieldProperty as dn, type ExtensionObjectProperty as dp, type ExtensionPropertyModifiers as dq, type ExtensionPropertyType as dr, type ExtensionSearchableModifier as ds, type ExtensionStringProperty as dt, type ExtensionUniqueConstraint as du, type ExtensionUniqueWhere as dv, FULLTEXT_CONTRIBUTION_NAME as dw, type FindEdgesByEndpointSetParams as dx, type FindEdgesByKindParams as dy, type FindEdgesConnectedToParams as dz, type EdgeIndexConfig as e, SQLITE_CAPABILITIES as e0, SQLITE_MAX_BIND_PARAMETERS as e1, type SchemaCommitPreflightBackend as e2, type SqlCompilationBackend as e3, type TombstonedNodeRow as e4, type UniqueRow as e5, type UpdateEdgeParams as e6, type UpdateNodeParams as e7, type UpsertEmbeddingBatchParams as e8, type UpsertEmbeddingBatchRow as e9, type UpsertEmbeddingParams as ea, type UpsertFulltextParams as eb, VECTOR_CONTRIBUTION_PREFIX as ec, type VectorIndexType as ed, type VectorSearchParams as ee, type VectorSearchResult as ef, assertFiniteEmbedding as eg, assertVectorMinScore as eh, assertVectorSearchLimit as ei, buildFulltextCapabilities as ej, isLiveNodeRow as ek, isSqlPlaceholder as el, isTombstonedNodeRow as em, normalizeGraphAnalyticsCapabilities as en, quoteIdentifier as eo, shortHash as ep, vectorMinScoreCondition as eq, vectorPhysicalName as er, vectorScoreExpression as es, GRAPH_EXTENSION_TOP_LEVEL_KEYS as et, type GraphExtensionTopLevelKey as eu, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };
|
|
5631
|
+
export { type FieldRef as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type AggregateExpr as _, type ContributionDiagnosticState as a, type IndexMaterializationBackend as a$, type ComparisonOp as a0, type AggregateComparisonPredicate as a1, type TraversalDirection as a2, type OntologyRelation as a3, type InferenceType as a4, type EdgeType as a5, type AdapterBackendTransactions as a6, type AllEdgeTypes as a7, type AllNodeTypes as a8, type BackendIdentity as a9, type EdgeId as aA, type EdgeKinds as aB, type EdgeProps as aC, type EdgeRegistration as aD, type EdgeTypeWithEndpoints as aE, type EndpointExistence as aF, type ExternalRecordedReadSource as aG, type FilteredApproximateSearch as aH, type FilteredApproximateSearchMode as aI, type FindEdgesByHeterogeneousEndpointSetParams as aJ, type FulltextBatchRow as aK, type FulltextCapabilities as aL, type FulltextOperationBackend as aM, type FulltextQueryMode as aN, type FulltextSearchParams as aO, type FulltextSearchResult as aP, type GetEdgeType as aQ, type GetNodeType as aR, type GraphAnalyticsCapabilities as aS, type GraphDefaults as aT, type GraphEntityReadBackend as aU, type GraphEntityWriteBackend as aV, type GraphExtension as aW, type GraphExtensionVersion as aX, type GraphLifecycleBackend as aY, type HardDeleteUniquesByNodeIdsParams as aZ, type HybridFusionOptions as a_, type BackendLifecycle as aa, type BackendMaintenance as ab, type BackendTransactions as ac, CURRENT_GRAPH_EXTENSION_VERSION as ad, type Cardinality as ae, type Collation as af, type CommitSchemaVersionExpected as ag, type CommitSchemaVersionIfKindsEmptyResult as ah, type CommitSchemaVersionParams as ai, type CompiledRowsSql as aj, type CompiledSelectSql as ak, type CompiledStatementSql as al, type ContributionCapabilities as am, type ContributionMaterializationBackend as an, type ContributionProbeContribution as ao, type ContributionProbeEntry as ap, type ContributionProbeResult as aq, type ContributionProbeState as ar, type ContributionRebuildResult as as, type ContributionRebuildScope as at, type ContributionRepopulationStats as au, DEFAULT_SQL_SCHEMA as av, type DeleteBehavior as aw, type DeleteFulltextBatchParams as ax, type EdgeEntityReadBackend as ay, type EdgeEntityWriteBackend as az, type ContributionRepairEntry as b, type VectorOperationBackend as b$, type IntentSql as b0, type JsonPointerFor as b1, type JsonPointerInput as b2, type JsonPointerSegment as b3, type JsonPointerSegments as b4, type JsonPointerSegmentsFor as b5, type JsonValue as b6, type KindAnnotations as b7, LEGACY_GRAPH_EXTENSION_VERSION as b8, type LockSchemaVersionForWriteParams as b9, type SchemaWriteFenceBackend as bA, type SetActiveVersionParams as bB, type SortDirection as bC, type SqlChunk as bD, type SqlFragment as bE, type SqlIdentifierChunk as bF, type SqlIntent as bG, type SqlParameterChunk as bH, type SqlPlaceholderChunk as bI, type SqlTableNames as bJ, type SqlTag as bK, type SqlTextChunk as bL, type StrategyTableContribution as bM, type TableContribution as bN, type TransactionBackend as bO, type TransactionOptions as bP, type TransactionReadBackend as bQ, type TraversalExpansion as bR, type TrustedImportOptions as bS, type TrustedImportSession as bT, type UniqueConstraint as bU, type UniqueConstraintBackend as bV, type UniquenessScope as bW, type UpdateNodeSetParams as bX, type UpdateNodeSetResult as bY, type UpsertFulltextBatchParams as bZ, type VectorCapabilities as b_, MAX_JSON_POINTER_DEPTH as ba, type MetaEdge as bb, type MetaEdgeProperties as bc, type NodeEntityReadBackend as bd, type NodeEntityWriteBackend as be, type NodeId as bf, type NodeKinds as bg, type NodeProps as bh, type NodeRegistration as bi, type OrderSpec as bj, type ParameterRef as bk, Placeholder as bl, type PopulatedSchemaKind as bm, type QueryExecutionBackend as bn, type RawQueryExecutionBackend as bo, type RawStatementExecutionBackend as bp, type RecordedRelationOptions as bq, type RemovalMaterializationBackend as br, type RenderedSql as bs, type ResolveJsonPointer as bt, type ResolveJsonPointerSegments as bu, type ResolvedSqlTableNames as bv, type RowProps as bw, type SchemaCommitBackend as bx, type SchemaKindEmptinessProbe as by, type SchemaReadBackend as bz, type ContributionRepairResult as c, type CreateVectorIndexParams as c$, type VectorSearchFrontierTuning as c0, asEdgeId as c1, asNodeId as c2, buildVectorCapabilities as c3, createSqlSchema as c4, defineGraph as c5, fts5Strategy as c6, getEdgeKinds as c7, getNodeKinds as c8, isEdgeType as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type BackendValidityEndMutation as cN, type VectorMetric as cO, ALL_FULLTEXT_MODES as cP, ALL_META_EDGE_NAMES as cQ, BASE_CONTRIBUTION_OWNER as cR, type CheckUniqueBatchParams as cS, type CheckUniqueParams as cT, type ClaimIndexMaterializationParams as cU, type CompiledTemporaryStatementSql as cV, type ContributionMaterializationIdentity as cW, type ContributionMaterializationRow as cX, type CountEdgesByKindParams as cY, type CountEdgesFromParams as cZ, type CountNodesByKindParams as c_, isEdgeTypeWithEndpoints as ca, isGraphDef as cb, isMetaEdge as cc, isNodeType as cd, isSqlFragment as ce, joinJsonPointers as cf, jsonPointer as cg, normalizeJsonPointer as ch, parseJsonPointer as ci, recordedRelation as cj, renderPostgres as ck, renderSql as cl, renderSqlInline as cm, renderSqlite as cn, rowPropsToJsonText as co, rowPropsToObject as cp, sql as cq, tsvectorStrategy as cr, type ExtensionNodeDef as cs, type ExtensionEdgeDef as ct, type ExtensionOntologyRelation as cu, type ExtensionIndex as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type RelationalIndexMethod as d$, D1_MAX_BIND_PARAMETERS as d0, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d1, type DeleteEdgeParams as d2, type DeleteEdgesBatchParams as d3, type DeleteEmbeddingParams as d4, type DeleteFulltextParams as d5, type DeleteNodeParams as d6, type DeleteUniqueParams as d7, type DialectAdapter as d8, type DialectCapabilities as d9, type FindEdgesConnectedToParams as dA, type FindNodesByKindParams as dB, type GraphReadBackend as dC, type HardDeleteEdgeParams as dD, type HardDeleteNodeParams as dE, type HybridSearchParams as dF, type HybridSearchRow as dG, type IdentityTableNames as dH, type InListParameterOptions as dI, type IndexDeclarationBase as dJ, type IndexMaterializationRow as dK, type IndexWhereLiteral as dL, type IndexWhereOp as dM, type IndexWhereOperand as dN, type InsertEdgeParams as dO, type InsertNodeParams as dP, type InsertSchemaParams as dQ, type InsertUniqueParams as dR, type KindRemovalRow as dS, type LiveNodeRow as dT, MODERN_SQLITE_MAX_BIND_PARAMETERS as dU, type MetaEdgeName as dV, POSTGRES_CAPABILITIES as dW, POSTGRES_MAX_BIND_PARAMETERS as dX, type RecordContributionMaterializationParams as dY, type RecordIndexMaterializationParams as dZ, type RecordKindRemovalParams as d_, type DialectRecursiveQueryStrategy as da, type DialectStandardQueryStrategy as db, type DialectVectorPredicateStrategy as dc, type DropVectorIndexParams as dd, type EdgeExistsBetweenParams as de, type ExtensionArrayItemType as df, type ExtensionArrayProperty as dg, type ExtensionBooleanProperty as dh, type ExtensionEdgeIndex as di, type ExtensionEmbeddingModifier as dj, type ExtensionEnumProperty as dk, type ExtensionIndexWhere as dl, type ExtensionNodeIndex as dm, type ExtensionNumberProperty as dn, type ExtensionObjectFieldProperty as dp, type ExtensionObjectProperty as dq, type ExtensionPropertyModifiers as dr, type ExtensionPropertyType as ds, type ExtensionSearchableModifier as dt, type ExtensionStringProperty as du, type ExtensionUniqueConstraint as dv, type ExtensionUniqueWhere as dw, FULLTEXT_CONTRIBUTION_NAME as dx, type FindEdgesByEndpointSetParams as dy, type FindEdgesByKindParams as dz, type EdgeIndexConfig as e, type ReleaseIndexMaterializationClaimParams as e0, SQLITE_CAPABILITIES as e1, SQLITE_MAX_BIND_PARAMETERS as e2, type SchemaCommitPreflightBackend as e3, type SqlCompilationBackend as e4, type TombstonedNodeRow as e5, type UniqueRow as e6, type UpdateEdgeParams as e7, type UpdateNodeParams as e8, type UpsertEmbeddingBatchParams as e9, type UpsertEmbeddingBatchRow as ea, type UpsertEmbeddingParams as eb, type UpsertFulltextParams as ec, VECTOR_CONTRIBUTION_PREFIX as ed, type VectorIndexType as ee, type VectorSearchParams as ef, type VectorSearchResult as eg, assertFiniteEmbedding as eh, assertVectorMinScore as ei, assertVectorSearchLimit as ej, buildFulltextCapabilities as ek, isLiveNodeRow as el, isSqlPlaceholder as em, isTombstonedNodeRow as en, normalizeGraphAnalyticsCapabilities as eo, quoteIdentifier as ep, shortHash as eq, vectorMinScoreCondition as er, vectorPhysicalName as es, vectorScoreExpression as et, GRAPH_EXTENSION_TOP_LEVEL_KEYS as eu, type GraphExtensionTopLevelKey as ev, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as AnyEdgeType, e as EdgeIndexConfig, E as EdgeIndexDeclaration, u as NodeType, m as NodeIndexConfig, N as NodeIndexDeclaration, j as IndexWhereExpression } from './types-
|
|
1
|
+
import { v as AnyEdgeType, e as EdgeIndexConfig, E as EdgeIndexDeclaration, u as NodeType, m as NodeIndexConfig, N as NodeIndexDeclaration, j as IndexWhereExpression } from './types-DKkMJZjR.js';
|
|
2
2
|
|
|
3
3
|
/** The TypeGraph relations that carry system indexes. */
|
|
4
4
|
type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as AnyEdgeType, e as EdgeIndexConfig, E as EdgeIndexDeclaration, u as NodeType, m as NodeIndexConfig, N as NodeIndexDeclaration, j as IndexWhereExpression } from './types-
|
|
1
|
+
import { v as AnyEdgeType, e as EdgeIndexConfig, E as EdgeIndexDeclaration, u as NodeType, m as NodeIndexConfig, N as NodeIndexDeclaration, j as IndexWhereExpression } from './types-DKkMJZjR.cjs';
|
|
2
2
|
|
|
3
3
|
/** The TypeGraph relations that carry system indexes. */
|
|
4
4
|
type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
|