@nicia-ai/typegraph 0.37.1 → 0.38.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 -10
- package/dist/backend/drizzle/indexes.cjs +32 -0
- package/dist/backend/drizzle/indexes.cjs.map +1 -0
- package/dist/backend/drizzle/indexes.d.cts +43 -0
- package/dist/backend/drizzle/indexes.d.ts +43 -0
- package/dist/backend/drizzle/indexes.js +11 -0
- package/dist/backend/drizzle/indexes.js.map +1 -0
- package/dist/backend/index.cjs +161 -0
- package/dist/backend/index.cjs.map +1 -0
- package/dist/backend/index.d.cts +3 -0
- package/dist/backend/index.d.ts +3 -0
- package/dist/backend/index.js +8 -0
- package/dist/backend/index.js.map +1 -0
- package/dist/backend/postgres/index.cjs +32 -28
- package/dist/backend/postgres/index.d.cts +13 -12
- package/dist/backend/postgres/index.d.ts +13 -12
- package/dist/backend/postgres/index.js +19 -15
- package/dist/backend/postgres/pglite-store.cjs +67 -0
- package/dist/backend/postgres/pglite-store.cjs.map +1 -0
- package/dist/backend/postgres/pglite-store.d.cts +38 -0
- package/dist/backend/postgres/pglite-store.d.ts +38 -0
- package/dist/backend/postgres/pglite-store.js +65 -0
- package/dist/backend/postgres/pglite-store.js.map +1 -0
- package/dist/backend/postgres/pglite.cjs +25 -50
- package/dist/backend/postgres/pglite.cjs.map +1 -1
- package/dist/backend/postgres/pglite.d.cts +10 -9
- package/dist/backend/postgres/pglite.d.ts +10 -9
- package/dist/backend/postgres/pglite.js +20 -52
- package/dist/backend/postgres/pglite.js.map +1 -1
- package/dist/backend/sqlite/index.cjs +29 -25
- package/dist/backend/sqlite/index.d.cts +11 -11
- package/dist/backend/sqlite/index.d.ts +11 -11
- package/dist/backend/sqlite/index.js +17 -13
- package/dist/backend/sqlite/libsql.cjs +23 -19
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +9 -10
- package/dist/backend/sqlite/libsql.d.ts +9 -10
- package/dist/backend/sqlite/libsql.js +19 -15
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +72 -0
- package/dist/backend/sqlite/local-store.cjs.map +1 -0
- package/dist/backend/sqlite/local-store.d.cts +42 -0
- package/dist/backend/sqlite/local-store.d.ts +42 -0
- package/dist/backend/sqlite/local-store.js +67 -0
- package/dist/backend/sqlite/local-store.js.map +1 -0
- package/dist/backend/sqlite/local.cjs +28 -183
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +8 -81
- package/dist/backend/sqlite/local.d.ts +8 -81
- package/dist/backend/sqlite/local.js +20 -180
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/chunk-2EBMPJBO.js +16 -0
- package/dist/chunk-2EBMPJBO.js.map +1 -0
- package/dist/{chunk-5AVRFNP4.cjs → chunk-2SL7OGPR.cjs} +2866 -1507
- package/dist/chunk-2SL7OGPR.cjs.map +1 -0
- package/dist/chunk-35S6P5ZU.js +27 -0
- package/dist/chunk-35S6P5ZU.js.map +1 -0
- package/dist/chunk-3LKL3S6X.js +50 -0
- package/dist/chunk-3LKL3S6X.js.map +1 -0
- package/dist/chunk-6G5CQ6JX.js +47 -0
- package/dist/chunk-6G5CQ6JX.js.map +1 -0
- package/dist/chunk-6XDBRDZE.js +312 -0
- package/dist/chunk-6XDBRDZE.js.map +1 -0
- package/dist/chunk-764JHTLT.cjs +15 -0
- package/dist/chunk-764JHTLT.cjs.map +1 -0
- package/dist/chunk-76HE7DJP.js +68 -0
- package/dist/chunk-76HE7DJP.js.map +1 -0
- package/dist/{chunk-VGDDG3XJ.cjs → chunk-7M3NACL3.cjs} +12 -12
- package/dist/{chunk-VGDDG3XJ.cjs.map → chunk-7M3NACL3.cjs.map} +1 -1
- package/dist/{chunk-NXQFATMF.cjs → chunk-7VLCN3JB.cjs} +153 -123
- package/dist/chunk-7VLCN3JB.cjs.map +1 -0
- package/dist/{chunk-GA4TT3DH.js → chunk-A2FGSWMQ.js} +1845 -489
- package/dist/chunk-A2FGSWMQ.js.map +1 -0
- package/dist/chunk-AOL64O4Z.js +165 -0
- package/dist/chunk-AOL64O4Z.js.map +1 -0
- package/dist/{chunk-27SSDCEP.cjs → chunk-B63IFHXR.cjs} +53 -74
- package/dist/chunk-B63IFHXR.cjs.map +1 -0
- package/dist/{chunk-3XXGYU62.cjs → chunk-BKAKAVRW.cjs} +56 -53
- package/dist/chunk-BKAKAVRW.cjs.map +1 -0
- package/dist/{chunk-YTSN73ND.js → chunk-BQITNFQJ.js} +3 -3
- package/dist/{chunk-YTSN73ND.js.map → chunk-BQITNFQJ.js.map} +1 -1
- package/dist/{chunk-NUIG3BCV.cjs → chunk-CQC6VBAF.cjs} +93 -155
- package/dist/chunk-CQC6VBAF.cjs.map +1 -0
- package/dist/{chunk-6EEO3OVU.cjs → chunk-CWX77JB4.cjs} +22 -59
- package/dist/chunk-CWX77JB4.cjs.map +1 -0
- package/dist/{chunk-UGZUAYAR.js → chunk-D7PG5D5K.js} +4 -3
- package/dist/chunk-D7PG5D5K.js.map +1 -0
- package/dist/chunk-DDCIXXOO.js +9 -0
- package/dist/chunk-DDCIXXOO.js.map +1 -0
- package/dist/chunk-DDCYVIVV.cjs +44 -0
- package/dist/chunk-DDCYVIVV.cjs.map +1 -0
- package/dist/{chunk-XPCZADMT.cjs → chunk-DOVMTPKE.cjs} +89 -27
- package/dist/chunk-DOVMTPKE.cjs.map +1 -0
- package/dist/{chunk-5PNMDJ7J.js → chunk-DPNA466P.js} +14 -9
- package/dist/chunk-DPNA466P.js.map +1 -0
- package/dist/{chunk-BYPOGQWK.js → chunk-DRACN6XG.js} +6 -4
- package/dist/chunk-DRACN6XG.js.map +1 -0
- package/dist/chunk-E6TXEISH.cjs +175 -0
- package/dist/chunk-E6TXEISH.cjs.map +1 -0
- package/dist/{chunk-TKT2XHED.js → chunk-E6YZRKMM.js} +13 -12
- package/dist/chunk-E6YZRKMM.js.map +1 -0
- package/dist/{chunk-3C2RYI6L.cjs → chunk-EOJFGECD.cjs} +11 -11
- package/dist/chunk-EOJFGECD.cjs.map +1 -0
- package/dist/{chunk-XWV4JT34.js → chunk-ERZ4QPQX.js} +27 -22
- package/dist/chunk-ERZ4QPQX.js.map +1 -0
- package/dist/{chunk-DFVLCOP6.js → chunk-EZH7FNUS.js} +3 -3
- package/dist/{chunk-DFVLCOP6.js.map → chunk-EZH7FNUS.js.map} +1 -1
- package/dist/{chunk-WWFHO375.cjs → chunk-FJMPR3OH.cjs} +4 -3
- package/dist/chunk-FJMPR3OH.cjs.map +1 -0
- package/dist/chunk-FMNUSGZ4.cjs +12 -0
- package/dist/chunk-FMNUSGZ4.cjs.map +1 -0
- package/dist/{chunk-K3Q3LJY3.js → chunk-G32AO634.js} +201 -100
- package/dist/chunk-G32AO634.js.map +1 -0
- package/dist/{chunk-EXU3RASM.js → chunk-G3CSQLLT.js} +20 -474
- package/dist/chunk-G3CSQLLT.js.map +1 -0
- package/dist/chunk-GNPGGLAE.cjs +212 -0
- package/dist/chunk-GNPGGLAE.cjs.map +1 -0
- package/dist/{chunk-QARBLBXT.cjs → chunk-GUUWKPTK.cjs} +7 -7
- package/dist/{chunk-QARBLBXT.cjs.map → chunk-GUUWKPTK.cjs.map} +1 -1
- package/dist/chunk-GYA4JRP5.js +31 -0
- package/dist/chunk-GYA4JRP5.js.map +1 -0
- package/dist/chunk-I6FX7AAG.js +39 -0
- package/dist/chunk-I6FX7AAG.js.map +1 -0
- package/dist/chunk-IMQKXL4E.cjs +12 -0
- package/dist/{chunk-QSXTWU4U.cjs.map → chunk-IMQKXL4E.cjs.map} +1 -1
- package/dist/chunk-J6IJARLG.js +94 -0
- package/dist/chunk-J6IJARLG.js.map +1 -0
- package/dist/{chunk-W63OVYY4.js → chunk-K34OPSJK.js} +3 -3
- package/dist/{chunk-W63OVYY4.js.map → chunk-K34OPSJK.js.map} +1 -1
- package/dist/{chunk-TGOMW4MB.cjs → chunk-KCLZHYPU.cjs} +110 -109
- package/dist/chunk-KCLZHYPU.cjs.map +1 -0
- package/dist/{chunk-XGPUQ56G.js → chunk-KFLXWVUJ.js} +4 -38
- package/dist/chunk-KFLXWVUJ.js.map +1 -0
- package/dist/{chunk-3DS7Z4T4.cjs → chunk-LZ3TVJY4.cjs} +44 -43
- package/dist/chunk-LZ3TVJY4.cjs.map +1 -0
- package/dist/{chunk-UXLSNRYL.js → chunk-MTNEGGM2.js} +4 -4
- package/dist/chunk-MTNEGGM2.js.map +1 -0
- package/dist/{chunk-IP3CGGPA.cjs → chunk-N2V3HJFV.cjs} +92 -185
- package/dist/chunk-N2V3HJFV.cjs.map +1 -0
- package/dist/chunk-NAUA4PW5.cjs +28 -0
- package/dist/chunk-NAUA4PW5.cjs.map +1 -0
- package/dist/chunk-NMQ6C6TS.cjs +61 -0
- package/dist/chunk-NMQ6C6TS.cjs.map +1 -0
- package/dist/{chunk-2N6EOBTH.cjs → chunk-NPWACFQJ.cjs} +58 -53
- package/dist/chunk-NPWACFQJ.cjs.map +1 -0
- package/dist/{chunk-5KEQ74YU.cjs → chunk-NT6ILURI.cjs} +9 -86
- package/dist/chunk-NT6ILURI.cjs.map +1 -0
- package/dist/chunk-NU23DUSJ.cjs +192 -0
- package/dist/chunk-NU23DUSJ.cjs.map +1 -0
- package/dist/{chunk-WOJMKB3N.cjs → chunk-NWYCOFEZ.cjs} +1677 -308
- package/dist/chunk-NWYCOFEZ.cjs.map +1 -0
- package/dist/{chunk-3GH67G4Z.cjs → chunk-O5H62ZWJ.cjs} +4 -42
- package/dist/chunk-O5H62ZWJ.cjs.map +1 -0
- package/dist/{chunk-3SLPDKHQ.js → chunk-PH4IJ3V5.js} +5 -77
- package/dist/chunk-PH4IJ3V5.js.map +1 -0
- package/dist/chunk-PWXGB77L.cjs +56 -0
- package/dist/chunk-PWXGB77L.cjs.map +1 -0
- package/dist/chunk-PZHC5GCD.js +193 -0
- package/dist/chunk-PZHC5GCD.js.map +1 -0
- package/dist/chunk-QMQLUA66.js +12 -0
- package/dist/chunk-QMQLUA66.js.map +1 -0
- package/dist/{chunk-5WWVZMVX.js → chunk-QZ7A6HBM.js} +2 -2
- package/dist/{chunk-5WWVZMVX.js.map → chunk-QZ7A6HBM.js.map} +1 -1
- package/dist/{chunk-VKGKDOKR.js → chunk-RQPRCEIO.js} +1539 -206
- package/dist/chunk-RQPRCEIO.js.map +1 -0
- package/dist/chunk-RW24SAHI.cjs +74 -0
- package/dist/chunk-RW24SAHI.cjs.map +1 -0
- package/dist/{chunk-BVRDGYXQ.cjs → chunk-SAFZ6JTI.cjs} +14 -9
- package/dist/chunk-SAFZ6JTI.cjs.map +1 -0
- package/dist/{chunk-L7HQ2OSI.js → chunk-SCTZRFW5.js} +87 -166
- package/dist/chunk-SCTZRFW5.js.map +1 -0
- package/dist/{chunk-5KPNWT6X.js → chunk-SDHV2MWU.js} +24 -45
- package/dist/chunk-SDHV2MWU.js.map +1 -0
- package/dist/chunk-SVJ5GEXW.cjs +45 -0
- package/dist/chunk-SVJ5GEXW.cjs.map +1 -0
- package/dist/chunk-SVUKGWSN.cjs +102 -0
- package/dist/chunk-SVUKGWSN.cjs.map +1 -0
- package/dist/chunk-TAUGGLNQ.js +59 -0
- package/dist/chunk-TAUGGLNQ.js.map +1 -0
- package/dist/{chunk-UV3WP5WZ.js → chunk-TE5ZA4VX.js} +55 -27
- package/dist/chunk-TE5ZA4VX.js.map +1 -0
- package/dist/{chunk-A42GCBGX.cjs → chunk-TRF4EBJT.cjs} +6 -4
- package/dist/chunk-TRF4EBJT.cjs.map +1 -0
- package/dist/{chunk-KQJ54OG5.js → chunk-U4JDJKPD.js} +19 -56
- package/dist/chunk-U4JDJKPD.js.map +1 -0
- package/dist/chunk-UH2USOMG.cjs +627 -0
- package/dist/chunk-UH2USOMG.cjs.map +1 -0
- package/dist/{chunk-RCVLFTCT.js → chunk-UPXDVI3T.js} +13 -12
- package/dist/chunk-UPXDVI3T.js.map +1 -0
- package/dist/{chunk-5VQM6VWP.cjs → chunk-UWG5GX6E.cjs} +2 -2
- package/dist/{chunk-5VQM6VWP.cjs.map → chunk-UWG5GX6E.cjs.map} +1 -1
- package/dist/{chunk-3RWZPJKV.js → chunk-VBH7ZXSZ.js} +21 -78
- package/dist/chunk-VBH7ZXSZ.js.map +1 -0
- package/dist/{chunk-K5UBVGJN.js → chunk-VDYA2HMS.js} +6 -6
- package/dist/{chunk-K5UBVGJN.js.map → chunk-VDYA2HMS.js.map} +1 -1
- package/dist/chunk-X4PVHAZ6.cjs +83 -0
- package/dist/chunk-X4PVHAZ6.cjs.map +1 -0
- package/dist/{chunk-UYQMBBWJ.js → chunk-X6CNEA32.js} +23 -20
- package/dist/chunk-X6CNEA32.js.map +1 -0
- package/dist/chunk-X6RDQ5NB.cjs +335 -0
- package/dist/chunk-X6RDQ5NB.cjs.map +1 -0
- package/dist/chunk-XD6X7O5R.js +184 -0
- package/dist/chunk-XD6X7O5R.js.map +1 -0
- package/dist/{chunk-DIQ3AV5W.cjs → chunk-XFY73JWD.cjs} +324 -224
- package/dist/chunk-XFY73JWD.cjs.map +1 -0
- package/dist/{chunk-DEFQM7JU.cjs → chunk-XRU7V7FF.cjs} +7 -7
- package/dist/{chunk-DEFQM7JU.cjs.map → chunk-XRU7V7FF.cjs.map} +1 -1
- package/dist/{chunk-TPF25IG6.js → chunk-XZA3Y4YH.js} +3 -3
- package/dist/{chunk-TPF25IG6.js.map → chunk-XZA3Y4YH.js.map} +1 -1
- package/dist/chunk-Y7M44XEK.js +462 -0
- package/dist/chunk-Y7M44XEK.js.map +1 -0
- package/dist/{chunk-RRSNR3TP.js → chunk-YIRLBUNN.js} +3 -3
- package/dist/{chunk-RRSNR3TP.js.map → chunk-YIRLBUNN.js.map} +1 -1
- package/dist/{chunk-IXGYRP2P.js → chunk-YJDSPA5E.js} +79 -49
- package/dist/chunk-YJDSPA5E.js.map +1 -0
- package/dist/{chunk-EJYMTO3K.cjs → chunk-YLINFV7Z.cjs} +144 -116
- package/dist/chunk-YLINFV7Z.cjs.map +1 -0
- package/dist/{chunk-QERAIDRJ.js → chunk-Z2PPIVOO.js} +82 -22
- package/dist/chunk-Z2PPIVOO.js.map +1 -0
- package/dist/chunk-Z5QHVL5U.cjs +12 -0
- package/dist/chunk-Z5QHVL5U.cjs.map +1 -0
- package/dist/chunk-ZDH3DX3C.cjs +30 -0
- package/dist/chunk-ZDH3DX3C.cjs.map +1 -0
- package/dist/chunk-ZE6NVENI.js +77 -0
- package/dist/chunk-ZE6NVENI.js.map +1 -0
- package/dist/chunk-ZHX4KEM7.cjs +49 -0
- package/dist/chunk-ZHX4KEM7.cjs.map +1 -0
- package/dist/chunk-ZKZAIX42.cjs +479 -0
- package/dist/chunk-ZKZAIX42.cjs.map +1 -0
- package/dist/{chunk-TEDRJXOG.cjs → chunk-ZY4GXIVN.cjs} +5 -5
- package/dist/{chunk-TEDRJXOG.cjs.map → chunk-ZY4GXIVN.cjs.map} +1 -1
- package/dist/core/index.cjs +117 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +225 -0
- package/dist/core/index.d.ts +225 -0
- package/dist/core/index.js +12 -0
- package/dist/core/index.js.map +1 -0
- package/dist/{ddl-CS0KUVwB.d.ts → ddl-Dx3Z0_WC.d.ts} +3 -3
- package/dist/{ddl-BD-ZfKeX.d.cts → ddl-J6sDyABg.d.cts} +3 -3
- package/dist/define-graph-CzEvA_8F.d.cts +174 -0
- package/dist/define-graph-DRo9xpYN.d.ts +174 -0
- package/dist/{extension-types-BM2ACfYO.d.cts → extension-types-BLEVH4SG.d.cts} +1 -1
- package/dist/{extension-types-BM2ACfYO.d.ts → extension-types-BLEVH4SG.d.ts} +1 -1
- package/dist/graph-extension/index.cjs +21 -19
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +6 -4
- package/dist/graph-merge/index.cjs +265 -214
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +8 -89
- package/dist/graph-merge/index.d.ts +8 -89
- package/dist/graph-merge/index.js +141 -90
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-BeacbPoe.d.ts → index-BD_3TCgh.d.ts} +6 -4
- package/dist/{index-BPM59vsg.d.cts → index-BihFPsPu.d.cts} +6 -4
- package/dist/{fulltext-strategy-C27vXaeB.d.cts → index-Bq7vSPHy.d.ts} +3195 -2646
- package/dist/{fulltext-strategy-DebsMrqg.d.ts → index-CrFL_ENI.d.cts} +3195 -2646
- package/dist/index.cjs +326 -315
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -240
- package/dist/index.d.ts +59 -240
- package/dist/index.js +46 -79
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +26 -38
- package/dist/indexes/index.d.cts +6 -41
- package/dist/indexes/index.d.ts +6 -41
- package/dist/indexes/index.js +14 -10
- package/dist/interchange/index.cjs +48 -39
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +7 -8
- package/dist/interchange/index.d.ts +7 -8
- package/dist/interchange/index.js +23 -14
- package/dist/interchange/index.js.map +1 -1
- package/dist/local-options-CZ1BnIoF.d.cts +29 -0
- package/dist/local-options-CZ1BnIoF.d.ts +29 -0
- package/dist/{manager-D00_NXvT.d.ts → manager-CASfhmzV.d.ts} +4 -173
- package/dist/{manager-nU1vTJLy.d.cts → manager-nCEJiYBb.d.cts} +4 -173
- package/dist/{materialize-indexes-zK2J_flP.d.ts → materialize-indexes-D4iei4Kp.d.ts} +1 -1
- package/dist/{materialize-indexes-CuR3gAZb.d.cts → materialize-indexes-ExQ6OrAh.d.cts} +1 -1
- package/dist/{postgres-IaBA4RgE.d.ts → postgres-Cl1ZAN1G.d.ts} +1 -1
- package/dist/{postgres-YrYmPlaU.d.cts → postgres-DMgIKQU-.d.cts} +1 -1
- package/dist/postgres-execution-fKW0qRiN.d.cts +14 -0
- package/dist/postgres-execution-fKW0qRiN.d.ts +14 -0
- package/dist/profiler/index.cjs +9 -8
- package/dist/profiler/index.cjs.map +1 -1
- package/dist/profiler/index.d.cts +9 -17
- package/dist/profiler/index.d.ts +9 -17
- package/dist/profiler/index.js +8 -7
- package/dist/profiler/index.js.map +1 -1
- package/dist/provenance/index.cjs +61 -55
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +7 -8
- package/dist/provenance/index.d.ts +7 -8
- package/dist/provenance/index.js +34 -28
- package/dist/provenance/index.js.map +1 -1
- package/dist/schema/index.cjs +46 -37
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +8 -10
- package/dist/schema/index.d.ts +8 -10
- package/dist/schema/index.js +22 -13
- package/dist/schema/index.js.map +1 -1
- package/dist/{sqlite-BUOHPx7p.d.ts → sqlite-BDkW39aa.d.cts} +1 -1
- package/dist/{sqlite-Pp8O19WE.d.cts → sqlite-CYfhvESj.d.ts} +1 -1
- package/dist/sqlite-execution-DwbE2a9y.d.cts +32 -0
- package/dist/sqlite-execution-DwbE2a9y.d.ts +32 -0
- package/dist/{store-view-X96Rd00T.d.cts → store-view-BoHqdHjB.d.cts} +394 -1393
- package/dist/{store-view-ANL6mTph.d.ts → store-view-Ctq-3OHy.d.ts} +394 -1393
- package/dist/temporal-BC_NQV5Y.d.cts +281 -0
- package/dist/temporal-DqtOEo_B.d.ts +281 -0
- package/dist/{types-r-Zyq2Hz.d.cts → types-COq3-vMC.d.cts} +2 -2
- package/dist/{types-wsvuBgPK.d.ts → types-CUevi_D1.d.ts} +2 -2
- package/dist/{where-CJOpJj3a.d.ts → where-BdE_cYtx.d.ts} +5 -5
- package/dist/{where-K3uBP33l.d.cts → where-C92TXCzT.d.cts} +5 -5
- package/package.json +37 -6
- package/dist/chunk-27SSDCEP.cjs.map +0 -1
- package/dist/chunk-2N6EOBTH.cjs.map +0 -1
- package/dist/chunk-3C2RYI6L.cjs.map +0 -1
- package/dist/chunk-3DS7Z4T4.cjs.map +0 -1
- package/dist/chunk-3GH67G4Z.cjs.map +0 -1
- package/dist/chunk-3RWZPJKV.js.map +0 -1
- package/dist/chunk-3SLPDKHQ.js.map +0 -1
- package/dist/chunk-3XXGYU62.cjs.map +0 -1
- package/dist/chunk-44TA22QT.js +0 -1478
- package/dist/chunk-44TA22QT.js.map +0 -1
- package/dist/chunk-5AVRFNP4.cjs.map +0 -1
- package/dist/chunk-5KEQ74YU.cjs.map +0 -1
- package/dist/chunk-5KPNWT6X.js.map +0 -1
- package/dist/chunk-5PNMDJ7J.js.map +0 -1
- package/dist/chunk-6EEO3OVU.cjs.map +0 -1
- package/dist/chunk-7YSP4V4R.cjs +0 -69
- package/dist/chunk-7YSP4V4R.cjs.map +0 -1
- package/dist/chunk-A42GCBGX.cjs.map +0 -1
- package/dist/chunk-BVRDGYXQ.cjs.map +0 -1
- package/dist/chunk-BYPOGQWK.js.map +0 -1
- package/dist/chunk-CUHM5CWJ.cjs +0 -12
- package/dist/chunk-CUHM5CWJ.cjs.map +0 -1
- package/dist/chunk-DIQ3AV5W.cjs.map +0 -1
- package/dist/chunk-EJYMTO3K.cjs.map +0 -1
- package/dist/chunk-EXU3RASM.js.map +0 -1
- package/dist/chunk-GA4TT3DH.js.map +0 -1
- package/dist/chunk-IP3CGGPA.cjs.map +0 -1
- package/dist/chunk-IPSVVTWT.cjs +0 -1540
- package/dist/chunk-IPSVVTWT.cjs.map +0 -1
- package/dist/chunk-IXGYRP2P.js.map +0 -1
- package/dist/chunk-K3Q3LJY3.js.map +0 -1
- package/dist/chunk-KQJ54OG5.js.map +0 -1
- package/dist/chunk-L7HQ2OSI.js.map +0 -1
- package/dist/chunk-M6VES7V6.js +0 -239
- package/dist/chunk-M6VES7V6.js.map +0 -1
- package/dist/chunk-NUIG3BCV.cjs.map +0 -1
- package/dist/chunk-NXQFATMF.cjs.map +0 -1
- package/dist/chunk-OHMP6N2J.js +0 -47
- package/dist/chunk-OHMP6N2J.js.map +0 -1
- package/dist/chunk-QERAIDRJ.js.map +0 -1
- package/dist/chunk-QSXTWU4U.cjs +0 -12
- package/dist/chunk-RCVLFTCT.js.map +0 -1
- package/dist/chunk-TGOMW4MB.cjs.map +0 -1
- package/dist/chunk-TKT2XHED.js.map +0 -1
- package/dist/chunk-UGZUAYAR.js.map +0 -1
- package/dist/chunk-UV3WP5WZ.js.map +0 -1
- package/dist/chunk-UXLSNRYL.js.map +0 -1
- package/dist/chunk-UYQMBBWJ.js.map +0 -1
- package/dist/chunk-VKGKDOKR.js.map +0 -1
- package/dist/chunk-VL2V6PEN.cjs +0 -261
- package/dist/chunk-VL2V6PEN.cjs.map +0 -1
- package/dist/chunk-WOJMKB3N.cjs.map +0 -1
- package/dist/chunk-WWFHO375.cjs.map +0 -1
- package/dist/chunk-XGPUQ56G.js.map +0 -1
- package/dist/chunk-XGU7DZDA.cjs +0 -1095
- package/dist/chunk-XGU7DZDA.cjs.map +0 -1
- package/dist/chunk-XPCZADMT.cjs.map +0 -1
- package/dist/chunk-XWV4JT34.js.map +0 -1
package/README.md
CHANGED
|
@@ -15,11 +15,9 @@ npm install @nicia-ai/typegraph zod drizzle-orm better-sqlite3
|
|
|
15
15
|
|
|
16
16
|
```ts
|
|
17
17
|
import { z } from "zod";
|
|
18
|
-
import Database from "better-sqlite3";
|
|
19
|
-
import { drizzle } from "drizzle-orm/better-sqlite3";
|
|
20
18
|
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
19
|
+
import { defineEdge, defineGraph, defineNode } from "@nicia-ai/typegraph";
|
|
20
|
+
import { createLocalSqliteStore } from "@nicia-ai/typegraph/sqlite/local";
|
|
23
21
|
|
|
24
22
|
const Person = defineNode("Person", { schema: z.object({ name: z.string() }) });
|
|
25
23
|
const knows = defineEdge("knows");
|
|
@@ -30,18 +28,22 @@ const graph = defineGraph({
|
|
|
30
28
|
edges: { knows: { type: knows, from: [Person], to: [Person] } },
|
|
31
29
|
});
|
|
32
30
|
|
|
33
|
-
const
|
|
34
|
-
const db = drizzle(sqlite);
|
|
35
|
-
sqlite.exec(generateSqliteMigrationSQL());
|
|
36
|
-
|
|
37
|
-
const backend = createSqliteBackend(db);
|
|
38
|
-
const store = createStore(graph, backend);
|
|
31
|
+
const store = await createLocalSqliteStore(graph);
|
|
39
32
|
|
|
40
33
|
const alice = await store.nodes.Person.create({ name: "Alice" });
|
|
41
34
|
const bob = await store.nodes.Person.create({ name: "Bob" });
|
|
42
35
|
await store.edges.knows.create(alice, bob);
|
|
36
|
+
await store.close();
|
|
43
37
|
```
|
|
44
38
|
|
|
39
|
+
Use the explicit `/adapters/drizzle/...` entrypoints when your application owns
|
|
40
|
+
the database connection or needs adapter-native transaction handles.
|
|
41
|
+
|
|
42
|
+
Schema-only packages can import the graph DSL and schema-derived types from the
|
|
43
|
+
Drizzle-free `@nicia-ai/typegraph/core` entrypoint. Custom backend, dialect, and
|
|
44
|
+
search-strategy authors can import the complete Drizzle-free contract vocabulary
|
|
45
|
+
from `@nicia-ai/typegraph/backend`.
|
|
46
|
+
|
|
45
47
|
See the repo README for more.
|
|
46
48
|
|
|
47
49
|
Examples: [github.com/nicia-ai/typegraph/tree/main/packages/typegraph/examples](https://github.com/nicia-ai/typegraph/tree/main/packages/typegraph/examples)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkDOVMTPKE_cjs = require('../../chunk-DOVMTPKE.cjs');
|
|
4
|
+
require('../../chunk-GUUWKPTK.cjs');
|
|
5
|
+
require('../../chunk-UH2USOMG.cjs');
|
|
6
|
+
require('../../chunk-Z5QHVL5U.cjs');
|
|
7
|
+
require('../../chunk-ZKZAIX42.cjs');
|
|
8
|
+
require('../../chunk-X6RDQ5NB.cjs');
|
|
9
|
+
require('../../chunk-764JHTLT.cjs');
|
|
10
|
+
require('../../chunk-SAFZ6JTI.cjs');
|
|
11
|
+
require('../../chunk-TDXIBCGY.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, "buildPostgresEdgeIndexBuilders", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkDOVMTPKE_cjs.buildPostgresEdgeIndexBuilders; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "buildPostgresNodeIndexBuilders", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkDOVMTPKE_cjs.buildPostgresNodeIndexBuilders; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "buildSqliteEdgeIndexBuilders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkDOVMTPKE_cjs.buildSqliteEdgeIndexBuilders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "buildSqliteNodeIndexBuilders", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkDOVMTPKE_cjs.buildSqliteNodeIndexBuilders; }
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=indexes.cjs.map
|
|
32
|
+
//# sourceMappingURL=indexes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"indexes.cjs"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SQLWrapper } from 'drizzle-orm';
|
|
2
|
+
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
3
|
+
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
4
|
+
import { I as IndexDeclaration } from '../../index-CrFL_ENI.cjs';
|
|
5
|
+
import '../../extension-types-BLEVH4SG.cjs';
|
|
6
|
+
import 'zod';
|
|
7
|
+
|
|
8
|
+
declare function buildPostgresNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
|
|
9
|
+
declare function buildPostgresEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
|
|
10
|
+
declare function buildSqliteNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder$1[];
|
|
11
|
+
declare function buildSqliteEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder$1[];
|
|
12
|
+
type NamedSqlWrapper = SQLWrapper & Readonly<{
|
|
13
|
+
name: string;
|
|
14
|
+
}>;
|
|
15
|
+
type NodeIndexTable = Readonly<{
|
|
16
|
+
graphId: NamedSqlWrapper;
|
|
17
|
+
kind: NamedSqlWrapper;
|
|
18
|
+
id: NamedSqlWrapper;
|
|
19
|
+
props: NamedSqlWrapper;
|
|
20
|
+
version: NamedSqlWrapper;
|
|
21
|
+
validFrom: NamedSqlWrapper;
|
|
22
|
+
validTo: NamedSqlWrapper;
|
|
23
|
+
createdAt: NamedSqlWrapper;
|
|
24
|
+
updatedAt: NamedSqlWrapper;
|
|
25
|
+
deletedAt: NamedSqlWrapper;
|
|
26
|
+
}>;
|
|
27
|
+
type EdgeIndexTable = Readonly<{
|
|
28
|
+
graphId: NamedSqlWrapper;
|
|
29
|
+
id: NamedSqlWrapper;
|
|
30
|
+
kind: NamedSqlWrapper;
|
|
31
|
+
fromKind: NamedSqlWrapper;
|
|
32
|
+
fromId: NamedSqlWrapper;
|
|
33
|
+
toKind: NamedSqlWrapper;
|
|
34
|
+
toId: NamedSqlWrapper;
|
|
35
|
+
props: NamedSqlWrapper;
|
|
36
|
+
validFrom: NamedSqlWrapper;
|
|
37
|
+
validTo: NamedSqlWrapper;
|
|
38
|
+
createdAt: NamedSqlWrapper;
|
|
39
|
+
updatedAt: NamedSqlWrapper;
|
|
40
|
+
deletedAt: NamedSqlWrapper;
|
|
41
|
+
}>;
|
|
42
|
+
|
|
43
|
+
export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SQLWrapper } from 'drizzle-orm';
|
|
2
|
+
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
3
|
+
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
4
|
+
import { I as IndexDeclaration } from '../../index-Bq7vSPHy.js';
|
|
5
|
+
import '../../extension-types-BLEVH4SG.js';
|
|
6
|
+
import 'zod';
|
|
7
|
+
|
|
8
|
+
declare function buildPostgresNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
|
|
9
|
+
declare function buildPostgresEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
|
|
10
|
+
declare function buildSqliteNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder$1[];
|
|
11
|
+
declare function buildSqliteEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder$1[];
|
|
12
|
+
type NamedSqlWrapper = SQLWrapper & Readonly<{
|
|
13
|
+
name: string;
|
|
14
|
+
}>;
|
|
15
|
+
type NodeIndexTable = Readonly<{
|
|
16
|
+
graphId: NamedSqlWrapper;
|
|
17
|
+
kind: NamedSqlWrapper;
|
|
18
|
+
id: NamedSqlWrapper;
|
|
19
|
+
props: NamedSqlWrapper;
|
|
20
|
+
version: NamedSqlWrapper;
|
|
21
|
+
validFrom: NamedSqlWrapper;
|
|
22
|
+
validTo: NamedSqlWrapper;
|
|
23
|
+
createdAt: NamedSqlWrapper;
|
|
24
|
+
updatedAt: NamedSqlWrapper;
|
|
25
|
+
deletedAt: NamedSqlWrapper;
|
|
26
|
+
}>;
|
|
27
|
+
type EdgeIndexTable = Readonly<{
|
|
28
|
+
graphId: NamedSqlWrapper;
|
|
29
|
+
id: NamedSqlWrapper;
|
|
30
|
+
kind: NamedSqlWrapper;
|
|
31
|
+
fromKind: NamedSqlWrapper;
|
|
32
|
+
fromId: NamedSqlWrapper;
|
|
33
|
+
toKind: NamedSqlWrapper;
|
|
34
|
+
toId: NamedSqlWrapper;
|
|
35
|
+
props: NamedSqlWrapper;
|
|
36
|
+
validFrom: NamedSqlWrapper;
|
|
37
|
+
validTo: NamedSqlWrapper;
|
|
38
|
+
createdAt: NamedSqlWrapper;
|
|
39
|
+
updatedAt: NamedSqlWrapper;
|
|
40
|
+
deletedAt: NamedSqlWrapper;
|
|
41
|
+
}>;
|
|
42
|
+
|
|
43
|
+
export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders } from '../../chunk-Z2PPIVOO.js';
|
|
2
|
+
import '../../chunk-BQITNFQJ.js';
|
|
3
|
+
import '../../chunk-G3CSQLLT.js';
|
|
4
|
+
import '../../chunk-DDCIXXOO.js';
|
|
5
|
+
import '../../chunk-Y7M44XEK.js';
|
|
6
|
+
import '../../chunk-6XDBRDZE.js';
|
|
7
|
+
import '../../chunk-QMQLUA66.js';
|
|
8
|
+
import '../../chunk-DPNA466P.js';
|
|
9
|
+
import '../../chunk-G6Q5UM7U.js';
|
|
10
|
+
//# sourceMappingURL=indexes.js.map
|
|
11
|
+
//# sourceMappingURL=indexes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"indexes.js"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkGNPGGLAE_cjs = require('../chunk-GNPGGLAE.cjs');
|
|
4
|
+
var chunkZKZAIX42_cjs = require('../chunk-ZKZAIX42.cjs');
|
|
5
|
+
var chunkX6RDQ5NB_cjs = require('../chunk-X6RDQ5NB.cjs');
|
|
6
|
+
require('../chunk-764JHTLT.cjs');
|
|
7
|
+
var chunkSVJ5GEXW_cjs = require('../chunk-SVJ5GEXW.cjs');
|
|
8
|
+
require('../chunk-SAFZ6JTI.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "D1_MAX_BIND_PARAMETERS", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkGNPGGLAE_cjs.D1_MAX_BIND_PARAMETERS; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "DURABLE_OBJECT_MAX_BIND_PARAMETERS", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkGNPGGLAE_cjs.DURABLE_OBJECT_MAX_BIND_PARAMETERS; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "MODERN_SQLITE_MAX_BIND_PARAMETERS", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkGNPGGLAE_cjs.MODERN_SQLITE_MAX_BIND_PARAMETERS; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "POSTGRES_CAPABILITIES", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkGNPGGLAE_cjs.POSTGRES_CAPABILITIES; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "POSTGRES_MAX_BIND_PARAMETERS", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkGNPGGLAE_cjs.POSTGRES_MAX_BIND_PARAMETERS; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "SQLITE_CAPABILITIES", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkGNPGGLAE_cjs.SQLITE_CAPABILITIES; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "SQLITE_MAX_BIND_PARAMETERS", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkGNPGGLAE_cjs.SQLITE_MAX_BIND_PARAMETERS; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "isLiveNodeRow", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkGNPGGLAE_cjs.isLiveNodeRow; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "isTombstonedNodeRow", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkGNPGGLAE_cjs.isTombstonedNodeRow; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "normalizeGraphAnalyticsCapabilities", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkGNPGGLAE_cjs.normalizeGraphAnalyticsCapabilities; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "rowPropsToJsonText", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkGNPGGLAE_cjs.rowPropsToJsonText; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "rowPropsToObject", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkGNPGGLAE_cjs.rowPropsToObject; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "ALL_FULLTEXT_MODES", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkZKZAIX42_cjs.ALL_FULLTEXT_MODES; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "BASE_CONTRIBUTION_OWNER", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkZKZAIX42_cjs.BASE_CONTRIBUTION_OWNER; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "FULLTEXT_CONTRIBUTION_NAME", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkZKZAIX42_cjs.FULLTEXT_CONTRIBUTION_NAME; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "VECTOR_CONTRIBUTION_PREFIX", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkZKZAIX42_cjs.VECTOR_CONTRIBUTION_PREFIX; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "assertFiniteEmbedding", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkZKZAIX42_cjs.assertFiniteEmbedding; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "assertVectorMinScore", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkZKZAIX42_cjs.assertVectorMinScore; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "assertVectorSearchLimit", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkZKZAIX42_cjs.assertVectorSearchLimit; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "buildFulltextCapabilities", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkZKZAIX42_cjs.buildFulltextCapabilities; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "buildVectorCapabilities", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkZKZAIX42_cjs.buildVectorCapabilities; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "fts5Strategy", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkZKZAIX42_cjs.fts5Strategy; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "quoteIdentifier", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkZKZAIX42_cjs.quoteIdentifier; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "shortHash", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkZKZAIX42_cjs.shortHash; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "tsvectorStrategy", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkZKZAIX42_cjs.tsvectorStrategy; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "vectorMinScoreCondition", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkZKZAIX42_cjs.vectorMinScoreCondition; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "vectorPhysicalName", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkZKZAIX42_cjs.vectorPhysicalName; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "vectorScoreExpression", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkZKZAIX42_cjs.vectorScoreExpression; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "Placeholder", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkX6RDQ5NB_cjs.Placeholder; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "isSqlFragment", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkX6RDQ5NB_cjs.isSqlFragment; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "isSqlPlaceholder", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkX6RDQ5NB_cjs.isSqlPlaceholder; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "renderPostgres", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkX6RDQ5NB_cjs.renderPostgres; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "renderSql", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkX6RDQ5NB_cjs.renderSql; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "renderSqlInline", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkX6RDQ5NB_cjs.renderSqlInline; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "renderSqlite", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkX6RDQ5NB_cjs.renderSqlite; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "sql", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkX6RDQ5NB_cjs.sql; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "ALL_META_EDGE_NAMES", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkSVJ5GEXW_cjs.ALL_META_EDGE_NAMES; }
|
|
159
|
+
});
|
|
160
|
+
//# sourceMappingURL=index.cjs.map
|
|
161
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, G as GraphBackend, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aV as SqlTableNames, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../index-CrFL_ENI.cjs';
|
|
2
|
+
export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.cjs';
|
|
3
|
+
import 'zod';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, G as GraphBackend, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aV as SqlTableNames, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../index-Bq7vSPHy.js';
|
|
2
|
+
export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.js';
|
|
3
|
+
import 'zod';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { D1_MAX_BIND_PARAMETERS, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, rowPropsToJsonText, rowPropsToObject } from '../chunk-PZHC5GCD.js';
|
|
2
|
+
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-Y7M44XEK.js';
|
|
3
|
+
export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-6XDBRDZE.js';
|
|
4
|
+
import '../chunk-QMQLUA66.js';
|
|
5
|
+
export { ALL_META_EDGE_NAMES } from '../chunk-GYA4JRP5.js';
|
|
6
|
+
import '../chunk-DPNA466P.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,76 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
3
|
+
var chunk7VLCN3JB_cjs = require('../../chunk-7VLCN3JB.cjs');
|
|
4
|
+
var chunkXFY73JWD_cjs = require('../../chunk-XFY73JWD.cjs');
|
|
5
|
+
require('../../chunk-B63IFHXR.cjs');
|
|
6
|
+
require('../../chunk-FMNUSGZ4.cjs');
|
|
7
|
+
require('../../chunk-EOJFGECD.cjs');
|
|
8
|
+
require('../../chunk-E6TXEISH.cjs');
|
|
9
|
+
require('../../chunk-DOVMTPKE.cjs');
|
|
10
|
+
require('../../chunk-ZDH3DX3C.cjs');
|
|
11
|
+
require('../../chunk-GNPGGLAE.cjs');
|
|
10
12
|
require('../../chunk-ACSVZPK7.cjs');
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
15
|
-
require('../../chunk-
|
|
16
|
-
require('../../chunk-
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-
|
|
13
|
+
require('../../chunk-O5H62ZWJ.cjs');
|
|
14
|
+
require('../../chunk-GUUWKPTK.cjs');
|
|
15
|
+
require('../../chunk-ZY4GXIVN.cjs');
|
|
16
|
+
require('../../chunk-NAUA4PW5.cjs');
|
|
17
|
+
require('../../chunk-UH2USOMG.cjs');
|
|
18
|
+
require('../../chunk-Z5QHVL5U.cjs');
|
|
19
|
+
require('../../chunk-ZKZAIX42.cjs');
|
|
20
|
+
require('../../chunk-X6RDQ5NB.cjs');
|
|
21
|
+
require('../../chunk-764JHTLT.cjs');
|
|
22
|
+
require('../../chunk-SAFZ6JTI.cjs');
|
|
19
23
|
require('../../chunk-TDXIBCGY.cjs');
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
|
|
23
27
|
Object.defineProperty(exports, "createPostgresBackend", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk7VLCN3JB_cjs.createPostgresBackend; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "createPostgresTables", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkXFY73JWD_cjs.createPostgresTables; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "edges", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkXFY73JWD_cjs.edges; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "fulltext", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkXFY73JWD_cjs.fulltext; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "generatePostgresDDL", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkXFY73JWD_cjs.generatePostgresDDL; }
|
|
42
46
|
});
|
|
43
47
|
Object.defineProperty(exports, "generatePostgresMigrationSQL", {
|
|
44
48
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkXFY73JWD_cjs.generatePostgresMigrationSQL; }
|
|
46
50
|
});
|
|
47
51
|
Object.defineProperty(exports, "nodes", {
|
|
48
52
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkXFY73JWD_cjs.nodes; }
|
|
50
54
|
});
|
|
51
55
|
Object.defineProperty(exports, "recordedClock", {
|
|
52
56
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkXFY73JWD_cjs.recordedClock; }
|
|
54
58
|
});
|
|
55
59
|
Object.defineProperty(exports, "recordedEdges", {
|
|
56
60
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkXFY73JWD_cjs.recordedEdges; }
|
|
58
62
|
});
|
|
59
63
|
Object.defineProperty(exports, "recordedNodes", {
|
|
60
64
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkXFY73JWD_cjs.recordedNodes; }
|
|
62
66
|
});
|
|
63
67
|
Object.defineProperty(exports, "schemaVersions", {
|
|
64
68
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkXFY73JWD_cjs.schemaVersions; }
|
|
66
70
|
});
|
|
67
71
|
Object.defineProperty(exports, "tables", {
|
|
68
72
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkXFY73JWD_cjs.tables; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "uniques", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkXFY73JWD_cjs.uniques; }
|
|
74
78
|
});
|
|
75
79
|
//# sourceMappingURL=index.cjs.map
|
|
76
80
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
import '../../extension-types-BM2ACfYO.cjs';
|
|
7
|
-
import 'zod';
|
|
1
|
+
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
|
|
2
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../index-CrFL_ENI.cjs';
|
|
3
|
+
import { P as PostgresTables } from '../../postgres-DMgIKQU-.cjs';
|
|
4
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-DMgIKQU-.cjs';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-J6sDyABg.cjs';
|
|
8
6
|
import 'drizzle-orm/pg-core';
|
|
7
|
+
import 'drizzle-orm/relations';
|
|
8
|
+
import '../../extension-types-BLEVH4SG.cjs';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../../sqlite-BDkW39aa.cjs';
|
|
9
11
|
import 'drizzle-orm/sqlite-core';
|
|
10
|
-
import '../../sqlite-Pp8O19WE.cjs';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* PostgreSQL backend adapter for TypeGraph.
|
|
@@ -23,7 +24,7 @@ import '../../sqlite-Pp8O19WE.cjs';
|
|
|
23
24
|
* - `drizzle-orm/pglite` (PGlite, Postgres-in-WASM) — the execution
|
|
24
25
|
* fast path detects PGlite and routes it correctly (its `.query` has no
|
|
25
26
|
* named-statement form). For a batteries-included in-process setup, see
|
|
26
|
-
* `createLocalPgliteBackend` in `@nicia-ai/typegraph/postgres/pglite`.
|
|
27
|
+
* `createLocalPgliteBackend` in `@nicia-ai/typegraph/adapters/drizzle/postgres/pglite`.
|
|
27
28
|
*
|
|
28
29
|
* Other pg-protocol Drizzle adapters (Vercel Postgres, Supabase via pg)
|
|
29
30
|
* work unchanged because they all expose a compatible `db.execute()` /
|
|
@@ -33,7 +34,7 @@ import '../../sqlite-Pp8O19WE.cjs';
|
|
|
33
34
|
* ```typescript
|
|
34
35
|
* import { drizzle } from "drizzle-orm/node-postgres";
|
|
35
36
|
* import { Pool } from "pg";
|
|
36
|
-
* import { createPostgresBackend, tables } from "@nicia-ai/typegraph/postgres";
|
|
37
|
+
* import { createPostgresBackend, tables } from "@nicia-ai/typegraph/adapters/drizzle/postgres";
|
|
37
38
|
*
|
|
38
39
|
* const pool = new Pool({ connectionString: process.env.DATABASE_URL });
|
|
39
40
|
* const db = drizzle(pool);
|
|
@@ -124,6 +125,6 @@ type PostgresBackendOptions = Readonly<{
|
|
|
124
125
|
* @param options - Backend configuration
|
|
125
126
|
* @returns A GraphBackend implementation
|
|
126
127
|
*/
|
|
127
|
-
declare function createPostgresBackend(db: AnyPgDatabase, options?: PostgresBackendOptions):
|
|
128
|
+
declare function createPostgresBackend(db: AnyPgDatabase, options?: PostgresBackendOptions): AdapterBackend<AnyPgTransaction>;
|
|
128
129
|
|
|
129
|
-
export { type PostgresBackendOptions, PostgresTables, createPostgresBackend };
|
|
130
|
+
export { AnyPgDatabase, AnyPgTransaction, type PostgresBackendOptions, PostgresTables, createPostgresBackend };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
import '../../extension-types-BM2ACfYO.js';
|
|
7
|
-
import 'zod';
|
|
1
|
+
import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
|
|
2
|
+
import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../index-Bq7vSPHy.js';
|
|
3
|
+
import { P as PostgresTables } from '../../postgres-Cl1ZAN1G.js';
|
|
4
|
+
export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-Cl1ZAN1G.js';
|
|
5
|
+
export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-Dx3Z0_WC.js';
|
|
8
6
|
import 'drizzle-orm/pg-core';
|
|
7
|
+
import 'drizzle-orm/relations';
|
|
8
|
+
import '../../extension-types-BLEVH4SG.js';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '../../sqlite-CYfhvESj.js';
|
|
9
11
|
import 'drizzle-orm/sqlite-core';
|
|
10
|
-
import '../../sqlite-BUOHPx7p.js';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* PostgreSQL backend adapter for TypeGraph.
|
|
@@ -23,7 +24,7 @@ import '../../sqlite-BUOHPx7p.js';
|
|
|
23
24
|
* - `drizzle-orm/pglite` (PGlite, Postgres-in-WASM) — the execution
|
|
24
25
|
* fast path detects PGlite and routes it correctly (its `.query` has no
|
|
25
26
|
* named-statement form). For a batteries-included in-process setup, see
|
|
26
|
-
* `createLocalPgliteBackend` in `@nicia-ai/typegraph/postgres/pglite`.
|
|
27
|
+
* `createLocalPgliteBackend` in `@nicia-ai/typegraph/adapters/drizzle/postgres/pglite`.
|
|
27
28
|
*
|
|
28
29
|
* Other pg-protocol Drizzle adapters (Vercel Postgres, Supabase via pg)
|
|
29
30
|
* work unchanged because they all expose a compatible `db.execute()` /
|
|
@@ -33,7 +34,7 @@ import '../../sqlite-BUOHPx7p.js';
|
|
|
33
34
|
* ```typescript
|
|
34
35
|
* import { drizzle } from "drizzle-orm/node-postgres";
|
|
35
36
|
* import { Pool } from "pg";
|
|
36
|
-
* import { createPostgresBackend, tables } from "@nicia-ai/typegraph/postgres";
|
|
37
|
+
* import { createPostgresBackend, tables } from "@nicia-ai/typegraph/adapters/drizzle/postgres";
|
|
37
38
|
*
|
|
38
39
|
* const pool = new Pool({ connectionString: process.env.DATABASE_URL });
|
|
39
40
|
* const db = drizzle(pool);
|
|
@@ -124,6 +125,6 @@ type PostgresBackendOptions = Readonly<{
|
|
|
124
125
|
* @param options - Backend configuration
|
|
125
126
|
* @returns A GraphBackend implementation
|
|
126
127
|
*/
|
|
127
|
-
declare function createPostgresBackend(db: AnyPgDatabase, options?: PostgresBackendOptions):
|
|
128
|
+
declare function createPostgresBackend(db: AnyPgDatabase, options?: PostgresBackendOptions): AdapterBackend<AnyPgTransaction>;
|
|
128
129
|
|
|
129
|
-
export { type PostgresBackendOptions, PostgresTables, createPostgresBackend };
|
|
130
|
+
export { AnyPgDatabase, AnyPgTransaction, type PostgresBackendOptions, PostgresTables, createPostgresBackend };
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
export { createPostgresBackend } from '../../chunk-
|
|
2
|
-
export { createPostgresTables, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
1
|
+
export { createPostgresBackend } from '../../chunk-YJDSPA5E.js';
|
|
2
|
+
export { createPostgresTables, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-G32AO634.js';
|
|
3
|
+
import '../../chunk-SDHV2MWU.js';
|
|
4
|
+
import '../../chunk-EZH7FNUS.js';
|
|
5
|
+
import '../../chunk-MTNEGGM2.js';
|
|
6
|
+
import '../../chunk-AOL64O4Z.js';
|
|
7
|
+
import '../../chunk-Z2PPIVOO.js';
|
|
8
|
+
import '../../chunk-35S6P5ZU.js';
|
|
9
|
+
import '../../chunk-PZHC5GCD.js';
|
|
8
10
|
import '../../chunk-UR7W5YQK.js';
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-KFLXWVUJ.js';
|
|
12
|
+
import '../../chunk-BQITNFQJ.js';
|
|
13
|
+
import '../../chunk-K34OPSJK.js';
|
|
14
|
+
import '../../chunk-2EBMPJBO.js';
|
|
15
|
+
import '../../chunk-G3CSQLLT.js';
|
|
16
|
+
import '../../chunk-DDCIXXOO.js';
|
|
17
|
+
import '../../chunk-Y7M44XEK.js';
|
|
18
|
+
import '../../chunk-6XDBRDZE.js';
|
|
19
|
+
import '../../chunk-QMQLUA66.js';
|
|
20
|
+
import '../../chunk-DPNA466P.js';
|
|
17
21
|
import '../../chunk-G6Q5UM7U.js';
|
|
18
22
|
//# sourceMappingURL=index.js.map
|
|
19
23
|
//# sourceMappingURL=index.js.map
|