@nicia-ai/typegraph 0.38.0 → 0.40.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/dist/backend/drizzle/indexes.cjs +8 -10
- package/dist/backend/drizzle/indexes.d.cts +2 -2
- package/dist/backend/drizzle/indexes.d.ts +2 -2
- package/dist/backend/drizzle/indexes.js +4 -6
- package/dist/backend/index.cjs +60 -39
- package/dist/backend/index.d.cts +60 -1
- package/dist/backend/index.d.ts +60 -1
- package/dist/backend/index.js +12 -3
- package/dist/backend/postgres/index.cjs +25 -27
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +12 -14
- package/dist/backend/postgres/pglite-store.cjs +26 -27
- package/dist/backend/postgres/pglite-store.cjs.map +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +6 -5
- package/dist/backend/postgres/pglite-store.d.ts +6 -5
- package/dist/backend/postgres/pglite-store.js +22 -23
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +14 -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 +13 -15
- package/dist/backend/sqlite/index.cjs +26 -28
- package/dist/backend/sqlite/index.d.cts +6 -6
- package/dist/backend/sqlite/index.d.ts +6 -6
- package/dist/backend/sqlite/index.js +10 -12
- package/dist/backend/sqlite/libsql.cjs +16 -18
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +15 -17
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +27 -28
- package/dist/backend/sqlite/local-store.cjs.map +1 -1
- package/dist/backend/sqlite/local-store.d.cts +6 -5
- package/dist/backend/sqlite/local-store.d.ts +6 -5
- package/dist/backend/sqlite/local-store.js +23 -24
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +15 -17
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +13 -15
- package/dist/{chunk-U4JDJKPD.js → chunk-2I3DNNBU.js} +4 -4
- package/dist/{chunk-U4JDJKPD.js.map → chunk-2I3DNNBU.js.map} +1 -1
- package/dist/{chunk-NPWACFQJ.cjs → chunk-2J5NMMVR.cjs} +43 -43
- package/dist/{chunk-NPWACFQJ.cjs.map → chunk-2J5NMMVR.cjs.map} +1 -1
- package/dist/{chunk-NU23DUSJ.cjs → chunk-2X73QTIC.cjs} +12 -13
- package/dist/chunk-2X73QTIC.cjs.map +1 -0
- package/dist/{chunk-A2FGSWMQ.js → chunk-3BL3JFHL.js} +202 -52
- package/dist/chunk-3BL3JFHL.js.map +1 -0
- package/dist/chunk-3SHAUJRB.js +79 -0
- package/dist/chunk-3SHAUJRB.js.map +1 -0
- package/dist/{chunk-UPXDVI3T.js → chunk-53BSOG3O.js} +8 -7
- package/dist/chunk-53BSOG3O.js.map +1 -0
- package/dist/chunk-5J4VNCUD.js +856 -0
- package/dist/chunk-5J4VNCUD.js.map +1 -0
- package/dist/chunk-5YBDB7UG.cjs +12 -0
- package/dist/{chunk-FMNUSGZ4.cjs.map → chunk-5YBDB7UG.cjs.map} +1 -1
- package/dist/{chunk-6XDBRDZE.js → chunk-6N7QBIWN.js} +7 -3
- package/dist/chunk-6N7QBIWN.js.map +1 -0
- package/dist/{chunk-EZH7FNUS.js → chunk-6QP4QXBR.js} +3 -3
- package/dist/{chunk-EZH7FNUS.js.map → chunk-6QP4QXBR.js.map} +1 -1
- package/dist/{chunk-E6TXEISH.cjs → chunk-7UTUKH4E.cjs} +4 -4
- package/dist/{chunk-E6TXEISH.cjs.map → chunk-7UTUKH4E.cjs.map} +1 -1
- package/dist/chunk-7WLEQIHA.cjs +605 -0
- package/dist/chunk-7WLEQIHA.cjs.map +1 -0
- package/dist/{chunk-BQITNFQJ.js → chunk-AQVDAKXH.js} +3 -3
- package/dist/{chunk-BQITNFQJ.js.map → chunk-AQVDAKXH.js.map} +1 -1
- package/dist/{chunk-X6CNEA32.js → chunk-BUZWMDNL.js} +5 -5
- package/dist/{chunk-X6CNEA32.js.map → chunk-BUZWMDNL.js.map} +1 -1
- package/dist/{chunk-7M3NACL3.cjs → chunk-CKFBZ4LV.cjs} +4 -4
- package/dist/{chunk-7M3NACL3.cjs.map → chunk-CKFBZ4LV.cjs.map} +1 -1
- package/dist/{chunk-VBH7ZXSZ.js → chunk-CU3LPYNB.js} +5 -5
- package/dist/{chunk-VBH7ZXSZ.js.map → chunk-CU3LPYNB.js.map} +1 -1
- package/dist/{chunk-YJDSPA5E.js → chunk-EFZ4S22A.js} +11 -10
- package/dist/chunk-EFZ4S22A.js.map +1 -0
- package/dist/chunk-ELA3V6UN.js +601 -0
- package/dist/chunk-ELA3V6UN.js.map +1 -0
- package/dist/{chunk-2SL7OGPR.cjs → chunk-H6I36MGT.cjs} +1037 -887
- package/dist/chunk-H6I36MGT.cjs.map +1 -0
- package/dist/chunk-HAQVISUF.cjs +1098 -0
- package/dist/chunk-HAQVISUF.cjs.map +1 -0
- package/dist/{chunk-O5H62ZWJ.cjs → chunk-HP6LWBLB.cjs} +14 -2
- package/dist/chunk-HP6LWBLB.cjs.map +1 -0
- package/dist/{chunk-BKAKAVRW.cjs → chunk-HQRZEYYB.cjs} +44 -44
- package/dist/{chunk-BKAKAVRW.cjs.map → chunk-HQRZEYYB.cjs.map} +1 -1
- package/dist/{chunk-XD6X7O5R.js → chunk-I5CRUPKO.js} +9 -10
- package/dist/{chunk-XD6X7O5R.js.map → chunk-I5CRUPKO.js.map} +1 -1
- package/dist/{chunk-RQPRCEIO.js → chunk-JHK6NPFV.js} +218 -306
- package/dist/chunk-JHK6NPFV.js.map +1 -0
- package/dist/chunk-JZYMOHHM.cjs +226 -0
- package/dist/chunk-JZYMOHHM.cjs.map +1 -0
- package/dist/{chunk-CQC6VBAF.cjs → chunk-K4FB2RMO.cjs} +10 -10
- package/dist/{chunk-CQC6VBAF.cjs.map → chunk-K4FB2RMO.cjs.map} +1 -1
- package/dist/{chunk-ERZ4QPQX.js → chunk-K6CD6W5J.js} +5 -5
- package/dist/{chunk-ERZ4QPQX.js.map → chunk-K6CD6W5J.js.map} +1 -1
- package/dist/{chunk-LZ3TVJY4.cjs → chunk-KHNKYSGP.cjs} +34 -34
- package/dist/{chunk-LZ3TVJY4.cjs.map → chunk-KHNKYSGP.cjs.map} +1 -1
- package/dist/{chunk-CWX77JB4.cjs → chunk-KLR77R5A.cjs} +13 -13
- package/dist/{chunk-CWX77JB4.cjs.map → chunk-KLR77R5A.cjs.map} +1 -1
- package/dist/{chunk-AOL64O4Z.js → chunk-L3DDZUZP.js} +3 -3
- package/dist/{chunk-AOL64O4Z.js.map → chunk-L3DDZUZP.js.map} +1 -1
- package/dist/{chunk-PZHC5GCD.js → chunk-L5ET7FYQ.js} +3 -3
- package/dist/{chunk-PZHC5GCD.js.map → chunk-L5ET7FYQ.js.map} +1 -1
- package/dist/{chunk-B63IFHXR.cjs → chunk-LFFVD5ZR.cjs} +41 -41
- package/dist/{chunk-B63IFHXR.cjs.map → chunk-LFFVD5ZR.cjs.map} +1 -1
- package/dist/chunk-LL5D5T5W.cjs +157 -0
- package/dist/chunk-LL5D5T5W.cjs.map +1 -0
- package/dist/{chunk-GUUWKPTK.cjs → chunk-LLE25NRD.cjs} +7 -7
- package/dist/{chunk-GUUWKPTK.cjs.map → chunk-LLE25NRD.cjs.map} +1 -1
- package/dist/chunk-LLHMAHG4.cjs +886 -0
- package/dist/chunk-LLHMAHG4.cjs.map +1 -0
- package/dist/{chunk-ZHX4KEM7.cjs → chunk-M2RPZS7J.cjs} +10 -10
- package/dist/{chunk-ZHX4KEM7.cjs.map → chunk-M2RPZS7J.cjs.map} +1 -1
- package/dist/chunk-MNURF4RF.cjs +85 -0
- package/dist/chunk-MNURF4RF.cjs.map +1 -0
- package/dist/chunk-QOHTVDHU.js +144 -0
- package/dist/chunk-QOHTVDHU.js.map +1 -0
- package/dist/{chunk-7VLCN3JB.cjs → chunk-QXKVUJLI.cjs} +113 -112
- package/dist/chunk-QXKVUJLI.cjs.map +1 -0
- package/dist/{chunk-GNPGGLAE.cjs → chunk-QYDUCWD2.cjs} +4 -4
- package/dist/{chunk-GNPGGLAE.cjs.map → chunk-QYDUCWD2.cjs.map} +1 -1
- package/dist/{chunk-TE5ZA4VX.js → chunk-QZYGZVUI.js} +45 -41
- package/dist/chunk-QZYGZVUI.js.map +1 -0
- package/dist/{chunk-YLINFV7Z.cjs → chunk-SAMJLDGG.cjs} +114 -110
- package/dist/chunk-SAMJLDGG.cjs.map +1 -0
- package/dist/{chunk-DOVMTPKE.cjs → chunk-SE422RES.cjs} +27 -27
- package/dist/{chunk-DOVMTPKE.cjs.map → chunk-SE422RES.cjs.map} +1 -1
- package/dist/{chunk-NWYCOFEZ.cjs → chunk-UCHW2MGP.cjs} +332 -433
- package/dist/chunk-UCHW2MGP.cjs.map +1 -0
- package/dist/{chunk-XFY73JWD.cjs → chunk-UDS5DZNY.cjs} +498 -1098
- package/dist/chunk-UDS5DZNY.cjs.map +1 -0
- package/dist/{chunk-KFLXWVUJ.js → chunk-UUIBACKJ.js} +14 -3
- package/dist/chunk-UUIBACKJ.js.map +1 -0
- package/dist/{chunk-VDYA2HMS.js → chunk-VWEFXG73.js} +3 -3
- package/dist/{chunk-VDYA2HMS.js.map → chunk-VWEFXG73.js.map} +1 -1
- package/dist/{chunk-G32AO634.js → chunk-W66YCXWT.js} +464 -1048
- package/dist/chunk-W66YCXWT.js.map +1 -0
- package/dist/{chunk-E6YZRKMM.js → chunk-XMEYZYGE.js} +6 -6
- package/dist/{chunk-E6YZRKMM.js.map → chunk-XMEYZYGE.js.map} +1 -1
- package/dist/{chunk-G3CSQLLT.js → chunk-Y5UC3IXF.js} +461 -6
- package/dist/chunk-Y5UC3IXF.js.map +1 -0
- package/dist/{chunk-SDHV2MWU.js → chunk-YGX4PMG6.js} +5 -5
- package/dist/{chunk-SDHV2MWU.js.map → chunk-YGX4PMG6.js.map} +1 -1
- package/dist/{chunk-KCLZHYPU.cjs → chunk-YIX3BEBR.cjs} +86 -85
- package/dist/chunk-YIX3BEBR.cjs.map +1 -0
- package/dist/{chunk-X6RDQ5NB.cjs → chunk-YX3H63VV.cjs} +8 -2
- package/dist/chunk-YX3H63VV.cjs.map +1 -0
- package/dist/chunk-YYLMXERH.js +211 -0
- package/dist/chunk-YYLMXERH.js.map +1 -0
- package/dist/{chunk-6G5CQ6JX.js → chunk-ZE7E46IZ.js} +5 -5
- package/dist/{chunk-6G5CQ6JX.js.map → chunk-ZE7E46IZ.js.map} +1 -1
- package/dist/{chunk-Z2PPIVOO.js → chunk-ZVME6OSV.js} +5 -5
- package/dist/{chunk-Z2PPIVOO.js.map → chunk-ZVME6OSV.js.map} +1 -1
- package/dist/core/index.cjs +15 -3
- package/dist/core/index.d.cts +4 -3
- package/dist/core/index.d.ts +4 -3
- package/dist/core/index.js +2 -2
- package/dist/{ddl-Dx3Z0_WC.d.ts → ddl-BLEzHw6j.d.ts} +3 -3
- package/dist/{ddl-J6sDyABg.d.cts → ddl-KnCdF_le.d.cts} +3 -3
- package/dist/{define-graph-CzEvA_8F.d.cts → define-graph-Cv3CFwKm.d.cts} +1 -1
- package/dist/{define-graph-DRo9xpYN.d.ts → define-graph-DQnj3fNH.d.ts} +1 -1
- package/dist/graph-merge/index.cjs +40 -43
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +15 -9
- package/dist/graph-merge/index.d.ts +15 -9
- package/dist/graph-merge/index.js +19 -22
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +143 -119
- package/dist/index.d.cts +12 -10
- package/dist/index.d.ts +12 -10
- package/dist/index.js +23 -23
- package/dist/indexes/index.cjs +12 -14
- package/dist/indexes/index.d.cts +5 -5
- package/dist/indexes/index.d.ts +5 -5
- package/dist/indexes/index.js +5 -7
- package/dist/interchange/index.cjs +29 -30
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +6 -5
- package/dist/interchange/index.d.ts +6 -5
- package/dist/interchange/index.js +10 -11
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-CASfhmzV.d.ts → manager-DjE6Mhag.d.ts} +2 -2
- package/dist/{manager-nCEJiYBb.d.cts → manager-mqee5MVB.d.cts} +2 -2
- package/dist/{postgres-DMgIKQU-.d.cts → postgres-Bm4DyFQU.d.cts} +100 -49
- package/dist/{postgres-Cl1ZAN1G.d.ts → postgres-DtaVALOZ.d.ts} +100 -49
- package/dist/profiler/index.d.cts +8 -7
- package/dist/profiler/index.d.ts +8 -7
- package/dist/provenance/index.cjs +20 -20
- package/dist/provenance/index.d.cts +6 -5
- package/dist/provenance/index.d.ts +6 -5
- package/dist/provenance/index.js +7 -7
- package/dist/schema/index.cjs +26 -28
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +5 -5
- package/dist/schema/index.d.ts +5 -5
- package/dist/schema/index.js +7 -9
- package/dist/schema/index.js.map +1 -1
- package/dist/{temporal-DqtOEo_B.d.ts → searchable-BxlJQVFw.d.cts} +3 -58
- package/dist/{temporal-BC_NQV5Y.d.cts → searchable-ChJ29MCd.d.ts} +3 -58
- package/dist/{sqlite-BDkW39aa.d.cts → sqlite-DT6tTHOG.d.cts} +124 -97
- package/dist/{sqlite-CYfhvESj.d.ts → sqlite-m9Izphk_.d.ts} +124 -97
- package/dist/{store-view-BoHqdHjB.d.cts → store-view-C-buB8Q8.d.cts} +46 -31
- package/dist/{store-view-Ctq-3OHy.d.ts → store-view-CagdeyNn.d.ts} +46 -31
- package/dist/temporal-CyFsSPe8.d.ts +73 -0
- package/dist/temporal-Dn_JADWY.d.cts +73 -0
- package/dist/{types-CUevi_D1.d.ts → types-CYdXzZef.d.ts} +1 -1
- package/dist/{types-COq3-vMC.d.cts → types-CqSfMRW3.d.cts} +1 -1
- package/dist/{where-C92TXCzT.d.cts → where-C3-HRgUq.d.cts} +1 -1
- package/dist/{where-BdE_cYtx.d.ts → where-sQL4u5h-.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-2SL7OGPR.cjs.map +0 -1
- package/dist/chunk-6XDBRDZE.js.map +0 -1
- package/dist/chunk-7VLCN3JB.cjs.map +0 -1
- package/dist/chunk-A2FGSWMQ.js.map +0 -1
- package/dist/chunk-DDCIXXOO.js +0 -9
- package/dist/chunk-DDCIXXOO.js.map +0 -1
- package/dist/chunk-DDCYVIVV.cjs +0 -44
- package/dist/chunk-DDCYVIVV.cjs.map +0 -1
- package/dist/chunk-EOJFGECD.cjs +0 -284
- package/dist/chunk-EOJFGECD.cjs.map +0 -1
- package/dist/chunk-FMNUSGZ4.cjs +0 -12
- package/dist/chunk-G32AO634.js.map +0 -1
- package/dist/chunk-G3CSQLLT.js.map +0 -1
- package/dist/chunk-I6FX7AAG.js +0 -39
- package/dist/chunk-I6FX7AAG.js.map +0 -1
- package/dist/chunk-J6IJARLG.js +0 -94
- package/dist/chunk-J6IJARLG.js.map +0 -1
- package/dist/chunk-KCLZHYPU.cjs.map +0 -1
- package/dist/chunk-KFLXWVUJ.js.map +0 -1
- package/dist/chunk-MTNEGGM2.js +0 -273
- package/dist/chunk-MTNEGGM2.js.map +0 -1
- package/dist/chunk-NU23DUSJ.cjs.map +0 -1
- package/dist/chunk-NWYCOFEZ.cjs.map +0 -1
- package/dist/chunk-O5H62ZWJ.cjs.map +0 -1
- package/dist/chunk-RQPRCEIO.js.map +0 -1
- package/dist/chunk-SVUKGWSN.cjs +0 -102
- package/dist/chunk-SVUKGWSN.cjs.map +0 -1
- package/dist/chunk-TE5ZA4VX.js.map +0 -1
- package/dist/chunk-UH2USOMG.cjs +0 -627
- package/dist/chunk-UH2USOMG.cjs.map +0 -1
- package/dist/chunk-UPXDVI3T.js.map +0 -1
- package/dist/chunk-X6RDQ5NB.cjs.map +0 -1
- package/dist/chunk-XFY73JWD.cjs.map +0 -1
- package/dist/chunk-Y7M44XEK.js +0 -462
- package/dist/chunk-Y7M44XEK.js.map +0 -1
- package/dist/chunk-YJDSPA5E.js.map +0 -1
- package/dist/chunk-YLINFV7Z.cjs.map +0 -1
- package/dist/chunk-Z5QHVL5U.cjs +0 -12
- package/dist/chunk-Z5QHVL5U.cjs.map +0 -1
- package/dist/chunk-ZKZAIX42.cjs +0 -479
- package/dist/chunk-ZKZAIX42.cjs.map +0 -1
- package/dist/{index-CrFL_ENI.d.cts → types-C5pZeKTl.d.cts} +1 -1
- package/dist/{index-Bq7vSPHy.d.ts → types-D8szWDUo.d.ts} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
2
|
-
import { I as IndexDeclaration } from './
|
|
2
|
+
import { I as IndexDeclaration } from './types-D8szWDUo.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Table name configuration.
|
|
@@ -696,41 +696,37 @@ declare function createSqliteTables(names?: Partial<SqliteTableNames>, options?:
|
|
|
696
696
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
697
697
|
name: "recorded_from";
|
|
698
698
|
tableName: string;
|
|
699
|
-
dataType: "
|
|
700
|
-
columnType: "
|
|
701
|
-
data:
|
|
702
|
-
driverParam:
|
|
699
|
+
dataType: "number";
|
|
700
|
+
columnType: "SQLiteInteger";
|
|
701
|
+
data: number;
|
|
702
|
+
driverParam: number;
|
|
703
703
|
notNull: true;
|
|
704
704
|
hasDefault: false;
|
|
705
705
|
isPrimaryKey: false;
|
|
706
706
|
isAutoincrement: false;
|
|
707
707
|
hasRuntimeDefault: false;
|
|
708
|
-
enumValues:
|
|
708
|
+
enumValues: undefined;
|
|
709
709
|
baseColumn: never;
|
|
710
710
|
identity: undefined;
|
|
711
711
|
generated: undefined;
|
|
712
|
-
}, {}, {
|
|
713
|
-
length: number | undefined;
|
|
714
|
-
}>;
|
|
712
|
+
}, {}, {}>;
|
|
715
713
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
716
714
|
name: "recorded_to";
|
|
717
715
|
tableName: string;
|
|
718
|
-
dataType: "
|
|
719
|
-
columnType: "
|
|
720
|
-
data:
|
|
721
|
-
driverParam:
|
|
716
|
+
dataType: "number";
|
|
717
|
+
columnType: "SQLiteInteger";
|
|
718
|
+
data: number;
|
|
719
|
+
driverParam: number;
|
|
722
720
|
notNull: true;
|
|
723
721
|
hasDefault: false;
|
|
724
722
|
isPrimaryKey: false;
|
|
725
723
|
isAutoincrement: false;
|
|
726
724
|
hasRuntimeDefault: false;
|
|
727
|
-
enumValues:
|
|
725
|
+
enumValues: undefined;
|
|
728
726
|
baseColumn: never;
|
|
729
727
|
identity: undefined;
|
|
730
728
|
generated: undefined;
|
|
731
|
-
}, {}, {
|
|
732
|
-
length: number | undefined;
|
|
733
|
-
}>;
|
|
729
|
+
}, {}, {}>;
|
|
734
730
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
735
731
|
name: "op";
|
|
736
732
|
tableName: string;
|
|
@@ -1081,41 +1077,37 @@ declare function createSqliteTables(names?: Partial<SqliteTableNames>, options?:
|
|
|
1081
1077
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1082
1078
|
name: "recorded_from";
|
|
1083
1079
|
tableName: string;
|
|
1084
|
-
dataType: "
|
|
1085
|
-
columnType: "
|
|
1086
|
-
data:
|
|
1087
|
-
driverParam:
|
|
1080
|
+
dataType: "number";
|
|
1081
|
+
columnType: "SQLiteInteger";
|
|
1082
|
+
data: number;
|
|
1083
|
+
driverParam: number;
|
|
1088
1084
|
notNull: true;
|
|
1089
1085
|
hasDefault: false;
|
|
1090
1086
|
isPrimaryKey: false;
|
|
1091
1087
|
isAutoincrement: false;
|
|
1092
1088
|
hasRuntimeDefault: false;
|
|
1093
|
-
enumValues:
|
|
1089
|
+
enumValues: undefined;
|
|
1094
1090
|
baseColumn: never;
|
|
1095
1091
|
identity: undefined;
|
|
1096
1092
|
generated: undefined;
|
|
1097
|
-
}, {}, {
|
|
1098
|
-
length: number | undefined;
|
|
1099
|
-
}>;
|
|
1093
|
+
}, {}, {}>;
|
|
1100
1094
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1101
1095
|
name: "recorded_to";
|
|
1102
1096
|
tableName: string;
|
|
1103
|
-
dataType: "
|
|
1104
|
-
columnType: "
|
|
1105
|
-
data:
|
|
1106
|
-
driverParam:
|
|
1097
|
+
dataType: "number";
|
|
1098
|
+
columnType: "SQLiteInteger";
|
|
1099
|
+
data: number;
|
|
1100
|
+
driverParam: number;
|
|
1107
1101
|
notNull: true;
|
|
1108
1102
|
hasDefault: false;
|
|
1109
1103
|
isPrimaryKey: false;
|
|
1110
1104
|
isAutoincrement: false;
|
|
1111
1105
|
hasRuntimeDefault: false;
|
|
1112
|
-
enumValues:
|
|
1106
|
+
enumValues: undefined;
|
|
1113
1107
|
baseColumn: never;
|
|
1114
1108
|
identity: undefined;
|
|
1115
1109
|
generated: undefined;
|
|
1116
|
-
}, {}, {
|
|
1117
|
-
length: number | undefined;
|
|
1118
|
-
}>;
|
|
1110
|
+
}, {}, {}>;
|
|
1119
1111
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1120
1112
|
name: "op";
|
|
1121
1113
|
tableName: string;
|
|
@@ -1216,6 +1208,23 @@ declare function createSqliteTables(names?: Partial<SqliteTableNames>, options?:
|
|
|
1216
1208
|
}, {}, {
|
|
1217
1209
|
length: number | undefined;
|
|
1218
1210
|
}>;
|
|
1211
|
+
revision: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1212
|
+
name: "revision";
|
|
1213
|
+
tableName: string;
|
|
1214
|
+
dataType: "number";
|
|
1215
|
+
columnType: "SQLiteInteger";
|
|
1216
|
+
data: number;
|
|
1217
|
+
driverParam: number;
|
|
1218
|
+
notNull: true;
|
|
1219
|
+
hasDefault: false;
|
|
1220
|
+
isPrimaryKey: false;
|
|
1221
|
+
isAutoincrement: false;
|
|
1222
|
+
hasRuntimeDefault: false;
|
|
1223
|
+
enumValues: undefined;
|
|
1224
|
+
baseColumn: never;
|
|
1225
|
+
identity: undefined;
|
|
1226
|
+
generated: undefined;
|
|
1227
|
+
}, {}, {}>;
|
|
1219
1228
|
recordedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1220
1229
|
name: "recorded_at";
|
|
1221
1230
|
tableName: string;
|
|
@@ -2730,41 +2739,37 @@ declare const tables: {
|
|
|
2730
2739
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2731
2740
|
name: "recorded_from";
|
|
2732
2741
|
tableName: string;
|
|
2733
|
-
dataType: "
|
|
2734
|
-
columnType: "
|
|
2735
|
-
data:
|
|
2736
|
-
driverParam:
|
|
2742
|
+
dataType: "number";
|
|
2743
|
+
columnType: "SQLiteInteger";
|
|
2744
|
+
data: number;
|
|
2745
|
+
driverParam: number;
|
|
2737
2746
|
notNull: true;
|
|
2738
2747
|
hasDefault: false;
|
|
2739
2748
|
isPrimaryKey: false;
|
|
2740
2749
|
isAutoincrement: false;
|
|
2741
2750
|
hasRuntimeDefault: false;
|
|
2742
|
-
enumValues:
|
|
2751
|
+
enumValues: undefined;
|
|
2743
2752
|
baseColumn: never;
|
|
2744
2753
|
identity: undefined;
|
|
2745
2754
|
generated: undefined;
|
|
2746
|
-
}, {}, {
|
|
2747
|
-
length: number | undefined;
|
|
2748
|
-
}>;
|
|
2755
|
+
}, {}, {}>;
|
|
2749
2756
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2750
2757
|
name: "recorded_to";
|
|
2751
2758
|
tableName: string;
|
|
2752
|
-
dataType: "
|
|
2753
|
-
columnType: "
|
|
2754
|
-
data:
|
|
2755
|
-
driverParam:
|
|
2759
|
+
dataType: "number";
|
|
2760
|
+
columnType: "SQLiteInteger";
|
|
2761
|
+
data: number;
|
|
2762
|
+
driverParam: number;
|
|
2756
2763
|
notNull: true;
|
|
2757
2764
|
hasDefault: false;
|
|
2758
2765
|
isPrimaryKey: false;
|
|
2759
2766
|
isAutoincrement: false;
|
|
2760
2767
|
hasRuntimeDefault: false;
|
|
2761
|
-
enumValues:
|
|
2768
|
+
enumValues: undefined;
|
|
2762
2769
|
baseColumn: never;
|
|
2763
2770
|
identity: undefined;
|
|
2764
2771
|
generated: undefined;
|
|
2765
|
-
}, {}, {
|
|
2766
|
-
length: number | undefined;
|
|
2767
|
-
}>;
|
|
2772
|
+
}, {}, {}>;
|
|
2768
2773
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2769
2774
|
name: "op";
|
|
2770
2775
|
tableName: string;
|
|
@@ -3115,41 +3120,37 @@ declare const tables: {
|
|
|
3115
3120
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3116
3121
|
name: "recorded_from";
|
|
3117
3122
|
tableName: string;
|
|
3118
|
-
dataType: "
|
|
3119
|
-
columnType: "
|
|
3120
|
-
data:
|
|
3121
|
-
driverParam:
|
|
3123
|
+
dataType: "number";
|
|
3124
|
+
columnType: "SQLiteInteger";
|
|
3125
|
+
data: number;
|
|
3126
|
+
driverParam: number;
|
|
3122
3127
|
notNull: true;
|
|
3123
3128
|
hasDefault: false;
|
|
3124
3129
|
isPrimaryKey: false;
|
|
3125
3130
|
isAutoincrement: false;
|
|
3126
3131
|
hasRuntimeDefault: false;
|
|
3127
|
-
enumValues:
|
|
3132
|
+
enumValues: undefined;
|
|
3128
3133
|
baseColumn: never;
|
|
3129
3134
|
identity: undefined;
|
|
3130
3135
|
generated: undefined;
|
|
3131
|
-
}, {}, {
|
|
3132
|
-
length: number | undefined;
|
|
3133
|
-
}>;
|
|
3136
|
+
}, {}, {}>;
|
|
3134
3137
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3135
3138
|
name: "recorded_to";
|
|
3136
3139
|
tableName: string;
|
|
3137
|
-
dataType: "
|
|
3138
|
-
columnType: "
|
|
3139
|
-
data:
|
|
3140
|
-
driverParam:
|
|
3140
|
+
dataType: "number";
|
|
3141
|
+
columnType: "SQLiteInteger";
|
|
3142
|
+
data: number;
|
|
3143
|
+
driverParam: number;
|
|
3141
3144
|
notNull: true;
|
|
3142
3145
|
hasDefault: false;
|
|
3143
3146
|
isPrimaryKey: false;
|
|
3144
3147
|
isAutoincrement: false;
|
|
3145
3148
|
hasRuntimeDefault: false;
|
|
3146
|
-
enumValues:
|
|
3149
|
+
enumValues: undefined;
|
|
3147
3150
|
baseColumn: never;
|
|
3148
3151
|
identity: undefined;
|
|
3149
3152
|
generated: undefined;
|
|
3150
|
-
}, {}, {
|
|
3151
|
-
length: number | undefined;
|
|
3152
|
-
}>;
|
|
3153
|
+
}, {}, {}>;
|
|
3153
3154
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3154
3155
|
name: "op";
|
|
3155
3156
|
tableName: string;
|
|
@@ -3250,6 +3251,23 @@ declare const tables: {
|
|
|
3250
3251
|
}, {}, {
|
|
3251
3252
|
length: number | undefined;
|
|
3252
3253
|
}>;
|
|
3254
|
+
revision: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3255
|
+
name: "revision";
|
|
3256
|
+
tableName: string;
|
|
3257
|
+
dataType: "number";
|
|
3258
|
+
columnType: "SQLiteInteger";
|
|
3259
|
+
data: number;
|
|
3260
|
+
driverParam: number;
|
|
3261
|
+
notNull: true;
|
|
3262
|
+
hasDefault: false;
|
|
3263
|
+
isPrimaryKey: false;
|
|
3264
|
+
isAutoincrement: false;
|
|
3265
|
+
hasRuntimeDefault: false;
|
|
3266
|
+
enumValues: undefined;
|
|
3267
|
+
baseColumn: never;
|
|
3268
|
+
identity: undefined;
|
|
3269
|
+
generated: undefined;
|
|
3270
|
+
}, {}, {}>;
|
|
3253
3271
|
recordedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3254
3272
|
name: "recorded_at";
|
|
3255
3273
|
tableName: string;
|
|
@@ -4763,41 +4781,37 @@ declare const recordedNodes: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
4763
4781
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4764
4782
|
name: "recorded_from";
|
|
4765
4783
|
tableName: string;
|
|
4766
|
-
dataType: "
|
|
4767
|
-
columnType: "
|
|
4768
|
-
data:
|
|
4769
|
-
driverParam:
|
|
4784
|
+
dataType: "number";
|
|
4785
|
+
columnType: "SQLiteInteger";
|
|
4786
|
+
data: number;
|
|
4787
|
+
driverParam: number;
|
|
4770
4788
|
notNull: true;
|
|
4771
4789
|
hasDefault: false;
|
|
4772
4790
|
isPrimaryKey: false;
|
|
4773
4791
|
isAutoincrement: false;
|
|
4774
4792
|
hasRuntimeDefault: false;
|
|
4775
|
-
enumValues:
|
|
4793
|
+
enumValues: undefined;
|
|
4776
4794
|
baseColumn: never;
|
|
4777
4795
|
identity: undefined;
|
|
4778
4796
|
generated: undefined;
|
|
4779
|
-
}, {}, {
|
|
4780
|
-
length: number | undefined;
|
|
4781
|
-
}>;
|
|
4797
|
+
}, {}, {}>;
|
|
4782
4798
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4783
4799
|
name: "recorded_to";
|
|
4784
4800
|
tableName: string;
|
|
4785
|
-
dataType: "
|
|
4786
|
-
columnType: "
|
|
4787
|
-
data:
|
|
4788
|
-
driverParam:
|
|
4801
|
+
dataType: "number";
|
|
4802
|
+
columnType: "SQLiteInteger";
|
|
4803
|
+
data: number;
|
|
4804
|
+
driverParam: number;
|
|
4789
4805
|
notNull: true;
|
|
4790
4806
|
hasDefault: false;
|
|
4791
4807
|
isPrimaryKey: false;
|
|
4792
4808
|
isAutoincrement: false;
|
|
4793
4809
|
hasRuntimeDefault: false;
|
|
4794
|
-
enumValues:
|
|
4810
|
+
enumValues: undefined;
|
|
4795
4811
|
baseColumn: never;
|
|
4796
4812
|
identity: undefined;
|
|
4797
4813
|
generated: undefined;
|
|
4798
|
-
}, {}, {
|
|
4799
|
-
length: number | undefined;
|
|
4800
|
-
}>;
|
|
4814
|
+
}, {}, {}>;
|
|
4801
4815
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4802
4816
|
name: "op";
|
|
4803
4817
|
tableName: string;
|
|
@@ -5148,41 +5162,37 @@ declare const recordedEdges: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5148
5162
|
recordedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5149
5163
|
name: "recorded_from";
|
|
5150
5164
|
tableName: string;
|
|
5151
|
-
dataType: "
|
|
5152
|
-
columnType: "
|
|
5153
|
-
data:
|
|
5154
|
-
driverParam:
|
|
5165
|
+
dataType: "number";
|
|
5166
|
+
columnType: "SQLiteInteger";
|
|
5167
|
+
data: number;
|
|
5168
|
+
driverParam: number;
|
|
5155
5169
|
notNull: true;
|
|
5156
5170
|
hasDefault: false;
|
|
5157
5171
|
isPrimaryKey: false;
|
|
5158
5172
|
isAutoincrement: false;
|
|
5159
5173
|
hasRuntimeDefault: false;
|
|
5160
|
-
enumValues:
|
|
5174
|
+
enumValues: undefined;
|
|
5161
5175
|
baseColumn: never;
|
|
5162
5176
|
identity: undefined;
|
|
5163
5177
|
generated: undefined;
|
|
5164
|
-
}, {}, {
|
|
5165
|
-
length: number | undefined;
|
|
5166
|
-
}>;
|
|
5178
|
+
}, {}, {}>;
|
|
5167
5179
|
recordedTo: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5168
5180
|
name: "recorded_to";
|
|
5169
5181
|
tableName: string;
|
|
5170
|
-
dataType: "
|
|
5171
|
-
columnType: "
|
|
5172
|
-
data:
|
|
5173
|
-
driverParam:
|
|
5182
|
+
dataType: "number";
|
|
5183
|
+
columnType: "SQLiteInteger";
|
|
5184
|
+
data: number;
|
|
5185
|
+
driverParam: number;
|
|
5174
5186
|
notNull: true;
|
|
5175
5187
|
hasDefault: false;
|
|
5176
5188
|
isPrimaryKey: false;
|
|
5177
5189
|
isAutoincrement: false;
|
|
5178
5190
|
hasRuntimeDefault: false;
|
|
5179
|
-
enumValues:
|
|
5191
|
+
enumValues: undefined;
|
|
5180
5192
|
baseColumn: never;
|
|
5181
5193
|
identity: undefined;
|
|
5182
5194
|
generated: undefined;
|
|
5183
|
-
}, {}, {
|
|
5184
|
-
length: number | undefined;
|
|
5185
|
-
}>;
|
|
5195
|
+
}, {}, {}>;
|
|
5186
5196
|
op: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5187
5197
|
name: "op";
|
|
5188
5198
|
tableName: string;
|
|
@@ -5283,6 +5293,23 @@ declare const recordedClock: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
5283
5293
|
}, {}, {
|
|
5284
5294
|
length: number | undefined;
|
|
5285
5295
|
}>;
|
|
5296
|
+
revision: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5297
|
+
name: "revision";
|
|
5298
|
+
tableName: string;
|
|
5299
|
+
dataType: "number";
|
|
5300
|
+
columnType: "SQLiteInteger";
|
|
5301
|
+
data: number;
|
|
5302
|
+
driverParam: number;
|
|
5303
|
+
notNull: true;
|
|
5304
|
+
hasDefault: false;
|
|
5305
|
+
isPrimaryKey: false;
|
|
5306
|
+
isAutoincrement: false;
|
|
5307
|
+
hasRuntimeDefault: false;
|
|
5308
|
+
enumValues: undefined;
|
|
5309
|
+
baseColumn: never;
|
|
5310
|
+
identity: undefined;
|
|
5311
|
+
generated: undefined;
|
|
5312
|
+
}, {}, {}>;
|
|
5286
5313
|
recordedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5287
5314
|
name: "recorded_at";
|
|
5288
5315
|
tableName: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { G as GraphDef, E as EdgeKinds, N as NodeKinds, a as AllNodeTypes } from './define-graph-
|
|
2
|
-
import {
|
|
1
|
+
import { G as GraphDef, E as EdgeKinds, N as NodeKinds, a as AllNodeTypes } from './define-graph-Cv3CFwKm.cjs';
|
|
2
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-Dn_JADWY.cjs';
|
|
3
3
|
import { a as NodeType, A as AnyEdgeType, d as EdgeType, T as TemporalMode, E as EdgeRegistration, m as NodeId, K as KindEntity, g as EdgeId, N as NodeRegistration, l as KindAnnotations, o as UniquenessScope, f as Collation, e as Cardinality, j as EndpointExistence, G as GraphExtension } from './extension-types-BLEVH4SG.cjs';
|
|
4
|
-
import { K as KindRegistry, S as SchemaManagerOptions, d as SchemaValidationResult } from './manager-
|
|
4
|
+
import { K as KindRegistry, S as SchemaManagerOptions, d as SchemaValidationResult } from './manager-mqee5MVB.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { bp as ValueType, bq as PredicateExpression, ad as FulltextQueryMode, br as VectorMetricType, Q as QueryAst, J as JsonPointer, K as FieldRef, ay as ParameterRef, b1 as TraversalExpansion, G as GraphBackend, S as SqlDialect, aU as SqlSchema, bs as Traversal, bt as NodePredicate, bu as ProjectedField, ax as OrderSpec, bv as AggregateOrderSpec, bw as GroupBySpec, ak as HybridFusionOptions, ao as JsonPointerInput, bx as RecursiveCyclePolicy, T as TraversalDirection$1, a_ as TransactionBackend, a7 as ExternalRecordedReadSource, by as NodeRow, bz as EdgeRow, b0 as TransactionReadBackend, H as AggregateExpr, aN as SortDirection, a0 as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, bA as VectorSlotMap, bB as RecordedReadBinding, bC as SelectiveField, bD as ComposableQuery, bE as SetOperationType, bF as SetOperation, bG as VectorMetric, x as JsonSchema, B as BackendCapabilities, a$ as TransactionOptions, A as AdapterBackend } from './
|
|
6
|
+
import { bp as ValueType, bq as PredicateExpression, ad as FulltextQueryMode, br as VectorMetricType, Q as QueryAst, J as JsonPointer, K as FieldRef, ay as ParameterRef, b1 as TraversalExpansion, G as GraphBackend, S as SqlDialect, aU as SqlSchema, bs as Traversal, bt as NodePredicate, bu as ProjectedField, ax as OrderSpec, bv as AggregateOrderSpec, bw as GroupBySpec, ak as HybridFusionOptions, ao as JsonPointerInput, bx as RecursiveCyclePolicy, T as TraversalDirection$1, a_ as TransactionBackend, a7 as ExternalRecordedReadSource, by as NodeRow, bz as EdgeRow, b0 as TransactionReadBackend, H as AggregateExpr, aN as SortDirection, a0 as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, bA as VectorSlotMap, bB as RecordedReadBinding, bC as SelectiveField, bD as ComposableQuery, bE as SetOperationType, bF as SetOperation, bG as VectorMetric, x as JsonSchema, B as BackendCapabilities, a$ as TransactionOptions, A as AdapterBackend } from './types-C5pZeKTl.cjs';
|
|
7
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-BxlJQVFw.cjs';
|
|
7
8
|
import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult, c as MaterializeSystemIndexesOptions } from './materialize-indexes-ExQ6OrAh.cjs';
|
|
8
9
|
|
|
9
10
|
type FieldTypeInfo = Readonly<{
|
|
@@ -1819,17 +1820,39 @@ type StoreViewNodeCollections<G extends GraphDef> = {
|
|
|
1819
1820
|
type StoreViewEdgeCollections<G extends GraphDef> = {
|
|
1820
1821
|
[K in keyof G["edges"] & string]-?: TypedStoreViewEdgeCollection<G["edges"][K]>;
|
|
1821
1822
|
};
|
|
1822
|
-
/**
|
|
1823
|
-
type
|
|
1824
|
-
/**
|
|
1825
|
-
|
|
1823
|
+
/** Options for one bounded, forward-only recorded-time collection scan. */
|
|
1824
|
+
type RecordedScanOptions = Readonly<{
|
|
1825
|
+
/** Maximum entities to return. Defaults to 1,000 and cannot exceed 1,000. */
|
|
1826
|
+
limit?: number;
|
|
1827
|
+
/** Opaque cursor returned by the preceding page. */
|
|
1828
|
+
after?: string;
|
|
1829
|
+
}>;
|
|
1830
|
+
/** One page from a deterministic recorded-time collection scan. */
|
|
1831
|
+
type RecordedScanPage<T> = Readonly<{
|
|
1832
|
+
/** Entities ordered by canonical id ascending. */
|
|
1833
|
+
data: readonly T[];
|
|
1834
|
+
/** Cursor for the next page, or `undefined` when the scan is complete. */
|
|
1835
|
+
nextCursor: string | undefined;
|
|
1836
|
+
/** Whether another page exists after this one. */
|
|
1837
|
+
hasNextPage: boolean;
|
|
1838
|
+
}>;
|
|
1839
|
+
/** Recorded-time reconstructing reads for one node kind. */
|
|
1840
|
+
type RecordedStoreViewNodeCollection<N extends NodeType> = Pick<StoreViewNodeCollection<N>, (typeof RECORDED_POINT_READ_NAMES)[number]> & Readonly<{
|
|
1841
|
+
/** Scan one bounded page at the view's pinned coordinate. */
|
|
1842
|
+
scan: (options?: RecordedScanOptions) => Promise<RecordedScanPage<Node<N>>>;
|
|
1843
|
+
}>;
|
|
1844
|
+
/** Recorded-time reconstructing reads for one edge kind. */
|
|
1845
|
+
type RecordedStoreViewEdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To extends NodeType = NodeType> = Pick<StoreViewEdgeCollection<E, From, To>, (typeof RECORDED_POINT_READ_NAMES)[number]> & Readonly<{
|
|
1846
|
+
/** Scan one bounded page at the view's pinned coordinate. */
|
|
1847
|
+
scan: (options?: RecordedScanOptions) => Promise<RecordedScanPage<Edge<E, From, To>>>;
|
|
1848
|
+
}>;
|
|
1826
1849
|
/** Recorded-time edge collection derived from an `EdgeRegistration`. */
|
|
1827
1850
|
type TypedRecordedStoreViewEdgeCollection<R extends EdgeRegistration> = RecordedStoreViewEdgeCollection<R["type"], EdgeFromTypes<R> extends NodeType ? EdgeFromTypes<R> : NodeType, EdgeToTypes<R> extends NodeType ? EdgeToTypes<R> : NodeType>;
|
|
1828
|
-
/** Mapped type of all recorded-time node
|
|
1851
|
+
/** Mapped type of all recorded-time node reconstructing-read collections. */
|
|
1829
1852
|
type RecordedStoreViewNodeCollections<G extends GraphDef> = {
|
|
1830
1853
|
[K in keyof G["nodes"] & string]-?: RecordedStoreViewNodeCollection<G["nodes"][K]["type"]>;
|
|
1831
1854
|
};
|
|
1832
|
-
/** Mapped type of all recorded-time edge
|
|
1855
|
+
/** Mapped type of all recorded-time edge reconstructing-read collections. */
|
|
1833
1856
|
type RecordedStoreViewEdgeCollections<G extends GraphDef> = {
|
|
1834
1857
|
[K in keyof G["edges"] & string]-?: TypedRecordedStoreViewEdgeCollection<G["edges"][K]>;
|
|
1835
1858
|
};
|
|
@@ -1837,9 +1860,10 @@ type RecordedStoreViewEdgeCollections<G extends GraphDef> = {
|
|
|
1837
1860
|
* Whether — and why — `tx.sql` can be used on a transaction context. A single
|
|
1838
1861
|
* required discriminant covering exactly the four states raw-SQL access can be
|
|
1839
1862
|
* in, so an adapter caller branches on capability instead of truthiness-testing
|
|
1840
|
-
* `tx.sql`.
|
|
1841
|
-
*
|
|
1842
|
-
*
|
|
1863
|
+
* `tx.sql`. The non-available variants omit `sql` entirely, so even reading the
|
|
1864
|
+
* handle requires first narrowing `sqlAvailability` to `"available"`. The
|
|
1865
|
+
* runtime object keeps a fail-loud getter under history / revision tracking for
|
|
1866
|
+
* JavaScript and type-suppressed callers. See
|
|
1843
1867
|
* {@link AdapterTransactionContext} for the per-value semantics.
|
|
1844
1868
|
*/
|
|
1845
1869
|
type SqlAvailability = "available" | "history" | "revisionTracking" | "unavailable";
|
|
@@ -1847,10 +1871,8 @@ type AdapterTransactionSqlAccess<TNativeTransaction> = Readonly<{
|
|
|
1847
1871
|
sql: TNativeTransaction;
|
|
1848
1872
|
sqlAvailability: "available";
|
|
1849
1873
|
}> | Readonly<{
|
|
1850
|
-
sql?: never;
|
|
1851
1874
|
sqlAvailability: "history" | "revisionTracking";
|
|
1852
1875
|
}> | Readonly<{
|
|
1853
|
-
sql?: undefined;
|
|
1854
1876
|
sqlAvailability: "unavailable";
|
|
1855
1877
|
}>;
|
|
1856
1878
|
declare const TRANSACTION_RUNTIME: unique symbol;
|
|
@@ -2102,14 +2124,6 @@ declare class ExecutableAggregateQuery<G extends GraphDef, Aliases extends Alias
|
|
|
2102
2124
|
execute(): Promise<readonly AggregateResult<R>[]>;
|
|
2103
2125
|
}
|
|
2104
2126
|
|
|
2105
|
-
/**
|
|
2106
|
-
* Temporal Filter Compilation
|
|
2107
|
-
*
|
|
2108
|
-
* Generates SQL clauses for temporal filtering based on valid_from/valid_to
|
|
2109
|
-
* and deleted_at timestamps. Consolidates the previously duplicated temporal
|
|
2110
|
-
* filter functions into a single, parameterized implementation.
|
|
2111
|
-
*/
|
|
2112
|
-
|
|
2113
2127
|
/**
|
|
2114
2128
|
* How a "current" valid-time read instant is emitted into compiled SQL:
|
|
2115
2129
|
*
|
|
@@ -3855,8 +3869,10 @@ type StoreRuntime<G extends GraphDef> = Readonly<{
|
|
|
3855
3869
|
sealedQuery: (coordinate: ReadCoordinate) => InitialQueryBuilder<G, "sealed">;
|
|
3856
3870
|
recordedNodeGetById: <N extends NodeType>(kind: string, id: NodeId<N>, coordinate: ReadCoordinate) => Promise<Node<N> | undefined>;
|
|
3857
3871
|
recordedNodeGetByIds: <N extends NodeType>(kind: string, ids: readonly NodeId<N>[], coordinate: ReadCoordinate) => Promise<readonly (Node<N> | undefined)[]>;
|
|
3872
|
+
recordedNodeScan: <N extends NodeType>(kind: string, coordinate: ReadCoordinate, options?: RecordedScanOptions) => Promise<RecordedScanPage<Node<N>>>;
|
|
3858
3873
|
recordedEdgeGetById: <E extends AnyEdgeType>(kind: string, id: EdgeId<E>, coordinate: ReadCoordinate) => Promise<Edge<E> | undefined>;
|
|
3859
3874
|
recordedEdgeGetByIds: <E extends AnyEdgeType>(kind: string, ids: readonly EdgeId<E>[], coordinate: ReadCoordinate) => Promise<readonly (Edge<E> | undefined)[]>;
|
|
3875
|
+
recordedEdgeScan: <E extends AnyEdgeType>(kind: string, coordinate: ReadCoordinate, options?: RecordedScanOptions) => Promise<RecordedScanPage<Edge<E>>>;
|
|
3860
3876
|
subgraphAtCoordinate: <const EK extends EdgeKinds<G>, const NK extends NodeKinds<G> = NodeKinds<G>, const P extends SubgraphProject<G, NK, EK> | undefined = undefined>(rootId: NodeId<AllNodeTypes<G>>, options: InternalSubgraphOptions<G, EK, NK, P>) => Promise<SubgraphResult<G, NK, EK, P>>;
|
|
3861
3877
|
algorithmsAtCoordinate: (coordinate: ReadCoordinate) => InternalGraphAlgorithms<G>;
|
|
3862
3878
|
}>;
|
|
@@ -4017,14 +4033,13 @@ type AdapterStoreTransactions<G extends GraphDef, TNativeTransaction> = Readonly
|
|
|
4017
4033
|
withRecordedTransaction: <T>(externalTransaction: TNativeTransaction, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>) => Promise<TransactionOutcome<T>>;
|
|
4018
4034
|
}>;
|
|
4019
4035
|
type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & Readonly<{
|
|
4020
|
-
sql?: never;
|
|
4021
4036
|
sqlAvailability: "history";
|
|
4022
4037
|
}>;
|
|
4023
4038
|
/**
|
|
4024
4039
|
* The {@link AdapterHistoryTransactionContext} handed to a `withRecordedTransaction`
|
|
4025
4040
|
* callback, extended with {@link ScopedMeasure}. Its `measure` scopes to a child
|
|
4026
4041
|
* {@link MeasurableAdapterHistoryTransactionContext} (so nested scopes keep the
|
|
4027
|
-
* history-safe
|
|
4042
|
+
* history-safe absent-`sql` / backend typing). Assignable to
|
|
4028
4043
|
* {@link MeasurableTransactionContext} (and hence to {@link TransactionContext}),
|
|
4029
4044
|
* so a projector helper typed against either still accepts it.
|
|
4030
4045
|
*/
|
|
@@ -4373,19 +4388,19 @@ declare class StoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
|
|
|
4373
4388
|
/**
|
|
4374
4389
|
* A narrow recorded-time read lens. It preserves the valid-time coordinate
|
|
4375
4390
|
* carried by the source view and adds a recorded/system-time pin. Collection
|
|
4376
|
-
* reads
|
|
4391
|
+
* reads expose point reconstruction and bounded scans; broad collection
|
|
4377
4392
|
* predicates, endpoint reads, search, and further coordinate changes are absent
|
|
4378
4393
|
* from the typed surface and refused by the runtime proxies for JS callers.
|
|
4379
4394
|
*/
|
|
4380
4395
|
declare class RecordedStoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
|
|
4381
4396
|
#private;
|
|
4382
4397
|
constructor(store: Store<G>, coordinate: ReadCoordinate);
|
|
4383
|
-
/** The recorded/system-time
|
|
4384
|
-
get asOfRecorded():
|
|
4385
|
-
/** Recorded-time node
|
|
4398
|
+
/** The recorded/system-time anchor this view reconstructs. */
|
|
4399
|
+
get asOfRecorded(): RecordedInstant;
|
|
4400
|
+
/** Recorded-time node reconstructing-read collections. */
|
|
4386
4401
|
get nodes(): RecordedStoreViewNodeCollections<G>;
|
|
4387
|
-
/** Recorded-time edge
|
|
4402
|
+
/** Recorded-time edge reconstructing-read collections. */
|
|
4388
4403
|
get edges(): RecordedStoreViewEdgeCollections<G>;
|
|
4389
4404
|
}
|
|
4390
4405
|
|
|
4391
|
-
export { ExecutableAggregateQuery as $, type AliasMap as A, type BaseStoreOptions as B, type ConstraintNames as C, type DegreeOptions as D, type EdgeAliasMap as E, type DynamicNodeType as F, type DynamicSelectableEdge as G, type HistoryStoreOptions as H, type DynamicSelectableNode as I, type Edge as J, type EdgeAccessor as K, type LiveStoreOptions as L, type EdgeBatchReads as M, type EdgeCollection as N, type EdgeFindByEndpointsOptions as O, type EdgeGetOrCreateByEndpointsOptions as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type EdgeGetOrCreateByEndpointsResult as V, type EdgeIntrospection as W, type EdgeTemporalReads as X, type EdgeWrites as Y, type EmptyAliasMap as Z, type EmptyEdgeAliasMap as _, type Store as a, type
|
|
4406
|
+
export { ExecutableAggregateQuery as $, type AliasMap as A, type BaseStoreOptions as B, type ConstraintNames as C, type DegreeOptions as D, type EdgeAliasMap as E, type DynamicNodeType as F, type DynamicSelectableEdge as G, type HistoryStoreOptions as H, type DynamicSelectableNode as I, type Edge as J, type EdgeAccessor as K, type LiveStoreOptions as L, type EdgeBatchReads as M, type EdgeCollection as N, type EdgeFindByEndpointsOptions as O, type EdgeGetOrCreateByEndpointsOptions as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type EdgeGetOrCreateByEndpointsResult as V, type EdgeIntrospection as W, type EdgeTemporalReads as X, type EdgeWrites as Y, type EmptyAliasMap as Z, type EmptyEdgeAliasMap as _, type Store as a, type RecordedStoreViewNodeCollection as a$, ExecutableQuery as a0, type FieldAccessor as a1, type FulltextSearchHit as a2, type FulltextSearchOptions as a3, type GetOrCreateAction as a4, type GraphAlgorithms as a5, type GraphEdgeCollections as a6, type GraphNodeCollections as a7, type HistoryStoreBackend as a8, type HookContext as a9, type NodeRef as aA, type NodeTemporalReads as aB, type NodeWrites as aC, type OntologyIntrospection as aD, type OperationHookContext as aE, type PageRankOptions as aF, type PageRankScore as aG, type PaginateOptions as aH, type PaginatedResult as aI, type PathNode as aJ, type PersonalizedPageRankOptions as aK, type PersonalizedPageRankSeed as aL, type Predicate as aM, PreparedQuery as aN, type PropsAccessor as aO, type QueryHookContext as aP, type QueryOptions as aQ, type ReachableNode as aR, type ReachableOptions as aS, type RebuildFulltextOptions as aT, type RebuildFulltextResult as aU, type ReclaimedVectorFieldEntry as aV, type RecordedScanOptions as aW, type RecordedScanPage as aX, RecordedStoreView as aY, type RecordedStoreViewEdgeCollection as aZ, type RecordedStoreViewEdgeCollections as a_, type HybridFulltextOptions as aa, type HybridSearchHit as ab, type HybridSearchOptions as ac, type HybridVectorOptions as ad, type IfExistsMode as ae, type InitialQueryBuilder as af, type KindIntrospection as ag, type LabelPropagationMembership as ah, type LabelPropagationOptions as ai, type MaterializeRemovalsEntry as aj, type MaterializeRemovalsOptions as ak, type MaterializeRemovalsResult as al, type MeasurableAdapterHistoryTransactionContext as am, type MeasurableAdapterTransactionContext as an, type MeasurableTransactionContext as ao, type NeighborsOptions as ap, type NoRecordedCoordinate as aq, type Node as ar, type NodeAccessor as as, type NodeAlias as at, type NodeBulkFindByIndexOptions as au, type NodeCollection as av, type NodeCurrentReads as aw, type NodeGetOrCreateByConstraintOptions as ax, type NodeGetOrCreateByConstraintResult as ay, type NodeIdentifier as az, type HistoryStore as b, createQueryBuilder as b$, type RecordedStoreViewNodeCollections as b0, type RecursiveTraversalOptions as b1, type ReembedFunction as b2, type ReembedVectorFieldOptions as b3, type ReembedVectorFieldResult as b4, type SchemaIntrospection as b5, type ScopedMeasure as b6, type SearchScopeOptions as b7, type SelectContext as b8, type SelectableEdge as b9, type StreamOptions as bA, type SubgraphEdgeResult as bB, type SubgraphNodeResult as bC, type SubgraphOptions as bD, type SubgraphResult as bE, type SubsetEdge as bF, type SubsetNode as bG, type TemporalAlgorithmOptions as bH, type TransactionContext as bI, type TransactionOutcome as bJ, type TransactionReceipt as bK, type TraversalDirection as bL, type TypedEdgeCollection as bM, type TypedRecordedStoreViewEdgeCollection as bN, type TypedStoreViewEdgeCollection as bO, UnionableQuery as bP, type UniqueIntrospection as bQ, type UpdateEdgeInput as bR, type UpdateNodeInput as bS, type VectorSearchHit as bT, type VectorSearchOptions as bU, type WeaklyConnectedComponentMembership as bV, type WeaklyConnectedComponentsOptions as bW, type WeightedShortestPathOptions as bX, type WeightedShortestPathResult as bY, createAdapterStore as bZ, createAdapterStoreWithSchema as b_, type SelectableNode as ba, type ShortestPathOptions as bb, type ShortestPathResult as bc, type SqlAvailability as bd, type StoreHooks as be, type StoreProjection as bf, type StoreRef as bg, StoreSearch as bh, StoreView as bi, type StoreViewCanReachOptions as bj, type StoreViewCoordinate as bk, type StoreViewDegreeOptions as bl, type StoreViewEdgeCollection as bm, type StoreViewEdgeCollections as bn, type StoreViewGraphAlgorithms as bo, type StoreViewLabelPropagationOptions as bp, type StoreViewNeighborsOptions as bq, type StoreViewNodeCollection as br, type StoreViewNodeCollections as bs, type StoreViewPageRankOptions as bt, type StoreViewPersonalizedPageRankOptions as bu, type StoreViewReachableOptions as bv, type StoreViewShortestPathOptions as bw, type StoreViewSubgraphOptions as bx, type StoreViewWeaklyConnectedComponentsOptions as by, type StoreViewWeightedShortestPathOptions as bz, type RecordedReadStore as c, createStore as c0, createStoreWithSchema as c1, createVerifiedAdapterStore as c2, createVerifiedStore as c3, defineSubgraphProject as c4, exists as c5, fieldRef as c6, inSubquery as c7, isParameterRef as c8, notExists as c9, notInSubquery as ca, param as cb, type RecursiveAliasMap as d, QueryBuilder as e, type EmptyRecursiveAliasMap as f, type AdapterHistoryStore as g, type AdapterHistoryTransactionContext as h, type AdapterRecordedReadStore as i, type AdapterStore as j, type AdapterTransactionContext as k, type AggregateResult as l, type AlgorithmCyclePolicy as m, type AnyEdge as n, type AnyNode as o, type BaseTraversalOptions as p, type BatchResults as q, type BatchableQuery as r, type CreateEdgeInput as s, type CreateNodeInput as t, type DynamicEdgeAccessor as u, type DynamicEdgeCollection as v, type DynamicEdgeType as w, type DynamicFieldBuilder as x, type DynamicNodeAccessor as y, type DynamicNodeCollection as z };
|