@nicia-ai/typegraph 0.39.0 → 0.41.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 +24 -26
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +11 -13
- package/dist/backend/postgres/pglite-store.cjs +25 -26
- 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 +21 -22
- package/dist/backend/postgres/pglite-store.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +13 -15
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +12 -14
- package/dist/backend/sqlite/index.cjs +25 -27
- package/dist/backend/sqlite/index.d.cts +6 -6
- package/dist/backend/sqlite/index.d.ts +6 -6
- package/dist/backend/sqlite/index.js +9 -11
- package/dist/backend/sqlite/libsql.cjs +15 -17
- 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 +14 -16
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local-store.cjs +26 -27
- 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 +22 -23
- package/dist/backend/sqlite/local-store.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +14 -16
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +12 -14
- 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-3YFDFOYB.cjs → chunk-2X73QTIC.cjs} +12 -13
- package/dist/chunk-2X73QTIC.cjs.map +1 -0
- package/dist/chunk-3SHAUJRB.js +79 -0
- package/dist/chunk-3SHAUJRB.js.map +1 -0
- package/dist/{chunk-3SK4SVTW.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-IFRPHG7O.js → chunk-EFZ4S22A.js} +10 -9
- 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-HAQVISUF.cjs +1098 -0
- package/dist/chunk-HAQVISUF.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-KAFXPB2L.js → chunk-I5CRUPKO.js} +9 -10
- package/dist/{chunk-KAFXPB2L.js.map → chunk-I5CRUPKO.js.map} +1 -1
- package/dist/{chunk-IFDXG2YJ.js → chunk-JHK6NPFV.js} +217 -305
- package/dist/chunk-JHK6NPFV.js.map +1 -0
- package/dist/{chunk-VXAFOF6Z.cjs → chunk-JP5EICR6.cjs} +12 -7
- package/dist/chunk-JP5EICR6.cjs.map +1 -0
- package/dist/chunk-JZYMOHHM.cjs +226 -0
- package/dist/chunk-JZYMOHHM.cjs.map +1 -0
- 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-JD2YC62H.cjs → chunk-KHNKYSGP.cjs} +34 -34
- package/dist/{chunk-JD2YC62H.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-KOI7UEI5.js +81 -0
- package/dist/chunk-KOI7UEI5.js.map +1 -0
- 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-6SRLCSAV.cjs → chunk-LOKG3KQV.cjs} +962 -875
- package/dist/chunk-LOKG3KQV.cjs.map +1 -0
- package/dist/{chunk-KIZSHRUI.cjs → chunk-M2RPZS7J.cjs} +10 -10
- package/dist/{chunk-KIZSHRUI.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-CBK2IVI2.js → chunk-MQBF3XGY.js} +119 -32
- package/dist/chunk-MQBF3XGY.js.map +1 -0
- package/dist/chunk-QCKD3RCI.cjs +83 -0
- package/dist/chunk-QCKD3RCI.cjs.map +1 -0
- package/dist/chunk-QOHTVDHU.js +144 -0
- package/dist/chunk-QOHTVDHU.js.map +1 -0
- package/dist/{chunk-HTQOBY75.cjs → chunk-QXKVUJLI.cjs} +110 -109
- 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-DOKUXLFH.js → chunk-QZYGZVUI.js} +34 -34
- package/dist/chunk-QZYGZVUI.js.map +1 -0
- package/dist/{chunk-GKQU44SQ.cjs → chunk-SAMJLDGG.cjs} +103 -103
- package/dist/{chunk-GKQU44SQ.cjs.map → chunk-SAMJLDGG.cjs.map} +1 -1
- 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-5ELKD2FQ.cjs → chunk-UCHW2MGP.cjs} +330 -431
- package/dist/chunk-UCHW2MGP.cjs.map +1 -0
- package/dist/{chunk-Y6UA55YS.cjs → chunk-UDS5DZNY.cjs} +495 -1095
- package/dist/chunk-UDS5DZNY.cjs.map +1 -0
- package/dist/{chunk-SU7VQOJ3.js → chunk-V3S74J44.js} +9 -5
- package/dist/chunk-V3S74J44.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-KXFUQNF2.js → chunk-W66YCXWT.js} +463 -1047
- package/dist/chunk-W66YCXWT.js.map +1 -0
- package/dist/{chunk-NQBYTLPW.js → chunk-XMEYZYGE.js} +6 -6
- package/dist/{chunk-NQBYTLPW.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-E2Q7SP2K.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-YPUNPG2T.js → chunk-ZE7E46IZ.js} +5 -5
- package/dist/{chunk-YPUNPG2T.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-J6sDyABg.d.cts → ddl-BCXFRLWg.d.cts} +3 -3
- package/dist/{ddl-Dx3Z0_WC.d.ts → ddl-ByLmGgn9.d.ts} +3 -3
- package/dist/{define-graph-DRo9xpYN.d.ts → define-graph-BSviZubs.d.ts} +1 -1
- package/dist/{define-graph-CzEvA_8F.d.cts → define-graph-XyJheaFm.d.cts} +1 -1
- package/dist/graph-merge/index.cjs +37 -38
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +6 -5
- package/dist/graph-merge/index.d.ts +6 -5
- package/dist/graph-merge/index.js +15 -16
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +146 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -10
- package/dist/index.d.ts +12 -10
- package/dist/index.js +23 -22
- package/dist/index.js.map +1 -1
- 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 +28 -29
- 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 +9 -10
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-CASfhmzV.d.ts → manager-C7iC5bk_.d.ts} +27 -3
- package/dist/{manager-nCEJiYBb.d.cts → manager-Dm6MCYO7.d.cts} +27 -3
- package/dist/{postgres-Cl1ZAN1G.d.ts → postgres-Cb6ceh4-.d.ts} +100 -49
- package/dist/{postgres-DMgIKQU-.d.cts → postgres-DZxwzCQ8.d.cts} +100 -49
- package/dist/profiler/index.d.cts +8 -7
- package/dist/profiler/index.d.ts +8 -7
- package/dist/provenance/index.cjs +19 -19
- package/dist/provenance/index.d.cts +6 -5
- package/dist/provenance/index.d.ts +6 -5
- package/dist/provenance/index.js +6 -6
- package/dist/schema/index.cjs +33 -101
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +55 -55
- package/dist/schema/index.d.ts +55 -55
- package/dist/schema/index.js +6 -86
- package/dist/schema/index.js.map +1 -1
- package/dist/{temporal-DqtOEo_B.d.ts → searchable-Cet4Oztt.d.ts} +3 -58
- package/dist/{temporal-BC_NQV5Y.d.cts → searchable-aUaKh3_r.d.cts} +3 -58
- package/dist/{sqlite-BDkW39aa.d.cts → sqlite-Cb3Ilj9_.d.ts} +124 -97
- package/dist/{sqlite-CYfhvESj.d.ts → sqlite-Dxklpizv.d.cts} +124 -97
- package/dist/{store-view-CLIhwMMX.d.ts → store-view-BDjGFjpN.d.ts} +67 -23
- package/dist/{store-view-BJd6Vwpt.d.cts → store-view-PCT7vTKH.d.cts} +67 -23
- 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-CFZiEEPh.d.ts} +1 -1
- package/dist/{types-COq3-vMC.d.cts → types-CsaG00wS.d.cts} +1 -1
- package/dist/{index-Bq7vSPHy.d.ts → types-D-vOo_pM.d.ts} +2 -2
- package/dist/{index-CrFL_ENI.d.cts → types-ho4DJJb_.d.cts} +2 -2
- package/dist/{where-BdE_cYtx.d.ts → where-DLYaXa4L.d.ts} +1 -1
- package/dist/{where-C92TXCzT.d.cts → where-udes1WRA.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-3SK4SVTW.js.map +0 -1
- package/dist/chunk-3YFDFOYB.cjs.map +0 -1
- package/dist/chunk-5ELKD2FQ.cjs.map +0 -1
- package/dist/chunk-6SRLCSAV.cjs.map +0 -1
- package/dist/chunk-6XDBRDZE.js.map +0 -1
- package/dist/chunk-CBK2IVI2.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-DOKUXLFH.js.map +0 -1
- package/dist/chunk-E2Q7SP2K.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-G3CSQLLT.js.map +0 -1
- package/dist/chunk-HTQOBY75.cjs.map +0 -1
- package/dist/chunk-I6FX7AAG.js +0 -39
- package/dist/chunk-I6FX7AAG.js.map +0 -1
- package/dist/chunk-IFDXG2YJ.js.map +0 -1
- package/dist/chunk-IFRPHG7O.js.map +0 -1
- package/dist/chunk-J6IJARLG.js +0 -94
- package/dist/chunk-J6IJARLG.js.map +0 -1
- package/dist/chunk-KXFUQNF2.js.map +0 -1
- package/dist/chunk-MTNEGGM2.js +0 -273
- package/dist/chunk-MTNEGGM2.js.map +0 -1
- package/dist/chunk-SU7VQOJ3.js.map +0 -1
- package/dist/chunk-SVUKGWSN.cjs +0 -102
- package/dist/chunk-SVUKGWSN.cjs.map +0 -1
- package/dist/chunk-UH2USOMG.cjs +0 -627
- package/dist/chunk-UH2USOMG.cjs.map +0 -1
- package/dist/chunk-VXAFOF6Z.cjs.map +0 -1
- package/dist/chunk-X6RDQ5NB.cjs.map +0 -1
- package/dist/chunk-Y6UA55YS.cjs.map +0 -1
- package/dist/chunk-Y7M44XEK.js +0 -462
- package/dist/chunk-Y7M44XEK.js.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
|
@@ -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-ho4DJJb_.cjs';
|
|
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-BSviZubs.js';
|
|
2
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CyFsSPe8.js';
|
|
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.js';
|
|
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-C7iC5bk_.js';
|
|
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-D-vOo_pM.js';
|
|
7
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-Cet4Oztt.js';
|
|
7
8
|
import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult, c as MaterializeSystemIndexesOptions } from './materialize-indexes-D4iei4Kp.js';
|
|
8
9
|
|
|
9
10
|
type FieldTypeInfo = Readonly<{
|
|
@@ -2123,14 +2124,6 @@ declare class ExecutableAggregateQuery<G extends GraphDef, Aliases extends Alias
|
|
|
2123
2124
|
execute(): Promise<readonly AggregateResult<R>[]>;
|
|
2124
2125
|
}
|
|
2125
2126
|
|
|
2126
|
-
/**
|
|
2127
|
-
* Temporal Filter Compilation
|
|
2128
|
-
*
|
|
2129
|
-
* Generates SQL clauses for temporal filtering based on valid_from/valid_to
|
|
2130
|
-
* and deleted_at timestamps. Consolidates the previously duplicated temporal
|
|
2131
|
-
* filter functions into a single, parameterized implementation.
|
|
2132
|
-
*/
|
|
2133
|
-
|
|
2134
2127
|
/**
|
|
2135
2128
|
* How a "current" valid-time read instant is emitted into compiled SQL:
|
|
2136
2129
|
*
|
|
@@ -4025,12 +4018,63 @@ interface StoreEvolution<G extends GraphDef, TStore extends StoreCore<G>> {
|
|
|
4025
4018
|
* internals, and caller-owned transaction adoption out of the public surface.
|
|
4026
4019
|
*/
|
|
4027
4020
|
type Store<G extends GraphDef> = StoreCore<G> & StoreTransactions<G> & StoreEvolution<G, Store<G>>;
|
|
4021
|
+
/**
|
|
4022
|
+
* An opaque, in-memory snapshot of a store's reconciled schema: the merged
|
|
4023
|
+
* compile-time + runtime-committed graph plus the committed schema version and
|
|
4024
|
+
* hash it reflects. Produced by {@link AdapterStore.reconciledSchema} after a
|
|
4025
|
+
* verified open, cached once per isolate/process, and handed to
|
|
4026
|
+
* {@link createAdapterStore} via `{ reconciled }` (or used implicitly by
|
|
4027
|
+
* {@link AdapterStore.withBackend}) to build request-scoped stores against
|
|
4028
|
+
* fresh connections with **zero** database round-trips. Reads and writes are
|
|
4029
|
+
* validated against the reconciled graph, so runtime-committed kinds seen at
|
|
4030
|
+
* the reconcile are honored without re-querying.
|
|
4031
|
+
*
|
|
4032
|
+
* Treat it as opaque and immutable — do not construct or mutate it. Its
|
|
4033
|
+
* `version` is the value to compare against {@link getCommittedSchemaVersion}
|
|
4034
|
+
* to detect a schema commit from another process and refresh the snapshot.
|
|
4035
|
+
*/
|
|
4036
|
+
type ReconciledSchema<G extends GraphDef> = Readonly<{
|
|
4037
|
+
graph: G;
|
|
4038
|
+
version: number | undefined;
|
|
4039
|
+
hash: string | undefined;
|
|
4040
|
+
}>;
|
|
4041
|
+
/** Construction option carrying a cached {@link ReconciledSchema}. */
|
|
4042
|
+
type ReconciledOption<G extends GraphDef> = Readonly<{
|
|
4043
|
+
reconciled?: ReconciledSchema<G>;
|
|
4044
|
+
}>;
|
|
4045
|
+
/**
|
|
4046
|
+
* The reconciliation surface shared by every adapter store flavor: read the
|
|
4047
|
+
* cached {@link ReconciledSchema} and rebind to a fresh connection with no
|
|
4048
|
+
* verify round-trip. `Self` is the receiver's own surface so `withBackend`
|
|
4049
|
+
* preserves the store flavor (live / history / recorded-read).
|
|
4050
|
+
*
|
|
4051
|
+
* Declared as an `interface` (not a `type`): the surface aliases intersect it
|
|
4052
|
+
* with `Self` bound to themselves, which a `type` alias rejects as a circular
|
|
4053
|
+
* self-reference (TS2456) but an interface resolves lazily — the same idiom as
|
|
4054
|
+
* {@link StoreEvolution}.
|
|
4055
|
+
*/
|
|
4056
|
+
interface AdapterStoreReconciliation<G extends GraphDef, TNativeTransaction, Self> {
|
|
4057
|
+
/**
|
|
4058
|
+
* An opaque snapshot of this store's reconciled schema. Cache it after a
|
|
4059
|
+
* verified open and pass it to {@link createAdapterStore} `{ reconciled }`
|
|
4060
|
+
* to build per-request stores with zero database round-trips.
|
|
4061
|
+
*/
|
|
4062
|
+
readonly reconciledSchema: ReconciledSchema<G>;
|
|
4063
|
+
/**
|
|
4064
|
+
* Build an equivalent store bound to a fresh backend/connection, reusing
|
|
4065
|
+
* this store's already-reconciled schema — no verify round-trip. The
|
|
4066
|
+
* per-request primitive for serverless deployments that open a new
|
|
4067
|
+
* connection per request; the returned store validates writes against the
|
|
4068
|
+
* same reconciled graph as the receiver.
|
|
4069
|
+
*/
|
|
4070
|
+
readonly withBackend: (backend: AdapterBackend<TNativeTransaction>) => Self;
|
|
4071
|
+
}
|
|
4028
4072
|
/**
|
|
4029
4073
|
* A Store with explicit adapter interoperability. Adapter entrypoints return
|
|
4030
4074
|
* this surface so native transaction handles remain precisely typed without
|
|
4031
4075
|
* leaking into the default Store contract.
|
|
4032
4076
|
*/
|
|
4033
|
-
type AdapterStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterStore<G, TNativeTransaction>> & AdapterStoreTransactions<G, TNativeTransaction> & Readonly<{
|
|
4077
|
+
type AdapterStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterStore<G, TNativeTransaction>> & AdapterStoreTransactions<G, TNativeTransaction> & AdapterStoreReconciliation<G, TNativeTransaction, AdapterStore<G, TNativeTransaction>> & Readonly<{
|
|
4034
4078
|
backend: GraphBackend;
|
|
4035
4079
|
}>;
|
|
4036
4080
|
type AdapterStoreTransactions<G extends GraphDef, TNativeTransaction> = Readonly<{
|
|
@@ -4053,7 +4097,7 @@ type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> =
|
|
|
4053
4097
|
type MeasurableAdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = AdapterHistoryTransactionContext<G, TNativeTransaction> & Readonly<{
|
|
4054
4098
|
measure: ScopedMeasure<MeasurableAdapterHistoryTransactionContext<G, TNativeTransaction>>;
|
|
4055
4099
|
}>;
|
|
4056
|
-
type AdapterRecordedReadStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterRecordedReadStore<G, TNativeTransaction>> & AdapterStoreTransactions<G, TNativeTransaction> & Readonly<{
|
|
4100
|
+
type AdapterRecordedReadStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterRecordedReadStore<G, TNativeTransaction>> & AdapterStoreTransactions<G, TNativeTransaction> & AdapterStoreReconciliation<G, TNativeTransaction, AdapterRecordedReadStore<G, TNativeTransaction>> & Readonly<{
|
|
4057
4101
|
backend: GraphBackend;
|
|
4058
4102
|
recordedReadBound: true;
|
|
4059
4103
|
}>;
|
|
@@ -4064,7 +4108,7 @@ type HistoryStore<G extends GraphDef> = StoreCore<G> & StoreTransactions<G> & St
|
|
|
4064
4108
|
historyEnabled: true;
|
|
4065
4109
|
recordedReadBound: true;
|
|
4066
4110
|
}>;
|
|
4067
|
-
type AdapterHistoryStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterHistoryStore<G, TNativeTransaction>> & AdapterHistoryStoreTransactions<G, TNativeTransaction> & Readonly<{
|
|
4111
|
+
type AdapterHistoryStore<G extends GraphDef, TNativeTransaction> = StoreCore<G> & StoreEvolution<G, AdapterHistoryStore<G, TNativeTransaction>> & AdapterHistoryStoreTransactions<G, TNativeTransaction> & AdapterStoreReconciliation<G, TNativeTransaction, AdapterHistoryStore<G, TNativeTransaction>> & Readonly<{
|
|
4068
4112
|
backend: HistoryStoreBackend;
|
|
4069
4113
|
historyEnabled: true;
|
|
4070
4114
|
recordedReadBound: true;
|
|
@@ -4108,11 +4152,11 @@ declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend
|
|
|
4108
4152
|
declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: UnboundLiveStoreOptions): Store<G>;
|
|
4109
4153
|
declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend, options: LiveStoreOptions | undefined): Store<G> | RecordedReadStore<G>;
|
|
4110
4154
|
declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend, options: StoreOptions | undefined): Store<G> | HistoryStore<G> | RecordedReadStore<G>;
|
|
4111
|
-
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: HistoryStoreOptions): AdapterHistoryStore<G, TNativeTransaction>;
|
|
4112
|
-
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: RecordedReadStoreOptions): AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4113
|
-
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options?: UnboundLiveStoreOptions): AdapterStore<G, TNativeTransaction>;
|
|
4114
|
-
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: LiveStoreOptions | undefined): AdapterStore<G, TNativeTransaction> | AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4115
|
-
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: StoreOptions | undefined): AdapterStore<G, TNativeTransaction> | AdapterHistoryStore<G, TNativeTransaction> | AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4155
|
+
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: HistoryStoreOptions & ReconciledOption<G>): AdapterHistoryStore<G, TNativeTransaction>;
|
|
4156
|
+
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: RecordedReadStoreOptions & ReconciledOption<G>): AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4157
|
+
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options?: UnboundLiveStoreOptions & ReconciledOption<G>): AdapterStore<G, TNativeTransaction>;
|
|
4158
|
+
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: (LiveStoreOptions & ReconciledOption<G>) | undefined): AdapterStore<G, TNativeTransaction> | AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4159
|
+
declare function createAdapterStore<G extends GraphDef, TNativeTransaction>(graph: G, backend: AdapterBackend<TNativeTransaction>, options: (StoreOptions & ReconciledOption<G>) | undefined): AdapterStore<G, TNativeTransaction> | AdapterHistoryStore<G, TNativeTransaction> | AdapterRecordedReadStore<G, TNativeTransaction>;
|
|
4116
4160
|
|
|
4117
4161
|
/**
|
|
4118
4162
|
* Creates a store and ensures the schema is initialized/migrated.
|
|
@@ -4402,12 +4446,12 @@ declare class StoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
|
|
|
4402
4446
|
declare class RecordedStoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
|
|
4403
4447
|
#private;
|
|
4404
4448
|
constructor(store: Store<G>, coordinate: ReadCoordinate);
|
|
4405
|
-
/** The recorded/system-time
|
|
4406
|
-
get asOfRecorded():
|
|
4449
|
+
/** The recorded/system-time anchor this view reconstructs. */
|
|
4450
|
+
get asOfRecorded(): RecordedInstant;
|
|
4407
4451
|
/** Recorded-time node reconstructing-read collections. */
|
|
4408
4452
|
get nodes(): RecordedStoreViewNodeCollections<G>;
|
|
4409
4453
|
/** Recorded-time edge reconstructing-read collections. */
|
|
4410
4454
|
get edges(): RecordedStoreViewEdgeCollections<G>;
|
|
4411
4455
|
}
|
|
4412
4456
|
|
|
4413
|
-
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
|
|
4457
|
+
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 RecordedStoreViewEdgeCollections 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 ReconciledSchema as aW, type RecordedScanOptions as aX, type RecordedScanPage as aY, RecordedStoreView as aZ, type RecordedStoreViewEdgeCollection 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, createAdapterStoreWithSchema as b$, type RecordedStoreViewNodeCollection as b0, type RecordedStoreViewNodeCollections as b1, type RecursiveTraversalOptions as b2, type ReembedFunction as b3, type ReembedVectorFieldOptions as b4, type ReembedVectorFieldResult as b5, type SchemaIntrospection as b6, type ScopedMeasure as b7, type SearchScopeOptions as b8, type SelectContext as b9, type StoreViewWeightedShortestPathOptions as bA, type StreamOptions as bB, type SubgraphEdgeResult as bC, type SubgraphNodeResult as bD, type SubgraphOptions as bE, type SubgraphResult as bF, type SubsetEdge as bG, type SubsetNode as bH, type TemporalAlgorithmOptions as bI, type TransactionContext as bJ, type TransactionOutcome as bK, type TransactionReceipt as bL, type TraversalDirection as bM, type TypedEdgeCollection as bN, type TypedRecordedStoreViewEdgeCollection as bO, type TypedStoreViewEdgeCollection as bP, UnionableQuery as bQ, type UniqueIntrospection as bR, type UpdateEdgeInput as bS, type UpdateNodeInput as bT, type VectorSearchHit as bU, type VectorSearchOptions as bV, type WeaklyConnectedComponentMembership as bW, type WeaklyConnectedComponentsOptions as bX, type WeightedShortestPathOptions as bY, type WeightedShortestPathResult as bZ, createAdapterStore as b_, type SelectableEdge as ba, type SelectableNode as bb, type ShortestPathOptions as bc, type ShortestPathResult as bd, type SqlAvailability as be, type StoreHooks as bf, type StoreProjection as bg, type StoreRef as bh, StoreSearch as bi, StoreView as bj, type StoreViewCanReachOptions as bk, type StoreViewCoordinate as bl, type StoreViewDegreeOptions as bm, type StoreViewEdgeCollection as bn, type StoreViewEdgeCollections as bo, type StoreViewGraphAlgorithms as bp, type StoreViewLabelPropagationOptions as bq, type StoreViewNeighborsOptions as br, type StoreViewNodeCollection as bs, type StoreViewNodeCollections as bt, type StoreViewPageRankOptions as bu, type StoreViewPersonalizedPageRankOptions as bv, type StoreViewReachableOptions as bw, type StoreViewShortestPathOptions as bx, type StoreViewSubgraphOptions as by, type StoreViewWeaklyConnectedComponentsOptions as bz, type RecordedReadStore as c, createQueryBuilder as c0, createStore as c1, createStoreWithSchema as c2, createVerifiedAdapterStore as c3, createVerifiedStore as c4, defineSubgraphProject as c5, exists as c6, fieldRef as c7, inSubquery as c8, isParameterRef as c9, notExists as ca, notInSubquery as cb, param as cc, 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 };
|