@nicia-ai/typegraph 0.50.0 → 0.51.1
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 +10 -8
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +6 -4
- package/dist/backend/index.cjs +183 -50
- package/dist/backend/index.d.cts +90 -4
- package/dist/backend/index.d.ts +90 -4
- package/dist/backend/index.js +6 -9
- package/dist/backend/postgres/index.cjs +30 -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 +16 -14
- package/dist/backend/postgres/pglite-store.cjs +6 -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 +6 -62
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +18 -16
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +17 -15
- package/dist/backend/sqlite/index.cjs +27 -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 +14 -12
- package/dist/backend/sqlite/libsql.cjs +21 -19
- 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 +16 -14
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +8 -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 +7 -64
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +22 -19
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +18 -15
- package/dist/{chunk-TUVD4DFR.cjs → chunk-2CVDZCXH.cjs} +122 -51
- package/dist/chunk-2CVDZCXH.cjs.map +1 -0
- package/dist/{chunk-I5C6OTKR.js → chunk-2DWTBNSH.js} +3 -3
- package/dist/{chunk-I5C6OTKR.js.map → chunk-2DWTBNSH.js.map} +1 -1
- package/dist/{chunk-C76WFIVZ.cjs → chunk-2KCTP3U2.cjs} +180 -127
- package/dist/chunk-2KCTP3U2.cjs.map +1 -0
- package/dist/{chunk-BYBDM423.cjs → chunk-322TBTOQ.cjs} +48 -48
- package/dist/{chunk-BYBDM423.cjs.map → chunk-322TBTOQ.cjs.map} +1 -1
- package/dist/chunk-36SX6QXP.cjs +186 -0
- package/dist/chunk-36SX6QXP.cjs.map +1 -0
- package/dist/{chunk-H3XP6BAV.js → chunk-36VYWVQU.js} +3 -3
- package/dist/{chunk-H3XP6BAV.js.map → chunk-36VYWVQU.js.map} +1 -1
- package/dist/{chunk-VTJVMP4I.js → chunk-4DKY6RIU.js} +102 -31
- 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-U3Z7XKAG.js → chunk-57JM6NW3.js} +8 -18
- package/dist/chunk-57JM6NW3.js.map +1 -0
- package/dist/{chunk-WCLMKNQE.cjs → chunk-5FVZSE3B.cjs} +1356 -1108
- package/dist/chunk-5FVZSE3B.cjs.map +1 -0
- package/dist/{chunk-XMY2SXOH.cjs → chunk-5WWEYV4H.cjs} +2208 -579
- package/dist/chunk-5WWEYV4H.cjs.map +1 -0
- package/dist/{chunk-WQBAQZHR.js → chunk-6NLYIMJO.js} +4 -4
- package/dist/{chunk-WQBAQZHR.js.map → chunk-6NLYIMJO.js.map} +1 -1
- package/dist/{chunk-G2TLHH6T.cjs → chunk-7B7I7YAW.cjs} +6 -6
- package/dist/{chunk-G2TLHH6T.cjs.map → chunk-7B7I7YAW.cjs.map} +1 -1
- package/dist/{chunk-EDLKIQRI.js → chunk-7G5IYROL.js} +6 -548
- package/dist/chunk-7G5IYROL.js.map +1 -0
- package/dist/{chunk-46UGOVRW.js → chunk-7QFRK6PU.js} +3 -7
- 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-7CCMCMJO.cjs → chunk-AOGOC6JF.cjs} +77 -68
- package/dist/chunk-AOGOC6JF.cjs.map +1 -0
- package/dist/{chunk-TYGGUWMS.cjs → chunk-B3MN7EJR.cjs} +177 -137
- package/dist/chunk-B3MN7EJR.cjs.map +1 -0
- package/dist/{chunk-K6VKTBST.cjs → chunk-BZ5MVITP.cjs} +4 -4
- package/dist/{chunk-K6VKTBST.cjs.map → chunk-BZ5MVITP.cjs.map} +1 -1
- package/dist/{chunk-ZAQUKCUC.js → chunk-CBOD7TXH.js} +5 -5
- package/dist/{chunk-ZAQUKCUC.js.map → chunk-CBOD7TXH.js.map} +1 -1
- package/dist/{chunk-LLVOQOWE.cjs → chunk-CRZ56SZU.cjs} +6 -5
- package/dist/chunk-CRZ56SZU.cjs.map +1 -0
- package/dist/{chunk-ON47CBE4.cjs → chunk-D3GWARN7.cjs} +47 -47
- package/dist/{chunk-ON47CBE4.cjs.map → chunk-D3GWARN7.cjs.map} +1 -1
- package/dist/{chunk-W5SOCUBL.js → chunk-D3OUDFU7.js} +5 -5
- package/dist/{chunk-W5SOCUBL.js.map → chunk-D3OUDFU7.js.map} +1 -1
- package/dist/chunk-EKG2UXNX.cjs +23 -0
- package/dist/chunk-EKG2UXNX.cjs.map +1 -0
- package/dist/{chunk-2Q45FAIE.js → chunk-EVYW3532.js} +28 -19
- package/dist/chunk-EVYW3532.js.map +1 -0
- package/dist/{chunk-7PRMDZIA.cjs → chunk-FMMW3KX7.cjs} +21 -55
- package/dist/chunk-FMMW3KX7.cjs.map +1 -0
- 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-OJHD3LXJ.cjs → chunk-H5IJSROF.cjs} +2 -8
- package/dist/chunk-H5IJSROF.cjs.map +1 -0
- package/dist/{chunk-U5EL6JUV.js → chunk-I5IOSA27.js} +101 -103
- package/dist/chunk-I5IOSA27.js.map +1 -0
- package/dist/{chunk-SHC7BCG5.cjs → chunk-I7YAY2VQ.cjs} +7 -7
- package/dist/{chunk-SHC7BCG5.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-5PP4KRPV.js → chunk-IZD4HTCP.js} +5 -5
- package/dist/{chunk-5PP4KRPV.js.map → chunk-IZD4HTCP.js.map} +1 -1
- package/dist/{chunk-RDP6ZRSM.cjs → chunk-JQKMEKKW.cjs} +261 -204
- 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-JG5XIJDY.js → chunk-K67P5DLL.js} +62 -22
- package/dist/chunk-K67P5DLL.js.map +1 -0
- package/dist/{chunk-MX7EKQPM.js → chunk-K6OZIHKI.js} +345 -97
- package/dist/chunk-K6OZIHKI.js.map +1 -0
- package/dist/{chunk-CS6JTQQ2.cjs → chunk-KACEYDYV.cjs} +94 -62
- package/dist/chunk-KACEYDYV.cjs.map +1 -0
- package/dist/{chunk-5OWHU7Z7.cjs → chunk-L6EVYIID.cjs} +248 -210
- package/dist/chunk-L6EVYIID.cjs.map +1 -0
- package/dist/{chunk-7OWE7WD6.js → chunk-LI4K2KEJ.js} +4 -4
- package/dist/{chunk-7OWE7WD6.js.map → chunk-LI4K2KEJ.js.map} +1 -1
- package/dist/chunk-LKZDQ2B4.js +1581 -0
- package/dist/chunk-LKZDQ2B4.js.map +1 -0
- package/dist/{chunk-45YZXI6X.cjs → chunk-LLFPQOBA.cjs} +27 -27
- package/dist/{chunk-45YZXI6X.cjs.map → chunk-LLFPQOBA.cjs.map} +1 -1
- package/dist/{chunk-ZRJTM7MT.js → chunk-LZMQ3SFK.js} +3 -3
- package/dist/{chunk-ZRJTM7MT.js.map → chunk-LZMQ3SFK.js.map} +1 -1
- package/dist/{chunk-DI6VC62F.js → chunk-M3VTS3F6.js} +3 -3
- package/dist/{chunk-DI6VC62F.js.map → chunk-M3VTS3F6.js.map} +1 -1
- package/dist/{chunk-MZ34E2GN.js → chunk-NBOS7BY3.js} +60 -21
- package/dist/chunk-NBOS7BY3.js.map +1 -0
- package/dist/{chunk-YA36ABIL.js → chunk-NGQDGL5X.js} +14 -48
- package/dist/chunk-NGQDGL5X.js.map +1 -0
- package/dist/{chunk-ZBFZGLZE.cjs → chunk-NLX5OWK7.cjs} +6 -2
- 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-TTCOPKUL.cjs → chunk-OGL4X4PH.cjs} +182 -184
- package/dist/chunk-OGL4X4PH.cjs.map +1 -0
- package/dist/{chunk-HY5BNOUN.cjs → chunk-OTNTGEXR.cjs} +4 -4
- package/dist/{chunk-HY5BNOUN.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-IPRP6TDL.cjs → chunk-PS3TUWJM.cjs} +7 -7
- package/dist/{chunk-IPRP6TDL.cjs.map → chunk-PS3TUWJM.cjs.map} +1 -1
- package/dist/{chunk-V76FGHY3.js → chunk-PVFFH7TL.js} +5 -5
- package/dist/{chunk-V76FGHY3.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-IRPYOHRC.js → chunk-QG5VEOKX.js} +6 -2
- package/dist/chunk-QG5VEOKX.js.map +1 -0
- package/dist/{chunk-2CYI5HRH.js → chunk-RI7RJH4G.js} +49 -17
- package/dist/chunk-RI7RJH4G.js.map +1 -0
- package/dist/{chunk-5LKOVCPP.js → chunk-RVUL2HXY.js} +6 -5
- package/dist/chunk-RVUL2HXY.js.map +1 -0
- package/dist/{chunk-WK23PGTP.cjs → chunk-S5GU4LUN.cjs} +11 -11
- package/dist/{chunk-WK23PGTP.cjs.map → chunk-S5GU4LUN.cjs.map} +1 -1
- package/dist/{chunk-S33YQEL7.js → chunk-SDPWO2Z5.js} +6 -6
- package/dist/{chunk-S33YQEL7.js.map → chunk-SDPWO2Z5.js.map} +1 -1
- package/dist/{chunk-6S3PTHL4.js → chunk-SLGGT2XD.js} +3 -3
- package/dist/{chunk-6S3PTHL4.js.map → chunk-SLGGT2XD.js.map} +1 -1
- package/dist/{chunk-HSEZ7X6Y.cjs → chunk-TIJUA4I6.cjs} +45 -45
- package/dist/{chunk-HSEZ7X6Y.cjs.map → chunk-TIJUA4I6.cjs.map} +1 -1
- package/dist/{chunk-CSNOYIB4.cjs → chunk-TM54OBHX.cjs} +13 -13
- package/dist/{chunk-CSNOYIB4.cjs.map → chunk-TM54OBHX.cjs.map} +1 -1
- package/dist/{chunk-MM3JHVKZ.cjs → chunk-TUWSVL6I.cjs} +4 -4
- package/dist/{chunk-MM3JHVKZ.cjs.map → chunk-TUWSVL6I.cjs.map} +1 -1
- package/dist/{chunk-2GIV5X4P.js → chunk-TYEYRCXL.js} +86 -33
- package/dist/chunk-TYEYRCXL.js.map +1 -0
- package/dist/{chunk-MJPZNEJZ.js → chunk-UKOVGCRN.js} +2095 -496
- package/dist/chunk-UKOVGCRN.js.map +1 -0
- package/dist/chunk-UYKDYE5D.cjs +12 -0
- package/dist/{chunk-KWNWG4RC.cjs.map → chunk-UYKDYE5D.cjs.map} +1 -1
- package/dist/{chunk-FX5ZW6PN.js → chunk-VAAC7L57.js} +95 -40
- package/dist/chunk-VAAC7L57.js.map +1 -0
- package/dist/{chunk-ISKCIQF2.cjs → chunk-VKHXYVN7.cjs} +14 -25
- package/dist/chunk-VKHXYVN7.cjs.map +1 -0
- package/dist/chunk-VUQZNUHU.js +171 -0
- package/dist/chunk-VUQZNUHU.js.map +1 -0
- package/dist/{chunk-K2XYLVVB.cjs → chunk-WDM5WQK4.cjs} +175 -136
- package/dist/chunk-WDM5WQK4.cjs.map +1 -0
- package/dist/{chunk-GVYVGGPJ.js → chunk-WFSYYU4W.js} +66 -28
- package/dist/chunk-WFSYYU4W.js.map +1 -0
- package/dist/{chunk-R7MRFE5P.js → chunk-WS5MT2UJ.js} +3 -3
- package/dist/{chunk-R7MRFE5P.js.map → chunk-WS5MT2UJ.js.map} +1 -1
- package/dist/chunk-XORONCV3.js +202 -0
- package/dist/chunk-XORONCV3.js.map +1 -0
- package/dist/chunk-ZGVTNKTX.cjs +217 -0
- package/dist/chunk-ZGVTNKTX.cjs.map +1 -0
- package/dist/core/index.cjs +20 -20
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +4 -4
- package/dist/{ddl-B49O7dB_.d.ts → ddl-BvcbgzHo.d.ts} +3 -3
- package/dist/{ddl-DcZG660s.d.cts → ddl-Ufebz5q5.d.cts} +3 -3
- package/dist/graph-extension/index.d.cts +2 -4
- package/dist/graph-extension/index.d.ts +2 -4
- package/dist/graph-merge/index.cjs +140 -125
- 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 +42 -27
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +144 -143
- 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 +30 -29
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +14 -12
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +7 -5
- package/dist/{ingestion-import-target-CI8OWIkM.d.ts → ingestion-import-target-CAs1OX-l.d.cts} +1 -1
- package/dist/{ingestion-import-target-DCpfM1PX.d.cts → ingestion-import-target-DCQSPfNx.d.ts} +1 -1
- package/dist/interchange/index.cjs +41 -39
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +8 -8
- package/dist/interchange/index.d.ts +8 -8
- package/dist/interchange/index.js +16 -14
- package/dist/interchange/index.js.map +1 -1
- package/dist/local-store-impl-JC7OBRAW.js +75 -0
- package/dist/local-store-impl-JC7OBRAW.js.map +1 -0
- package/dist/local-store-impl-UOS2LUIG.cjs +77 -0
- package/dist/local-store-impl-UOS2LUIG.cjs.map +1 -0
- package/dist/{manager-Cfg1ENj1.d.ts → manager-B68OrPR2.d.ts} +1 -2
- package/dist/{manager-D348fa6W.d.cts → manager-D_t7oK69.d.cts} +1 -2
- package/dist/pglite-store-impl-J5J5AA52.cjs +75 -0
- package/dist/pglite-store-impl-J5J5AA52.cjs.map +1 -0
- package/dist/pglite-store-impl-LDRH2DUH.js +73 -0
- package/dist/pglite-store-impl-LDRH2DUH.js.map +1 -0
- package/dist/{postgres-UStOycLI.d.ts → postgres-BPLSVyHM.d.ts} +1 -1
- package/dist/{postgres-CH1kkM5J.d.cts → postgres-CqvtFC2y.d.cts} +1 -1
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +33 -20
- 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 +24 -11
- package/dist/provenance/index.js.map +1 -1
- package/dist/{repair-validity-windows-aWX7VNvv.d.cts → repair-validity-windows-DEzCKAdy.d.cts} +7 -3
- package/dist/{repair-validity-windows-BtOEe2pS.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 +42 -40
- package/dist/schema/index.d.cts +4 -6
- package/dist/schema/index.d.ts +4 -6
- package/dist/schema/index.js +15 -13
- package/dist/{searchable-z4BiFfHI.d.ts → searchable-C_UREI9K.d.ts} +1 -1
- package/dist/{searchable-C8-RrL3l.d.cts → searchable-ClgET_i7.d.cts} +1 -1
- package/dist/{sqlite-axLw5Lo5.d.ts → sqlite-D1mXO9Kp.d.cts} +2 -1
- package/dist/{sqlite-Cyx9j9o6.d.cts → sqlite-MZA3oZNB.d.ts} +2 -1
- package/dist/{store-CTfQ9taw.d.ts → store-CuFX7fCx.d.cts} +38 -41
- package/dist/{store-DR9J7JVB.d.cts → store-D-ZjXQpW.d.ts} +38 -41
- package/dist/{temporal-CBOrERz5.d.ts → temporal-CpyEiRY8.d.cts} +1 -1
- package/dist/{temporal-B4Ky4wzh.d.cts → temporal-y0Aep9Su.d.ts} +1 -1
- package/dist/{types-CWg4dTjj.d.ts → types-6yf0Vv-_.d.cts} +1672 -1
- package/dist/{types-CWg4dTjj.d.cts → types-6yf0Vv-_.d.ts} +1672 -1
- package/dist/{types-BScHXVM7.d.ts → types-DzJ4dlzk.d.cts} +1 -1
- package/dist/{types-BE921wRl.d.cts → types-_vVSB9k-.d.ts} +1 -1
- package/dist/{where-BWXUPV3C.d.ts → where-DuG2LCLe.d.ts} +1 -1
- package/dist/{where-CNtx1aLc.d.cts → where-Mhf_yyKX.d.cts} +1 -1
- package/package.json +5 -1
- package/dist/chunk-2CYI5HRH.js.map +0 -1
- package/dist/chunk-2GIV5X4P.js.map +0 -1
- package/dist/chunk-2Q45FAIE.js.map +0 -1
- package/dist/chunk-46UGOVRW.js.map +0 -1
- package/dist/chunk-5LKOVCPP.js.map +0 -1
- package/dist/chunk-5OWHU7Z7.cjs.map +0 -1
- package/dist/chunk-6LEOAIIB.js +0 -1160
- package/dist/chunk-6LEOAIIB.js.map +0 -1
- package/dist/chunk-7CCMCMJO.cjs.map +0 -1
- package/dist/chunk-7PRMDZIA.cjs.map +0 -1
- package/dist/chunk-C76WFIVZ.cjs.map +0 -1
- package/dist/chunk-CS6JTQQ2.cjs.map +0 -1
- package/dist/chunk-EDLKIQRI.js.map +0 -1
- package/dist/chunk-EH3JZJUM.cjs +0 -567
- package/dist/chunk-EH3JZJUM.cjs.map +0 -1
- package/dist/chunk-FX5ZW6PN.js.map +0 -1
- package/dist/chunk-GHZPZNFC.cjs +0 -132
- package/dist/chunk-GHZPZNFC.cjs.map +0 -1
- package/dist/chunk-GVYVGGPJ.js.map +0 -1
- package/dist/chunk-IHK5KA2Q.cjs +0 -262
- package/dist/chunk-IHK5KA2Q.cjs.map +0 -1
- package/dist/chunk-IRPYOHRC.js.map +0 -1
- package/dist/chunk-ISKCIQF2.cjs.map +0 -1
- package/dist/chunk-JG5XIJDY.js.map +0 -1
- package/dist/chunk-K2XYLVVB.cjs.map +0 -1
- package/dist/chunk-KWNWG4RC.cjs +0 -12
- package/dist/chunk-LLVOQOWE.cjs.map +0 -1
- package/dist/chunk-MJPZNEJZ.js.map +0 -1
- package/dist/chunk-MX7EKQPM.js.map +0 -1
- package/dist/chunk-MZ34E2GN.js.map +0 -1
- package/dist/chunk-OJHD3LXJ.cjs.map +0 -1
- package/dist/chunk-PALYTHGM.js +0 -114
- package/dist/chunk-PALYTHGM.js.map +0 -1
- package/dist/chunk-RDP6ZRSM.cjs.map +0 -1
- package/dist/chunk-S3SDEQMC.js +0 -532
- package/dist/chunk-S3SDEQMC.js.map +0 -1
- package/dist/chunk-TEC24ZDA.cjs +0 -1254
- package/dist/chunk-TEC24ZDA.cjs.map +0 -1
- package/dist/chunk-TP4NJTI3.cjs +0 -1192
- package/dist/chunk-TP4NJTI3.cjs.map +0 -1
- package/dist/chunk-TTCOPKUL.cjs.map +0 -1
- package/dist/chunk-TUVD4DFR.cjs.map +0 -1
- package/dist/chunk-TYGGUWMS.cjs.map +0 -1
- package/dist/chunk-U3Z7XKAG.js.map +0 -1
- package/dist/chunk-U5EL6JUV.js.map +0 -1
- package/dist/chunk-VTJVMP4I.js.map +0 -1
- package/dist/chunk-WCLMKNQE.cjs.map +0 -1
- package/dist/chunk-XMY2SXOH.cjs.map +0 -1
- package/dist/chunk-Y55DLLEG.js +0 -247
- package/dist/chunk-Y55DLLEG.js.map +0 -1
- package/dist/chunk-YA36ABIL.js.map +0 -1
- package/dist/chunk-ZBFZGLZE.cjs.map +0 -1
- package/dist/index-B0PrmE3K.d.cts +0 -1146
- package/dist/index-CwcXsL5R.d.ts +0 -1146
- package/dist/materialize-indexes-C9GG3O3C.d.ts +0 -266
- package/dist/materialize-indexes-CrSiW_lT.d.cts +0 -266
|
@@ -1,77 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-XMY2SXOH.cjs');
|
|
6
|
-
var chunkWCLMKNQE_cjs = require('../../chunk-WCLMKNQE.cjs');
|
|
7
|
-
require('../../chunk-BYBDM423.cjs');
|
|
8
|
-
require('../../chunk-KWNWG4RC.cjs');
|
|
9
|
-
require('../../chunk-EH3JZJUM.cjs');
|
|
10
|
-
var chunkTP4NJTI3_cjs = require('../../chunk-TP4NJTI3.cjs');
|
|
11
|
-
require('../../chunk-45YZXI6X.cjs');
|
|
12
|
-
require('../../chunk-C76WFIVZ.cjs');
|
|
13
|
-
require('../../chunk-TUVD4DFR.cjs');
|
|
14
|
-
require('../../chunk-7PRMDZIA.cjs');
|
|
15
|
-
require('../../chunk-7CCMCMJO.cjs');
|
|
16
|
-
require('../../chunk-IPRP6TDL.cjs');
|
|
17
|
-
require('../../chunk-5OWHU7Z7.cjs');
|
|
18
|
-
require('../../chunk-RDP6ZRSM.cjs');
|
|
19
|
-
require('../../chunk-ZBFZGLZE.cjs');
|
|
20
|
-
require('../../chunk-IHK5KA2Q.cjs');
|
|
21
|
-
var chunkGHZPZNFC_cjs = require('../../chunk-GHZPZNFC.cjs');
|
|
22
|
-
require('../../chunk-G2TLHH6T.cjs');
|
|
23
|
-
require('../../chunk-LLVOQOWE.cjs');
|
|
24
|
-
require('../../chunk-DWUDZ66O.cjs');
|
|
25
|
-
require('../../chunk-M5MSP3BI.cjs');
|
|
26
|
-
require('../../chunk-CSNOYIB4.cjs');
|
|
27
|
-
require('../../chunk-SHC7BCG5.cjs');
|
|
28
|
-
require('../../chunk-HY5BNOUN.cjs');
|
|
29
|
-
require('../../chunk-ZY4GXIVN.cjs');
|
|
30
|
-
require('../../chunk-NAUA4PW5.cjs');
|
|
31
|
-
require('../../chunk-TEC24ZDA.cjs');
|
|
32
|
-
require('../../chunk-OJHD3LXJ.cjs');
|
|
33
|
-
require('../../chunk-7EO3TCQB.cjs');
|
|
34
|
-
require('../../chunk-RT5ZY4XA.cjs');
|
|
35
|
-
require('../../chunk-HAHNRASW.cjs');
|
|
36
|
-
require('../../chunk-RJMHU2MG.cjs');
|
|
37
|
-
require('../../chunk-XUO3KQFO.cjs');
|
|
38
|
-
require('../../chunk-VLBTRXA2.cjs');
|
|
39
|
-
require('../../chunk-RWUWTJQY.cjs');
|
|
3
|
+
var chunkIVQBLXBK_cjs = require('../../chunk-IVQBLXBK.cjs');
|
|
4
|
+
var chunkQCD5JKU4_cjs = require('../../chunk-QCD5JKU4.cjs');
|
|
40
5
|
require('../../chunk-X4GDXBOP.cjs');
|
|
41
|
-
require('../../chunk-A7J2YDDI.cjs');
|
|
42
|
-
require('../../chunk-N66HCGCY.cjs');
|
|
43
6
|
|
|
44
7
|
// src/backend/sqlite/local-store.ts
|
|
45
|
-
function withoutSchemaOverride(schemaManagement) {
|
|
46
|
-
if (schemaManagement === void 0) return {};
|
|
47
|
-
const { schema: smuggled, ...rest } = schemaManagement;
|
|
48
|
-
return rest;
|
|
49
|
-
}
|
|
50
8
|
async function createLocalSqliteStore(graph, options = {}) {
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
...tables === void 0 ? {} : { tables }
|
|
57
|
-
});
|
|
58
|
-
try {
|
|
59
|
-
const [store] = await chunkWCLMKNQE_cjs.createStoreWithSchema(graph, backend, {
|
|
60
|
-
...options.store,
|
|
61
|
-
// The type already excludes `schema` here; the runtime strip guards
|
|
62
|
-
// untyped callers, so the provisioned schema (or the default tables)
|
|
63
|
-
// can never diverge from the one the Store reads.
|
|
64
|
-
...withoutSchemaOverride(options.schemaManagement)
|
|
65
|
-
});
|
|
66
|
-
return store;
|
|
67
|
-
} catch (error) {
|
|
68
|
-
return chunkGHZPZNFC_cjs.closeAfterFailure(backend, error);
|
|
69
|
-
}
|
|
9
|
+
const impl = await chunkIVQBLXBK_cjs.loadDrizzleBackedModule(
|
|
10
|
+
"./sqlite/local",
|
|
11
|
+
() => import('../../local-store-impl-UOS2LUIG.cjs')
|
|
12
|
+
);
|
|
13
|
+
return impl.createLocalSqliteStoreImpl(graph, options);
|
|
70
14
|
}
|
|
71
15
|
|
|
72
16
|
Object.defineProperty(exports, "DEFAULT_LOCAL_SQLITE_PRAGMAS", {
|
|
73
17
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQCD5JKU4_cjs.DEFAULT_LOCAL_SQLITE_PRAGMAS; }
|
|
75
19
|
});
|
|
76
20
|
exports.createLocalSqliteStore = createLocalSqliteStore;
|
|
77
21
|
//# sourceMappingURL=local-store.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/backend/sqlite/local-store.ts"],"names":["
|
|
1
|
+
{"version":3,"sources":["../../../src/backend/sqlite/local-store.ts"],"names":["loadDrizzleBackedModule"],"mappings":";;;;;;;AA6FA,eAAsB,sBAAA,CACpB,KAAA,EACA,OAAA,GAAmC,EAAC,EACwB;AAC5D,EAAA,MAAM,OAAO,MAAMA,yCAAA;AAAA,IACjB,gBAAA;AAAA,IACA,MAAM,OAAO,qCAAoB;AAAA,GACnC;AACA,EAAA,OAAO,IAAA,CAAK,0BAAA,CAA2B,KAAA,EAAO,OAAO,CAAA;AACvD","file":"local-store.cjs","sourcesContent":["/**\n * Batteries-included local SQLite Store for strict TypeScript consumers.\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\";\nimport { type BackendCapabilities } from \"../types\";\nimport { type LocalSqlitePragmaOptions } from \"./local-options\";\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\";\nexport {\n DEFAULT_LOCAL_SQLITE_PRAGMAS,\n type LocalSqliteJournalMode,\n type LocalSqlitePragmaOptions,\n type LocalSqliteSynchronousMode,\n} from \"./local-options\";\n\nexport type LocalSqliteStoreOptions<\n TStoreOptions extends StoreOptions = StoreOptions,\n> = Readonly<{\n /** SQLite file path. Defaults to an in-memory database. */\n path?: string;\n /** Connection pragmas applied when the owned database is opened. */\n pragmas?: LocalSqlitePragmaOptions | false;\n /** Optional backend capability overrides, primarily for controlled hosts. */\n capabilities?: Partial<BackendCapabilities>;\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 SQLite Store. */\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options?: LocalSqliteStoreOptions<UnboundLiveStoreOptions>,\n): Promise<Store<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<HistoryStoreOptions> &\n Readonly<{ store: HistoryStoreOptions }>,\n): Promise<HistoryStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<RecordedReadStoreOptions> &\n Readonly<{ store: RecordedReadStoreOptions }>,\n): Promise<RecordedReadStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<LiveStoreOptions>,\n): Promise<Store<G> | RecordedReadStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>>;\nexport async function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions = {},\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const impl = await loadDrizzleBackedModule(\n \"./sqlite/local\",\n () => import(\"./local-store-impl\"),\n );\n return impl.createLocalSqliteStoreImpl(graph, options);\n}\n"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { B as BackendCapabilities, 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 { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.cjs';
|
|
7
7
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.cjs';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../
|
|
10
|
-
import '../../
|
|
11
|
-
import '../../
|
|
9
|
+
import '../../temporal-CpyEiRY8.cjs';
|
|
10
|
+
import '../../searchable-ClgET_i7.cjs';
|
|
11
|
+
import '../../resolve-WEW8gWws.cjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Batteries-included local SQLite Store for strict TypeScript consumers.
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { B as BackendCapabilities, 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 { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.js';
|
|
7
7
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.js';
|
|
8
8
|
import 'zod';
|
|
9
|
-
import '../../
|
|
10
|
-
import '../../
|
|
11
|
-
import '../../
|
|
9
|
+
import '../../temporal-y0Aep9Su.js';
|
|
10
|
+
import '../../searchable-C_UREI9K.js';
|
|
11
|
+
import '../../resolve-D_H8MHtq.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Batteries-included local SQLite Store for strict TypeScript consumers.
|
|
@@ -1,71 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { DEFAULT_LOCAL_SQLITE_PRAGMAS } from '../../chunk-
|
|
3
|
-
import '../../chunk-MZ34E2GN.js';
|
|
4
|
-
import '../../chunk-MJPZNEJZ.js';
|
|
5
|
-
import { createStoreWithSchema } from '../../chunk-MX7EKQPM.js';
|
|
6
|
-
import '../../chunk-5PP4KRPV.js';
|
|
7
|
-
import '../../chunk-6S3PTHL4.js';
|
|
8
|
-
import '../../chunk-S3SDEQMC.js';
|
|
9
|
-
import { createSqliteTables } from '../../chunk-6LEOAIIB.js';
|
|
10
|
-
import '../../chunk-V76FGHY3.js';
|
|
11
|
-
import '../../chunk-2GIV5X4P.js';
|
|
12
|
-
import '../../chunk-VTJVMP4I.js';
|
|
13
|
-
import '../../chunk-YA36ABIL.js';
|
|
14
|
-
import '../../chunk-2Q45FAIE.js';
|
|
15
|
-
import '../../chunk-7OWE7WD6.js';
|
|
16
|
-
import '../../chunk-GVYVGGPJ.js';
|
|
17
|
-
import '../../chunk-FX5ZW6PN.js';
|
|
18
|
-
import '../../chunk-IRPYOHRC.js';
|
|
19
|
-
import '../../chunk-Y55DLLEG.js';
|
|
20
|
-
import { closeAfterFailure } from '../../chunk-PALYTHGM.js';
|
|
21
|
-
import '../../chunk-DI6VC62F.js';
|
|
22
|
-
import '../../chunk-5LKOVCPP.js';
|
|
23
|
-
import '../../chunk-6NKSE5AU.js';
|
|
24
|
-
import '../../chunk-K46SDNQD.js';
|
|
25
|
-
import '../../chunk-WQBAQZHR.js';
|
|
26
|
-
import '../../chunk-H3XP6BAV.js';
|
|
27
|
-
import '../../chunk-ZRJTM7MT.js';
|
|
28
|
-
import '../../chunk-K34OPSJK.js';
|
|
29
|
-
import '../../chunk-2EBMPJBO.js';
|
|
30
|
-
import '../../chunk-EDLKIQRI.js';
|
|
31
|
-
import '../../chunk-46UGOVRW.js';
|
|
32
|
-
import '../../chunk-AMKPPFUO.js';
|
|
33
|
-
import '../../chunk-W6OG3HDG.js';
|
|
34
|
-
import '../../chunk-PC2UBAUB.js';
|
|
35
|
-
import '../../chunk-XZW2CTNO.js';
|
|
36
|
-
import '../../chunk-JXXDZTMN.js';
|
|
37
|
-
import '../../chunk-FZHF5UWR.js';
|
|
38
|
-
import '../../chunk-HZUB5CON.js';
|
|
1
|
+
import { loadDrizzleBackedModule } from '../../chunk-OTWE63BW.js';
|
|
2
|
+
export { DEFAULT_LOCAL_SQLITE_PRAGMAS } from '../../chunk-H4FY6OZK.js';
|
|
39
3
|
import '../../chunk-YDEJQWOL.js';
|
|
40
|
-
import '../../chunk-FWJKWH6U.js';
|
|
41
|
-
import '../../chunk-DYATYRY4.js';
|
|
42
4
|
|
|
43
5
|
// src/backend/sqlite/local-store.ts
|
|
44
|
-
function withoutSchemaOverride(schemaManagement) {
|
|
45
|
-
if (schemaManagement === void 0) return {};
|
|
46
|
-
const { schema: smuggled, ...rest } = schemaManagement;
|
|
47
|
-
return rest;
|
|
48
|
-
}
|
|
49
6
|
async function createLocalSqliteStore(graph, options = {}) {
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
...tables === void 0 ? {} : { tables }
|
|
56
|
-
});
|
|
57
|
-
try {
|
|
58
|
-
const [store] = await createStoreWithSchema(graph, backend, {
|
|
59
|
-
...options.store,
|
|
60
|
-
// The type already excludes `schema` here; the runtime strip guards
|
|
61
|
-
// untyped callers, so the provisioned schema (or the default tables)
|
|
62
|
-
// can never diverge from the one the Store reads.
|
|
63
|
-
...withoutSchemaOverride(options.schemaManagement)
|
|
64
|
-
});
|
|
65
|
-
return store;
|
|
66
|
-
} catch (error) {
|
|
67
|
-
return closeAfterFailure(backend, error);
|
|
68
|
-
}
|
|
7
|
+
const impl = await loadDrizzleBackedModule(
|
|
8
|
+
"./sqlite/local",
|
|
9
|
+
() => import('../../local-store-impl-JC7OBRAW.js')
|
|
10
|
+
);
|
|
11
|
+
return impl.createLocalSqliteStoreImpl(graph, options);
|
|
69
12
|
}
|
|
70
13
|
|
|
71
14
|
export { createLocalSqliteStore };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/backend/sqlite/local-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/backend/sqlite/local-store.ts"],"names":[],"mappings":";;;;;AA6FA,eAAsB,sBAAA,CACpB,KAAA,EACA,OAAA,GAAmC,EAAC,EACwB;AAC5D,EAAA,MAAM,OAAO,MAAM,uBAAA;AAAA,IACjB,gBAAA;AAAA,IACA,MAAM,OAAO,oCAAoB;AAAA,GACnC;AACA,EAAA,OAAO,IAAA,CAAK,0BAAA,CAA2B,KAAA,EAAO,OAAO,CAAA;AACvD","file":"local-store.js","sourcesContent":["/**\n * Batteries-included local SQLite Store for strict TypeScript consumers.\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\";\nimport { type BackendCapabilities } from \"../types\";\nimport { type LocalSqlitePragmaOptions } from \"./local-options\";\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\";\nexport {\n DEFAULT_LOCAL_SQLITE_PRAGMAS,\n type LocalSqliteJournalMode,\n type LocalSqlitePragmaOptions,\n type LocalSqliteSynchronousMode,\n} from \"./local-options\";\n\nexport type LocalSqliteStoreOptions<\n TStoreOptions extends StoreOptions = StoreOptions,\n> = Readonly<{\n /** SQLite file path. Defaults to an in-memory database. */\n path?: string;\n /** Connection pragmas applied when the owned database is opened. */\n pragmas?: LocalSqlitePragmaOptions | false;\n /** Optional backend capability overrides, primarily for controlled hosts. */\n capabilities?: Partial<BackendCapabilities>;\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 SQLite Store. */\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options?: LocalSqliteStoreOptions<UnboundLiveStoreOptions>,\n): Promise<Store<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<HistoryStoreOptions> &\n Readonly<{ store: HistoryStoreOptions }>,\n): Promise<HistoryStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<RecordedReadStoreOptions> &\n Readonly<{ store: RecordedReadStoreOptions }>,\n): Promise<RecordedReadStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions<LiveStoreOptions>,\n): Promise<Store<G> | RecordedReadStore<G>>;\nexport function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>>;\nexport async function createLocalSqliteStore<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions = {},\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const impl = await loadDrizzleBackedModule(\n \"./sqlite/local\",\n () => import(\"./local-store-impl\"),\n );\n return impl.createLocalSqliteStoreImpl(graph, options);\n}\n"]}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
3
|
+
var chunkVKHXYVN7_cjs = require('../../chunk-VKHXYVN7.cjs');
|
|
4
|
+
var chunkQCD5JKU4_cjs = require('../../chunk-QCD5JKU4.cjs');
|
|
5
|
+
require('../../chunk-WDM5WQK4.cjs');
|
|
6
|
+
require('../../chunk-5WWEYV4H.cjs');
|
|
7
|
+
require('../../chunk-LLFPQOBA.cjs');
|
|
8
|
+
require('../../chunk-322TBTOQ.cjs');
|
|
9
|
+
require('../../chunk-UYKDYE5D.cjs');
|
|
10
|
+
require('../../chunk-36SX6QXP.cjs');
|
|
11
|
+
require('../../chunk-EKG2UXNX.cjs');
|
|
12
|
+
require('../../chunk-FMMW3KX7.cjs');
|
|
13
|
+
require('../../chunk-NLX5OWK7.cjs');
|
|
14
|
+
require('../../chunk-NUQ2YFFH.cjs');
|
|
15
|
+
require('../../chunk-CRZ56SZU.cjs');
|
|
15
16
|
require('../../chunk-M5MSP3BI.cjs');
|
|
16
|
-
require('../../chunk-
|
|
17
|
+
require('../../chunk-I7YAY2VQ.cjs');
|
|
17
18
|
require('../../chunk-ZY4GXIVN.cjs');
|
|
19
|
+
require('../../chunk-JVA3KDEA.cjs');
|
|
20
|
+
require('../../chunk-A4C4NJ5U.cjs');
|
|
18
21
|
require('../../chunk-NAUA4PW5.cjs');
|
|
19
|
-
require('../../chunk-
|
|
20
|
-
require('../../chunk-
|
|
22
|
+
require('../../chunk-H2VWDQWC.cjs');
|
|
23
|
+
require('../../chunk-H5IJSROF.cjs');
|
|
21
24
|
require('../../chunk-RWUWTJQY.cjs');
|
|
22
25
|
require('../../chunk-X4GDXBOP.cjs');
|
|
23
26
|
require('../../chunk-A7J2YDDI.cjs');
|
|
@@ -25,13 +28,13 @@ require('../../chunk-N66HCGCY.cjs');
|
|
|
25
28
|
|
|
26
29
|
|
|
27
30
|
|
|
28
|
-
Object.defineProperty(exports, "
|
|
31
|
+
Object.defineProperty(exports, "createLocalSqliteBackend", {
|
|
29
32
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkVKHXYVN7_cjs.createLocalSqliteBackend; }
|
|
31
34
|
});
|
|
32
|
-
Object.defineProperty(exports, "
|
|
35
|
+
Object.defineProperty(exports, "DEFAULT_LOCAL_SQLITE_PRAGMAS", {
|
|
33
36
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkQCD5JKU4_cjs.DEFAULT_LOCAL_SQLITE_PRAGMAS; }
|
|
35
38
|
});
|
|
36
39
|
//# sourceMappingURL=local.cjs.map
|
|
37
40
|
//# sourceMappingURL=local.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from 'drizzle-orm/better-sqlite3';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.cjs';
|
|
3
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.cjs';
|
|
4
4
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.cjs';
|
|
5
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
+
import { S as SqliteTables } from '../../sqlite-D1mXO9Kp.cjs';
|
|
6
6
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.cjs';
|
|
7
7
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.cjs';
|
|
8
8
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BetterSQLite3Database } from 'drizzle-orm/better-sqlite3';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.js';
|
|
3
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.js';
|
|
4
4
|
import { A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.js';
|
|
5
|
-
import { S as SqliteTables } from '../../sqlite-
|
|
5
|
+
import { S as SqliteTables } from '../../sqlite-MZA3oZNB.js';
|
|
6
6
|
import { L as LocalSqlitePragmaOptions } from '../../local-options-CZ1BnIoF.js';
|
|
7
7
|
export { D as DEFAULT_LOCAL_SQLITE_PRAGMAS, a as LocalSqliteJournalMode, b as LocalSqliteSynchronousMode } from '../../local-options-CZ1BnIoF.js';
|
|
8
8
|
import 'zod';
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
1
|
+
export { createLocalSqliteBackend } from '../../chunk-57JM6NW3.js';
|
|
2
|
+
export { DEFAULT_LOCAL_SQLITE_PRAGMAS } from '../../chunk-H4FY6OZK.js';
|
|
3
|
+
import '../../chunk-NBOS7BY3.js';
|
|
4
|
+
import '../../chunk-UKOVGCRN.js';
|
|
5
|
+
import '../../chunk-PVFFH7TL.js';
|
|
6
|
+
import '../../chunk-IZD4HTCP.js';
|
|
7
|
+
import '../../chunk-SLGGT2XD.js';
|
|
8
|
+
import '../../chunk-VUQZNUHU.js';
|
|
9
|
+
import '../../chunk-IRCWIA3R.js';
|
|
10
|
+
import '../../chunk-NGQDGL5X.js';
|
|
11
|
+
import '../../chunk-QG5VEOKX.js';
|
|
12
|
+
import '../../chunk-LKZDQ2B4.js';
|
|
13
|
+
import '../../chunk-RVUL2HXY.js';
|
|
13
14
|
import '../../chunk-K46SDNQD.js';
|
|
14
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-36VYWVQU.js';
|
|
15
16
|
import '../../chunk-K34OPSJK.js';
|
|
17
|
+
import '../../chunk-7G5IYROL.js';
|
|
18
|
+
import '../../chunk-4QKOZYMV.js';
|
|
16
19
|
import '../../chunk-2EBMPJBO.js';
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-PC5NGH5A.js';
|
|
21
|
+
import '../../chunk-7QFRK6PU.js';
|
|
19
22
|
import '../../chunk-HZUB5CON.js';
|
|
20
23
|
import '../../chunk-YDEJQWOL.js';
|
|
21
24
|
import '../../chunk-FWJKWH6U.js';
|