@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
package/dist/backend/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export { D as
|
|
3
|
-
|
|
1
|
+
import { e as GraphBackend } from '../types-6yf0Vv-_.js';
|
|
2
|
+
export { f as ALL_FULLTEXT_MODES, g as ALL_META_EDGE_NAMES, A as AdapterBackend, h as AdapterBackendTransactions, i as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, j as BackendIdentity, k as BackendLifecycle, l as BackendMaintenance, m as BackendTransactions, n as Cardinality, o as CheckUniqueBatchParams, p as CheckUniqueParams, q as ClaimEdgeCardinalityParams, r as ClaimIndexMaterializationParams, s as Collation, t as CommitSchemaVersionExpected, u as CommitSchemaVersionIfKindsEmptyResult, v as CommitSchemaVersionParams, w as CompiledRowsSql, x as CompiledSelectSql, y as CompiledStatementSql, z as CompiledTemporaryStatementSql, D as ConstraintFenceViolationRows, E as ContendedEdgeRow, H as ContendedUniqueRow, L as ContributionCapabilities, C as ContributionDiagnostic, a as ContributionDiagnosticState, M as ContributionMaterializationBackend, N as ContributionMaterializationIdentity, O as ContributionMaterializationRow, P as ContributionProbeContribution, R as ContributionProbeEntry, S as ContributionProbeResult, U as ContributionProbeState, W as ContributionRebuildResult, X as ContributionRebuildScope, b as ContributionRepairEntry, c as ContributionRepairResult, Y as ContributionRepopulationStats, Z as CountEdgesByKindParams, _ as CountEdgesFromParams, $ as CountNodesByKindParams, a0 as CreateVectorIndexParams, a1 as D1_MAX_BIND_PARAMETERS, a2 as DATABASE_EXTENSION_NAMES, a3 as DURABLE_OBJECT_MAX_BIND_PARAMETERS, a4 as DatabaseExtensionName, a5 as DeleteBehavior, a6 as DeleteEdgeParams, a7 as DeleteEdgesBatchParams, a8 as DeleteEmbeddingParams, a9 as DeleteFulltextBatchParams, aa as DeleteFulltextParams, ab as DeleteNodeParams, ac as DeleteUniqueParams, ad as DialectAdapter, ae as DialectCapabilities, af as DialectRecursiveQueryStrategy, ag as DialectStandardQueryStrategy, ah as DialectVectorPredicateStrategy, ai as DisjointOverlapRow, aj as DropVectorIndexParams, ak as EdgeCardinalityDeclaration, al as EdgeClaimOutcome, am as EdgeEntityReadBackend, an as EdgeEntityWriteBackend, ao as EdgeExistsBetweenParams, ap as EdgeIndexDeclaration, aq as EdgeIndexDirection, ar as EdgeRow, as as EndpointExistence, at as ExtensionArrayItemType, au as ExtensionArrayProperty, av as ExtensionBooleanProperty, aw as ExtensionEdgeDef, ax as ExtensionEdgeIndex, ay as ExtensionEmbeddingModifier, az as ExtensionEnumProperty, aA as ExtensionIndex, aB as ExtensionIndexWhere, aC as ExtensionNodeDef, aD as ExtensionNodeIndex, aE as ExtensionNumberProperty, aF as ExtensionObjectFieldProperty, aG as ExtensionObjectProperty, aH as ExtensionOntologyRelation, aI as ExtensionPropertyModifiers, aJ as ExtensionPropertyType, aK as ExtensionSearchableModifier, aL as ExtensionStringProperty, aM as ExtensionUniqueConstraint, aN as ExtensionUniqueWhere, aO as FULLTEXT_CONTRIBUTION_NAME, aP as FilteredApproximateSearch, aQ as FilteredApproximateSearchMode, aR as FindEdgesByEndpointSetParams, aS as FindEdgesByHeterogeneousEndpointSetParams, aT as FindEdgesByKindParams, aU as FindEdgesConnectedToParams, aV as FindNodesByKindParams, aW as FulltextBatchRow, aX as FulltextCapabilities, aY as FulltextOperationBackend, aZ as FulltextQueryMode, a_ as FulltextSearchParams, a$ as FulltextSearchResult, F as FulltextStrategy, b0 as GraphAnalyticsCapabilities, b1 as GraphEntityReadBackend, b2 as GraphEntityWriteBackend, b3 as GraphExtension, b4 as GraphExtensionVersion, G as GraphIdentityConfig, b5 as GraphLifecycleBackend, b6 as GraphReadBackend, b7 as HardDeleteEdgeParams, b8 as HardDeleteNodeParams, b9 as HardDeleteUniquesByConcreteKindParams, ba as HardDeleteUniquesByNodeIdsParams, bb as HybridSearchParams, bc as HybridSearchRow, bd as IdentityTableNames, be as InListParameterOptions, I as IndexDeclaration, bf as IndexDeclarationBase, bg as IndexEntity, bh as IndexMaterializationBackend, bi as IndexMaterializationRow, bj as IndexOrigin, bk as IndexScope, bl as IndexWhereExpression, bm as IndexWhereLiteral, bn as IndexWhereOp, bo as IndexWhereOperand, bp as InferenceType, bq as InsertEdgeParams, br as InsertNodeParams, bs as InsertSchemaParams, bt as InsertUniqueParams, bu as IntentSql, J as JsonPointer, bv as JsonSchema, bw as JsonValue, bx as KindAnnotations, K as KindEntity, by as KindRemovalRow, bz as LiveNodeRow, bA as LockSchemaVersionForWriteParams, bB as MODERN_SQLITE_MAX_BIND_PARAMETERS, bC as MetaEdgeName, bD as NodeEntityReadBackend, bE as NodeEntityWriteBackend, bF as NodeIndexDeclaration, bG as NodeRow, bH as NullCheckOp, bI as POSTGRES_CAPABILITIES, bJ as POSTGRES_MAX_BIND_PARAMETERS, bK as PessimisticLockCapabilities, bL as Placeholder, bM as PopulatedSchemaKind, bN as PurgeEdgeClaimsParams, bO as QueryExecutionBackend, bP as RawQueryExecutionBackend, bQ as RawStatementExecutionBackend, bR as ReadConstraintFenceViolationsParams, bS as RecordContributionMaterializationParams, bT as RecordIndexMaterializationParams, bU as RecordKindRemovalParams, bV as RecordedRelationDdl, bW as RecordedTableNames, bX as RecursiveTraversalCapability, bY as RecursiveTraversalVerdict, bZ as RelationalIndexDeclaration, b_ as RelationalIndexMethod, b$ as ReleaseIndexMaterializationClaimParams, c0 as RemovalMaterializationBackend, c1 as RenderedSql, c2 as ResolvedSqlTableNames, c3 as RowProps, c4 as SQLITE_CAPABILITIES, c5 as SQLITE_MAX_BIND_PARAMETERS, c6 as SchemaCommitBackend, c7 as SchemaCommitPreflightBackend, c8 as SchemaKindEmptinessProbe, c9 as SchemaReadBackend, ca as SchemaVersionRow, cb as SchemaWriteFenceBackend, cc as SerializedClosures, cd as SerializedEdgeDef, ce as SerializedMetaEdge, cf as SerializedNodeDef, cg as SerializedOntology, ch as SerializedOntologyRelation, ci as SerializedSchema, cj as SerializedUniqueConstraint, ck as SetActiveVersionParams, cl as SqlChunk, cm as SqlCompilationBackend, cn as SqlDialect, co as SqlFragment, cp as SqlIdentifierChunk, cq as SqlIntent, cr as SqlParameterChunk, cs as SqlPlaceholderChunk, ct as SqlTableNames, cu as SqlTag, cv as SqlTextChunk, cw as StrategyTableContribution, cx as SystemColumnName, cy as TableContribution, T as TemporalMode, cz as TombstonedNodeRow, cA as TransactionBackend, cB as TransactionOptions, cC as TransactionReadBackend, cD as TrustedImportOptions, cE as TrustedImportSession, cF as UniqueConstraintBackend, cG as UniqueRow, cH as UniquenessScope, cI as UpdateEdgeParams, cJ as UpdateNodeParams, cK as UpdateNodeSetParams, cL as UpdateNodeSetResult, cM as UpsertEmbeddingBatchParams, cN as UpsertEmbeddingBatchRow, cO as UpsertEmbeddingParams, cP as UpsertFulltextBatchParams, cQ as UpsertFulltextParams, cR as VECTOR_CONTRIBUTION_PREFIX, cS as ValueType, cT as VectorCapabilities, cU as VectorIndexDeclaration, cV as VectorIndexImplementation, cW as VectorIndexMetric, cX as VectorIndexParams, cY as VectorIndexType, cZ as VectorMetric, c_ as VectorOperationBackend, c$ as VectorSearchFrontierTuning, d0 as VectorSearchParams, d1 as VectorSearchResult, d2 as VectorSlot, V as VectorStrategy, d3 as WriteFencePlan, d4 as assertFiniteEmbedding, d5 as assertRecursiveTraversal, d6 as assertVectorMinScore, d7 as assertVectorSearchLimit, d8 as assumeRecursiveTraversalSupported, d9 as buildFulltextCapabilities, da as buildVectorCapabilities, db as fts5Strategy, dc as isLiveNodeRow, dd as isSqlFragment, de as isSqlPlaceholder, df as isTombstonedNodeRow, dg as normalizeGraphAnalyticsCapabilities, dh as quoteIdentifier, di as recursiveTraversalUnsupportedError, dj as renderPostgres, dk as renderSql, dl as renderSqlInline, dm as renderSqlite, dn as requireWriteFence, dp as resolveRecursiveTraversal, dq as resolveWriteFencePlan, dr as rowPropsToJsonText, ds as rowPropsToObject, dt as shortHash, du as sql, dv as tsvectorStrategy, dw as vectorMinScoreCondition, dx as vectorPhysicalName, dy as vectorScoreExpression } from '../types-6yf0Vv-_.js';
|
|
3
|
+
import { O as OptionalGraphBackendMember, E as ExtraMember, B as BATCH_POINT_READ, a as ExtrasOf, b as BundleVerdictOf, G as GatedBundleDefinition, c as ExtraVerdict, C as CapabilityBundleId, d as CLAIMS, e as CONTRIBUTION_HEALTH, R as RECORDED_REVISION_ORIGINS, S as STATEMENT_EXECUTION, U as UNIQUE_SIDECAR_BATCH } from '../resolve-D_H8MHtq.js';
|
|
4
|
+
export { f as CAPABILITY_BUNDLES, g as CapabilityBundleDefinition, h as CapabilityBundleDisposition, i as CapabilityBundleExtra, j as CapabilityBundleOperation, k as CapabilityBundleOperationSite, l as CapabilityCrossCheck, m as CapabilityExtraSpec, n as ClaimsVerdictThunk, D as DeferredUnbundledMember, o as ExtraVerdicts, p as GatedBundleVerdict, q as GraduatedBundleDefinition, r as GraduatedBundleVerdict, s as OperationNames, t as OptionalKeys, u as ReasonedUnbundledMember, v as RequiredExtrasOf, w as SpecOf, x as UNBUNDLED_OPTIONAL_MEMBERS, y as UnbundledOptionalMember, W as WS5B_SEED_BUNDLES, z as Ws5bBundleId, A as batchPointReadVerdict, F as claimsVerdict, H as contributionHealthVerdict, I as createClaimsVerdictThunk, J as missingRequiredExtras, K as recordedRevisionOriginsVerdict, L as requireExtras, M as resolveBundle, N as statementExecutionVerdict, P as uniqueSidecarBatchVerdict } from '../resolve-D_H8MHtq.js';
|
|
5
|
+
export { D as DeleteLegacyRecordedAnchorMapOptions, M as MigrateLegacyRecordedTimeOptions, a as MigrateLegacyRecordedTimeResult, b as MigrateRecordedAnchorOptions, R as RepairInvertedWindowsOptions, c as RepairInvertedWindowsReport, d as RepairRelation, e as RepairRelationScope, f as deleteLegacyRecordedAnchorMap, m as migrateLegacyRecordedTime, g as migrateRecordedAnchor, r as repairInvertedValidityWindows } from '../repair-validity-windows-GMdaS2AH.js';
|
|
6
|
+
export { R as RecordedInstant } from '../temporal-y0Aep9Su.js';
|
|
4
7
|
import 'zod';
|
|
5
8
|
|
|
6
9
|
/**
|
|
@@ -40,4 +43,87 @@ import 'zod';
|
|
|
40
43
|
*/
|
|
41
44
|
declare function resolveStampedValidityLowerBound(statedValidFrom: string | null | undefined, validTo: string | undefined, writeInstant: string): string | undefined;
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
/**
|
|
47
|
+
* I21. The brand is what makes a BOUND member type-distinguishable from a
|
|
48
|
+
* PORT member: without it, `binding.getNodes` at a rewired site still has a
|
|
49
|
+
* receiver assignable to `Pick<GraphBackend, …>`, and a syntactic scanner
|
|
50
|
+
* could never tell a bound value from an unbound one.
|
|
51
|
+
*/
|
|
52
|
+
declare const BUNDLE_BINDING: unique symbol;
|
|
53
|
+
/** Every named member, guaranteed present — bound off the port, never a port member itself. */
|
|
54
|
+
type BundleBinding<M extends OptionalGraphBackendMember> = Required<Pick<GraphBackend, M>> & Readonly<{
|
|
55
|
+
[BUNDLE_BINDING]: true;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* The graduated twin of {@link BundleBinding}: a bundle with no required
|
|
59
|
+
* core cannot promise every member is present, so its bundle-wide "members"
|
|
60
|
+
* accessor (`uniqueSidecarBatchMembers`, `batchPointReadMembers`,
|
|
61
|
+
* `contributionHealthMembers`) reports whichever extras the verdict marks
|
|
62
|
+
* present — never all of them by construction, and never a cast that claims
|
|
63
|
+
* otherwise.
|
|
64
|
+
*/
|
|
65
|
+
type PartialBundleBinding<M extends OptionalGraphBackendMember> = Readonly<Partial<Pick<GraphBackend, M>>> & Readonly<{
|
|
66
|
+
[BUNDLE_BINDING]: true;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* Bind a gated bundle's core off the port the calls execute on. The port
|
|
70
|
+
* parameter is the STRUCTURAL MINIMUM over the members (ruling B-1), so
|
|
71
|
+
* every one of the pilot's receiver shapes is accepted:
|
|
72
|
+
* `GraphBackend`, `TransactionBackend`, `WriteTarget`, `IdentityTarget`,
|
|
73
|
+
* `Pick<GraphBackend, "dialect" | "executeStatement">` and the
|
|
74
|
+
* `RevisionOriginBackend`-shaped `Pick<GraphBackend, "dialect" |
|
|
75
|
+
* "ensureRevisionOriginsTable" | "execute" | "executeStatement">`.
|
|
76
|
+
*
|
|
77
|
+
* @throws {ConfigurationError} with the bundle's `portSurfaceCode` when the
|
|
78
|
+
* verdict says a core member is present and the port lacks it (I20).
|
|
79
|
+
*/
|
|
80
|
+
declare function bindCore<const D extends GatedBundleDefinition<OptionalGraphBackendMember, string, OptionalGraphBackendMember>, M extends D["core"][number]>(port: Readonly<Partial<Pick<GraphBackend, M>>>, verdict: Extract<BundleVerdictOf<D>, {
|
|
81
|
+
supported: true;
|
|
82
|
+
}>, definition: D): BundleBinding<M>;
|
|
83
|
+
/**
|
|
84
|
+
* Bind one graduated extra. Takes the EXTRA's own verdict, not the bundle's:
|
|
85
|
+
* `requireExtras` (`resolve.ts`) narrows `verdict.extras.someExtra` at an
|
|
86
|
+
* `if`/assertion, not `verdict` as a whole, so a signature demanding the
|
|
87
|
+
* whole narrowed verdict would compile only after that call — the common
|
|
88
|
+
* case is the fallback branch, which never calls `requireExtras` at all.
|
|
89
|
+
*
|
|
90
|
+
* @throws {ConfigurationError} with the bundle's `portSurfaceCode` when the
|
|
91
|
+
* extra verdict says present and the port lacks the member (I20).
|
|
92
|
+
*/
|
|
93
|
+
declare function bindExtra<const M extends OptionalGraphBackendMember>(port: Readonly<Partial<Pick<GraphBackend, M>>>, extraVerdict: Extract<ExtraVerdict<M>, {
|
|
94
|
+
present: true;
|
|
95
|
+
}>, bundle: CapabilityBundleId): BundleBinding<M>;
|
|
96
|
+
/**
|
|
97
|
+
* The FALLBACK arm of I20's disposition-keyed port-mismatch split (ruling,
|
|
98
|
+
* B8 blocker): binds an extra when the verdict says it is present AND the
|
|
99
|
+
* port can reach it, otherwise returns `undefined` — collapsing "the verdict
|
|
100
|
+
* says absent" and "the port cannot reach it" into the site's single declared
|
|
101
|
+
* fallback, which is exactly the shape a `fallback`-dispositioned row already
|
|
102
|
+
* has. Used ONLY at call sites whose registry operation row disposes
|
|
103
|
+
* `fallback`; a `refuse` row keeps calling {@link bindExtra} (or
|
|
104
|
+
* {@link bindCore}) so its port mismatch still throws (I20's REFUSE arm).
|
|
105
|
+
*
|
|
106
|
+
* Deliberately does NOT consult the row's disposition itself: an extra's own
|
|
107
|
+
* disposition and its operation row's disposition can differ (`
|
|
108
|
+
* checkUniqueBatch` is a `fallback` extra owned by both a `fallback` row and
|
|
109
|
+
* two `refuse` rows), so only the call site — which knows which row it is —
|
|
110
|
+
* can choose the arm.
|
|
111
|
+
*/
|
|
112
|
+
declare function bindExtraIfReachable<const M extends OptionalGraphBackendMember>(port: Readonly<Partial<Pick<GraphBackend, M>>>, extraVerdict: ExtraVerdict<M>, bundle: CapabilityBundleId): BundleBinding<M> | undefined;
|
|
113
|
+
declare function claimsMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof CLAIMS)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof CLAIMS>, {
|
|
114
|
+
supported: true;
|
|
115
|
+
}>): BundleBinding<(typeof CLAIMS)["core"][number]>;
|
|
116
|
+
declare function statementExecutionMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof STATEMENT_EXECUTION)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof STATEMENT_EXECUTION>, {
|
|
117
|
+
supported: true;
|
|
118
|
+
}>): BundleBinding<(typeof STATEMENT_EXECUTION)["core"][number]>;
|
|
119
|
+
declare function recordedRevisionOriginsMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof RECORDED_REVISION_ORIGINS)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof RECORDED_REVISION_ORIGINS>, {
|
|
120
|
+
supported: true;
|
|
121
|
+
}>): BundleBinding<(typeof RECORDED_REVISION_ORIGINS)["core"][number]>;
|
|
122
|
+
type UniqueSidecarBatchExtraMember = ExtraMember<typeof UNIQUE_SIDECAR_BATCH, keyof ExtrasOf<typeof UNIQUE_SIDECAR_BATCH>>;
|
|
123
|
+
declare function uniqueSidecarBatchMembers(port: Readonly<Partial<Pick<GraphBackend, UniqueSidecarBatchExtraMember>>>, verdict: BundleVerdictOf<typeof UNIQUE_SIDECAR_BATCH>): PartialBundleBinding<UniqueSidecarBatchExtraMember>;
|
|
124
|
+
type BatchPointReadExtraMember = ExtraMember<typeof BATCH_POINT_READ, keyof ExtrasOf<typeof BATCH_POINT_READ>>;
|
|
125
|
+
declare function batchPointReadMembers(port: Readonly<Partial<Pick<GraphBackend, BatchPointReadExtraMember>>>, verdict: BundleVerdictOf<typeof BATCH_POINT_READ>): PartialBundleBinding<BatchPointReadExtraMember>;
|
|
126
|
+
type ContributionHealthExtraMember = ExtraMember<typeof CONTRIBUTION_HEALTH, keyof ExtrasOf<typeof CONTRIBUTION_HEALTH>>;
|
|
127
|
+
declare function contributionHealthMembers(port: Readonly<Partial<Pick<GraphBackend, ContributionHealthExtraMember>>>, verdict: BundleVerdictOf<typeof CONTRIBUTION_HEALTH>): PartialBundleBinding<ContributionHealthExtraMember>;
|
|
128
|
+
|
|
129
|
+
export { BATCH_POINT_READ, type BundleBinding, BundleVerdictOf, CLAIMS, CONTRIBUTION_HEALTH, CapabilityBundleId, ExtraMember, ExtraVerdict, ExtrasOf, GatedBundleDefinition, GraphBackend, OptionalGraphBackendMember, type PartialBundleBinding, RECORDED_REVISION_ORIGINS, STATEMENT_EXECUTION, UNIQUE_SIDECAR_BATCH, batchPointReadMembers, bindCore, bindExtra, bindExtraIfReachable, claimsMembers, contributionHealthMembers, recordedRevisionOriginsMembers, resolveStampedValidityLowerBound, statementExecutionMembers, uniqueSidecarBatchMembers };
|
package/dist/backend/index.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { resolveStampedValidityLowerBound } from '../chunk-5K2BKEBD.js';
|
|
8
|
-
import '../chunk-SDBBMD4N.js';
|
|
1
|
+
export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from '../chunk-I5IOSA27.js';
|
|
2
|
+
import '../chunk-IRCWIA3R.js';
|
|
3
|
+
export { assertRecursiveTraversal, assumeRecursiveTraversalSupported, batchPointReadVerdict, claimsVerdict, contributionHealthVerdict, createClaimsVerdictThunk, missingRequiredExtras, recordedRevisionOriginsVerdict, recursiveTraversalUnsupportedError, requireExtras, resolveBundle, resolveRecursiveTraversal, statementExecutionVerdict, uniqueSidecarBatchVerdict } from '../chunk-XORONCV3.js';
|
|
4
|
+
export { BATCH_POINT_READ, CAPABILITY_BUNDLES, CLAIMS, CONTRIBUTION_HEALTH, D1_MAX_BIND_PARAMETERS, DATABASE_EXTENSION_NAMES, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, RECORDED_REVISION_ORIGINS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, STATEMENT_EXECUTION, UNBUNDLED_OPTIONAL_MEMBERS, UNIQUE_SIDECAR_BATCH, WS5B_SEED_BUNDLES, batchPointReadMembers, bindCore, bindExtra, bindExtraIfReachable, claimsMembers, contributionHealthMembers, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, recordedRevisionOriginsMembers, requireWriteFence, resolveWriteFencePlan, rowPropsToJsonText, rowPropsToObject, statementExecutionMembers, uniqueSidecarBatchMembers } from '../chunk-LKZDQ2B4.js';
|
|
5
|
+
import '../chunk-6NKSE5AU.js';
|
|
6
|
+
export { resolveStampedValidityLowerBound } from '../chunk-K46SDNQD.js';
|
|
9
7
|
import '../chunk-2EBMPJBO.js';
|
|
10
|
-
export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-
|
|
11
|
-
export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-
|
|
8
|
+
export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-PC5NGH5A.js';
|
|
9
|
+
export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-7QFRK6PU.js';
|
|
12
10
|
export { ALL_META_EDGE_NAMES } from '../chunk-JXXDZTMN.js';
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-FWJKWH6U.js';
|
|
11
|
+
import '../chunk-YDEJQWOL.js';
|
|
15
12
|
import '../chunk-DYATYRY4.js';
|
|
16
13
|
//# sourceMappingURL=index.js.map
|
|
17
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
3
|
+
var chunkB3MN7EJR_cjs = require('../../chunk-B3MN7EJR.cjs');
|
|
4
|
+
var chunk5WWEYV4H_cjs = require('../../chunk-5WWEYV4H.cjs');
|
|
5
|
+
require('../../chunk-LLFPQOBA.cjs');
|
|
6
|
+
require('../../chunk-TIJUA4I6.cjs');
|
|
7
|
+
require('../../chunk-UYKDYE5D.cjs');
|
|
8
|
+
require('../../chunk-36SX6QXP.cjs');
|
|
9
|
+
require('../../chunk-EKG2UXNX.cjs');
|
|
10
|
+
require('../../chunk-FMMW3KX7.cjs');
|
|
11
|
+
require('../../chunk-NLX5OWK7.cjs');
|
|
12
|
+
require('../../chunk-NUQ2YFFH.cjs');
|
|
13
|
+
require('../../chunk-CRZ56SZU.cjs');
|
|
14
|
+
require('../../chunk-M5MSP3BI.cjs');
|
|
15
|
+
require('../../chunk-I7YAY2VQ.cjs');
|
|
15
16
|
require('../../chunk-ZY4GXIVN.cjs');
|
|
17
|
+
require('../../chunk-JVA3KDEA.cjs');
|
|
18
|
+
require('../../chunk-A4C4NJ5U.cjs');
|
|
16
19
|
require('../../chunk-NAUA4PW5.cjs');
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-
|
|
19
|
-
require('../../chunk-
|
|
20
|
+
require('../../chunk-H2VWDQWC.cjs');
|
|
21
|
+
require('../../chunk-H5IJSROF.cjs');
|
|
22
|
+
require('../../chunk-RWUWTJQY.cjs');
|
|
23
|
+
require('../../chunk-X4GDXBOP.cjs');
|
|
20
24
|
require('../../chunk-A7J2YDDI.cjs');
|
|
21
25
|
require('../../chunk-N66HCGCY.cjs');
|
|
22
26
|
|
|
@@ -24,55 +28,59 @@ require('../../chunk-N66HCGCY.cjs');
|
|
|
24
28
|
|
|
25
29
|
Object.defineProperty(exports, "createPostgresBackend", {
|
|
26
30
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkB3MN7EJR_cjs.createPostgresBackend; }
|
|
28
32
|
});
|
|
29
33
|
Object.defineProperty(exports, "createPostgresTables", {
|
|
30
34
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk5WWEYV4H_cjs.createPostgresTables; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "edgeClaims", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunk5WWEYV4H_cjs.edgeClaims; }
|
|
32
40
|
});
|
|
33
41
|
Object.defineProperty(exports, "edges", {
|
|
34
42
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk5WWEYV4H_cjs.edges; }
|
|
36
44
|
});
|
|
37
45
|
Object.defineProperty(exports, "fulltext", {
|
|
38
46
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk5WWEYV4H_cjs.fulltext; }
|
|
40
48
|
});
|
|
41
49
|
Object.defineProperty(exports, "generatePostgresDDL", {
|
|
42
50
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk5WWEYV4H_cjs.generatePostgresDDL; }
|
|
44
52
|
});
|
|
45
53
|
Object.defineProperty(exports, "generatePostgresMigrationSQL", {
|
|
46
54
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk5WWEYV4H_cjs.generatePostgresMigrationSQL; }
|
|
48
56
|
});
|
|
49
57
|
Object.defineProperty(exports, "nodes", {
|
|
50
58
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk5WWEYV4H_cjs.nodes; }
|
|
52
60
|
});
|
|
53
61
|
Object.defineProperty(exports, "recordedClock", {
|
|
54
62
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk5WWEYV4H_cjs.recordedClock; }
|
|
56
64
|
});
|
|
57
65
|
Object.defineProperty(exports, "recordedEdges", {
|
|
58
66
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk5WWEYV4H_cjs.recordedEdges; }
|
|
60
68
|
});
|
|
61
69
|
Object.defineProperty(exports, "recordedNodes", {
|
|
62
70
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk5WWEYV4H_cjs.recordedNodes; }
|
|
64
72
|
});
|
|
65
73
|
Object.defineProperty(exports, "schemaVersions", {
|
|
66
74
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk5WWEYV4H_cjs.schemaVersions; }
|
|
68
76
|
});
|
|
69
77
|
Object.defineProperty(exports, "tables", {
|
|
70
78
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk5WWEYV4H_cjs.tables; }
|
|
72
80
|
});
|
|
73
81
|
Object.defineProperty(exports, "uniques", {
|
|
74
82
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk5WWEYV4H_cjs.uniques; }
|
|
76
84
|
});
|
|
77
85
|
//# sourceMappingURL=index.cjs.map
|
|
78
86
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.cjs';
|
|
3
3
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
|
|
4
|
-
import { S as SerializedResourceDeclaration } from '../../ddl-
|
|
5
|
-
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-
|
|
6
|
-
import { P as PostgresTables } from '../../postgres-
|
|
7
|
-
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock,
|
|
4
|
+
import { S as SerializedResourceDeclaration } from '../../ddl-Ufebz5q5.cjs';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-Ufebz5q5.cjs';
|
|
6
|
+
import { P as PostgresTables } from '../../postgres-CqvtFC2y.cjs';
|
|
7
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edgeClaims, b as edges, f as fulltext, n as nodes, r as recordedClock, d as recordedEdges, g as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-CqvtFC2y.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'drizzle-orm/pg-core';
|
|
10
10
|
import 'drizzle-orm/relations';
|
|
11
|
-
import '../../sqlite-
|
|
11
|
+
import '../../sqlite-D1mXO9Kp.cjs';
|
|
12
12
|
import 'drizzle-orm/sqlite-core';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.js';
|
|
3
3
|
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
|
|
4
|
-
import { S as SerializedResourceDeclaration } from '../../ddl-
|
|
5
|
-
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-
|
|
6
|
-
import { P as PostgresTables } from '../../postgres-
|
|
7
|
-
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock,
|
|
4
|
+
import { S as SerializedResourceDeclaration } from '../../ddl-BvcbgzHo.js';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-BvcbgzHo.js';
|
|
6
|
+
import { P as PostgresTables } from '../../postgres-BPLSVyHM.js';
|
|
7
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edgeClaims, b as edges, f as fulltext, n as nodes, r as recordedClock, d as recordedEdges, g as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-BPLSVyHM.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'drizzle-orm/pg-core';
|
|
10
10
|
import 'drizzle-orm/relations';
|
|
11
|
-
import '../../sqlite-
|
|
11
|
+
import '../../sqlite-MZA3oZNB.js';
|
|
12
12
|
import 'drizzle-orm/sqlite-core';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
export { createPostgresBackend } from '../../chunk-
|
|
2
|
-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
1
|
+
export { createPostgresBackend } from '../../chunk-K67P5DLL.js';
|
|
2
|
+
export { createPostgresTables, edgeClaims, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-UKOVGCRN.js';
|
|
3
|
+
import '../../chunk-PVFFH7TL.js';
|
|
4
|
+
import '../../chunk-CBOD7TXH.js';
|
|
5
|
+
import '../../chunk-SLGGT2XD.js';
|
|
6
|
+
import '../../chunk-VUQZNUHU.js';
|
|
7
|
+
import '../../chunk-IRCWIA3R.js';
|
|
8
|
+
import '../../chunk-NGQDGL5X.js';
|
|
9
|
+
import '../../chunk-QG5VEOKX.js';
|
|
10
|
+
import '../../chunk-LKZDQ2B4.js';
|
|
11
|
+
import '../../chunk-RVUL2HXY.js';
|
|
12
|
+
import '../../chunk-K46SDNQD.js';
|
|
13
|
+
import '../../chunk-36VYWVQU.js';
|
|
13
14
|
import '../../chunk-K34OPSJK.js';
|
|
15
|
+
import '../../chunk-7G5IYROL.js';
|
|
16
|
+
import '../../chunk-4QKOZYMV.js';
|
|
14
17
|
import '../../chunk-2EBMPJBO.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
18
|
+
import '../../chunk-PC5NGH5A.js';
|
|
19
|
+
import '../../chunk-7QFRK6PU.js';
|
|
20
|
+
import '../../chunk-HZUB5CON.js';
|
|
21
|
+
import '../../chunk-YDEJQWOL.js';
|
|
18
22
|
import '../../chunk-FWJKWH6U.js';
|
|
19
23
|
import '../../chunk-DYATYRY4.js';
|
|
20
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,70 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-3QNZ5SAJ.cjs');
|
|
6
|
-
var chunkSR725PWF_cjs = require('../../chunk-SR725PWF.cjs');
|
|
7
|
-
require('../../chunk-ROR5ZR6A.cjs');
|
|
8
|
-
require('../../chunk-CICO5GXD.cjs');
|
|
9
|
-
require('../../chunk-FA2AFWLP.cjs');
|
|
10
|
-
var chunkHDL2ARHX_cjs = require('../../chunk-HDL2ARHX.cjs');
|
|
11
|
-
require('../../chunk-WODMN3Q2.cjs');
|
|
12
|
-
require('../../chunk-JB6T4GLL.cjs');
|
|
13
|
-
require('../../chunk-3KOY4FH3.cjs');
|
|
14
|
-
require('../../chunk-3FPR224C.cjs');
|
|
15
|
-
require('../../chunk-26YKDNUD.cjs');
|
|
16
|
-
require('../../chunk-JFRT7S3B.cjs');
|
|
17
|
-
require('../../chunk-EZEEWCFJ.cjs');
|
|
18
|
-
require('../../chunk-PWLJ77UV.cjs');
|
|
19
|
-
require('../../chunk-SIT26LAZ.cjs');
|
|
20
|
-
require('../../chunk-3U5ABFDW.cjs');
|
|
21
|
-
var chunk5PRKMB24_cjs = require('../../chunk-5PRKMB24.cjs');
|
|
22
|
-
require('../../chunk-BFUOME67.cjs');
|
|
23
|
-
require('../../chunk-FQPEMEWX.cjs');
|
|
24
|
-
require('../../chunk-2QGYQBS2.cjs');
|
|
25
|
-
require('../../chunk-TQHGE7UC.cjs');
|
|
26
|
-
require('../../chunk-AOSSQDVO.cjs');
|
|
27
|
-
require('../../chunk-OI2GQ25X.cjs');
|
|
28
|
-
require('../../chunk-LRQKXRXO.cjs');
|
|
29
|
-
require('../../chunk-ZY4GXIVN.cjs');
|
|
30
|
-
require('../../chunk-NAUA4PW5.cjs');
|
|
31
|
-
require('../../chunk-L3LQNR34.cjs');
|
|
32
|
-
require('../../chunk-EDN4Y4ZG.cjs');
|
|
33
|
-
require('../../chunk-7EO3TCQB.cjs');
|
|
34
|
-
require('../../chunk-RT5ZY4XA.cjs');
|
|
35
|
-
require('../../chunk-HAHNRASW.cjs');
|
|
36
|
-
require('../../chunk-GYEG3ZLZ.cjs');
|
|
37
|
-
require('../../chunk-XUO3KQFO.cjs');
|
|
38
|
-
require('../../chunk-6NGW27EO.cjs');
|
|
39
|
-
require('../../chunk-MRDBBHIZ.cjs');
|
|
40
|
-
require('../../chunk-A7J2YDDI.cjs');
|
|
41
|
-
require('../../chunk-N66HCGCY.cjs');
|
|
3
|
+
var chunkIVQBLXBK_cjs = require('../../chunk-IVQBLXBK.cjs');
|
|
4
|
+
require('../../chunk-X4GDXBOP.cjs');
|
|
42
5
|
|
|
43
6
|
// src/backend/postgres/pglite-store.ts
|
|
44
|
-
function withoutSchemaOverride(schemaManagement) {
|
|
45
|
-
if (schemaManagement === void 0) return {};
|
|
46
|
-
const { schema: smuggled, ...rest } = schemaManagement;
|
|
47
|
-
return rest;
|
|
48
|
-
}
|
|
49
7
|
async function createLocalPgliteStore(graph, options = {}) {
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
try {
|
|
57
|
-
const [store] = await chunkSR725PWF_cjs.createStoreWithSchema(graph, backend, {
|
|
58
|
-
...options.store,
|
|
59
|
-
// The type already excludes `schema` here; the runtime strip guards
|
|
60
|
-
// untyped callers, so the provisioned schema (or the default tables)
|
|
61
|
-
// can never diverge from the one the Store reads.
|
|
62
|
-
...withoutSchemaOverride(options.schemaManagement)
|
|
63
|
-
});
|
|
64
|
-
return store;
|
|
65
|
-
} catch (error) {
|
|
66
|
-
return chunk5PRKMB24_cjs.closeAfterFailure(backend, error);
|
|
67
|
-
}
|
|
8
|
+
const impl = await chunkIVQBLXBK_cjs.loadDrizzleBackedModule(
|
|
9
|
+
"./postgres/pglite",
|
|
10
|
+
() => import('../../pglite-store-impl-GJG3Y7RP.cjs')
|
|
11
|
+
);
|
|
12
|
+
return impl.createLocalPgliteStoreImpl(graph, options);
|
|
68
13
|
}
|
|
69
14
|
|
|
70
15
|
exports.createLocalPgliteStore = createLocalPgliteStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/backend/postgres/pglite-store.ts"],"names":["
|
|
1
|
+
{"version":3,"sources":["../../../src/backend/postgres/pglite-store.ts"],"names":["loadDrizzleBackedModule"],"mappings":";;;;;;AAmFA,eAAsB,sBAAA,CACpB,KAAA,EACA,OAAA,GAAmC,EAAC,EACwB;AAC5D,EAAA,MAAM,OAAO,MAAMA,yCAAA;AAAA,IACjB,mBAAA;AAAA,IACA,MAAM,OAAO,sCAAqB;AAAA,GACpC;AACA,EAAA,OAAO,IAAA,CAAK,0BAAA,CAA2B,KAAA,EAAO,OAAO,CAAA;AACvD","file":"pglite-store.cjs","sourcesContent":["/**\n * Batteries-included local PostgreSQL Store backed by PGlite.\n *\n * This entrypoint owns the connection and intentionally exposes the portable\n * TypeGraph Store surface rather than the adapter-native Drizzle handle.\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport {\n type HistoryStoreOptions,\n type LiveStoreOptions,\n type RecordedReadStoreOptions,\n type StoreOptions,\n type UnboundLiveStoreOptions,\n} from \"../../store/types\";\nimport { loadDrizzleBackedModule } from \"../missing-peer-ledger\";\n\nexport type { GraphIdentityConfig } from \"../../core/define-graph\";\nexport type {\n IdentityAssertion,\n IdentityAssertionId,\n IdentityAssertionResult,\n IdentityFacade,\n IdentityNode,\n IdentityNodeRefInput,\n IdentityPair,\n IdentityReadFacade,\n IdentityRelation,\n IdentityWriteSummary,\n} from \"../../identity\";\nexport type {\n ContributionDiagnostic,\n ContributionDiagnosticState,\n ContributionRepairEntry,\n ContributionRepairResult,\n} from \"../types\";\n\nexport type LocalPgliteStoreOptions<\n TStoreOptions extends StoreOptions = StoreOptions,\n> = Readonly<{\n /** PGlite data directory. Defaults to an in-memory database. */\n dataDir?: string;\n /** Whether to load pgvector. Defaults to true. */\n vector?: boolean;\n /** Store behavior, including hooks, history, and custom table names. */\n store?: TStoreOptions;\n /**\n * Schema initialization and migration policy. `schema` is excluded here:\n * the effective SqlSchema has exactly one source — `store.schema` — which\n * this constructor also uses to provision the physical tables, so a\n * second schema could name tables that were never created.\n */\n schemaManagement?: Omit<SchemaManagerOptions, \"schema\">;\n}>;\n\n/** Creates, provisions, and returns a full typed local PGlite Store. */\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options?: LocalPgliteStoreOptions<UnboundLiveStoreOptions>,\n): Promise<Store<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<HistoryStoreOptions> &\n Readonly<{ store: HistoryStoreOptions }>,\n): Promise<HistoryStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<RecordedReadStoreOptions> &\n Readonly<{ store: RecordedReadStoreOptions }>,\n): Promise<RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<LiveStoreOptions>,\n): Promise<Store<G> | RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>>;\nexport async function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions = {},\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const impl = await loadDrizzleBackedModule(\n \"./postgres/pglite\",\n () => import(\"./pglite-store-impl\"),\n );\n return impl.createLocalPgliteStoreImpl(graph, options);\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
4
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-
|
|
5
|
-
export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-
|
|
1
|
+
import { d as GraphDef } from '../../types-6yf0Vv-_.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.cjs';
|
|
3
|
+
import { S as SchemaManagerOptions } from '../../manager-D_t7oK69.cjs';
|
|
4
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-CuFX7fCx.cjs';
|
|
5
|
+
export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-CuFX7fCx.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../
|
|
9
|
-
import '../../
|
|
7
|
+
import '../../temporal-CpyEiRY8.cjs';
|
|
8
|
+
import '../../searchable-ClgET_i7.cjs';
|
|
9
|
+
import '../../resolve-WEW8gWws.cjs';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Batteries-included local PostgreSQL Store backed by PGlite.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { S as SchemaManagerOptions } from '../../manager-
|
|
4
|
-
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-
|
|
5
|
-
export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-
|
|
1
|
+
import { d as GraphDef } from '../../types-6yf0Vv-_.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.js';
|
|
3
|
+
import { S as SchemaManagerOptions } from '../../manager-B68OrPR2.js';
|
|
4
|
+
import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-D-ZjXQpW.js';
|
|
5
|
+
export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-D-ZjXQpW.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../
|
|
9
|
-
import '../../
|
|
7
|
+
import '../../temporal-y0Aep9Su.js';
|
|
8
|
+
import '../../searchable-C_UREI9K.js';
|
|
9
|
+
import '../../resolve-D_H8MHtq.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Batteries-included local PostgreSQL Store backed by PGlite.
|
|
@@ -1,68 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-Z2JCLZFJ.js';
|
|
4
|
-
import { createStoreWithSchema } from '../../chunk-BRRP76WO.js';
|
|
5
|
-
import '../../chunk-JONXFAPO.js';
|
|
6
|
-
import '../../chunk-OVI7IXYX.js';
|
|
7
|
-
import '../../chunk-YIURNGXI.js';
|
|
8
|
-
import { createPostgresTables } from '../../chunk-6SWPJEYN.js';
|
|
9
|
-
import '../../chunk-OMZ37BM2.js';
|
|
10
|
-
import '../../chunk-KF6K7TGH.js';
|
|
11
|
-
import '../../chunk-I4GAZH5Z.js';
|
|
12
|
-
import '../../chunk-2TYSSBU5.js';
|
|
13
|
-
import '../../chunk-SHFBB23Q.js';
|
|
14
|
-
import '../../chunk-ZFMCDJGB.js';
|
|
15
|
-
import '../../chunk-S5TERQVW.js';
|
|
16
|
-
import '../../chunk-JBQQ7THH.js';
|
|
17
|
-
import '../../chunk-UGHG7PGX.js';
|
|
18
|
-
import '../../chunk-NVY5CJFP.js';
|
|
19
|
-
import { closeAfterFailure } from '../../chunk-6LN7FIVU.js';
|
|
20
|
-
import '../../chunk-HEV35TGT.js';
|
|
21
|
-
import '../../chunk-GLHXM7C4.js';
|
|
22
|
-
import '../../chunk-DZAICA5J.js';
|
|
23
|
-
import '../../chunk-5K2BKEBD.js';
|
|
24
|
-
import '../../chunk-KKBDXCLQ.js';
|
|
25
|
-
import '../../chunk-SDBBMD4N.js';
|
|
26
|
-
import '../../chunk-P6YLZTRE.js';
|
|
27
|
-
import '../../chunk-K34OPSJK.js';
|
|
28
|
-
import '../../chunk-2EBMPJBO.js';
|
|
29
|
-
import '../../chunk-ZDKTPBGV.js';
|
|
30
|
-
import '../../chunk-3DMMGT6S.js';
|
|
31
|
-
import '../../chunk-AMKPPFUO.js';
|
|
32
|
-
import '../../chunk-W6OG3HDG.js';
|
|
33
|
-
import '../../chunk-PC2UBAUB.js';
|
|
34
|
-
import '../../chunk-D5R42W5D.js';
|
|
35
|
-
import '../../chunk-JXXDZTMN.js';
|
|
36
|
-
import '../../chunk-XVWOYKIK.js';
|
|
37
|
-
import '../../chunk-ZLONH2UD.js';
|
|
38
|
-
import '../../chunk-FWJKWH6U.js';
|
|
39
|
-
import '../../chunk-DYATYRY4.js';
|
|
1
|
+
import { loadDrizzleBackedModule } from '../../chunk-OTWE63BW.js';
|
|
2
|
+
import '../../chunk-YDEJQWOL.js';
|
|
40
3
|
|
|
41
4
|
// src/backend/postgres/pglite-store.ts
|
|
42
|
-
function withoutSchemaOverride(schemaManagement) {
|
|
43
|
-
if (schemaManagement === void 0) return {};
|
|
44
|
-
const { schema: smuggled, ...rest } = schemaManagement;
|
|
45
|
-
return rest;
|
|
46
|
-
}
|
|
47
5
|
async function createLocalPgliteStore(graph, options = {}) {
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
});
|
|
54
|
-
try {
|
|
55
|
-
const [store] = await createStoreWithSchema(graph, backend, {
|
|
56
|
-
...options.store,
|
|
57
|
-
// The type already excludes `schema` here; the runtime strip guards
|
|
58
|
-
// untyped callers, so the provisioned schema (or the default tables)
|
|
59
|
-
// can never diverge from the one the Store reads.
|
|
60
|
-
...withoutSchemaOverride(options.schemaManagement)
|
|
61
|
-
});
|
|
62
|
-
return store;
|
|
63
|
-
} catch (error) {
|
|
64
|
-
return closeAfterFailure(backend, error);
|
|
65
|
-
}
|
|
6
|
+
const impl = await loadDrizzleBackedModule(
|
|
7
|
+
"./postgres/pglite",
|
|
8
|
+
() => import('../../pglite-store-impl-6EMZGL7K.js')
|
|
9
|
+
);
|
|
10
|
+
return impl.createLocalPgliteStoreImpl(graph, options);
|
|
66
11
|
}
|
|
67
12
|
|
|
68
13
|
export { createLocalPgliteStore };
|