@nicia-ai/typegraph 0.46.2 → 0.48.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 +58 -49
- package/dist/backend/index.d.cts +37 -55
- package/dist/backend/index.d.ts +37 -55
- package/dist/backend/index.js +11 -10
- package/dist/backend/postgres/index.cjs +27 -26
- package/dist/backend/postgres/index.d.cts +21 -7
- package/dist/backend/postgres/index.d.ts +21 -7
- 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 +20 -7
- package/dist/backend/sqlite/index.d.ts +20 -7
- 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-TCT66A7N.cjs → chunk-26YKDNUD.cjs} +10 -10
- package/dist/{chunk-TCT66A7N.cjs.map → chunk-26YKDNUD.cjs.map} +1 -1
- package/dist/{chunk-E4OSGBCM.cjs → chunk-2HIYYMWY.cjs} +139 -136
- package/dist/chunk-2HIYYMWY.cjs.map +1 -0
- package/dist/chunk-2QGYQBS2.cjs +161 -0
- package/dist/chunk-2QGYQBS2.cjs.map +1 -0
- package/dist/{chunk-GWXXHOLU.js → chunk-2SYZXD54.js} +21 -18
- package/dist/chunk-2SYZXD54.js.map +1 -0
- package/dist/{chunk-KA4L2NZ3.js → chunk-2TYSSBU5.js} +14 -14
- package/dist/{chunk-KA4L2NZ3.js.map → chunk-2TYSSBU5.js.map} +1 -1
- package/dist/{chunk-QOJ2L2AD.js → chunk-3DMMGT6S.js} +3 -3
- package/dist/{chunk-QOJ2L2AD.js.map → chunk-3DMMGT6S.js.map} +1 -1
- package/dist/{chunk-F36KZDFX.cjs → chunk-3FPR224C.cjs} +91 -91
- package/dist/{chunk-F36KZDFX.cjs.map → chunk-3FPR224C.cjs.map} +1 -1
- package/dist/{chunk-32UETY6S.cjs → chunk-3KOY4FH3.cjs} +207 -28
- package/dist/chunk-3KOY4FH3.cjs.map +1 -0
- package/dist/{chunk-QU7QLJA4.cjs → chunk-3U5ABFDW.cjs} +26 -26
- package/dist/{chunk-QU7QLJA4.cjs.map → chunk-3U5ABFDW.cjs.map} +1 -1
- package/dist/{chunk-RFDEYLIK.js → chunk-4WMMBDS5.js} +7 -7
- package/dist/chunk-4WMMBDS5.js.map +1 -0
- package/dist/{chunk-R7EWHKID.js → chunk-5K2BKEBD.js} +19 -145
- package/dist/chunk-5K2BKEBD.js.map +1 -0
- package/dist/chunk-5PRKMB24.cjs +124 -0
- package/dist/chunk-5PRKMB24.cjs.map +1 -0
- package/dist/chunk-6LN7FIVU.js +107 -0
- package/dist/chunk-6LN7FIVU.js.map +1 -0
- package/dist/{chunk-D6GCNNMK.cjs → chunk-6NGW27EO.cjs} +10 -10
- package/dist/{chunk-D6GCNNMK.cjs.map → chunk-6NGW27EO.cjs.map} +1 -1
- package/dist/{chunk-WHS2Y43J.js → chunk-6SWPJEYN.js} +5 -5
- package/dist/{chunk-WHS2Y43J.js.map → chunk-6SWPJEYN.js.map} +1 -1
- package/dist/{chunk-7TKNK32B.js → chunk-7SQSZN2J.js} +5 -5
- package/dist/{chunk-7TKNK32B.js.map → chunk-7SQSZN2J.js.map} +1 -1
- package/dist/{chunk-UTVQPZPN.cjs → chunk-7XUYFFR4.cjs} +20 -20
- package/dist/chunk-7XUYFFR4.cjs.map +1 -0
- package/dist/{chunk-KXSMF6PL.js → chunk-ACGSAMD3.js} +39 -34
- package/dist/chunk-ACGSAMD3.js.map +1 -0
- package/dist/{chunk-PYKF7UIL.cjs → chunk-AOSSQDVO.cjs} +13 -13
- package/dist/{chunk-PYKF7UIL.cjs.map → chunk-AOSSQDVO.cjs.map} +1 -1
- package/dist/{chunk-AT3MLMJV.js → chunk-AX6JGVTZ.js} +91 -20
- package/dist/chunk-AX6JGVTZ.js.map +1 -0
- package/dist/{chunk-WA64ZSCA.cjs → chunk-BFUOME67.cjs} +11 -11
- package/dist/{chunk-WA64ZSCA.cjs.map → chunk-BFUOME67.cjs.map} +1 -1
- package/dist/{chunk-YQ4JONWE.js → chunk-BRRP76WO.js} +401 -131
- package/dist/chunk-BRRP76WO.js.map +1 -0
- package/dist/{chunk-FCIZNUW5.js → chunk-CHAOFCHV.js} +3 -3
- package/dist/{chunk-FCIZNUW5.js.map → chunk-CHAOFCHV.js.map} +1 -1
- package/dist/chunk-CICO5GXD.cjs +12 -0
- package/dist/{chunk-73MWKDFK.cjs.map → chunk-CICO5GXD.cjs.map} +1 -1
- package/dist/{chunk-S3G5VLSW.js → chunk-CT3ZKTOF.js} +7 -6
- package/dist/chunk-CT3ZKTOF.js.map +1 -0
- package/dist/{chunk-SXWLLQ3D.js → chunk-D5R42W5D.js} +4 -4
- package/dist/{chunk-SXWLLQ3D.js.map → chunk-D5R42W5D.js.map} +1 -1
- package/dist/{chunk-BZZI7B43.cjs → chunk-DO7SAMEK.cjs} +47 -47
- package/dist/{chunk-BZZI7B43.cjs.map → chunk-DO7SAMEK.cjs.map} +1 -1
- package/dist/chunk-DZAICA5J.js +147 -0
- package/dist/chunk-DZAICA5J.js.map +1 -0
- package/dist/{chunk-2ZWM2RFH.cjs → chunk-EDN4Y4ZG.cjs} +9 -9
- package/dist/{chunk-2ZWM2RFH.cjs.map → chunk-EDN4Y4ZG.cjs.map} +1 -1
- package/dist/{chunk-A4R3H7RU.cjs → chunk-EZEEWCFJ.cjs} +264 -361
- package/dist/chunk-EZEEWCFJ.cjs.map +1 -0
- package/dist/{chunk-BEB4OFZF.cjs → chunk-FA2AFWLP.cjs} +51 -59
- package/dist/chunk-FA2AFWLP.cjs.map +1 -0
- package/dist/{chunk-ZBVZ7HXD.cjs → chunk-FQPEMEWX.cjs} +12 -12
- package/dist/{chunk-ZBVZ7HXD.cjs.map → chunk-FQPEMEWX.cjs.map} +1 -1
- package/dist/{chunk-LNIWCQR4.js → chunk-GLHXM7C4.js} +3 -3
- package/dist/{chunk-LNIWCQR4.js.map → chunk-GLHXM7C4.js.map} +1 -1
- package/dist/{chunk-6BD6ZBKT.cjs → chunk-GYEG3ZLZ.cjs} +10 -10
- package/dist/{chunk-6BD6ZBKT.cjs.map → chunk-GYEG3ZLZ.cjs.map} +1 -1
- package/dist/{chunk-A7NMUYEL.cjs → chunk-HDL2ARHX.cjs} +27 -27
- package/dist/{chunk-A7NMUYEL.cjs.map → chunk-HDL2ARHX.cjs.map} +1 -1
- package/dist/{chunk-5ZJOB5YS.js → chunk-HEV35TGT.js} +4 -4
- package/dist/{chunk-5ZJOB5YS.js.map → chunk-HEV35TGT.js.map} +1 -1
- package/dist/{chunk-LHYSY6SE.js → chunk-I4GAZH5Z.js} +186 -9
- package/dist/chunk-I4GAZH5Z.js.map +1 -0
- package/dist/{chunk-BQM5P2NO.cjs → chunk-JB6T4GLL.cjs} +260 -223
- package/dist/chunk-JB6T4GLL.cjs.map +1 -0
- package/dist/{chunk-QPOQX2DI.cjs → chunk-JFRT7S3B.cjs} +1026 -369
- package/dist/chunk-JFRT7S3B.cjs.map +1 -0
- package/dist/{chunk-JCNTKRAK.js → chunk-JONXFAPO.js} +5 -5
- package/dist/{chunk-JCNTKRAK.js.map → chunk-JONXFAPO.js.map} +1 -1
- package/dist/{chunk-WEJHA7AD.js → chunk-KF6K7TGH.js} +109 -75
- package/dist/chunk-KF6K7TGH.js.map +1 -0
- package/dist/{chunk-EDJDDY6H.js → chunk-KKBDXCLQ.js} +4 -4
- package/dist/{chunk-EDJDDY6H.js.map → chunk-KKBDXCLQ.js.map} +1 -1
- package/dist/{chunk-ZHOAZD7Q.cjs → chunk-L3LQNR34.cjs} +161 -161
- package/dist/{chunk-ZHOAZD7Q.cjs.map → chunk-L3LQNR34.cjs.map} +1 -1
- package/dist/{chunk-AF3TWL5C.cjs → chunk-LRQKXRXO.cjs} +4 -4
- package/dist/{chunk-AF3TWL5C.cjs.map → chunk-LRQKXRXO.cjs.map} +1 -1
- package/dist/chunk-MKJ4KXL5.cjs +12 -0
- package/dist/{chunk-6LAXM4J2.cjs.map → chunk-MKJ4KXL5.cjs.map} +1 -1
- package/dist/{chunk-KCH7WQA5.cjs → chunk-MRDBBHIZ.cjs} +48 -2
- package/dist/chunk-MRDBBHIZ.cjs.map +1 -0
- package/dist/{chunk-FXNHZFZV.js → chunk-MYKHJI2J.js} +3 -3
- package/dist/{chunk-FXNHZFZV.js.map → chunk-MYKHJI2J.js.map} +1 -1
- package/dist/{chunk-Z43KWLZF.js → chunk-NACVVDWB.js} +213 -12
- package/dist/chunk-NACVVDWB.js.map +1 -0
- package/dist/{chunk-72WUT4GG.js → chunk-NVY5CJFP.js} +4 -4
- package/dist/{chunk-72WUT4GG.js.map → chunk-NVY5CJFP.js.map} +1 -1
- package/dist/{chunk-WYFB7BN3.js → chunk-OD4SSY2U.js} +166 -48
- package/dist/chunk-OD4SSY2U.js.map +1 -0
- package/dist/{chunk-ZIH42CRX.cjs → chunk-OI2GQ25X.cjs} +7 -7
- package/dist/{chunk-ZIH42CRX.cjs.map → chunk-OI2GQ25X.cjs.map} +1 -1
- package/dist/{chunk-AU3IJNNP.js → chunk-OMZ37BM2.js} +5 -5
- package/dist/{chunk-AU3IJNNP.js.map → chunk-OMZ37BM2.js.map} +1 -1
- package/dist/{chunk-C4DYN2SD.cjs → chunk-OORXGFL5.cjs} +48 -48
- package/dist/{chunk-C4DYN2SD.cjs.map → chunk-OORXGFL5.cjs.map} +1 -1
- package/dist/{chunk-HNYLMPQQ.cjs → chunk-OTUPEF2W.cjs} +149 -78
- package/dist/chunk-OTUPEF2W.cjs.map +1 -0
- package/dist/{chunk-BRN3RGD2.js → chunk-OVI7IXYX.js} +3 -3
- package/dist/{chunk-BRN3RGD2.js.map → chunk-OVI7IXYX.js.map} +1 -1
- package/dist/{chunk-WMKEGJG4.js → chunk-P6YLZTRE.js} +3 -3
- package/dist/{chunk-WMKEGJG4.js.map → chunk-P6YLZTRE.js.map} +1 -1
- package/dist/{chunk-C2ZP5YS6.cjs → chunk-PFBRJBUL.cjs} +278 -160
- package/dist/chunk-PFBRJBUL.cjs.map +1 -0
- package/dist/{chunk-EJSYWAEV.js → chunk-QTD6HX4O.js} +5 -5
- package/dist/{chunk-EJSYWAEV.js.map → chunk-QTD6HX4O.js.map} +1 -1
- package/dist/{chunk-JL5UEBWT.cjs → chunk-ROR5ZR6A.cjs} +45 -45
- package/dist/{chunk-JL5UEBWT.cjs.map → chunk-ROR5ZR6A.cjs.map} +1 -1
- package/dist/{chunk-EDHV4CBU.js → chunk-S5TERQVW.js} +37 -134
- package/dist/chunk-S5TERQVW.js.map +1 -0
- package/dist/{chunk-FSLTU57P.js → chunk-SDBBMD4N.js} +3 -3
- package/dist/{chunk-FSLTU57P.js.map → chunk-SDBBMD4N.js.map} +1 -1
- package/dist/{chunk-36LIJXWC.js → chunk-SHFBB23Q.js} +4 -4
- package/dist/{chunk-36LIJXWC.js.map → chunk-SHFBB23Q.js.map} +1 -1
- package/dist/chunk-SIT26LAZ.cjs +614 -0
- package/dist/chunk-SIT26LAZ.cjs.map +1 -0
- package/dist/{chunk-C6KE2HSQ.cjs → chunk-SR725PWF.cjs} +1662 -1392
- package/dist/chunk-SR725PWF.cjs.map +1 -0
- package/dist/{chunk-S7WIRFNS.cjs → chunk-TKZXMWQF.cjs} +13 -12
- package/dist/chunk-TKZXMWQF.cjs.map +1 -0
- package/dist/{chunk-5PDSCELM.cjs → chunk-TQHGE7UC.cjs} +29 -164
- package/dist/chunk-TQHGE7UC.cjs.map +1 -0
- package/dist/{chunk-XBHRKLZU.cjs → chunk-TUNPBZY3.cjs} +4 -4
- package/dist/{chunk-XBHRKLZU.cjs.map → chunk-TUNPBZY3.cjs.map} +1 -1
- package/dist/{chunk-KOAI3KIV.cjs → chunk-TZEGUG6D.cjs} +4 -4
- package/dist/{chunk-KOAI3KIV.cjs.map → chunk-TZEGUG6D.cjs.map} +1 -1
- package/dist/chunk-UGHG7PGX.js +592 -0
- package/dist/chunk-UGHG7PGX.js.map +1 -0
- package/dist/{chunk-N3QTGPC7.cjs → chunk-UMGZDVOA.cjs} +303 -101
- package/dist/chunk-UMGZDVOA.cjs.map +1 -0
- package/dist/{chunk-RHDOAQCT.cjs → chunk-WCCATHMB.cjs} +140 -135
- package/dist/chunk-WCCATHMB.cjs.map +1 -0
- package/dist/{chunk-DYPRZ53S.cjs → chunk-WODMN3Q2.cjs} +27 -27
- package/dist/{chunk-DYPRZ53S.cjs.map → chunk-WODMN3Q2.cjs.map} +1 -1
- package/dist/{chunk-OZJCH7ZS.js → chunk-XVWOYKIK.js} +3 -3
- package/dist/{chunk-OZJCH7ZS.js.map → chunk-XVWOYKIK.js.map} +1 -1
- package/dist/{chunk-IHRDX7K6.js → chunk-YIURNGXI.js} +46 -56
- package/dist/chunk-YIURNGXI.js.map +1 -0
- package/dist/{chunk-GWUWRZXW.js → chunk-YVF2EM7B.js} +3 -3
- package/dist/{chunk-GWUWRZXW.js.map → chunk-YVF2EM7B.js.map} +1 -1
- package/dist/{chunk-EAMVXR5B.js → chunk-ZDKTPBGV.js} +4 -4
- package/dist/{chunk-EAMVXR5B.js.map → chunk-ZDKTPBGV.js.map} +1 -1
- package/dist/{chunk-A2LJG5GM.js → chunk-ZFMCDJGB.js} +803 -148
- package/dist/chunk-ZFMCDJGB.js.map +1 -0
- package/dist/{chunk-62ZXBMSD.js → chunk-ZLONH2UD.js} +46 -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-BL1NZLMY.d.cts +78 -0
- package/dist/ddl-D_oW-EVO.d.ts +78 -0
- 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 +3418 -706
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +550 -58
- package/dist/graph-merge/index.d.ts +550 -58
- package/dist/graph-merge/index.js +3191 -497
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-Deyu8IXL.d.ts → index-COs_z6nV.d.cts} +47 -3
- package/dist/{index-DrRS51Ld.d.cts → index-D7d1u2gr.d.ts} +47 -3
- package/dist/index.cjs +233 -216
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- 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-ptr3JLRP.d.cts → manager-CYaff3n3.d.cts} +2 -2
- package/dist/{manager-DX983gJ0.d.ts → manager-D9eRT_ns.d.ts} +2 -2
- package/dist/{materialize-indexes-CpXoggWU.d.ts → materialize-indexes-DJ3ykH59.d.ts} +1 -1
- package/dist/{materialize-indexes-BXz77YqO.d.cts → materialize-indexes-DTtAnvfY.d.cts} +1 -1
- package/dist/{postgres-DwgEXSPI.d.cts → postgres-CcL4bAHS.d.ts} +1 -1
- package/dist/{postgres-QdOMHTBz.d.ts → postgres-DMj39MEu.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 +46 -46
- 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 +13 -13
- package/dist/provenance/index.js.map +1 -1
- package/dist/repair-validity-windows-BFNZvd_H.d.cts +166 -0
- package/dist/repair-validity-windows-DlUSqwCg.d.ts +166 -0
- 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-BOUuA83f.d.ts → searchable-DHJMh_nj.d.cts} +1 -1
- package/dist/{searchable-BrUh0pdc.d.cts → searchable-bpE1bBfc.d.ts} +1 -1
- package/dist/{sqlite-BfYcV61E.d.cts → sqlite-D7Oz0SQh.d.ts} +1 -1
- package/dist/{sqlite-DK40XVR1.d.ts → sqlite-YppHrNFb.d.cts} +1 -1
- package/dist/{store-FTqBpuJD.d.cts → store-JUVvtmR4.d.cts} +228 -92
- package/dist/{store-Bo1psfVZ.d.ts → store-UzrGvZOo.d.ts} +228 -92
- package/dist/{temporal-DPtn0HOu.d.ts → temporal-5GqpYCk2.d.cts} +1 -1
- package/dist/{temporal-CXewwLTB.d.cts → temporal-CbnLzTmM.d.ts} +1 -1
- package/dist/{types-Du78EvpN.d.ts → types-BqFZTQmV.d.cts} +60 -9
- package/dist/{types-Du78EvpN.d.cts → types-BqFZTQmV.d.ts} +60 -9
- package/dist/{types-CeT7xM4M.d.ts → types-Bx74kaTt.d.ts} +1 -1
- package/dist/{types-XR1nHERK.d.cts → types-CXAhpW-c.d.cts} +1 -1
- package/dist/{where-CJsp-YUf.d.cts → where-DI_Fqz-X.d.cts} +1 -1
- package/dist/{where-CMbFiWwp.d.ts → where-O-k2wgYm.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-32UETY6S.cjs.map +0 -1
- package/dist/chunk-5PDSCELM.cjs.map +0 -1
- package/dist/chunk-62ZXBMSD.js.map +0 -1
- package/dist/chunk-6LAXM4J2.cjs +0 -12
- package/dist/chunk-73MWKDFK.cjs +0 -12
- package/dist/chunk-A2LJG5GM.js.map +0 -1
- package/dist/chunk-A4R3H7RU.cjs.map +0 -1
- package/dist/chunk-ANKOXPCC.cjs +0 -267
- package/dist/chunk-ANKOXPCC.cjs.map +0 -1
- package/dist/chunk-AT3MLMJV.js.map +0 -1
- package/dist/chunk-BEB4OFZF.cjs.map +0 -1
- package/dist/chunk-BQM5P2NO.cjs.map +0 -1
- package/dist/chunk-C2ZP5YS6.cjs.map +0 -1
- package/dist/chunk-C6KE2HSQ.cjs.map +0 -1
- package/dist/chunk-DSAWGCMP.js +0 -254
- package/dist/chunk-DSAWGCMP.js.map +0 -1
- package/dist/chunk-E4OSGBCM.cjs.map +0 -1
- package/dist/chunk-EDHV4CBU.js.map +0 -1
- package/dist/chunk-FA6Z7B5L.js +0 -244
- package/dist/chunk-FA6Z7B5L.js.map +0 -1
- package/dist/chunk-GVAMRRZR.cjs +0 -268
- package/dist/chunk-GVAMRRZR.cjs.map +0 -1
- package/dist/chunk-GWXXHOLU.js.map +0 -1
- package/dist/chunk-HNYLMPQQ.cjs.map +0 -1
- package/dist/chunk-IHRDX7K6.js.map +0 -1
- package/dist/chunk-KCH7WQA5.cjs.map +0 -1
- package/dist/chunk-KXSMF6PL.js.map +0 -1
- package/dist/chunk-LHYSY6SE.js.map +0 -1
- package/dist/chunk-N3QTGPC7.cjs.map +0 -1
- package/dist/chunk-QPOQX2DI.cjs.map +0 -1
- package/dist/chunk-R7EWHKID.js.map +0 -1
- package/dist/chunk-RFDEYLIK.js.map +0 -1
- package/dist/chunk-RHDOAQCT.cjs.map +0 -1
- package/dist/chunk-S3G5VLSW.js.map +0 -1
- package/dist/chunk-S7WIRFNS.cjs.map +0 -1
- package/dist/chunk-UTVQPZPN.cjs.map +0 -1
- package/dist/chunk-WEJHA7AD.js.map +0 -1
- package/dist/chunk-WYFB7BN3.js.map +0 -1
- package/dist/chunk-YQ4JONWE.js.map +0 -1
- package/dist/chunk-Z43KWLZF.js.map +0 -1
- package/dist/ddl-mE07h_EM.d.cts +0 -38
- package/dist/ddl-opIn8DfX.d.ts +0 -38
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { withRecordedRelationsPrecondition, groupBy, chunk } from './chunk-
|
|
2
|
-
import { createSqlSchema } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { withRecordedRelationsPrecondition, projectGraphBackend, deriveBackend, groupBy, chunk } from './chunk-UGHG7PGX.js';
|
|
2
|
+
import { createSqlSchema } from './chunk-NVY5CJFP.js';
|
|
3
|
+
import { rowPropsToJsonText } from './chunk-6LN7FIVU.js';
|
|
4
|
+
import { optionalRecordedInstantParts, createRecordedInstant, parseRecordedInstant, RECORDED_MAX_REVISION } from './chunk-DZAICA5J.js';
|
|
5
|
+
import { nowIso, canonicalizeDatabaseTimestamp } from './chunk-5K2BKEBD.js';
|
|
6
|
+
import { sql, asCompiledRowsSql, likeEscapeClause, asCompiledStatementSql, LIKE_ESCAPE_CHARACTER } from './chunk-3DMMGT6S.js';
|
|
6
7
|
import { resolveFieldTypeInfoAtJsonPointer } from './chunk-W6OG3HDG.js';
|
|
7
|
-
import { ConfigurationError, UnsupportedPredicateError, CompilerInvariantError } from './chunk-
|
|
8
|
+
import { ConfigurationError, UnsupportedPredicateError, CompilerInvariantError } from './chunk-ZLONH2UD.js';
|
|
8
9
|
import { normalizeJsonPointer, joinJsonPointers, jsonPointer } from './chunk-FWJKWH6U.js';
|
|
9
10
|
import { requireDefined, isPresent } from './chunk-DYATYRY4.js';
|
|
10
11
|
import { nanoid } from 'nanoid';
|
|
@@ -1096,127 +1097,6 @@ async function advanceRevisionClock(target, schema, graphId, ownsWriteLock, prev
|
|
|
1096
1097
|
return commit.instant;
|
|
1097
1098
|
}
|
|
1098
1099
|
|
|
1099
|
-
// src/backend/graph-backend-projection.ts
|
|
1100
|
-
var GRAPH_BACKEND_PROJECTION_KEYS = [
|
|
1101
|
-
"dialect",
|
|
1102
|
-
"capabilities",
|
|
1103
|
-
"tableNames",
|
|
1104
|
-
"fulltextStrategy",
|
|
1105
|
-
"vectorStrategy",
|
|
1106
|
-
"insertNode",
|
|
1107
|
-
"insertNodeNoReturn",
|
|
1108
|
-
"insertNodesBatch",
|
|
1109
|
-
"insertNodesBatchReturning",
|
|
1110
|
-
"updateNode",
|
|
1111
|
-
"updateNodeSet",
|
|
1112
|
-
"deleteNode",
|
|
1113
|
-
"hardDeleteNode",
|
|
1114
|
-
"getNode",
|
|
1115
|
-
"getNodes",
|
|
1116
|
-
"insertEdge",
|
|
1117
|
-
"insertEdgeNoReturn",
|
|
1118
|
-
"insertEdgesBatch",
|
|
1119
|
-
"insertEdgesBatchReturning",
|
|
1120
|
-
"updateEdge",
|
|
1121
|
-
"deleteEdge",
|
|
1122
|
-
"hardDeleteEdge",
|
|
1123
|
-
"deleteEdgesBatch",
|
|
1124
|
-
"hardDeleteEdgesBatch",
|
|
1125
|
-
"getEdge",
|
|
1126
|
-
"getEdges",
|
|
1127
|
-
"countEdgesFrom",
|
|
1128
|
-
"edgeExistsBetween",
|
|
1129
|
-
"findEdgesConnectedTo",
|
|
1130
|
-
"findNodesByKind",
|
|
1131
|
-
"countNodesByKind",
|
|
1132
|
-
"findEdgesByKind",
|
|
1133
|
-
"findEdgesByEndpointSet",
|
|
1134
|
-
"findEdgesByHeterogeneousEndpointSet",
|
|
1135
|
-
"countEdgesByKind",
|
|
1136
|
-
"insertUnique",
|
|
1137
|
-
"insertUniqueBatch",
|
|
1138
|
-
"deleteUnique",
|
|
1139
|
-
"hardDeleteUniquesByNodeIds",
|
|
1140
|
-
"checkUnique",
|
|
1141
|
-
"checkUniqueBatch",
|
|
1142
|
-
"getActiveSchema",
|
|
1143
|
-
"getSchemaVersion",
|
|
1144
|
-
"commitSchemaVersion",
|
|
1145
|
-
"commitSchemaVersionIfKindsEmpty",
|
|
1146
|
-
"lockSchemaVersionForWrite",
|
|
1147
|
-
"commitSchemaVersionWithPreflight",
|
|
1148
|
-
"setActiveVersion",
|
|
1149
|
-
"schemaWriteTransaction",
|
|
1150
|
-
"upsertEmbedding",
|
|
1151
|
-
"upsertEmbeddingBatch",
|
|
1152
|
-
"deleteEmbedding",
|
|
1153
|
-
"deleteEmbeddingBatch",
|
|
1154
|
-
"vectorSearch",
|
|
1155
|
-
"createVectorIndex",
|
|
1156
|
-
"dropVectorIndex",
|
|
1157
|
-
"hybridSearch",
|
|
1158
|
-
"upsertFulltext",
|
|
1159
|
-
"deleteFulltext",
|
|
1160
|
-
"upsertFulltextBatch",
|
|
1161
|
-
"deleteFulltextBatch",
|
|
1162
|
-
"fulltextSearch",
|
|
1163
|
-
"ensureIndexMaterializationsTable",
|
|
1164
|
-
"ensureRevisionOriginsTable",
|
|
1165
|
-
"getIndexMaterialization",
|
|
1166
|
-
"getIndexMaterializations",
|
|
1167
|
-
"recordIndexMaterialization",
|
|
1168
|
-
"claimIndexMaterialization",
|
|
1169
|
-
"releaseIndexMaterializationClaim",
|
|
1170
|
-
"ensureContributionMaterializationsTable",
|
|
1171
|
-
"getContributionMaterialization",
|
|
1172
|
-
"recordContributionMaterialization",
|
|
1173
|
-
"assertRuntimeContributionsInitialized",
|
|
1174
|
-
"ensureKindRemovalsTable",
|
|
1175
|
-
"getPendingKindRemovals",
|
|
1176
|
-
"getAllKindRemovals",
|
|
1177
|
-
"recordKindRemoval",
|
|
1178
|
-
"ensureReconciliationMarkersTable",
|
|
1179
|
-
"ensureRuntimeContributions",
|
|
1180
|
-
"ensureVectorSlotContribution",
|
|
1181
|
-
"ensureVectorSlotContributions",
|
|
1182
|
-
"assertVectorSlotInitialized",
|
|
1183
|
-
"assertVectorSlotsInitialized",
|
|
1184
|
-
"deleteVectorSlotContribution",
|
|
1185
|
-
"verifyContributions",
|
|
1186
|
-
"repairContributions",
|
|
1187
|
-
"probeContributions",
|
|
1188
|
-
"rebuildContribution",
|
|
1189
|
-
"ensureFulltextTable",
|
|
1190
|
-
"ensureIdentityTables",
|
|
1191
|
-
"identityTableDdl",
|
|
1192
|
-
"getReconciliationMarker",
|
|
1193
|
-
"setReconciliationMarker",
|
|
1194
|
-
"clearGraph",
|
|
1195
|
-
"bootstrapTables",
|
|
1196
|
-
"refreshStatistics",
|
|
1197
|
-
"trustedImport",
|
|
1198
|
-
"execute",
|
|
1199
|
-
"executeStatement",
|
|
1200
|
-
"executeTemporaryStatement",
|
|
1201
|
-
"executeRaw",
|
|
1202
|
-
"compileSql",
|
|
1203
|
-
"executeDdl",
|
|
1204
|
-
"transaction",
|
|
1205
|
-
"close"
|
|
1206
|
-
];
|
|
1207
|
-
function projectBackendMembers(backend, keys) {
|
|
1208
|
-
const entries = keys.flatMap((key) => {
|
|
1209
|
-
if (!Reflect.has(backend, key)) return [];
|
|
1210
|
-
return [[key, Reflect.get(backend, key)]];
|
|
1211
|
-
});
|
|
1212
|
-
const projection = Object.fromEntries(entries);
|
|
1213
|
-
inheritSerializedTransactionResource(projection, backend);
|
|
1214
|
-
return projection;
|
|
1215
|
-
}
|
|
1216
|
-
function createGraphBackendProjection(backend) {
|
|
1217
|
-
return projectBackendMembers(backend, GRAPH_BACKEND_PROJECTION_KEYS);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
1100
|
// src/store/insert-dispatch.ts
|
|
1221
1101
|
function nodeInsertDispatch(backend) {
|
|
1222
1102
|
return {
|
|
@@ -2766,6 +2646,7 @@ function recordedCaptureSealedError(details) {
|
|
|
2766
2646
|
}
|
|
2767
2647
|
function createRecordedCaptureSession() {
|
|
2768
2648
|
const touched = /* @__PURE__ */ new Map();
|
|
2649
|
+
const forcedGraphRevisions = /* @__PURE__ */ new Set();
|
|
2769
2650
|
let sealed = false;
|
|
2770
2651
|
function touch(entity) {
|
|
2771
2652
|
if (sealed) {
|
|
@@ -2790,6 +2671,10 @@ function createRecordedCaptureSession() {
|
|
|
2790
2671
|
touchIdentityAssertion(graphId, id, afterImage) {
|
|
2791
2672
|
touch({ entity: "identity", graphId, id, afterImage });
|
|
2792
2673
|
},
|
|
2674
|
+
forceGraphRevision(graphId) {
|
|
2675
|
+
if (sealed) throw recordedCaptureSealedError({ graphId });
|
|
2676
|
+
forcedGraphRevisions.add(graphId);
|
|
2677
|
+
},
|
|
2793
2678
|
async flush(target, schema, ownsWriteLock) {
|
|
2794
2679
|
if (sealed) {
|
|
2795
2680
|
throw new ConfigurationError(
|
|
@@ -2801,9 +2686,13 @@ function createRecordedCaptureSession() {
|
|
|
2801
2686
|
);
|
|
2802
2687
|
}
|
|
2803
2688
|
sealed = true;
|
|
2804
|
-
if (touched.size === 0
|
|
2689
|
+
if (touched.size === 0 && forcedGraphRevisions.size === 0)
|
|
2690
|
+
return /* @__PURE__ */ new Map();
|
|
2805
2691
|
const recordedByGraph = /* @__PURE__ */ new Map();
|
|
2806
2692
|
const byGraph = groupBy(touched.values(), (entity) => entity.graphId);
|
|
2693
|
+
for (const graphId of forcedGraphRevisions) {
|
|
2694
|
+
if (!byGraph.has(graphId)) byGraph.set(graphId, []);
|
|
2695
|
+
}
|
|
2807
2696
|
for (const [graphId, entities] of byGraph) {
|
|
2808
2697
|
const recordedCommit = await allocateRecordedCommit(
|
|
2809
2698
|
target,
|
|
@@ -2844,11 +2733,19 @@ function createRecordedCaptureSession() {
|
|
|
2844
2733
|
);
|
|
2845
2734
|
}
|
|
2846
2735
|
touched.clear();
|
|
2736
|
+
forcedGraphRevisions.clear();
|
|
2847
2737
|
return recordedByGraph;
|
|
2848
2738
|
}
|
|
2849
2739
|
};
|
|
2850
2740
|
}
|
|
2851
2741
|
var recordedIdentityBindings = /* @__PURE__ */ new WeakMap();
|
|
2742
|
+
var recordedRevisionBindings = /* @__PURE__ */ new WeakMap();
|
|
2743
|
+
function forceRecordedGraphRevision(backend, graphId) {
|
|
2744
|
+
const session = recordedRevisionBindings.get(backend);
|
|
2745
|
+
if (session === void 0) return false;
|
|
2746
|
+
session.forceGraphRevision(graphId);
|
|
2747
|
+
return true;
|
|
2748
|
+
}
|
|
2852
2749
|
function ignoreIdentityTouch() {
|
|
2853
2750
|
return;
|
|
2854
2751
|
}
|
|
@@ -2877,7 +2774,7 @@ function createRecordedTransactionBackend(target, session, schema) {
|
|
|
2877
2774
|
await lockRecordedGraphWrite(target, graphId, graphLocks);
|
|
2878
2775
|
}
|
|
2879
2776
|
}
|
|
2880
|
-
const overlay =
|
|
2777
|
+
const overlay = deriveBackend(target, {
|
|
2881
2778
|
...rawWriteGuards(target, "tx.backend"),
|
|
2882
2779
|
async insertNode(params) {
|
|
2883
2780
|
session.assertOpen();
|
|
@@ -3047,6 +2944,7 @@ function createRecordedTransactionBackend(target, session, schema) {
|
|
|
3047
2944
|
registerRecordedGraphLockMemo(overlay, graphLocks);
|
|
3048
2945
|
recordedIdentityBindings.set(overlay, { target, session });
|
|
3049
2946
|
recordedIdentityBindings.set(target, { target, session });
|
|
2947
|
+
recordedRevisionBindings.set(overlay, session);
|
|
3050
2948
|
return overlay;
|
|
3051
2949
|
}
|
|
3052
2950
|
function createRecordedTransactionScope(target, schema, ownsWriteLock = false) {
|
|
@@ -3076,8 +2974,8 @@ async function runCapturedAutocommit(backend, schema, fn, options) {
|
|
|
3076
2974
|
function createRecordedBackend(backend, schema) {
|
|
3077
2975
|
assertCapturableBackend(backend);
|
|
3078
2976
|
const capture = (fn) => runCapturedAutocommit(backend, schema, fn);
|
|
3079
|
-
const projectedBackend =
|
|
3080
|
-
return
|
|
2977
|
+
const projectedBackend = projectGraphBackend(backend);
|
|
2978
|
+
return deriveBackend(projectedBackend, {
|
|
3081
2979
|
...rawWriteGuards(backend, "backend"),
|
|
3082
2980
|
async insertNode(params) {
|
|
3083
2981
|
return capture((target) => target.insertNode(params));
|
|
@@ -3212,6 +3110,11 @@ function compareCodePoints(left, right) {
|
|
|
3212
3110
|
return leftExhausted ? -1 : 1;
|
|
3213
3111
|
}
|
|
3214
3112
|
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3113
|
+
// src/utils/tuple-key.ts
|
|
3114
|
+
function encodeTupleKey(values) {
|
|
3115
|
+
return JSON.stringify(values);
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
export { CURRENT_READ_INSTANT_PLACEHOLDER, IDENTITY_ASSERTION_COLUMNS, IDENTITY_PEER_CLASS_COLUMNS, advanceRevisionClock, arrayField, assertCurrentRecordedSchema, assertRecordedCaptureTransactionIsolation, assertRevisionTrackableBackend, baseField, buildFieldBuilderForTypeInfo, buildPredicateIndex, closeRecordedHardDeletedKind, compareCodePoints, compareStrings, compileFieldValue, compileKindFilter, compilePredicateClauses, compilePredicateExpression, compileTemporalFilter, createFulltextAccessor, createRecordedBackend, createRecordedTransactionScope, currentReadInstant, currentReadInstantFor, dateField, edgeInsertDispatch, encodeTupleKey, ensureRevisionOrigin, exists, extractFulltextMatchPredicates, extractTemporalOptions, extractVectorSimilarityPredicates, fieldRef, forceRecordedGraphRevision, generateId, getEdgeRowsByIds, getFieldPointer, getHybridTargetAlias, getNodeKindsForAlias, getNodeRowsByIds, getPredicatesForAlias, historicalIdentityPeerClassQuery, historicalIdentityReconstructionCtes, identityAssertionSnapshotSource, identityNodeSnapshotSource, identityNodeVisibilitySql, identitySqlCoordinate, inSubquery, isParameterRef, lockRecordedGraphWrite, nodeInsertDispatch, notExists, notInSubquery, numberField, objectField, param, readRecordedClock, readRevisionOrigin, recordedBindParamBudget, recordedCaptureRequiresCallbackTransactionError, resolveParameterValueType, runInsertBatch, runInsertBatchReturning, runInsertNoReturn, sqlValueList, stringField, throwHistoryUnsafeSqlAccess, throwRevisionTrackingUnsafeSqlAccess, uncapturedGraphWriteLock, withPinnedReadInstant, withRecordedFlushObserver, withRecordedIdentityMutationTarget };
|
|
3119
|
+
//# sourceMappingURL=chunk-S5TERQVW.js.map
|
|
3120
|
+
//# sourceMappingURL=chunk-S5TERQVW.js.map
|