@nicia-ai/typegraph 0.49.0 → 0.51.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 +12 -0
- package/dist/backend/drizzle/indexes.cjs +11 -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 +7 -5
- package/dist/backend/index.cjs +190 -53
- package/dist/backend/index.d.cts +90 -4
- package/dist/backend/index.d.ts +90 -4
- package/dist/backend/index.js +9 -12
- package/dist/backend/postgres/index.cjs +36 -28
- package/dist/backend/postgres/index.d.cts +7 -7
- package/dist/backend/postgres/index.d.ts +7 -7
- package/dist/backend/postgres/index.js +19 -15
- package/dist/backend/postgres/pglite-store.cjs +7 -62
- package/dist/backend/postgres/pglite-store.cjs.map +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +8 -8
- package/dist/backend/postgres/pglite-store.d.ts +8 -8
- package/dist/backend/postgres/pglite-store.js +7 -62
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +21 -17
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +20 -16
- package/dist/backend/sqlite/index.cjs +33 -25
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +17 -13
- package/dist/backend/sqlite/libsql.cjs +24 -20
- 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 +19 -15
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +9 -64
- package/dist/backend/sqlite/local-store.cjs.map +1 -1
- package/dist/backend/sqlite/local-store.d.cts +8 -8
- package/dist/backend/sqlite/local-store.d.ts +8 -8
- package/dist/backend/sqlite/local-store.js +8 -64
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +25 -20
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +21 -16
- package/dist/chunk-2CVDZCXH.cjs +1278 -0
- package/dist/chunk-2CVDZCXH.cjs.map +1 -0
- package/dist/{chunk-MYKHJI2J.js → chunk-2DWTBNSH.js} +3 -3
- package/dist/{chunk-MYKHJI2J.js.map → chunk-2DWTBNSH.js.map} +1 -1
- package/dist/{chunk-JB6T4GLL.cjs → chunk-2KCTP3U2.cjs} +870 -528
- package/dist/chunk-2KCTP3U2.cjs.map +1 -0
- package/dist/{chunk-OORXGFL5.cjs → chunk-322TBTOQ.cjs} +48 -48
- package/dist/{chunk-OORXGFL5.cjs.map → chunk-322TBTOQ.cjs.map} +1 -1
- package/dist/{chunk-FA2AFWLP.cjs → chunk-36SX6QXP.cjs} +31 -12
- package/dist/chunk-36SX6QXP.cjs.map +1 -0
- package/dist/{chunk-SDBBMD4N.js → chunk-36VYWVQU.js} +3 -3
- package/dist/{chunk-SDBBMD4N.js.map → chunk-36VYWVQU.js.map} +1 -1
- package/dist/chunk-4DKY6RIU.js +1253 -0
- package/dist/chunk-4DKY6RIU.js.map +1 -0
- package/dist/chunk-4QKOZYMV.js +9 -0
- package/dist/chunk-4QKOZYMV.js.map +1 -0
- package/dist/{chunk-WIC7DRXW.js → chunk-57JM6NW3.js} +9 -19
- package/dist/chunk-57JM6NW3.js.map +1 -0
- package/dist/chunk-5WWEYV4H.cjs +5113 -0
- package/dist/chunk-5WWEYV4H.cjs.map +1 -0
- package/dist/chunk-6KQEICJ6.cjs +12 -0
- package/dist/{chunk-MKJ4KXL5.cjs.map → chunk-6KQEICJ6.cjs.map} +1 -1
- package/dist/{chunk-DZAICA5J.js → chunk-6NKSE5AU.js} +4 -4
- package/dist/{chunk-DZAICA5J.js.map → chunk-6NKSE5AU.js.map} +1 -1
- package/dist/{chunk-KKBDXCLQ.js → chunk-6NLYIMJO.js} +4 -4
- package/dist/{chunk-KKBDXCLQ.js.map → chunk-6NLYIMJO.js.map} +1 -1
- package/dist/{chunk-BFUOME67.cjs → chunk-7B7I7YAW.cjs} +20 -11
- package/dist/chunk-7B7I7YAW.cjs.map +1 -0
- package/dist/{chunk-ZDKTPBGV.js → chunk-7G5IYROL.js} +6 -548
- package/dist/chunk-7G5IYROL.js.map +1 -0
- package/dist/{chunk-3DMMGT6S.js → chunk-7QFRK6PU.js} +4 -8
- package/dist/chunk-7QFRK6PU.js.map +1 -0
- package/dist/chunk-A4C4NJ5U.cjs +12 -0
- package/dist/chunk-A4C4NJ5U.cjs.map +1 -0
- package/dist/{chunk-CHAOFCHV.js → chunk-AH2A74OZ.js} +3 -3
- package/dist/{chunk-CHAOFCHV.js.map → chunk-AH2A74OZ.js.map} +1 -1
- package/dist/{chunk-UGHQV7MP.cjs → chunk-B3MN7EJR.cjs} +228 -162
- package/dist/chunk-B3MN7EJR.cjs.map +1 -0
- package/dist/{chunk-TZEGUG6D.cjs → chunk-BZ5MVITP.cjs} +4 -4
- package/dist/{chunk-TZEGUG6D.cjs.map → chunk-BZ5MVITP.cjs.map} +1 -1
- package/dist/{chunk-YVF2EM7B.js → chunk-CAI6SMP6.js} +3 -3
- package/dist/{chunk-YVF2EM7B.js.map → chunk-CAI6SMP6.js.map} +1 -1
- package/dist/{chunk-JONXFAPO.js → chunk-CBOD7TXH.js} +5 -5
- package/dist/{chunk-JONXFAPO.js.map → chunk-CBOD7TXH.js.map} +1 -1
- package/dist/{chunk-FQPEMEWX.cjs → chunk-CRZ56SZU.cjs} +81 -32
- package/dist/chunk-CRZ56SZU.cjs.map +1 -0
- package/dist/{chunk-DO7SAMEK.cjs → chunk-D3GWARN7.cjs} +47 -47
- package/dist/{chunk-DO7SAMEK.cjs.map → chunk-D3GWARN7.cjs.map} +1 -1
- package/dist/{chunk-QTD6HX4O.js → chunk-D3OUDFU7.js} +5 -5
- package/dist/{chunk-QTD6HX4O.js.map → chunk-D3OUDFU7.js.map} +1 -1
- package/dist/{chunk-2QGYQBS2.cjs → chunk-DWUDZ66O.cjs} +10 -10
- package/dist/{chunk-2QGYQBS2.cjs.map → chunk-DWUDZ66O.cjs.map} +1 -1
- package/dist/chunk-EKG2UXNX.cjs +23 -0
- package/dist/chunk-EKG2UXNX.cjs.map +1 -0
- package/dist/chunk-FMMW3KX7.cjs +148 -0
- package/dist/chunk-FMMW3KX7.cjs.map +1 -0
- package/dist/{chunk-XVWOYKIK.js → chunk-FZHF5UWR.js} +3 -3
- package/dist/{chunk-XVWOYKIK.js.map → chunk-FZHF5UWR.js.map} +1 -1
- package/dist/chunk-H2VWDQWC.cjs +571 -0
- package/dist/chunk-H2VWDQWC.cjs.map +1 -0
- package/dist/chunk-H4FY6OZK.js +13 -0
- package/dist/chunk-H4FY6OZK.js.map +1 -0
- package/dist/{chunk-EDN4Y4ZG.cjs → chunk-H5IJSROF.cjs} +9 -15
- package/dist/chunk-H5IJSROF.cjs.map +1 -0
- package/dist/chunk-HZUB5CON.js +27 -0
- package/dist/chunk-HZUB5CON.js.map +1 -0
- package/dist/{chunk-NACVVDWB.js → chunk-I5IOSA27.js} +103 -105
- package/dist/chunk-I5IOSA27.js.map +1 -0
- package/dist/{chunk-OI2GQ25X.cjs → chunk-I7YAY2VQ.cjs} +7 -7
- package/dist/{chunk-OI2GQ25X.cjs.map → chunk-I7YAY2VQ.cjs.map} +1 -1
- package/dist/chunk-IRCWIA3R.js +20 -0
- package/dist/chunk-IRCWIA3R.js.map +1 -0
- package/dist/chunk-IVQBLXBK.cjs +55 -0
- package/dist/chunk-IVQBLXBK.cjs.map +1 -0
- package/dist/{chunk-7SQSZN2J.js → chunk-IZD4HTCP.js} +5 -5
- package/dist/{chunk-7SQSZN2J.js.map → chunk-IZD4HTCP.js.map} +1 -1
- package/dist/{chunk-3FPR224C.cjs → chunk-JHRUZ73O.cjs} +116 -107
- package/dist/chunk-JHRUZ73O.cjs.map +1 -0
- package/dist/{chunk-EZEEWCFJ.cjs → chunk-JQKMEKKW.cjs} +525 -298
- package/dist/chunk-JQKMEKKW.cjs.map +1 -0
- package/dist/chunk-JVA3KDEA.cjs +691 -0
- package/dist/chunk-JVA3KDEA.cjs.map +1 -0
- package/dist/{chunk-5K2BKEBD.js → chunk-K46SDNQD.js} +10 -4
- package/dist/chunk-K46SDNQD.js.map +1 -0
- package/dist/{chunk-7LZJNLA5.js → chunk-K67P5DLL.js} +108 -42
- package/dist/chunk-K67P5DLL.js.map +1 -0
- package/dist/{chunk-3G5W2U2L.cjs → chunk-KACEYDYV.cjs} +335 -258
- package/dist/chunk-KACEYDYV.cjs.map +1 -0
- package/dist/{chunk-JFRT7S3B.cjs → chunk-L6EVYIID.cjs} +318 -478
- package/dist/chunk-L6EVYIID.cjs.map +1 -0
- package/dist/{chunk-SHFBB23Q.js → chunk-LI4K2KEJ.js} +6 -4
- package/dist/chunk-LI4K2KEJ.js.map +1 -0
- package/dist/chunk-LKZDQ2B4.js +1581 -0
- package/dist/chunk-LKZDQ2B4.js.map +1 -0
- package/dist/{chunk-WODMN3Q2.cjs → chunk-LLFPQOBA.cjs} +27 -27
- package/dist/{chunk-WODMN3Q2.cjs.map → chunk-LLFPQOBA.cjs.map} +1 -1
- package/dist/{chunk-P6YLZTRE.js → chunk-LZMQ3SFK.js} +3 -3
- package/dist/{chunk-P6YLZTRE.js.map → chunk-LZMQ3SFK.js.map} +1 -1
- package/dist/{chunk-HEV35TGT.js → chunk-M3VTS3F6.js} +13 -4
- package/dist/chunk-M3VTS3F6.js.map +1 -0
- package/dist/{chunk-TQHGE7UC.cjs → chunk-M5MSP3BI.cjs} +18 -10
- package/dist/chunk-M5MSP3BI.cjs.map +1 -0
- package/dist/{chunk-D4QLTJSM.js → chunk-NBOS7BY3.js} +63 -23
- package/dist/chunk-NBOS7BY3.js.map +1 -0
- package/dist/chunk-NGQDGL5X.js +140 -0
- package/dist/chunk-NGQDGL5X.js.map +1 -0
- package/dist/{chunk-SIT26LAZ.cjs → chunk-NLX5OWK7.cjs} +33 -5
- package/dist/chunk-NLX5OWK7.cjs.map +1 -0
- package/dist/chunk-NUQ2YFFH.cjs +1637 -0
- package/dist/chunk-NUQ2YFFH.cjs.map +1 -0
- package/dist/{chunk-UMGZDVOA.cjs → chunk-OGL4X4PH.cjs} +206 -208
- package/dist/chunk-OGL4X4PH.cjs.map +1 -0
- package/dist/{chunk-LRQKXRXO.cjs → chunk-OTNTGEXR.cjs} +4 -4
- package/dist/{chunk-LRQKXRXO.cjs.map → chunk-OTNTGEXR.cjs.map} +1 -1
- package/dist/chunk-OTWE63BW.js +53 -0
- package/dist/chunk-OTWE63BW.js.map +1 -0
- package/dist/chunk-PC5NGH5A.js +549 -0
- package/dist/chunk-PC5NGH5A.js.map +1 -0
- package/dist/{chunk-26YKDNUD.cjs → chunk-PS3TUWJM.cjs} +12 -10
- package/dist/chunk-PS3TUWJM.cjs.map +1 -0
- package/dist/{chunk-OMZ37BM2.js → chunk-PVFFH7TL.js} +5 -5
- package/dist/{chunk-OMZ37BM2.js.map → chunk-PVFFH7TL.js.map} +1 -1
- package/dist/chunk-QCD5JKU4.cjs +15 -0
- package/dist/chunk-QCD5JKU4.cjs.map +1 -0
- package/dist/{chunk-UGHG7PGX.js → chunk-QG5VEOKX.js} +30 -4
- package/dist/chunk-QG5VEOKX.js.map +1 -0
- package/dist/{chunk-TUNPBZY3.cjs → chunk-QLLZM5I3.cjs} +4 -4
- package/dist/{chunk-TUNPBZY3.cjs.map → chunk-QLLZM5I3.cjs.map} +1 -1
- package/dist/{chunk-BRRP76WO.js → chunk-RCBG6YMT.js} +781 -375
- package/dist/chunk-RCBG6YMT.js.map +1 -0
- package/dist/{chunk-LTXQOEIC.js → chunk-RI7RJH4G.js} +281 -204
- package/dist/chunk-RI7RJH4G.js.map +1 -0
- package/dist/{chunk-GYEG3ZLZ.cjs → chunk-RJMHU2MG.cjs} +121 -18
- package/dist/chunk-RJMHU2MG.cjs.map +1 -0
- package/dist/{chunk-GLHXM7C4.js → chunk-RVUL2HXY.js} +61 -23
- package/dist/chunk-RVUL2HXY.js.map +1 -0
- package/dist/chunk-RWUWTJQY.cjs +30 -0
- package/dist/chunk-RWUWTJQY.cjs.map +1 -0
- package/dist/{chunk-2O4PCIZ6.cjs → chunk-S5GU4LUN.cjs} +13 -13
- package/dist/{chunk-2O4PCIZ6.cjs.map → chunk-S5GU4LUN.cjs.map} +1 -1
- package/dist/{chunk-JPD2CTC3.js → chunk-SDPWO2Z5.js} +7 -7
- package/dist/{chunk-JPD2CTC3.js.map → chunk-SDPWO2Z5.js.map} +1 -1
- package/dist/{chunk-OVI7IXYX.js → chunk-SLGGT2XD.js} +3 -3
- package/dist/{chunk-OVI7IXYX.js.map → chunk-SLGGT2XD.js.map} +1 -1
- package/dist/{chunk-ROR5ZR6A.cjs → chunk-TIJUA4I6.cjs} +45 -45
- package/dist/{chunk-ROR5ZR6A.cjs.map → chunk-TIJUA4I6.cjs.map} +1 -1
- package/dist/{chunk-AOSSQDVO.cjs → chunk-TM54OBHX.cjs} +13 -13
- package/dist/{chunk-AOSSQDVO.cjs.map → chunk-TM54OBHX.cjs.map} +1 -1
- package/dist/{chunk-KF6K7TGH.js → chunk-TYEYRCXL.js} +766 -433
- package/dist/chunk-TYEYRCXL.js.map +1 -0
- package/dist/{chunk-Z2JCLZFJ.js → chunk-UKOVGCRN.js} +2151 -570
- package/dist/chunk-UKOVGCRN.js.map +1 -0
- package/dist/chunk-UYKDYE5D.cjs +12 -0
- package/dist/{chunk-CICO5GXD.cjs.map → chunk-UYKDYE5D.cjs.map} +1 -1
- package/dist/{chunk-S5TERQVW.js → chunk-VAAC7L57.js} +284 -66
- package/dist/chunk-VAAC7L57.js.map +1 -0
- package/dist/{chunk-7UOLHNWC.cjs → chunk-VKHXYVN7.cjs} +22 -33
- package/dist/chunk-VKHXYVN7.cjs.map +1 -0
- package/dist/{chunk-6NGW27EO.cjs → chunk-VLBTRXA2.cjs} +10 -10
- package/dist/{chunk-6NGW27EO.cjs.map → chunk-VLBTRXA2.cjs.map} +1 -1
- package/dist/{chunk-YIURNGXI.js → chunk-VUQZNUHU.js} +22 -6
- package/dist/chunk-VUQZNUHU.js.map +1 -0
- package/dist/{chunk-YYUHLYM2.cjs → chunk-WDM5WQK4.cjs} +183 -143
- package/dist/chunk-WDM5WQK4.cjs.map +1 -0
- package/dist/{chunk-ZFMCDJGB.js → chunk-WFSYYU4W.js} +70 -220
- package/dist/chunk-WFSYYU4W.js.map +1 -0
- package/dist/{chunk-SR725PWF.cjs → chunk-WRBV2FNH.cjs} +2065 -1659
- package/dist/chunk-WRBV2FNH.cjs.map +1 -0
- package/dist/{chunk-MRDBBHIZ.cjs → chunk-X4GDXBOP.cjs} +2 -2
- package/dist/chunk-X4GDXBOP.cjs.map +1 -0
- package/dist/chunk-XORONCV3.js +202 -0
- package/dist/chunk-XORONCV3.js.map +1 -0
- package/dist/{chunk-D5R42W5D.js → chunk-XZW2CTNO.js} +115 -12
- package/dist/chunk-XZW2CTNO.js.map +1 -0
- package/dist/{chunk-ZLONH2UD.js → chunk-YDEJQWOL.js} +2 -2
- package/dist/chunk-YDEJQWOL.js.map +1 -0
- package/dist/{chunk-2TYSSBU5.js → chunk-YT2IVFAI.js} +30 -21
- package/dist/chunk-YT2IVFAI.js.map +1 -0
- package/dist/chunk-ZGVTNKTX.cjs +217 -0
- package/dist/chunk-ZGVTNKTX.cjs.map +1 -0
- package/dist/core/index.cjs +29 -28
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +9 -8
- package/dist/{ddl-D_oW-EVO.d.ts → ddl-BvcbgzHo.d.ts} +3 -3
- package/dist/{ddl-BL1NZLMY.d.cts → ddl-Ufebz5q5.d.cts} +3 -3
- package/dist/graph-extension/index.cjs +21 -20
- package/dist/graph-extension/index.d.cts +2 -4
- package/dist/graph-extension/index.d.ts +2 -4
- package/dist/graph-extension/index.js +5 -4
- package/dist/graph-merge/index.cjs +324 -307
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +8 -9
- package/dist/graph-merge/index.d.ts +8 -9
- package/dist/graph-merge/index.js +51 -34
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +224 -222
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -12
- package/dist/index.d.ts +11 -12
- package/dist/index.js +38 -36
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +15 -13
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +8 -6
- package/dist/{ingestion-import-target-dNeL7iAv.d.ts → ingestion-import-target-CAs1OX-l.d.cts} +1 -1
- package/dist/{ingestion-import-target-XPxZYw89.d.cts → ingestion-import-target-DCQSPfNx.d.ts} +1 -1
- package/dist/interchange/index.cjs +57 -54
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +19 -8
- package/dist/interchange/index.d.ts +19 -8
- package/dist/interchange/index.js +21 -18
- package/dist/interchange/index.js.map +1 -1
- package/dist/local-store-impl-6DDTFM32.cjs +77 -0
- package/dist/local-store-impl-6DDTFM32.cjs.map +1 -0
- package/dist/local-store-impl-OXTOVU2J.js +75 -0
- package/dist/local-store-impl-OXTOVU2J.js.map +1 -0
- package/dist/{manager-CYaff3n3.d.cts → manager-B68OrPR2.d.ts} +29 -2
- package/dist/{manager-D9eRT_ns.d.ts → manager-D_t7oK69.d.cts} +29 -2
- package/dist/pglite-store-impl-6EMZGL7K.js +73 -0
- package/dist/pglite-store-impl-6EMZGL7K.js.map +1 -0
- package/dist/pglite-store-impl-GJG3Y7RP.cjs +75 -0
- package/dist/pglite-store-impl-GJG3Y7RP.cjs.map +1 -0
- package/dist/{postgres-CcL4bAHS.d.ts → postgres-BPLSVyHM.d.ts} +279 -2
- package/dist/{postgres-DMj39MEu.d.cts → postgres-CqvtFC2y.d.cts} +279 -2
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +59 -44
- 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 +28 -13
- package/dist/provenance/index.js.map +1 -1
- package/dist/{repair-validity-windows-BFNZvd_H.d.cts → repair-validity-windows-DEzCKAdy.d.cts} +7 -3
- package/dist/{repair-validity-windows-DlUSqwCg.d.ts → repair-validity-windows-GMdaS2AH.d.ts} +7 -3
- package/dist/resolve-D_H8MHtq.d.ts +1805 -0
- package/dist/resolve-WEW8gWws.d.cts +1805 -0
- package/dist/schema/index.cjs +48 -46
- package/dist/schema/index.d.cts +4 -6
- package/dist/schema/index.d.ts +4 -6
- package/dist/schema/index.js +21 -19
- package/dist/{searchable-bpE1bBfc.d.ts → searchable-C_UREI9K.d.ts} +1 -1
- package/dist/{searchable-DHJMh_nj.d.cts → searchable-ClgET_i7.d.cts} +1 -1
- package/dist/{sqlite-YppHrNFb.d.cts → sqlite-D1mXO9Kp.d.cts} +310 -2
- package/dist/{sqlite-D7Oz0SQh.d.ts → sqlite-MZA3oZNB.d.ts} +310 -2
- package/dist/{store-bphCSo7z.d.cts → store-CuFX7fCx.d.cts} +117 -31
- package/dist/{store-DRrFCx5x.d.ts → store-D-ZjXQpW.d.ts} +117 -31
- package/dist/{temporal-CbnLzTmM.d.ts → temporal-CpyEiRY8.d.cts} +1 -1
- package/dist/{temporal-5GqpYCk2.d.cts → temporal-y0Aep9Su.d.ts} +1 -1
- package/dist/{types-BqFZTQmV.d.cts → types-6yf0Vv-_.d.cts} +2016 -94
- package/dist/{types-BqFZTQmV.d.ts → types-6yf0Vv-_.d.ts} +2016 -94
- package/dist/{types-Bx74kaTt.d.ts → types-DzJ4dlzk.d.cts} +1 -1
- package/dist/{types-CXAhpW-c.d.cts → types-_vVSB9k-.d.ts} +1 -1
- package/dist/{where-O-k2wgYm.d.ts → where-DuG2LCLe.d.ts} +1 -1
- package/dist/{where-DI_Fqz-X.d.cts → where-Mhf_yyKX.d.cts} +1 -1
- package/package.json +7 -2
- package/dist/chunk-26YKDNUD.cjs.map +0 -1
- package/dist/chunk-2TYSSBU5.js.map +0 -1
- package/dist/chunk-3DMMGT6S.js.map +0 -1
- package/dist/chunk-3FPR224C.cjs.map +0 -1
- package/dist/chunk-3G5W2U2L.cjs.map +0 -1
- package/dist/chunk-3KOY4FH3.cjs +0 -934
- package/dist/chunk-3KOY4FH3.cjs.map +0 -1
- package/dist/chunk-3QNZ5SAJ.cjs +0 -3502
- package/dist/chunk-3QNZ5SAJ.cjs.map +0 -1
- package/dist/chunk-3U5ABFDW.cjs +0 -259
- package/dist/chunk-3U5ABFDW.cjs.map +0 -1
- package/dist/chunk-5K2BKEBD.js.map +0 -1
- package/dist/chunk-5PRKMB24.cjs +0 -124
- package/dist/chunk-5PRKMB24.cjs.map +0 -1
- package/dist/chunk-6LN7FIVU.js +0 -107
- package/dist/chunk-6LN7FIVU.js.map +0 -1
- package/dist/chunk-6SWPJEYN.js +0 -1126
- package/dist/chunk-6SWPJEYN.js.map +0 -1
- package/dist/chunk-7LZJNLA5.js.map +0 -1
- package/dist/chunk-7UOLHNWC.cjs.map +0 -1
- package/dist/chunk-BFUOME67.cjs.map +0 -1
- package/dist/chunk-BRRP76WO.js.map +0 -1
- package/dist/chunk-CICO5GXD.cjs +0 -12
- package/dist/chunk-D4QLTJSM.js.map +0 -1
- package/dist/chunk-D5R42W5D.js.map +0 -1
- package/dist/chunk-EDN4Y4ZG.cjs.map +0 -1
- package/dist/chunk-EZEEWCFJ.cjs.map +0 -1
- package/dist/chunk-FA2AFWLP.cjs.map +0 -1
- package/dist/chunk-FQPEMEWX.cjs.map +0 -1
- package/dist/chunk-GLHXM7C4.js.map +0 -1
- package/dist/chunk-GYEG3ZLZ.cjs.map +0 -1
- package/dist/chunk-HDL2ARHX.cjs +0 -1156
- package/dist/chunk-HDL2ARHX.cjs.map +0 -1
- package/dist/chunk-HEV35TGT.js.map +0 -1
- package/dist/chunk-I4GAZH5Z.js +0 -913
- package/dist/chunk-I4GAZH5Z.js.map +0 -1
- package/dist/chunk-JB6T4GLL.cjs.map +0 -1
- package/dist/chunk-JBQQ7THH.js +0 -20
- package/dist/chunk-JBQQ7THH.js.map +0 -1
- package/dist/chunk-JFRT7S3B.cjs.map +0 -1
- package/dist/chunk-KF6K7TGH.js.map +0 -1
- package/dist/chunk-L3LQNR34.cjs +0 -1254
- package/dist/chunk-L3LQNR34.cjs.map +0 -1
- package/dist/chunk-LTXQOEIC.js.map +0 -1
- package/dist/chunk-MKJ4KXL5.cjs +0 -12
- package/dist/chunk-MRDBBHIZ.cjs.map +0 -1
- package/dist/chunk-NACVVDWB.js.map +0 -1
- package/dist/chunk-NVY5CJFP.js +0 -244
- package/dist/chunk-NVY5CJFP.js.map +0 -1
- package/dist/chunk-PWLJ77UV.cjs +0 -23
- package/dist/chunk-PWLJ77UV.cjs.map +0 -1
- package/dist/chunk-S5TERQVW.js.map +0 -1
- package/dist/chunk-SHFBB23Q.js.map +0 -1
- package/dist/chunk-SIT26LAZ.cjs.map +0 -1
- package/dist/chunk-SR725PWF.cjs.map +0 -1
- package/dist/chunk-TQHGE7UC.cjs.map +0 -1
- package/dist/chunk-UGHG7PGX.js.map +0 -1
- package/dist/chunk-UGHQV7MP.cjs.map +0 -1
- package/dist/chunk-UMGZDVOA.cjs.map +0 -1
- package/dist/chunk-WIC7DRXW.js.map +0 -1
- package/dist/chunk-YIURNGXI.js.map +0 -1
- package/dist/chunk-YYUHLYM2.cjs.map +0 -1
- package/dist/chunk-Z2JCLZFJ.js.map +0 -1
- package/dist/chunk-ZDKTPBGV.js.map +0 -1
- package/dist/chunk-ZFMCDJGB.js.map +0 -1
- package/dist/chunk-ZLONH2UD.js.map +0 -1
- package/dist/index-COs_z6nV.d.cts +0 -1132
- package/dist/index-D7d1u2gr.d.ts +0 -1132
- package/dist/materialize-indexes-DJ3ykH59.d.ts +0 -266
- package/dist/materialize-indexes-DTtAnvfY.d.cts +0 -266
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
2
|
-
import { I as IndexDeclaration } from './types-
|
|
2
|
+
import { I as IndexDeclaration } from './types-6yf0Vv-_.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Table name configuration.
|
|
@@ -16,6 +16,7 @@ type PostgresTableNames = Readonly<{
|
|
|
16
16
|
identityClosure: string;
|
|
17
17
|
identitySeparation: string;
|
|
18
18
|
uniques: string;
|
|
19
|
+
edgeClaims: string;
|
|
19
20
|
schemaVersions: string;
|
|
20
21
|
fulltext: string;
|
|
21
22
|
indexMaterializations: string;
|
|
@@ -2069,6 +2070,98 @@ declare function createPostgresTables(names?: Partial<PostgresTableNames>, optio
|
|
|
2069
2070
|
};
|
|
2070
2071
|
dialect: "pg";
|
|
2071
2072
|
}>;
|
|
2073
|
+
readonly edgeClaims: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
2074
|
+
name: string;
|
|
2075
|
+
schema: undefined;
|
|
2076
|
+
columns: {
|
|
2077
|
+
graphId: drizzle_orm_pg_core.PgColumn<{
|
|
2078
|
+
name: "graph_id";
|
|
2079
|
+
tableName: string;
|
|
2080
|
+
dataType: "string";
|
|
2081
|
+
columnType: "PgText";
|
|
2082
|
+
data: string;
|
|
2083
|
+
driverParam: string;
|
|
2084
|
+
notNull: true;
|
|
2085
|
+
hasDefault: false;
|
|
2086
|
+
isPrimaryKey: false;
|
|
2087
|
+
isAutoincrement: false;
|
|
2088
|
+
hasRuntimeDefault: false;
|
|
2089
|
+
enumValues: [string, ...string[]];
|
|
2090
|
+
baseColumn: never;
|
|
2091
|
+
identity: undefined;
|
|
2092
|
+
generated: undefined;
|
|
2093
|
+
}, {}, {}>;
|
|
2094
|
+
axis: drizzle_orm_pg_core.PgColumn<{
|
|
2095
|
+
name: "axis";
|
|
2096
|
+
tableName: string;
|
|
2097
|
+
dataType: "string";
|
|
2098
|
+
columnType: "PgText";
|
|
2099
|
+
data: string;
|
|
2100
|
+
driverParam: string;
|
|
2101
|
+
notNull: true;
|
|
2102
|
+
hasDefault: false;
|
|
2103
|
+
isPrimaryKey: false;
|
|
2104
|
+
isAutoincrement: false;
|
|
2105
|
+
hasRuntimeDefault: false;
|
|
2106
|
+
enumValues: [string, ...string[]];
|
|
2107
|
+
baseColumn: never;
|
|
2108
|
+
identity: undefined;
|
|
2109
|
+
generated: undefined;
|
|
2110
|
+
}, {}, {}>;
|
|
2111
|
+
key: drizzle_orm_pg_core.PgColumn<{
|
|
2112
|
+
name: "key";
|
|
2113
|
+
tableName: string;
|
|
2114
|
+
dataType: "string";
|
|
2115
|
+
columnType: "PgText";
|
|
2116
|
+
data: string;
|
|
2117
|
+
driverParam: string;
|
|
2118
|
+
notNull: true;
|
|
2119
|
+
hasDefault: false;
|
|
2120
|
+
isPrimaryKey: false;
|
|
2121
|
+
isAutoincrement: false;
|
|
2122
|
+
hasRuntimeDefault: false;
|
|
2123
|
+
enumValues: [string, ...string[]];
|
|
2124
|
+
baseColumn: never;
|
|
2125
|
+
identity: undefined;
|
|
2126
|
+
generated: undefined;
|
|
2127
|
+
}, {}, {}>;
|
|
2128
|
+
edgeId: drizzle_orm_pg_core.PgColumn<{
|
|
2129
|
+
name: "edge_id";
|
|
2130
|
+
tableName: string;
|
|
2131
|
+
dataType: "string";
|
|
2132
|
+
columnType: "PgText";
|
|
2133
|
+
data: string;
|
|
2134
|
+
driverParam: string;
|
|
2135
|
+
notNull: true;
|
|
2136
|
+
hasDefault: false;
|
|
2137
|
+
isPrimaryKey: false;
|
|
2138
|
+
isAutoincrement: false;
|
|
2139
|
+
hasRuntimeDefault: false;
|
|
2140
|
+
enumValues: [string, ...string[]];
|
|
2141
|
+
baseColumn: never;
|
|
2142
|
+
identity: undefined;
|
|
2143
|
+
generated: undefined;
|
|
2144
|
+
}, {}, {}>;
|
|
2145
|
+
updatedAt: drizzle_orm_pg_core.PgColumn<{
|
|
2146
|
+
name: "updated_at";
|
|
2147
|
+
tableName: string;
|
|
2148
|
+
dataType: "date";
|
|
2149
|
+
columnType: "PgTimestamp";
|
|
2150
|
+
data: Date;
|
|
2151
|
+
driverParam: string;
|
|
2152
|
+
notNull: true;
|
|
2153
|
+
hasDefault: false;
|
|
2154
|
+
isPrimaryKey: false;
|
|
2155
|
+
isAutoincrement: false;
|
|
2156
|
+
hasRuntimeDefault: false;
|
|
2157
|
+
enumValues: undefined;
|
|
2158
|
+
baseColumn: never;
|
|
2159
|
+
identity: undefined;
|
|
2160
|
+
generated: undefined;
|
|
2161
|
+
}, {}, {}>;
|
|
2162
|
+
};
|
|
2163
|
+
dialect: "pg";
|
|
2164
|
+
}>;
|
|
2072
2165
|
readonly schemaVersions: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
2073
2166
|
name: string;
|
|
2074
2167
|
schema: undefined;
|
|
@@ -4852,6 +4945,98 @@ declare const tables: {
|
|
|
4852
4945
|
};
|
|
4853
4946
|
dialect: "pg";
|
|
4854
4947
|
}>;
|
|
4948
|
+
readonly edgeClaims: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
4949
|
+
name: string;
|
|
4950
|
+
schema: undefined;
|
|
4951
|
+
columns: {
|
|
4952
|
+
graphId: drizzle_orm_pg_core.PgColumn<{
|
|
4953
|
+
name: "graph_id";
|
|
4954
|
+
tableName: string;
|
|
4955
|
+
dataType: "string";
|
|
4956
|
+
columnType: "PgText";
|
|
4957
|
+
data: string;
|
|
4958
|
+
driverParam: string;
|
|
4959
|
+
notNull: true;
|
|
4960
|
+
hasDefault: false;
|
|
4961
|
+
isPrimaryKey: false;
|
|
4962
|
+
isAutoincrement: false;
|
|
4963
|
+
hasRuntimeDefault: false;
|
|
4964
|
+
enumValues: [string, ...string[]];
|
|
4965
|
+
baseColumn: never;
|
|
4966
|
+
identity: undefined;
|
|
4967
|
+
generated: undefined;
|
|
4968
|
+
}, {}, {}>;
|
|
4969
|
+
axis: drizzle_orm_pg_core.PgColumn<{
|
|
4970
|
+
name: "axis";
|
|
4971
|
+
tableName: string;
|
|
4972
|
+
dataType: "string";
|
|
4973
|
+
columnType: "PgText";
|
|
4974
|
+
data: string;
|
|
4975
|
+
driverParam: string;
|
|
4976
|
+
notNull: true;
|
|
4977
|
+
hasDefault: false;
|
|
4978
|
+
isPrimaryKey: false;
|
|
4979
|
+
isAutoincrement: false;
|
|
4980
|
+
hasRuntimeDefault: false;
|
|
4981
|
+
enumValues: [string, ...string[]];
|
|
4982
|
+
baseColumn: never;
|
|
4983
|
+
identity: undefined;
|
|
4984
|
+
generated: undefined;
|
|
4985
|
+
}, {}, {}>;
|
|
4986
|
+
key: drizzle_orm_pg_core.PgColumn<{
|
|
4987
|
+
name: "key";
|
|
4988
|
+
tableName: string;
|
|
4989
|
+
dataType: "string";
|
|
4990
|
+
columnType: "PgText";
|
|
4991
|
+
data: string;
|
|
4992
|
+
driverParam: string;
|
|
4993
|
+
notNull: true;
|
|
4994
|
+
hasDefault: false;
|
|
4995
|
+
isPrimaryKey: false;
|
|
4996
|
+
isAutoincrement: false;
|
|
4997
|
+
hasRuntimeDefault: false;
|
|
4998
|
+
enumValues: [string, ...string[]];
|
|
4999
|
+
baseColumn: never;
|
|
5000
|
+
identity: undefined;
|
|
5001
|
+
generated: undefined;
|
|
5002
|
+
}, {}, {}>;
|
|
5003
|
+
edgeId: drizzle_orm_pg_core.PgColumn<{
|
|
5004
|
+
name: "edge_id";
|
|
5005
|
+
tableName: string;
|
|
5006
|
+
dataType: "string";
|
|
5007
|
+
columnType: "PgText";
|
|
5008
|
+
data: string;
|
|
5009
|
+
driverParam: string;
|
|
5010
|
+
notNull: true;
|
|
5011
|
+
hasDefault: false;
|
|
5012
|
+
isPrimaryKey: false;
|
|
5013
|
+
isAutoincrement: false;
|
|
5014
|
+
hasRuntimeDefault: false;
|
|
5015
|
+
enumValues: [string, ...string[]];
|
|
5016
|
+
baseColumn: never;
|
|
5017
|
+
identity: undefined;
|
|
5018
|
+
generated: undefined;
|
|
5019
|
+
}, {}, {}>;
|
|
5020
|
+
updatedAt: drizzle_orm_pg_core.PgColumn<{
|
|
5021
|
+
name: "updated_at";
|
|
5022
|
+
tableName: string;
|
|
5023
|
+
dataType: "date";
|
|
5024
|
+
columnType: "PgTimestamp";
|
|
5025
|
+
data: Date;
|
|
5026
|
+
driverParam: string;
|
|
5027
|
+
notNull: true;
|
|
5028
|
+
hasDefault: false;
|
|
5029
|
+
isPrimaryKey: false;
|
|
5030
|
+
isAutoincrement: false;
|
|
5031
|
+
hasRuntimeDefault: false;
|
|
5032
|
+
enumValues: undefined;
|
|
5033
|
+
baseColumn: never;
|
|
5034
|
+
identity: undefined;
|
|
5035
|
+
generated: undefined;
|
|
5036
|
+
}, {}, {}>;
|
|
5037
|
+
};
|
|
5038
|
+
dialect: "pg";
|
|
5039
|
+
}>;
|
|
4855
5040
|
readonly schemaVersions: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
4856
5041
|
name: string;
|
|
4857
5042
|
schema: undefined;
|
|
@@ -6834,6 +7019,98 @@ declare const uniques: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
6834
7019
|
};
|
|
6835
7020
|
dialect: "pg";
|
|
6836
7021
|
}>;
|
|
7022
|
+
declare const edgeClaims: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
7023
|
+
name: string;
|
|
7024
|
+
schema: undefined;
|
|
7025
|
+
columns: {
|
|
7026
|
+
graphId: drizzle_orm_pg_core.PgColumn<{
|
|
7027
|
+
name: "graph_id";
|
|
7028
|
+
tableName: string;
|
|
7029
|
+
dataType: "string";
|
|
7030
|
+
columnType: "PgText";
|
|
7031
|
+
data: string;
|
|
7032
|
+
driverParam: string;
|
|
7033
|
+
notNull: true;
|
|
7034
|
+
hasDefault: false;
|
|
7035
|
+
isPrimaryKey: false;
|
|
7036
|
+
isAutoincrement: false;
|
|
7037
|
+
hasRuntimeDefault: false;
|
|
7038
|
+
enumValues: [string, ...string[]];
|
|
7039
|
+
baseColumn: never;
|
|
7040
|
+
identity: undefined;
|
|
7041
|
+
generated: undefined;
|
|
7042
|
+
}, {}, {}>;
|
|
7043
|
+
axis: drizzle_orm_pg_core.PgColumn<{
|
|
7044
|
+
name: "axis";
|
|
7045
|
+
tableName: string;
|
|
7046
|
+
dataType: "string";
|
|
7047
|
+
columnType: "PgText";
|
|
7048
|
+
data: string;
|
|
7049
|
+
driverParam: string;
|
|
7050
|
+
notNull: true;
|
|
7051
|
+
hasDefault: false;
|
|
7052
|
+
isPrimaryKey: false;
|
|
7053
|
+
isAutoincrement: false;
|
|
7054
|
+
hasRuntimeDefault: false;
|
|
7055
|
+
enumValues: [string, ...string[]];
|
|
7056
|
+
baseColumn: never;
|
|
7057
|
+
identity: undefined;
|
|
7058
|
+
generated: undefined;
|
|
7059
|
+
}, {}, {}>;
|
|
7060
|
+
key: drizzle_orm_pg_core.PgColumn<{
|
|
7061
|
+
name: "key";
|
|
7062
|
+
tableName: string;
|
|
7063
|
+
dataType: "string";
|
|
7064
|
+
columnType: "PgText";
|
|
7065
|
+
data: string;
|
|
7066
|
+
driverParam: string;
|
|
7067
|
+
notNull: true;
|
|
7068
|
+
hasDefault: false;
|
|
7069
|
+
isPrimaryKey: false;
|
|
7070
|
+
isAutoincrement: false;
|
|
7071
|
+
hasRuntimeDefault: false;
|
|
7072
|
+
enumValues: [string, ...string[]];
|
|
7073
|
+
baseColumn: never;
|
|
7074
|
+
identity: undefined;
|
|
7075
|
+
generated: undefined;
|
|
7076
|
+
}, {}, {}>;
|
|
7077
|
+
edgeId: drizzle_orm_pg_core.PgColumn<{
|
|
7078
|
+
name: "edge_id";
|
|
7079
|
+
tableName: string;
|
|
7080
|
+
dataType: "string";
|
|
7081
|
+
columnType: "PgText";
|
|
7082
|
+
data: string;
|
|
7083
|
+
driverParam: string;
|
|
7084
|
+
notNull: true;
|
|
7085
|
+
hasDefault: false;
|
|
7086
|
+
isPrimaryKey: false;
|
|
7087
|
+
isAutoincrement: false;
|
|
7088
|
+
hasRuntimeDefault: false;
|
|
7089
|
+
enumValues: [string, ...string[]];
|
|
7090
|
+
baseColumn: never;
|
|
7091
|
+
identity: undefined;
|
|
7092
|
+
generated: undefined;
|
|
7093
|
+
}, {}, {}>;
|
|
7094
|
+
updatedAt: drizzle_orm_pg_core.PgColumn<{
|
|
7095
|
+
name: "updated_at";
|
|
7096
|
+
tableName: string;
|
|
7097
|
+
dataType: "date";
|
|
7098
|
+
columnType: "PgTimestamp";
|
|
7099
|
+
data: Date;
|
|
7100
|
+
driverParam: string;
|
|
7101
|
+
notNull: true;
|
|
7102
|
+
hasDefault: false;
|
|
7103
|
+
isPrimaryKey: false;
|
|
7104
|
+
isAutoincrement: false;
|
|
7105
|
+
hasRuntimeDefault: false;
|
|
7106
|
+
enumValues: undefined;
|
|
7107
|
+
baseColumn: never;
|
|
7108
|
+
identity: undefined;
|
|
7109
|
+
generated: undefined;
|
|
7110
|
+
}, {}, {}>;
|
|
7111
|
+
};
|
|
7112
|
+
dialect: "pg";
|
|
7113
|
+
}>;
|
|
6837
7114
|
declare const schemaVersions: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
6838
7115
|
name: string;
|
|
6839
7116
|
schema: undefined;
|
|
@@ -7080,4 +7357,4 @@ declare const fulltext: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
7080
7357
|
*/
|
|
7081
7358
|
type PostgresTables = ReturnType<typeof createPostgresTables>;
|
|
7082
7359
|
|
|
7083
|
-
export { type CreatePostgresTablesOptions as C, type PostgresTables as P, type PostgresTableNames as a,
|
|
7360
|
+
export { type CreatePostgresTablesOptions as C, type PostgresTables as P, type PostgresTableNames as a, edges as b, createPostgresTables as c, recordedEdges as d, edgeClaims as e, fulltext as f, recordedNodes as g, nodes as n, recordedClock as r, schemaVersions as s, tables as t, uniques as u };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { a as Store } from '../store-
|
|
4
|
-
import { P as ProfilerOptions, a as ProfileReport } from '../types-
|
|
5
|
-
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-
|
|
1
|
+
import { d as GraphDef, Q as QueryAst } from '../types-6yf0Vv-_.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-6yf0Vv-_.cjs';
|
|
3
|
+
import { a as Store } from '../store-CuFX7fCx.cjs';
|
|
4
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-DzJ4dlzk.cjs';
|
|
5
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-DzJ4dlzk.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../temporal-
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../manager-
|
|
10
|
-
import '../
|
|
7
|
+
import '../temporal-CpyEiRY8.cjs';
|
|
8
|
+
import '../searchable-ClgET_i7.cjs';
|
|
9
|
+
import '../manager-D_t7oK69.cjs';
|
|
10
|
+
import '../resolve-WEW8gWws.cjs';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* A Store with profiling capabilities.
|
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { a as Store } from '../store-
|
|
4
|
-
import { P as ProfilerOptions, a as ProfileReport } from '../types-
|
|
5
|
-
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-
|
|
1
|
+
import { d as GraphDef, Q as QueryAst } from '../types-6yf0Vv-_.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-6yf0Vv-_.js';
|
|
3
|
+
import { a as Store } from '../store-D-ZjXQpW.js';
|
|
4
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-_vVSB9k-.js';
|
|
5
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-_vVSB9k-.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../temporal-
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../manager-
|
|
10
|
-
import '../
|
|
7
|
+
import '../temporal-y0Aep9Su.js';
|
|
8
|
+
import '../searchable-C_UREI9K.js';
|
|
9
|
+
import '../manager-B68OrPR2.js';
|
|
10
|
+
import '../resolve-D_H8MHtq.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* A Store with profiling capabilities.
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
|
|
3
|
+
var chunk2CVDZCXH_cjs = require('../chunk-2CVDZCXH.cjs');
|
|
4
|
+
require('../chunk-FMMW3KX7.cjs');
|
|
5
|
+
var chunkJQKMEKKW_cjs = require('../chunk-JQKMEKKW.cjs');
|
|
6
|
+
require('../chunk-NLX5OWK7.cjs');
|
|
7
|
+
var chunkZGVTNKTX_cjs = require('../chunk-ZGVTNKTX.cjs');
|
|
8
|
+
var chunkNUQ2YFFH_cjs = require('../chunk-NUQ2YFFH.cjs');
|
|
9
|
+
require('../chunk-CRZ56SZU.cjs');
|
|
10
|
+
require('../chunk-DWUDZ66O.cjs');
|
|
11
|
+
var chunkM5MSP3BI_cjs = require('../chunk-M5MSP3BI.cjs');
|
|
12
|
+
require('../chunk-A4C4NJ5U.cjs');
|
|
11
13
|
require('../chunk-NAUA4PW5.cjs');
|
|
12
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-H5IJSROF.cjs');
|
|
13
15
|
require('../chunk-RT5ZY4XA.cjs');
|
|
14
16
|
require('../chunk-HAHNRASW.cjs');
|
|
15
|
-
var
|
|
17
|
+
var chunkRWUWTJQY_cjs = require('../chunk-RWUWTJQY.cjs');
|
|
18
|
+
var chunkX4GDXBOP_cjs = require('../chunk-X4GDXBOP.cjs');
|
|
16
19
|
require('../chunk-A7J2YDDI.cjs');
|
|
17
20
|
var chunkN66HCGCY_cjs = require('../chunk-N66HCGCY.cjs');
|
|
18
21
|
|
|
@@ -34,7 +37,7 @@ function edgeToKey(edge) {
|
|
|
34
37
|
function keyToRef(key) {
|
|
35
38
|
const separatorIndex = key.indexOf(KEY_SEPARATOR);
|
|
36
39
|
if (separatorIndex === -1) {
|
|
37
|
-
throw new
|
|
40
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
38
41
|
"Invalid provenance identity key.",
|
|
39
42
|
{ key },
|
|
40
43
|
{
|
|
@@ -47,12 +50,12 @@ function keyToRef(key) {
|
|
|
47
50
|
return { kind, id };
|
|
48
51
|
}
|
|
49
52
|
function sortedReferences(keys) {
|
|
50
|
-
return [...keys].toSorted((left, right) =>
|
|
53
|
+
return [...keys].toSorted((left, right) => chunkRWUWTJQY_cjs.compareStrings(left, right)).map((key) => keyToRef(key));
|
|
51
54
|
}
|
|
52
55
|
function parseNodeProps(row) {
|
|
53
|
-
const parsed =
|
|
56
|
+
const parsed = chunkNUQ2YFFH_cjs.rowPropsToObject(row.props);
|
|
54
57
|
if (!chunkN66HCGCY_cjs.isPlainObject(parsed)) {
|
|
55
|
-
throw new
|
|
58
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
56
59
|
`Node ${row.kind}/${row.id} props are not an object.`,
|
|
57
60
|
{ kind: row.kind, id: row.id }
|
|
58
61
|
);
|
|
@@ -64,7 +67,7 @@ function sourceRetractedState(row, retractedField) {
|
|
|
64
67
|
const value = props[retractedField];
|
|
65
68
|
if (value === void 0) return "available";
|
|
66
69
|
if (typeof value !== "boolean") {
|
|
67
|
-
throw new
|
|
70
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
68
71
|
`Provenance source field "${retractedField}" must contain a boolean value.`,
|
|
69
72
|
{ kind: row.kind, id: row.id, field: retractedField },
|
|
70
73
|
{
|
|
@@ -82,26 +85,26 @@ function normalizeConfig(graph, config) {
|
|
|
82
85
|
const derivesKind = config.derives.kind;
|
|
83
86
|
const retractedField = config.source.retractedField ?? DEFAULT_RETRACTED_FIELD;
|
|
84
87
|
if (sourceKinds.length === 0) {
|
|
85
|
-
throw new
|
|
88
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
86
89
|
"Provenance retraction requires at least one source kind.",
|
|
87
90
|
{ role: "source" }
|
|
88
91
|
);
|
|
89
92
|
}
|
|
90
93
|
if (factKinds.length === 0) {
|
|
91
|
-
throw new
|
|
94
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
92
95
|
"Provenance retraction requires at least one fact kind.",
|
|
93
96
|
{ role: "fact" }
|
|
94
97
|
);
|
|
95
98
|
}
|
|
96
99
|
const duplicateSourceKinds = duplicateValues(sourceKinds);
|
|
97
100
|
if (duplicateSourceKinds.length > 0) {
|
|
98
|
-
throw new
|
|
101
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError("Provenance source kinds must be unique.", {
|
|
99
102
|
duplicateSourceKinds
|
|
100
103
|
});
|
|
101
104
|
}
|
|
102
105
|
const duplicateFactKinds = duplicateValues(factKinds);
|
|
103
106
|
if (duplicateFactKinds.length > 0) {
|
|
104
|
-
throw new
|
|
107
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError("Provenance fact kinds must be unique.", {
|
|
105
108
|
duplicateFactKinds
|
|
106
109
|
});
|
|
107
110
|
}
|
|
@@ -119,7 +122,7 @@ function normalizeConfig(graph, config) {
|
|
|
119
122
|
if (factKinds.some(
|
|
120
123
|
(kind) => sourceKinds.includes(kind) || kind === justificationKind
|
|
121
124
|
)) {
|
|
122
|
-
throw new
|
|
125
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
123
126
|
"Provenance fact kinds must be distinct from source and justification kinds.",
|
|
124
127
|
{ sourceKinds, justificationKind, factKinds }
|
|
125
128
|
);
|
|
@@ -157,11 +160,11 @@ function duplicateValues(values) {
|
|
|
157
160
|
}
|
|
158
161
|
seen.add(value);
|
|
159
162
|
}
|
|
160
|
-
return [...duplicates].toSorted((left, right) =>
|
|
163
|
+
return [...duplicates].toSorted((left, right) => chunkRWUWTJQY_cjs.compareStrings(left, right));
|
|
161
164
|
}
|
|
162
165
|
function assertKind(records, kind, role, noun, graphId) {
|
|
163
166
|
if (Object.hasOwn(records, kind)) return;
|
|
164
|
-
throw new
|
|
167
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
165
168
|
`Provenance ${role} kind "${kind}" is not a ${noun} kind in this graph.`,
|
|
166
169
|
{ role, kind, graphId }
|
|
167
170
|
);
|
|
@@ -170,7 +173,7 @@ function assertSourceField(graph, sourceKind, retractedField) {
|
|
|
170
173
|
const registration = graph.nodes[sourceKind];
|
|
171
174
|
if (registration === void 0) return;
|
|
172
175
|
if (Object.hasOwn(registration.type.schema.shape, retractedField)) return;
|
|
173
|
-
throw new
|
|
176
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
174
177
|
`Provenance source kind "${sourceKind}" must include field "${retractedField}".`,
|
|
175
178
|
{ sourceKind, retractedField },
|
|
176
179
|
{
|
|
@@ -185,14 +188,14 @@ function assertEdgeEndpoints(graph, edgeKind, expected) {
|
|
|
185
188
|
const toKinds = new Set(registration.to.map((node) => node.kind));
|
|
186
189
|
for (const kind of expected.fromKinds) {
|
|
187
190
|
if (fromKinds.has(kind)) continue;
|
|
188
|
-
throw new
|
|
191
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
189
192
|
`Provenance ${expected.role} edge "${edgeKind}" cannot start at "${kind}".`,
|
|
190
193
|
{ edgeKind, role: expected.role, expectedFrom: kind }
|
|
191
194
|
);
|
|
192
195
|
}
|
|
193
196
|
for (const kind of expected.toKinds) {
|
|
194
197
|
if (toKinds.has(kind)) continue;
|
|
195
|
-
throw new
|
|
198
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
196
199
|
`Provenance ${expected.role} edge "${edgeKind}" cannot end at "${kind}".`,
|
|
197
200
|
{ edgeKind, role: expected.role, expectedTo: kind }
|
|
198
201
|
);
|
|
@@ -208,7 +211,7 @@ async function findNodeRows(backend, graphId, kind, options) {
|
|
|
208
211
|
orderBy: "id"
|
|
209
212
|
});
|
|
210
213
|
return rows.filter(
|
|
211
|
-
(row) =>
|
|
214
|
+
(row) => chunkM5MSP3BI_cjs.validityWindowContainsInstant(row.valid_from, row.valid_to, options.asOf)
|
|
212
215
|
);
|
|
213
216
|
}
|
|
214
217
|
return backend.findNodesByKind({
|
|
@@ -297,7 +300,7 @@ function buildSupportEdges(config, rows) {
|
|
|
297
300
|
};
|
|
298
301
|
}
|
|
299
302
|
async function loadSupportGraph(backend, graphId, config) {
|
|
300
|
-
const asOf =
|
|
303
|
+
const asOf = chunkM5MSP3BI_cjs.nowIso();
|
|
301
304
|
const roles = await readRoles(backend, graphId, config, asOf);
|
|
302
305
|
const supportEdges = buildSupportEdges(config, roles);
|
|
303
306
|
const sourceRowsByKind = await Promise.all(
|
|
@@ -405,7 +408,7 @@ function buildReport(before, after, affected) {
|
|
|
405
408
|
const unaffected = sortedReferences(
|
|
406
409
|
believedBefore.filter((key) => !affected.has(key))
|
|
407
410
|
);
|
|
408
|
-
const survivedVia = [...affected].filter((key) => after.supportedFactKeys.has(key)).toSorted((left, right) =>
|
|
411
|
+
const survivedVia = [...affected].filter((key) => after.supportedFactKeys.has(key)).toSorted((left, right) => chunkRWUWTJQY_cjs.compareStrings(left, right)).map((key) => ({
|
|
409
412
|
fact: keyToRef(key),
|
|
410
413
|
via: sortedReferences(
|
|
411
414
|
after.firingJustificationKeysByFact.get(key) ?? []
|
|
@@ -428,21 +431,21 @@ async function synchronizeFactCurrency(backend, store, runHooks, snapshot, affec
|
|
|
428
431
|
snapshot,
|
|
429
432
|
affected,
|
|
430
433
|
(key) => !snapshot.supportedFactKeys.has(key),
|
|
431
|
-
|
|
434
|
+
chunkNUQ2YFFH_cjs.isLiveNodeRow,
|
|
432
435
|
(row) => closeFactCurrency(backend, store, runHooks, row, lock)
|
|
433
436
|
);
|
|
434
437
|
await forEachAffectedFact(
|
|
435
438
|
snapshot,
|
|
436
439
|
affected,
|
|
437
440
|
(key) => snapshot.supportedFactKeys.has(key),
|
|
438
|
-
|
|
441
|
+
chunkNUQ2YFFH_cjs.isTombstonedNodeRow,
|
|
439
442
|
(row) => reopenFactCurrency(backend, store, runHooks, row, lock)
|
|
440
443
|
);
|
|
441
444
|
}
|
|
442
445
|
function getFactRegistration(store, row) {
|
|
443
446
|
const registration = store.graph.nodes[row.kind];
|
|
444
447
|
if (registration !== void 0) return registration;
|
|
445
|
-
throw new
|
|
448
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
446
449
|
`Provenance fact kind "${row.kind}" is not a node kind in this graph.`,
|
|
447
450
|
{ kind: row.kind, graphId: store.graphId }
|
|
448
451
|
);
|
|
@@ -450,8 +453,14 @@ function getFactRegistration(store, row) {
|
|
|
450
453
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
451
454
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
452
455
|
const registration = getFactRegistration(store, row);
|
|
453
|
-
await
|
|
454
|
-
|
|
456
|
+
await chunk2CVDZCXH_cjs.applyNodeSoftDelete(
|
|
457
|
+
chunk2CVDZCXH_cjs.createNodeWriteContext(
|
|
458
|
+
store.graphId,
|
|
459
|
+
store.registry,
|
|
460
|
+
lock,
|
|
461
|
+
chunkZGVTNKTX_cjs.createClaimsVerdictThunk(chunk2CVDZCXH_cjs.storeBackend(store)),
|
|
462
|
+
chunkN66HCGCY_cjs.requireDefined(chunk2CVDZCXH_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
463
|
+
),
|
|
455
464
|
{
|
|
456
465
|
existing: row,
|
|
457
466
|
schema: registration.type.schema,
|
|
@@ -466,8 +475,14 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
466
475
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
467
476
|
await runHooks("update", row.kind, row.id, async () => {
|
|
468
477
|
const registration = getFactRegistration(store, row);
|
|
469
|
-
await
|
|
470
|
-
|
|
478
|
+
await chunk2CVDZCXH_cjs.applyNodeResurrect(
|
|
479
|
+
chunk2CVDZCXH_cjs.createNodeWriteContext(
|
|
480
|
+
store.graphId,
|
|
481
|
+
store.registry,
|
|
482
|
+
lock,
|
|
483
|
+
chunkZGVTNKTX_cjs.createClaimsVerdictThunk(chunk2CVDZCXH_cjs.storeBackend(store)),
|
|
484
|
+
chunkN66HCGCY_cjs.requireDefined(chunk2CVDZCXH_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
485
|
+
),
|
|
471
486
|
{
|
|
472
487
|
existing: row,
|
|
473
488
|
schema: registration.type.schema,
|
|
@@ -480,7 +495,7 @@ async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
480
495
|
function getTransactionNodeCollection(tx, kind) {
|
|
481
496
|
const collection = tx.getNodeCollection(kind);
|
|
482
497
|
if (collection !== void 0) return collection;
|
|
483
|
-
throw new
|
|
498
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
484
499
|
`Provenance source kind "${kind}" is not available on this transaction.`,
|
|
485
500
|
{ kind }
|
|
486
501
|
);
|
|
@@ -493,14 +508,14 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
493
508
|
const uniqueSources = uniqueNodeReferences(sources);
|
|
494
509
|
for (const source of uniqueSources) {
|
|
495
510
|
if (config.sourceKinds.includes(source.kind)) continue;
|
|
496
|
-
throw new
|
|
511
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
497
512
|
`Provenance retraction source must be one of: ${config.sourceKinds.join(", ")}.`,
|
|
498
513
|
{ expectedKinds: config.sourceKinds, actualKind: source.kind }
|
|
499
514
|
);
|
|
500
515
|
}
|
|
501
516
|
return store.transaction(async (tx) => {
|
|
502
|
-
const backend =
|
|
503
|
-
const lock = await
|
|
517
|
+
const backend = chunk2CVDZCXH_cjs.transactionBackend(tx);
|
|
518
|
+
const lock = await chunkJQKMEKKW_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
504
519
|
const rows = await Promise.all(
|
|
505
520
|
uniqueSources.map(
|
|
506
521
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -509,7 +524,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
509
524
|
const sourceRows = uniqueSources.map((source, index) => {
|
|
510
525
|
const sourceRow = rows[index];
|
|
511
526
|
if (sourceRow === void 0 || sourceRow.deleted_at !== void 0) {
|
|
512
|
-
throw new
|
|
527
|
+
throw new chunkX4GDXBOP_cjs.NodeNotFoundError(source.kind, source.id);
|
|
513
528
|
}
|
|
514
529
|
return { source, row: sourceRow };
|
|
515
530
|
});
|
|
@@ -536,7 +551,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
536
551
|
await synchronizeFactCurrency(
|
|
537
552
|
backend,
|
|
538
553
|
store,
|
|
539
|
-
|
|
554
|
+
chunk2CVDZCXH_cjs.transactionNodeOperationHookRunner(tx),
|
|
540
555
|
after,
|
|
541
556
|
affected,
|
|
542
557
|
lock
|
|
@@ -562,8 +577,8 @@ function createRetractionCapability(store, config) {
|
|
|
562
577
|
unRetractMany: (sources) => transition(sources, false),
|
|
563
578
|
async holding() {
|
|
564
579
|
return store.transaction(async (tx) => {
|
|
565
|
-
const backend =
|
|
566
|
-
await
|
|
580
|
+
const backend = chunk2CVDZCXH_cjs.transactionBackend(tx);
|
|
581
|
+
await chunkJQKMEKKW_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
567
582
|
const snapshot = await computeSupport(
|
|
568
583
|
backend,
|
|
569
584
|
store.graphId,
|
|
@@ -578,7 +593,7 @@ function createRetractionCapability(store, config) {
|
|
|
578
593
|
}
|
|
579
594
|
function assertRetractionHistoryEnabled(store) {
|
|
580
595
|
if (!store.historyEnabled) {
|
|
581
|
-
throw new
|
|
596
|
+
throw new chunkX4GDXBOP_cjs.ConfigurationError(
|
|
582
597
|
"createRetractionCapability requires a store created with { history: true }.",
|
|
583
598
|
{ graphId: store.graphId },
|
|
584
599
|
{
|