@nicia-ai/typegraph 0.46.0 → 0.46.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +49 -49
- package/dist/backend/index.d.cts +3 -3
- package/dist/backend/index.d.ts +3 -3
- package/dist/backend/index.js +10 -10
- package/dist/backend/postgres/index.cjs +26 -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 +13 -13
- package/dist/backend/postgres/pglite-store.cjs +33 -33
- 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 +29 -29
- package/dist/backend/postgres/pglite.cjs +15 -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 +14 -14
- package/dist/backend/sqlite/index.cjs +23 -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 +11 -11
- package/dist/backend/sqlite/libsql.cjs +18 -18
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +13 -13
- package/dist/backend/sqlite/local-store.cjs +34 -34
- 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 +30 -30
- package/dist/backend/sqlite/local.cjs +16 -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 +14 -14
- package/dist/{chunk-VCRRKBLN.cjs → chunk-2ZWM2RFH.cjs} +9 -9
- package/dist/{chunk-VCRRKBLN.cjs.map → chunk-2ZWM2RFH.cjs.map} +1 -1
- package/dist/{chunk-TTAITEPJ.cjs → chunk-32UETY6S.cjs} +26 -26
- package/dist/chunk-32UETY6S.cjs.map +1 -0
- package/dist/{chunk-JXA2ZP2Q.js → chunk-36LIJXWC.js} +4 -4
- package/dist/{chunk-JXA2ZP2Q.js.map → chunk-36LIJXWC.js.map} +1 -1
- package/dist/{chunk-Q7Q4WSLJ.cjs → chunk-5PDSCELM.cjs} +18 -14
- package/dist/chunk-5PDSCELM.cjs.map +1 -0
- package/dist/{chunk-775A4ZMN.js → chunk-5ZJOB5YS.js} +4 -4
- package/dist/{chunk-775A4ZMN.js.map → chunk-5ZJOB5YS.js.map} +1 -1
- package/dist/{chunk-J3WZ3FA2.js → chunk-62ZXBMSD.js} +24 -3
- package/dist/chunk-62ZXBMSD.js.map +1 -0
- package/dist/{chunk-7BQXPCGN.cjs → chunk-6BD6ZBKT.cjs} +10 -10
- package/dist/{chunk-7BQXPCGN.cjs.map → chunk-6BD6ZBKT.cjs.map} +1 -1
- package/dist/chunk-6LAXM4J2.cjs +12 -0
- package/dist/{chunk-VQH4VAWD.cjs.map → chunk-6LAXM4J2.cjs.map} +1 -1
- package/dist/{chunk-MSY7FSX4.js → chunk-72WUT4GG.js} +4 -4
- package/dist/{chunk-MSY7FSX4.js.map → chunk-72WUT4GG.js.map} +1 -1
- package/dist/chunk-73MWKDFK.cjs +12 -0
- package/dist/{chunk-A4OC4DVN.cjs.map → chunk-73MWKDFK.cjs.map} +1 -1
- package/dist/{chunk-BKCUOV7A.js → chunk-7TKNK32B.js} +5 -5
- package/dist/{chunk-BKCUOV7A.js.map → chunk-7TKNK32B.js.map} +1 -1
- package/dist/{chunk-JIVMTW7W.js → chunk-A2LJG5GM.js} +9 -9
- package/dist/{chunk-JIVMTW7W.js.map → chunk-A2LJG5GM.js.map} +1 -1
- package/dist/{chunk-XMQSEJCF.cjs → chunk-A4R3H7RU.cjs} +237 -237
- package/dist/{chunk-XMQSEJCF.cjs.map → chunk-A4R3H7RU.cjs.map} +1 -1
- package/dist/{chunk-RMQLSPA2.cjs → chunk-A7NMUYEL.cjs} +27 -27
- package/dist/{chunk-RMQLSPA2.cjs.map → chunk-A7NMUYEL.cjs.map} +1 -1
- package/dist/{chunk-U63GDNRC.cjs → chunk-AF3TWL5C.cjs} +4 -4
- package/dist/{chunk-U63GDNRC.cjs.map → chunk-AF3TWL5C.cjs.map} +1 -1
- package/dist/{chunk-XBYVV3MP.cjs → chunk-ANKOXPCC.cjs} +4 -4
- package/dist/chunk-ANKOXPCC.cjs.map +1 -0
- package/dist/{chunk-OH5E5KIO.js → chunk-AT3MLMJV.js} +10 -10
- package/dist/{chunk-OH5E5KIO.js.map → chunk-AT3MLMJV.js.map} +1 -1
- package/dist/{chunk-UV3SN74I.js → chunk-AU3IJNNP.js} +5 -5
- package/dist/{chunk-UV3SN74I.js.map → chunk-AU3IJNNP.js.map} +1 -1
- package/dist/{chunk-YAAM3M2S.cjs → chunk-BEB4OFZF.cjs} +10 -10
- package/dist/{chunk-YAAM3M2S.cjs.map → chunk-BEB4OFZF.cjs.map} +1 -1
- package/dist/{chunk-7GT72YHH.cjs → chunk-BQM5P2NO.cjs} +169 -167
- package/dist/chunk-BQM5P2NO.cjs.map +1 -0
- package/dist/{chunk-YWGVVALJ.js → chunk-BRN3RGD2.js} +3 -3
- package/dist/{chunk-YWGVVALJ.js.map → chunk-BRN3RGD2.js.map} +1 -1
- package/dist/{chunk-UDISNXDL.cjs → chunk-BZZI7B43.cjs} +47 -47
- package/dist/{chunk-UDISNXDL.cjs.map → chunk-BZZI7B43.cjs.map} +1 -1
- package/dist/{chunk-TQR4KBY2.cjs → chunk-C2ZP5YS6.cjs} +135 -133
- package/dist/chunk-C2ZP5YS6.cjs.map +1 -0
- package/dist/{chunk-PNN7RHVR.cjs → chunk-C4DYN2SD.cjs} +48 -48
- package/dist/{chunk-PNN7RHVR.cjs.map → chunk-C4DYN2SD.cjs.map} +1 -1
- package/dist/{chunk-XDF2UPEQ.cjs → chunk-C6KE2HSQ.cjs} +1364 -1311
- package/dist/chunk-C6KE2HSQ.cjs.map +1 -0
- package/dist/{chunk-LBJKZXDE.cjs → chunk-D6GCNNMK.cjs} +10 -10
- package/dist/{chunk-LBJKZXDE.cjs.map → chunk-D6GCNNMK.cjs.map} +1 -1
- package/dist/{chunk-JZUR7ZWE.js → chunk-DSAWGCMP.js} +3 -3
- package/dist/{chunk-JZUR7ZWE.js.map → chunk-DSAWGCMP.js.map} +1 -1
- package/dist/{chunk-U5SON7R2.cjs → chunk-DYPRZ53S.cjs} +27 -27
- package/dist/{chunk-U5SON7R2.cjs.map → chunk-DYPRZ53S.cjs.map} +1 -1
- package/dist/{chunk-YVWGEQJE.cjs → chunk-E4OSGBCM.cjs} +139 -133
- package/dist/chunk-E4OSGBCM.cjs.map +1 -0
- package/dist/{chunk-YDFDBE6D.js → chunk-EAMVXR5B.js} +4 -4
- package/dist/{chunk-YDFDBE6D.js.map → chunk-EAMVXR5B.js.map} +1 -1
- package/dist/{chunk-NQ6BRJBE.js → chunk-EDHV4CBU.js} +8 -8
- package/dist/{chunk-NQ6BRJBE.js.map → chunk-EDHV4CBU.js.map} +1 -1
- package/dist/{chunk-DCQVHAYQ.js → chunk-EDJDDY6H.js} +4 -4
- package/dist/{chunk-DCQVHAYQ.js.map → chunk-EDJDDY6H.js.map} +1 -1
- package/dist/{chunk-5262ZMTR.js → chunk-EJSYWAEV.js} +5 -5
- package/dist/{chunk-5262ZMTR.js.map → chunk-EJSYWAEV.js.map} +1 -1
- package/dist/{chunk-N3257XE6.cjs → chunk-F36KZDFX.cjs} +91 -91
- package/dist/{chunk-N3257XE6.cjs.map → chunk-F36KZDFX.cjs.map} +1 -1
- package/dist/{chunk-AKLS3BYZ.js → chunk-FA6Z7B5L.js} +3 -3
- package/dist/chunk-FA6Z7B5L.js.map +1 -0
- package/dist/{chunk-ASTI57H3.js → chunk-FCIZNUW5.js} +3 -3
- package/dist/{chunk-ASTI57H3.js.map → chunk-FCIZNUW5.js.map} +1 -1
- package/dist/{chunk-CBTIUB76.js → chunk-FSLTU57P.js} +3 -3
- package/dist/{chunk-CBTIUB76.js.map → chunk-FSLTU57P.js.map} +1 -1
- package/dist/{chunk-2LG2XB2M.js → chunk-FXNHZFZV.js} +3 -3
- package/dist/{chunk-2LG2XB2M.js.map → chunk-FXNHZFZV.js.map} +1 -1
- package/dist/{chunk-BSFJMMV3.cjs → chunk-GVAMRRZR.cjs} +4 -4
- package/dist/{chunk-BSFJMMV3.cjs.map → chunk-GVAMRRZR.cjs.map} +1 -1
- package/dist/{chunk-CNV4TXJG.js → chunk-GWUWRZXW.js} +3 -3
- package/dist/{chunk-CNV4TXJG.js.map → chunk-GWUWRZXW.js.map} +1 -1
- package/dist/{chunk-C23WSN5E.js → chunk-GWXXHOLU.js} +20 -14
- package/dist/chunk-GWXXHOLU.js.map +1 -0
- package/dist/{chunk-ONU3HIED.cjs → chunk-HNYLMPQQ.cjs} +68 -68
- package/dist/{chunk-ONU3HIED.cjs.map → chunk-HNYLMPQQ.cjs.map} +1 -1
- package/dist/{chunk-NMWDXFPH.js → chunk-IHRDX7K6.js} +4 -4
- package/dist/{chunk-NMWDXFPH.js.map → chunk-IHRDX7K6.js.map} +1 -1
- package/dist/{chunk-VGTJPTIC.js → chunk-JCNTKRAK.js} +5 -5
- package/dist/{chunk-VGTJPTIC.js.map → chunk-JCNTKRAK.js.map} +1 -1
- package/dist/{chunk-MXJDTH5B.cjs → chunk-JL5UEBWT.cjs} +45 -45
- package/dist/{chunk-MXJDTH5B.cjs.map → chunk-JL5UEBWT.cjs.map} +1 -1
- package/dist/{chunk-QLRESYPU.js → chunk-KA4L2NZ3.js} +14 -14
- package/dist/{chunk-QLRESYPU.js.map → chunk-KA4L2NZ3.js.map} +1 -1
- package/dist/{chunk-NI72YOJB.cjs → chunk-KCH7WQA5.cjs} +24 -2
- package/dist/chunk-KCH7WQA5.cjs.map +1 -0
- package/dist/{chunk-2NA5DYLO.cjs → chunk-KOAI3KIV.cjs} +4 -4
- package/dist/{chunk-2NA5DYLO.cjs.map → chunk-KOAI3KIV.cjs.map} +1 -1
- package/dist/{chunk-7VQXLT5O.js → chunk-KXSMF6PL.js} +101 -25
- package/dist/chunk-KXSMF6PL.js.map +1 -0
- package/dist/{chunk-WEVQJ5LH.js → chunk-LHYSY6SE.js} +6 -6
- package/dist/chunk-LHYSY6SE.js.map +1 -0
- package/dist/{chunk-WDGA7IYB.js → chunk-LNIWCQR4.js} +3 -3
- package/dist/{chunk-WDGA7IYB.js.map → chunk-LNIWCQR4.js.map} +1 -1
- package/dist/{chunk-XNSI2FJO.cjs → chunk-N3QTGPC7.cjs} +99 -99
- package/dist/{chunk-XNSI2FJO.cjs.map → chunk-N3QTGPC7.cjs.map} +1 -1
- package/dist/{chunk-K5ELX2GT.js → chunk-OZJCH7ZS.js} +3 -3
- package/dist/{chunk-K5ELX2GT.js.map → chunk-OZJCH7ZS.js.map} +1 -1
- package/dist/{chunk-62ZP23AW.cjs → chunk-PYKF7UIL.cjs} +13 -13
- package/dist/{chunk-62ZP23AW.cjs.map → chunk-PYKF7UIL.cjs.map} +1 -1
- package/dist/{chunk-PQBQG7IM.js → chunk-QOJ2L2AD.js} +3 -3
- package/dist/{chunk-PQBQG7IM.js.map → chunk-QOJ2L2AD.js.map} +1 -1
- package/dist/{chunk-XNLIZYRZ.cjs → chunk-QPOQX2DI.cjs} +235 -235
- package/dist/{chunk-XNLIZYRZ.cjs.map → chunk-QPOQX2DI.cjs.map} +1 -1
- package/dist/{chunk-NFCVHQ5P.cjs → chunk-QU7QLJA4.cjs} +26 -26
- package/dist/{chunk-NFCVHQ5P.cjs.map → chunk-QU7QLJA4.cjs.map} +1 -1
- package/dist/{chunk-DLNROMQ7.js → chunk-R7EWHKID.js} +7 -4
- package/dist/chunk-R7EWHKID.js.map +1 -0
- package/dist/{chunk-HFHTMECK.js → chunk-RFDEYLIK.js} +7 -7
- package/dist/{chunk-HFHTMECK.js.map → chunk-RFDEYLIK.js.map} +1 -1
- package/dist/{chunk-MUK4BU7K.cjs → chunk-RHDOAQCT.cjs} +200 -124
- package/dist/chunk-RHDOAQCT.cjs.map +1 -0
- package/dist/{chunk-YBFHZUXX.js → chunk-S3G5VLSW.js} +6 -6
- package/dist/{chunk-YBFHZUXX.js.map → chunk-S3G5VLSW.js.map} +1 -1
- package/dist/{chunk-M4BDU5RX.cjs → chunk-S7WIRFNS.cjs} +12 -12
- package/dist/{chunk-M4BDU5RX.cjs.map → chunk-S7WIRFNS.cjs.map} +1 -1
- package/dist/{chunk-T4XNKYXB.js → chunk-SXWLLQ3D.js} +4 -4
- package/dist/{chunk-T4XNKYXB.js.map → chunk-SXWLLQ3D.js.map} +1 -1
- package/dist/{chunk-NK5Q7UNE.cjs → chunk-TCT66A7N.cjs} +10 -10
- package/dist/{chunk-NK5Q7UNE.cjs.map → chunk-TCT66A7N.cjs.map} +1 -1
- package/dist/{chunk-3DHZCOT7.cjs → chunk-UTVQPZPN.cjs} +20 -20
- package/dist/{chunk-3DHZCOT7.cjs.map → chunk-UTVQPZPN.cjs.map} +1 -1
- package/dist/{chunk-CXBHOOIQ.cjs → chunk-WA64ZSCA.cjs} +11 -11
- package/dist/{chunk-CXBHOOIQ.cjs.map → chunk-WA64ZSCA.cjs.map} +1 -1
- package/dist/{chunk-QWX5YA3K.js → chunk-WEJHA7AD.js} +18 -16
- package/dist/chunk-WEJHA7AD.js.map +1 -0
- package/dist/{chunk-5UVRGXD3.js → chunk-WHS2Y43J.js} +5 -5
- package/dist/{chunk-5UVRGXD3.js.map → chunk-WHS2Y43J.js.map} +1 -1
- package/dist/{chunk-I5MOXA4H.js → chunk-WMKEGJG4.js} +3 -3
- package/dist/{chunk-I5MOXA4H.js.map → chunk-WMKEGJG4.js.map} +1 -1
- package/dist/{chunk-5763DULU.js → chunk-WYFB7BN3.js} +16 -14
- package/dist/chunk-WYFB7BN3.js.map +1 -0
- package/dist/{chunk-XQSCL77R.cjs → chunk-XBHRKLZU.cjs} +4 -4
- package/dist/{chunk-XQSCL77R.cjs.map → chunk-XBHRKLZU.cjs.map} +1 -1
- package/dist/{chunk-7Z5OR7KO.js → chunk-YQ4JONWE.js} +102 -49
- package/dist/chunk-YQ4JONWE.js.map +1 -0
- package/dist/{chunk-RJS7DECT.js → chunk-Z43KWLZF.js} +8 -8
- package/dist/{chunk-RJS7DECT.js.map → chunk-Z43KWLZF.js.map} +1 -1
- package/dist/{chunk-E4WNQBEF.cjs → chunk-ZBVZ7HXD.cjs} +12 -12
- package/dist/{chunk-E4WNQBEF.cjs.map → chunk-ZBVZ7HXD.cjs.map} +1 -1
- package/dist/{chunk-4UGOKMI5.cjs → chunk-ZHOAZD7Q.cjs} +161 -161
- package/dist/{chunk-4UGOKMI5.cjs.map → chunk-ZHOAZD7Q.cjs.map} +1 -1
- package/dist/{chunk-XCAGZAKP.cjs → chunk-ZIH42CRX.cjs} +7 -7
- package/dist/{chunk-XCAGZAKP.cjs.map → chunk-ZIH42CRX.cjs.map} +1 -1
- package/dist/core/index.cjs +27 -27
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +7 -7
- package/dist/{ddl-BJcOp4WZ.d.cts → ddl-mE07h_EM.d.cts} +3 -3
- package/dist/{ddl-BXfGHbPN.d.ts → ddl-opIn8DfX.d.ts} +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 +248 -248
- package/dist/graph-merge/index.d.cts +8 -8
- package/dist/graph-merge/index.d.ts +8 -8
- package/dist/graph-merge/index.js +24 -24
- package/dist/{index-DxaYCv8Y.d.cts → index-Deyu8IXL.d.ts} +20 -3
- package/dist/{index-BSHvKfok.d.ts → index-DrRS51Ld.d.cts} +20 -3
- package/dist/index.cjs +219 -215
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +34 -34
- 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 +52 -52
- package/dist/interchange/index.d.cts +7 -7
- package/dist/interchange/index.d.ts +7 -7
- package/dist/interchange/index.js +16 -16
- package/dist/{manager-CfZAimti.d.ts → manager-DX983gJ0.d.ts} +2 -2
- package/dist/{manager-HGk6E_HW.d.cts → manager-ptr3JLRP.d.cts} +2 -2
- package/dist/{materialize-indexes-6A7dWGtb.d.cts → materialize-indexes-BXz77YqO.d.cts} +1 -1
- package/dist/{materialize-indexes-BMJP6Tms.d.ts → materialize-indexes-CpXoggWU.d.ts} +1 -1
- package/dist/{postgres-DFYWENdR.d.cts → postgres-DwgEXSPI.d.cts} +1 -1
- package/dist/{postgres-e7a9TdvR.d.ts → postgres-QdOMHTBz.d.ts} +1 -1
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +42 -42
- package/dist/provenance/index.d.cts +7 -7
- package/dist/provenance/index.d.ts +7 -7
- package/dist/provenance/index.js +9 -9
- package/dist/schema/index.cjs +44 -44
- package/dist/schema/index.d.cts +6 -6
- package/dist/schema/index.d.ts +6 -6
- package/dist/schema/index.js +17 -17
- package/dist/{searchable-9OQoPuRs.d.ts → searchable-BOUuA83f.d.ts} +1 -1
- package/dist/{searchable-CIje5XYD.d.cts → searchable-BrUh0pdc.d.cts} +1 -1
- package/dist/{sqlite-DerU5tc7.d.ts → sqlite-BfYcV61E.d.cts} +1 -1
- package/dist/{sqlite-DitnISa9.d.cts → sqlite-DK40XVR1.d.ts} +1 -1
- package/dist/{store-DawaWWjJ.d.ts → store-Bo1psfVZ.d.ts} +27 -8
- package/dist/{store-RwTJx8LX.d.cts → store-FTqBpuJD.d.cts} +27 -8
- package/dist/{temporal-Bn-Fi8FJ.d.cts → temporal-CXewwLTB.d.cts} +1 -1
- package/dist/{temporal-BtM4UALv.d.ts → temporal-DPtn0HOu.d.ts} +1 -1
- package/dist/{types-KFfk-8Ah.d.ts → types-CeT7xM4M.d.ts} +1 -1
- package/dist/{types-HkveCCx0.d.cts → types-Du78EvpN.d.cts} +7 -6
- package/dist/{types-HkveCCx0.d.ts → types-Du78EvpN.d.ts} +7 -6
- package/dist/{types-CoIx8HX5.d.cts → types-XR1nHERK.d.cts} +1 -1
- package/dist/{where--fk7_0kv.d.cts → where-CJsp-YUf.d.cts} +1 -1
- package/dist/{where-ws5hf-Ov.d.ts → where-CMbFiWwp.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-5763DULU.js.map +0 -1
- package/dist/chunk-7GT72YHH.cjs.map +0 -1
- package/dist/chunk-7VQXLT5O.js.map +0 -1
- package/dist/chunk-7Z5OR7KO.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-DLNROMQ7.js.map +0 -1
- package/dist/chunk-J3WZ3FA2.js.map +0 -1
- package/dist/chunk-MUK4BU7K.cjs.map +0 -1
- package/dist/chunk-NI72YOJB.cjs.map +0 -1
- package/dist/chunk-Q7Q4WSLJ.cjs.map +0 -1
- package/dist/chunk-QWX5YA3K.js.map +0 -1
- package/dist/chunk-TQR4KBY2.cjs.map +0 -1
- package/dist/chunk-TTAITEPJ.cjs.map +0 -1
- package/dist/chunk-VQH4VAWD.cjs +0 -12
- package/dist/chunk-WEVQJ5LH.js.map +0 -1
- package/dist/chunk-XBYVV3MP.cjs.map +0 -1
- package/dist/chunk-XDF2UPEQ.cjs.map +0 -1
- package/dist/chunk-YVWGEQJE.cjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cw as ValueType, cx as PredicateExpression, aY as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, ad as FieldRef, bo as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bV as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bn as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, b7 as HybridFusionOptions, bb as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, ag as TraversalDirection$1, aO as EdgeRegistration, _ as NodeId, bS as TransactionBackend, ac as AggregateExpr, bG as SortDirection, ax as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, cF as VectorSlotMap, cG as RecordedReadBinding, cH as SelectiveField, cI as ComposableQuery, cJ as SetOperationType, cK as SetOperation, G as GraphIdentityConfig, a1 as NodeKinds, cL as NodeRow, K as KindEntity, aR as ExternalRecordedReadSource, $ as EdgeId, cM as EdgeRow, bm as NodeRegistration, aM as EdgeKinds, bU as TransactionReadBackend, al as AllNodeTypes, a3 as KindAnnotations, X as JsonSchema, b_ as UniquenessScope, as as Collation, ar as Cardinality, aQ as EndpointExistence, b4 as GraphExtension, cN as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aD as ContributionProbeResult, aG as ContributionRebuildScope, aF as ContributionRebuildResult, bT as TransactionOptions, A as AdapterBackend } from './types-
|
|
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 { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-
|
|
2
|
+
import { cw as ValueType, cx as PredicateExpression, aY as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, ad as FieldRef, bo as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bV as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bn as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, b7 as HybridFusionOptions, bb as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, ag as TraversalDirection$1, aO as EdgeRegistration, _ as NodeId, bS as TransactionBackend, ac as AggregateExpr, bG as SortDirection, ax as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, cF as VectorSlotMap, cG as RecordedReadBinding, cH as SelectiveField, cI as ComposableQuery, cJ as SetOperationType, cK as SetOperation, G as GraphIdentityConfig, a1 as NodeKinds, cL as NodeRow, K as KindEntity, aR as ExternalRecordedReadSource, $ as EdgeId, cM as EdgeRow, bm as NodeRegistration, aM as EdgeKinds, bU as TransactionReadBackend, al as AllNodeTypes, a3 as KindAnnotations, X as JsonSchema, b_ as UniquenessScope, as as Collation, ar as Cardinality, aQ as EndpointExistence, b4 as GraphExtension, cN as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aD as ContributionProbeResult, aG as ContributionRebuildScope, aF as ContributionRebuildResult, bT as TransactionOptions, A as AdapterBackend } from './types-Du78EvpN.js';
|
|
3
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-DPtn0HOu.js';
|
|
4
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-BOUuA83f.js';
|
|
5
|
+
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-DX983gJ0.js';
|
|
6
|
+
import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-CpXoggWU.js';
|
|
7
7
|
|
|
8
8
|
type FieldTypeInfo = Readonly<{
|
|
9
9
|
valueType: ValueType;
|
|
@@ -2231,6 +2231,15 @@ type EdgeGetOrCreateByEndpointsOptions<E extends AnyEdgeType> = Readonly<{
|
|
|
2231
2231
|
* describes the edge to create if none is found.
|
|
2232
2232
|
*/
|
|
2233
2233
|
validFrom?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* How an `ifExists: "update"` write treats a stated `validFrom` that differs
|
|
2236
|
+
* from the live edge's stored lower bound. Default: `"refuse"`.
|
|
2237
|
+
*
|
|
2238
|
+
* `"preserve"` makes `validFrom` create/resurrection-only input: it is still
|
|
2239
|
+
* validated, but a live update keeps the stored lower bound while applying
|
|
2240
|
+
* properties and `validTo`.
|
|
2241
|
+
*/
|
|
2242
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2234
2243
|
/**
|
|
2235
2244
|
* Valid-time end for a created, updated, or resurrected edge. Ignored when
|
|
2236
2245
|
* the operation returns an existing edge without writing. May not precede
|
|
@@ -2334,11 +2343,15 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2334
2343
|
* bound, because that row's is already history, so one naming a different
|
|
2335
2344
|
* instant is REFUSED (`ValidationError` carrying
|
|
2336
2345
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2337
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2346
|
+
* bound the row already holds is accepted and changes nothing. Set
|
|
2347
|
+
* `onImmutableLowerBound: "preserve"` for event materializers whose
|
|
2348
|
+
* `validFrom` is create/resurrection input: a live update then preserves the
|
|
2349
|
+
* stored lower bound while still applying props and `validTo`.
|
|
2338
2350
|
*/
|
|
2339
2351
|
upsertById: (id: string, props: z.input<N["schema"]>, options?: Readonly<{
|
|
2340
2352
|
validFrom?: string;
|
|
2341
2353
|
validTo?: string;
|
|
2354
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2342
2355
|
}>) => Promise<Node<N>>;
|
|
2343
2356
|
/**
|
|
2344
2357
|
* Upsert a node from untyped data, relying on runtime Zod validation.
|
|
@@ -2353,11 +2366,13 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2353
2366
|
* bound, because that row's is already history, so one naming a different
|
|
2354
2367
|
* instant is REFUSED (`ValidationError` carrying
|
|
2355
2368
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2356
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2369
|
+
* bound the row already holds is accepted and changes nothing. Set
|
|
2370
|
+
* `onImmutableLowerBound: "preserve"` for create/resurrection-only input.
|
|
2357
2371
|
*/
|
|
2358
2372
|
upsertByIdFromRecord: (id: string, data: Record<string, unknown>, options?: Readonly<{
|
|
2359
2373
|
validFrom?: string;
|
|
2360
2374
|
validTo?: string;
|
|
2375
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2361
2376
|
}>) => Promise<Node<N>>;
|
|
2362
2377
|
/**
|
|
2363
2378
|
* Create multiple nodes in a batch.
|
|
@@ -2391,7 +2406,9 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2391
2406
|
* bound, because that row's is already history, so one naming a different
|
|
2392
2407
|
* instant is REFUSED (`ValidationError` carrying
|
|
2393
2408
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2394
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2409
|
+
* bound the row already holds is accepted and changes nothing. Per-item
|
|
2410
|
+
* `onImmutableLowerBound: "preserve"` makes the bound create/resurrection
|
|
2411
|
+
* input while a live update preserves the stored lower bound.
|
|
2395
2412
|
*
|
|
2396
2413
|
* **Limitation — a batch cannot hand a unique value from one row to
|
|
2397
2414
|
* another.** Item order settles which value each id ends up with, but the
|
|
@@ -2411,6 +2428,7 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2411
2428
|
props: z.input<N["schema"]>;
|
|
2412
2429
|
validFrom?: string;
|
|
2413
2430
|
validTo?: string;
|
|
2431
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2414
2432
|
}>[]) => Promise<Node<N>[]>;
|
|
2415
2433
|
/**
|
|
2416
2434
|
* Insert multiple nodes without returning results.
|
|
@@ -2812,6 +2830,7 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2812
2830
|
props: z.input<E["schema"]>;
|
|
2813
2831
|
validFrom?: string;
|
|
2814
2832
|
validTo?: string;
|
|
2833
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2815
2834
|
}>[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
|
|
2816
2835
|
}>;
|
|
2817
2836
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cw as ValueType, cx as PredicateExpression, aY as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, ad as FieldRef, bo as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bV as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bn as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, b7 as HybridFusionOptions, bb as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, ag as TraversalDirection$1, aO as EdgeRegistration, _ as NodeId, bS as TransactionBackend, ac as AggregateExpr, bG as SortDirection, ax as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, cF as VectorSlotMap, cG as RecordedReadBinding, cH as SelectiveField, cI as ComposableQuery, cJ as SetOperationType, cK as SetOperation, G as GraphIdentityConfig, a1 as NodeKinds, cL as NodeRow, K as KindEntity, aR as ExternalRecordedReadSource, $ as EdgeId, cM as EdgeRow, bm as NodeRegistration, aM as EdgeKinds, bU as TransactionReadBackend, al as AllNodeTypes, a3 as KindAnnotations, X as JsonSchema, b_ as UniquenessScope, as as Collation, ar as Cardinality, aQ as EndpointExistence, b4 as GraphExtension, cN as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aD as ContributionProbeResult, aG as ContributionRebuildScope, aF as ContributionRebuildResult, bT as TransactionOptions, A as AdapterBackend } from './types-
|
|
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 { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-
|
|
2
|
+
import { cw as ValueType, cx as PredicateExpression, aY as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, ad as FieldRef, bo as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bV as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bn as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, b7 as HybridFusionOptions, bb as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, ag as TraversalDirection$1, aO as EdgeRegistration, _ as NodeId, bS as TransactionBackend, ac as AggregateExpr, bG as SortDirection, ax as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, cF as VectorSlotMap, cG as RecordedReadBinding, cH as SelectiveField, cI as ComposableQuery, cJ as SetOperationType, cK as SetOperation, G as GraphIdentityConfig, a1 as NodeKinds, cL as NodeRow, K as KindEntity, aR as ExternalRecordedReadSource, $ as EdgeId, cM as EdgeRow, bm as NodeRegistration, aM as EdgeKinds, bU as TransactionReadBackend, al as AllNodeTypes, a3 as KindAnnotations, X as JsonSchema, b_ as UniquenessScope, as as Collation, ar as Cardinality, aQ as EndpointExistence, b4 as GraphExtension, cN as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aD as ContributionProbeResult, aG as ContributionRebuildScope, aF as ContributionRebuildResult, bT as TransactionOptions, A as AdapterBackend } from './types-Du78EvpN.cjs';
|
|
3
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CXewwLTB.cjs';
|
|
4
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-BrUh0pdc.cjs';
|
|
5
|
+
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-ptr3JLRP.cjs';
|
|
6
|
+
import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-BXz77YqO.cjs';
|
|
7
7
|
|
|
8
8
|
type FieldTypeInfo = Readonly<{
|
|
9
9
|
valueType: ValueType;
|
|
@@ -2231,6 +2231,15 @@ type EdgeGetOrCreateByEndpointsOptions<E extends AnyEdgeType> = Readonly<{
|
|
|
2231
2231
|
* describes the edge to create if none is found.
|
|
2232
2232
|
*/
|
|
2233
2233
|
validFrom?: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* How an `ifExists: "update"` write treats a stated `validFrom` that differs
|
|
2236
|
+
* from the live edge's stored lower bound. Default: `"refuse"`.
|
|
2237
|
+
*
|
|
2238
|
+
* `"preserve"` makes `validFrom` create/resurrection-only input: it is still
|
|
2239
|
+
* validated, but a live update keeps the stored lower bound while applying
|
|
2240
|
+
* properties and `validTo`.
|
|
2241
|
+
*/
|
|
2242
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2234
2243
|
/**
|
|
2235
2244
|
* Valid-time end for a created, updated, or resurrected edge. Ignored when
|
|
2236
2245
|
* the operation returns an existing edge without writing. May not precede
|
|
@@ -2334,11 +2343,15 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2334
2343
|
* bound, because that row's is already history, so one naming a different
|
|
2335
2344
|
* instant is REFUSED (`ValidationError` carrying
|
|
2336
2345
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2337
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2346
|
+
* bound the row already holds is accepted and changes nothing. Set
|
|
2347
|
+
* `onImmutableLowerBound: "preserve"` for event materializers whose
|
|
2348
|
+
* `validFrom` is create/resurrection input: a live update then preserves the
|
|
2349
|
+
* stored lower bound while still applying props and `validTo`.
|
|
2338
2350
|
*/
|
|
2339
2351
|
upsertById: (id: string, props: z.input<N["schema"]>, options?: Readonly<{
|
|
2340
2352
|
validFrom?: string;
|
|
2341
2353
|
validTo?: string;
|
|
2354
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2342
2355
|
}>) => Promise<Node<N>>;
|
|
2343
2356
|
/**
|
|
2344
2357
|
* Upsert a node from untyped data, relying on runtime Zod validation.
|
|
@@ -2353,11 +2366,13 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2353
2366
|
* bound, because that row's is already history, so one naming a different
|
|
2354
2367
|
* instant is REFUSED (`ValidationError` carrying
|
|
2355
2368
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2356
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2369
|
+
* bound the row already holds is accepted and changes nothing. Set
|
|
2370
|
+
* `onImmutableLowerBound: "preserve"` for create/resurrection-only input.
|
|
2357
2371
|
*/
|
|
2358
2372
|
upsertByIdFromRecord: (id: string, data: Record<string, unknown>, options?: Readonly<{
|
|
2359
2373
|
validFrom?: string;
|
|
2360
2374
|
validTo?: string;
|
|
2375
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2361
2376
|
}>) => Promise<Node<N>>;
|
|
2362
2377
|
/**
|
|
2363
2378
|
* Create multiple nodes in a batch.
|
|
@@ -2391,7 +2406,9 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2391
2406
|
* bound, because that row's is already history, so one naming a different
|
|
2392
2407
|
* instant is REFUSED (`ValidationError` carrying
|
|
2393
2408
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2394
|
-
* bound the row already holds is accepted and changes nothing.
|
|
2409
|
+
* bound the row already holds is accepted and changes nothing. Per-item
|
|
2410
|
+
* `onImmutableLowerBound: "preserve"` makes the bound create/resurrection
|
|
2411
|
+
* input while a live update preserves the stored lower bound.
|
|
2395
2412
|
*
|
|
2396
2413
|
* **Limitation — a batch cannot hand a unique value from one row to
|
|
2397
2414
|
* another.** Item order settles which value each id ends up with, but the
|
|
@@ -2411,6 +2428,7 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2411
2428
|
props: z.input<N["schema"]>;
|
|
2412
2429
|
validFrom?: string;
|
|
2413
2430
|
validTo?: string;
|
|
2431
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2414
2432
|
}>[]) => Promise<Node<N>[]>;
|
|
2415
2433
|
/**
|
|
2416
2434
|
* Insert multiple nodes without returning results.
|
|
@@ -2812,6 +2830,7 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2812
2830
|
props: z.input<E["schema"]>;
|
|
2813
2831
|
validFrom?: string;
|
|
2814
2832
|
validTo?: string;
|
|
2833
|
+
onImmutableLowerBound?: "preserve" | "refuse";
|
|
2815
2834
|
}>[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
|
|
2816
2835
|
}>;
|
|
2817
2836
|
/**
|
|
@@ -3330,7 +3330,7 @@ type RecordContributionMaterializationParams = Readonly<{
|
|
|
3330
3330
|
* `DROP`, a schema-scoped restore that missed the contribution
|
|
3331
3331
|
* tables). The state {@link GraphBackend.verifyContributions} exists
|
|
3332
3332
|
* to surface: nothing on the open path probes the catalog, so this
|
|
3333
|
-
* database opens clean and fails at the first read
|
|
3333
|
+
* database opens clean and fails at the first dependent read or write.
|
|
3334
3334
|
* - `missing-marker` — the physical table exists but no marker attests
|
|
3335
3335
|
* it as initialized (no row, no recorded success, or a recorded
|
|
3336
3336
|
* failure). Reads and writes are refused with
|
|
@@ -3453,9 +3453,10 @@ type ContributionProbeContribution = "fulltext" | "vector";
|
|
|
3453
3453
|
* its durable marker and present in the catalog. Not a promise about
|
|
3454
3454
|
* future coherence: a write that lands after the probe returns is
|
|
3455
3455
|
* outside what any assessment can cover.
|
|
3456
|
-
* - `degraded` — at least one contribution is unusable.
|
|
3457
|
-
*
|
|
3458
|
-
*
|
|
3456
|
+
* - `degraded` — at least one contribution is unusable. Dependent operations
|
|
3457
|
+
* may be refused with a typed contribution error, fail at the engine boundary
|
|
3458
|
+
* when compiled SQL directly references missing storage, or observe
|
|
3459
|
+
* incomplete storage.
|
|
3459
3460
|
* {@link ContributionProbeEntry.detail} says which and why.
|
|
3460
3461
|
* - `building` — **reserved.** No shipped path publishes it. Recording
|
|
3461
3462
|
* an in-flight marker would need a fifth
|
|
@@ -4152,8 +4153,8 @@ type GraphBackend = Readonly<{
|
|
|
4152
4153
|
* per-instance signature cache and then on the marker row alone, which
|
|
4153
4154
|
* is the right default for a hot path but leaves a database whose
|
|
4154
4155
|
* 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
|
|
4156
|
+
* failing at the first dependent read or write. This method is the explicit,
|
|
4157
|
+
* operator-invoked catalog probe that fills that gap: it issues one uncached
|
|
4157
4158
|
* existence query per distinct physical table and performs ZERO DDL
|
|
4158
4159
|
* and ZERO writes, so it is safe under a least-privilege runtime role.
|
|
4159
4160
|
*
|
|
@@ -3330,7 +3330,7 @@ type RecordContributionMaterializationParams = Readonly<{
|
|
|
3330
3330
|
* `DROP`, a schema-scoped restore that missed the contribution
|
|
3331
3331
|
* tables). The state {@link GraphBackend.verifyContributions} exists
|
|
3332
3332
|
* to surface: nothing on the open path probes the catalog, so this
|
|
3333
|
-
* database opens clean and fails at the first read
|
|
3333
|
+
* database opens clean and fails at the first dependent read or write.
|
|
3334
3334
|
* - `missing-marker` — the physical table exists but no marker attests
|
|
3335
3335
|
* it as initialized (no row, no recorded success, or a recorded
|
|
3336
3336
|
* failure). Reads and writes are refused with
|
|
@@ -3453,9 +3453,10 @@ type ContributionProbeContribution = "fulltext" | "vector";
|
|
|
3453
3453
|
* its durable marker and present in the catalog. Not a promise about
|
|
3454
3454
|
* future coherence: a write that lands after the probe returns is
|
|
3455
3455
|
* outside what any assessment can cover.
|
|
3456
|
-
* - `degraded` — at least one contribution is unusable.
|
|
3457
|
-
*
|
|
3458
|
-
*
|
|
3456
|
+
* - `degraded` — at least one contribution is unusable. Dependent operations
|
|
3457
|
+
* may be refused with a typed contribution error, fail at the engine boundary
|
|
3458
|
+
* when compiled SQL directly references missing storage, or observe
|
|
3459
|
+
* incomplete storage.
|
|
3459
3460
|
* {@link ContributionProbeEntry.detail} says which and why.
|
|
3460
3461
|
* - `building` — **reserved.** No shipped path publishes it. Recording
|
|
3461
3462
|
* an in-flight marker would need a fifth
|
|
@@ -4152,8 +4153,8 @@ type GraphBackend = Readonly<{
|
|
|
4152
4153
|
* per-instance signature cache and then on the marker row alone, which
|
|
4153
4154
|
* is the right default for a hot path but leaves a database whose
|
|
4154
4155
|
* 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
|
|
4156
|
+
* failing at the first dependent read or write. This method is the explicit,
|
|
4157
|
+
* operator-invoked catalog probe that fills that gap: it issues one uncached
|
|
4157
4158
|
* existence query per distinct physical table and performs ZERO DDL
|
|
4158
4159
|
* and ZERO writes, so it is safe under a least-privilege runtime role.
|
|
4159
4160
|
*
|
|
@@ -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-Du78EvpN.cjs';
|
|
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-Du78EvpN.js';
|
|
2
2
|
|
|
3
3
|
/** The TypeGraph relations that carry system indexes. */
|
|
4
4
|
type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nicia-ai/typegraph",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.2",
|
|
4
4
|
"description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"@electric-sql/pglite-pgvector": ">=0.0.2 <1.0.0",
|
|
137
137
|
"@libsql/client": ">=0.6.0",
|
|
138
138
|
"@neondatabase/serverless": ">=0.9.0 <2.0.0",
|
|
139
|
-
"better-sqlite3": ">=9.0.0 <
|
|
139
|
+
"better-sqlite3": ">=9.0.0 <14.0.0",
|
|
140
140
|
"drizzle-orm": ">=0.35.0 <1.0.0",
|
|
141
141
|
"pg": ">=8.0.0 <9.0.0",
|
|
142
142
|
"postgres": ">=3.4.0 <4.0.0",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"@types/node": "^24.13.2",
|
|
182
182
|
"@types/pg": "^8.20.0",
|
|
183
183
|
"@vitest/coverage-v8": "^4.1.9",
|
|
184
|
-
"better-sqlite3": "^
|
|
184
|
+
"better-sqlite3": "^13.0.3",
|
|
185
185
|
"drizzle-orm": "^0.45.2",
|
|
186
186
|
"eslint": "^10.6.0",
|
|
187
187
|
"fast-check": "^4.8.0",
|