@nicia-ai/typegraph 0.28.0 → 0.29.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/postgres/index.cjs +23 -761
- package/dist/backend/postgres/index.cjs.map +1 -1
- package/dist/backend/postgres/index.d.cts +24 -5
- package/dist/backend/postgres/index.d.ts +24 -5
- package/dist/backend/postgres/index.js +10 -752
- package/dist/backend/postgres/index.js.map +1 -1
- package/dist/backend/postgres/pglite.cjs +52 -0
- package/dist/backend/postgres/pglite.cjs.map +1 -0
- package/dist/backend/postgres/pglite.d.cts +116 -0
- package/dist/backend/postgres/pglite.d.ts +116 -0
- package/dist/backend/postgres/pglite.js +50 -0
- package/dist/backend/postgres/pglite.js.map +1 -0
- package/dist/backend/sqlite/index.cjs +22 -26
- package/dist/backend/sqlite/index.d.cts +17 -15
- package/dist/backend/sqlite/index.d.ts +17 -15
- package/dist/backend/sqlite/index.js +9 -9
- package/dist/backend/sqlite/libsql.cjs +17 -13
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +16 -12
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +17 -16
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +15 -14
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-DFHLG75V.js → chunk-3DTLDGIM.js} +386 -1093
- package/dist/chunk-3DTLDGIM.js.map +1 -0
- package/dist/{chunk-WVQXAFP3.js → chunk-454I6GDF.js} +46 -5
- package/dist/chunk-454I6GDF.js.map +1 -0
- package/dist/chunk-4K6IHUW6.cjs +183 -0
- package/dist/chunk-4K6IHUW6.cjs.map +1 -0
- package/dist/{chunk-ZTREJOGB.js → chunk-7KLVFWXR.js} +113 -68
- package/dist/chunk-7KLVFWXR.js.map +1 -0
- package/dist/{chunk-UKG7XHZ3.js → chunk-A4H6QMV4.js} +110 -102
- package/dist/chunk-A4H6QMV4.js.map +1 -0
- package/dist/{chunk-E5ROA3MN.js → chunk-BMDF2S7S.js} +3 -3
- package/dist/{chunk-E5ROA3MN.js.map → chunk-BMDF2S7S.js.map} +1 -1
- package/dist/{chunk-PN37HVAV.cjs → chunk-C2RWFIYP.cjs} +121 -67
- package/dist/chunk-C2RWFIYP.cjs.map +1 -0
- package/dist/chunk-CUZGBWFT.js +206 -0
- package/dist/chunk-CUZGBWFT.js.map +1 -0
- package/dist/chunk-F2Q76CQ4.cjs +266 -0
- package/dist/chunk-F2Q76CQ4.cjs.map +1 -0
- package/dist/{chunk-YEDQLNVE.cjs → chunk-G6P3OVDY.cjs} +14 -2
- package/dist/chunk-G6P3OVDY.cjs.map +1 -0
- package/dist/chunk-GPUNAJFH.js +181 -0
- package/dist/chunk-GPUNAJFH.js.map +1 -0
- package/dist/chunk-HKN622O4.js +254 -0
- package/dist/chunk-HKN622O4.js.map +1 -0
- package/dist/{chunk-PYJOBZR3.cjs → chunk-HM6XMR3E.cjs} +52 -52
- package/dist/chunk-HM6XMR3E.cjs.map +1 -0
- package/dist/chunk-IE2TPFBT.js +305 -0
- package/dist/chunk-IE2TPFBT.js.map +1 -0
- package/dist/chunk-KGAJ5HFO.cjs +319 -0
- package/dist/chunk-KGAJ5HFO.cjs.map +1 -0
- package/dist/chunk-M6OC455F.js +65 -0
- package/dist/chunk-M6OC455F.js.map +1 -0
- package/dist/{chunk-U5ROKVRF.js → chunk-MB363HT5.js} +14 -3
- package/dist/chunk-MB363HT5.js.map +1 -0
- package/dist/{chunk-X53YKGHR.js → chunk-MRMD7S7E.js} +9 -9
- package/dist/{chunk-X53YKGHR.js.map → chunk-MRMD7S7E.js.map} +1 -1
- package/dist/{chunk-OOS2RKRH.js → chunk-N3VVQDMA.js} +3 -3
- package/dist/{chunk-OOS2RKRH.js.map → chunk-N3VVQDMA.js.map} +1 -1
- package/dist/{chunk-EJCDOA37.js → chunk-OGUH56BB.js} +4 -4
- package/dist/{chunk-EJCDOA37.js.map → chunk-OGUH56BB.js.map} +1 -1
- package/dist/chunk-Q3ZZLU3O.cjs +12 -0
- package/dist/{chunk-4FJVSF3K.cjs.map → chunk-Q3ZZLU3O.cjs.map} +1 -1
- package/dist/chunk-Q5ASTPM4.cjs +208 -0
- package/dist/chunk-Q5ASTPM4.cjs.map +1 -0
- package/dist/{chunk-WFUN6DCM.cjs → chunk-R2LA6MKR.cjs} +11 -11
- package/dist/chunk-R2LA6MKR.cjs.map +1 -0
- package/dist/chunk-RP7YITHX.cjs +70 -0
- package/dist/chunk-RP7YITHX.cjs.map +1 -0
- package/dist/{chunk-33K3ZYFG.cjs → chunk-RU5BBUU2.cjs} +132 -124
- package/dist/chunk-RU5BBUU2.cjs.map +1 -0
- package/dist/{chunk-TSGBRPNE.js → chunk-SFNUHFON.js} +45 -45
- package/dist/chunk-SFNUHFON.js.map +1 -0
- package/dist/chunk-UP4QAJND.cjs +740 -0
- package/dist/chunk-UP4QAJND.cjs.map +1 -0
- package/dist/{chunk-CTHNVU6K.cjs → chunk-UPBXUOW7.cjs} +8 -8
- package/dist/{chunk-CTHNVU6K.cjs.map → chunk-UPBXUOW7.cjs.map} +1 -1
- package/dist/{chunk-EK6RJ373.cjs → chunk-VGU26WIU.cjs} +5 -5
- package/dist/{chunk-EK6RJ373.cjs.map → chunk-VGU26WIU.cjs.map} +1 -1
- package/dist/{chunk-ZGEMI7MJ.cjs → chunk-XTQHSOIC.cjs} +101 -101
- package/dist/{chunk-ZGEMI7MJ.cjs.map → chunk-XTQHSOIC.cjs.map} +1 -1
- package/dist/chunk-Y52UNT66.js +738 -0
- package/dist/chunk-Y52UNT66.js.map +1 -0
- package/dist/{chunk-OYLF3IC7.js → chunk-Z36W5WUM.js} +4 -4
- package/dist/chunk-Z36W5WUM.js.map +1 -0
- package/dist/{chunk-X3244EKP.cjs → chunk-ZFWNO3GE.cjs} +48 -4
- package/dist/chunk-ZFWNO3GE.cjs.map +1 -0
- package/dist/{chunk-2E4VTD2E.cjs → chunk-ZYQEXGYC.cjs} +423 -1139
- package/dist/chunk-ZYQEXGYC.cjs.map +1 -0
- package/dist/ddl-BwH00BB6.d.ts +38 -0
- package/dist/ddl-D3o-RmsV.d.cts +38 -0
- package/dist/{extension-types-B78CZfA5.d.ts → extension-types-CwHV-Uk4.d.cts} +4 -4
- package/dist/{extension-types-B78CZfA5.d.cts → extension-types-CwHV-Uk4.d.ts} +4 -4
- package/dist/graph-extension/index.cjs +18 -18
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +3 -3
- package/dist/{index-CWdBFWbI.d.ts → index-CapHwi1a.d.ts} +22 -3
- package/dist/{index-Bilw0pYm.d.cts → index-jPPexxM5.d.cts} +22 -3
- package/dist/index.cjs +1211 -945
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -12
- package/dist/index.d.ts +142 -12
- package/dist/index.js +778 -544
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +18 -18
- package/dist/indexes/index.d.cts +9 -9
- package/dist/indexes/index.d.ts +9 -9
- package/dist/indexes/index.js +4 -4
- package/dist/interchange/index.cjs +8 -14
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +5 -16
- package/dist/interchange/index.d.ts +5 -16
- package/dist/interchange/index.js +3 -9
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-ehLTTNq0.d.ts → manager-BUugwCYz.d.ts} +2 -2
- package/dist/{manager-c1MGaVVR.d.cts → manager-DpIpn1HQ.d.cts} +2 -2
- package/dist/{materialize-indexes-DFavFQah.d.ts → materialize-indexes-lkawaDor.d.ts} +1 -1
- package/dist/{materialize-indexes-BQfaAZKA.d.cts → materialize-indexes-oanE3RU0.d.cts} +1 -1
- package/dist/{ddl-0Ooc2dpL.d.ts → postgres-CQL9UIn2.d.cts} +2 -471
- package/dist/{ddl-Dza3kDrI.d.cts → postgres-CcRLaxz0.d.ts} +2 -471
- package/dist/profiler/index.cjs +4 -4
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/profiler/index.js +2 -2
- package/dist/schema/index.cjs +32 -32
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +9 -9
- package/dist/{sqlite-BxZUPbyD.d.ts → sqlite-CZDFUfHS.d.ts} +2 -468
- package/dist/{sqlite-mvpXjEeB.d.cts → sqlite-Rj3xu4It.d.cts} +2 -468
- package/dist/{store-Ufc1Eoey.d.ts → store-B43FpOVX.d.cts} +84 -5
- package/dist/{store-D7YEMg2v.d.cts → store-De0Y33wP.d.ts} +84 -5
- package/dist/{types-B-sJJ4GQ.d.ts → types-B5GSeE3t.d.ts} +2 -2
- package/dist/{types-CmUA9sal.d.cts → types-Bwlp_yvu.d.cts} +2 -2
- package/dist/{types-CMQymcwk.d.cts → types-CmAT-Z47.d.ts} +250 -46
- package/dist/{types-CQ7xXJMP.d.ts → types-DXCSyxac.d.cts} +250 -46
- package/dist/{where-5zf15aFZ.d.cts → where-2dsyYt3d.d.cts} +2 -2
- package/dist/{where-CtrLu1Zf.d.ts → where-CP4qGIHd.d.ts} +2 -2
- package/package.json +20 -5
- package/dist/chunk-2E4VTD2E.cjs.map +0 -1
- package/dist/chunk-33K3ZYFG.cjs.map +0 -1
- package/dist/chunk-3EUKJEQ3.js +0 -77
- package/dist/chunk-3EUKJEQ3.js.map +0 -1
- package/dist/chunk-4FJVSF3K.cjs +0 -12
- package/dist/chunk-5H3BAMTB.js +0 -32
- package/dist/chunk-5H3BAMTB.js.map +0 -1
- package/dist/chunk-DFHLG75V.js.map +0 -1
- package/dist/chunk-HTGDWIDE.cjs +0 -89
- package/dist/chunk-HTGDWIDE.cjs.map +0 -1
- package/dist/chunk-IUIWCFG3.cjs +0 -36
- package/dist/chunk-IUIWCFG3.cjs.map +0 -1
- package/dist/chunk-LYRUNG6E.cjs +0 -52
- package/dist/chunk-LYRUNG6E.cjs.map +0 -1
- package/dist/chunk-OYLF3IC7.js.map +0 -1
- package/dist/chunk-PCHTTG42.js +0 -47
- package/dist/chunk-PCHTTG42.js.map +0 -1
- package/dist/chunk-PN37HVAV.cjs.map +0 -1
- package/dist/chunk-PYJOBZR3.cjs.map +0 -1
- package/dist/chunk-TSGBRPNE.js.map +0 -1
- package/dist/chunk-U5ROKVRF.js.map +0 -1
- package/dist/chunk-UKG7XHZ3.js.map +0 -1
- package/dist/chunk-WFUN6DCM.cjs.map +0 -1
- package/dist/chunk-WVQXAFP3.js.map +0 -1
- package/dist/chunk-X3244EKP.cjs.map +0 -1
- package/dist/chunk-YEDQLNVE.cjs.map +0 -1
- package/dist/chunk-ZTREJOGB.js.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 './types-
|
|
2
|
+
import { I as IndexDeclaration } from './types-DXCSyxac.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Table name configuration.
|
|
@@ -9,7 +9,6 @@ type SqliteTableNames = Readonly<{
|
|
|
9
9
|
edges: string;
|
|
10
10
|
uniques: string;
|
|
11
11
|
schemaVersions: string;
|
|
12
|
-
embeddings: string;
|
|
13
12
|
fulltext: string;
|
|
14
13
|
indexMaterializations: string;
|
|
15
14
|
contributionMaterializations: string;
|
|
@@ -736,161 +735,6 @@ declare function createSqliteTables(names?: Partial<SqliteTableNames>, options?:
|
|
|
736
735
|
};
|
|
737
736
|
dialect: "sqlite";
|
|
738
737
|
}>;
|
|
739
|
-
readonly embeddings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
740
|
-
name: string;
|
|
741
|
-
schema: undefined;
|
|
742
|
-
columns: {
|
|
743
|
-
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
744
|
-
name: "graph_id";
|
|
745
|
-
tableName: string;
|
|
746
|
-
dataType: "string";
|
|
747
|
-
columnType: "SQLiteText";
|
|
748
|
-
data: string;
|
|
749
|
-
driverParam: string;
|
|
750
|
-
notNull: true;
|
|
751
|
-
hasDefault: false;
|
|
752
|
-
isPrimaryKey: false;
|
|
753
|
-
isAutoincrement: false;
|
|
754
|
-
hasRuntimeDefault: false;
|
|
755
|
-
enumValues: [string, ...string[]];
|
|
756
|
-
baseColumn: never;
|
|
757
|
-
identity: undefined;
|
|
758
|
-
generated: undefined;
|
|
759
|
-
}, {}, {
|
|
760
|
-
length: number | undefined;
|
|
761
|
-
}>;
|
|
762
|
-
nodeKind: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
763
|
-
name: "node_kind";
|
|
764
|
-
tableName: string;
|
|
765
|
-
dataType: "string";
|
|
766
|
-
columnType: "SQLiteText";
|
|
767
|
-
data: string;
|
|
768
|
-
driverParam: string;
|
|
769
|
-
notNull: true;
|
|
770
|
-
hasDefault: false;
|
|
771
|
-
isPrimaryKey: false;
|
|
772
|
-
isAutoincrement: false;
|
|
773
|
-
hasRuntimeDefault: false;
|
|
774
|
-
enumValues: [string, ...string[]];
|
|
775
|
-
baseColumn: never;
|
|
776
|
-
identity: undefined;
|
|
777
|
-
generated: undefined;
|
|
778
|
-
}, {}, {
|
|
779
|
-
length: number | undefined;
|
|
780
|
-
}>;
|
|
781
|
-
nodeId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
782
|
-
name: "node_id";
|
|
783
|
-
tableName: string;
|
|
784
|
-
dataType: "string";
|
|
785
|
-
columnType: "SQLiteText";
|
|
786
|
-
data: string;
|
|
787
|
-
driverParam: string;
|
|
788
|
-
notNull: true;
|
|
789
|
-
hasDefault: false;
|
|
790
|
-
isPrimaryKey: false;
|
|
791
|
-
isAutoincrement: false;
|
|
792
|
-
hasRuntimeDefault: false;
|
|
793
|
-
enumValues: [string, ...string[]];
|
|
794
|
-
baseColumn: never;
|
|
795
|
-
identity: undefined;
|
|
796
|
-
generated: undefined;
|
|
797
|
-
}, {}, {
|
|
798
|
-
length: number | undefined;
|
|
799
|
-
}>;
|
|
800
|
-
fieldPath: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
801
|
-
name: "field_path";
|
|
802
|
-
tableName: string;
|
|
803
|
-
dataType: "string";
|
|
804
|
-
columnType: "SQLiteText";
|
|
805
|
-
data: string;
|
|
806
|
-
driverParam: string;
|
|
807
|
-
notNull: true;
|
|
808
|
-
hasDefault: false;
|
|
809
|
-
isPrimaryKey: false;
|
|
810
|
-
isAutoincrement: false;
|
|
811
|
-
hasRuntimeDefault: false;
|
|
812
|
-
enumValues: [string, ...string[]];
|
|
813
|
-
baseColumn: never;
|
|
814
|
-
identity: undefined;
|
|
815
|
-
generated: undefined;
|
|
816
|
-
}, {}, {
|
|
817
|
-
length: number | undefined;
|
|
818
|
-
}>;
|
|
819
|
-
embedding: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
820
|
-
name: "embedding";
|
|
821
|
-
tableName: string;
|
|
822
|
-
dataType: "buffer";
|
|
823
|
-
columnType: "SQLiteBlobBuffer";
|
|
824
|
-
data: Buffer<ArrayBufferLike>;
|
|
825
|
-
driverParam: Buffer<ArrayBufferLike>;
|
|
826
|
-
notNull: true;
|
|
827
|
-
hasDefault: false;
|
|
828
|
-
isPrimaryKey: false;
|
|
829
|
-
isAutoincrement: false;
|
|
830
|
-
hasRuntimeDefault: false;
|
|
831
|
-
enumValues: undefined;
|
|
832
|
-
baseColumn: never;
|
|
833
|
-
identity: undefined;
|
|
834
|
-
generated: undefined;
|
|
835
|
-
}, {}, {}>;
|
|
836
|
-
dimensions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
837
|
-
name: "dimensions";
|
|
838
|
-
tableName: string;
|
|
839
|
-
dataType: "number";
|
|
840
|
-
columnType: "SQLiteInteger";
|
|
841
|
-
data: number;
|
|
842
|
-
driverParam: number;
|
|
843
|
-
notNull: true;
|
|
844
|
-
hasDefault: false;
|
|
845
|
-
isPrimaryKey: false;
|
|
846
|
-
isAutoincrement: false;
|
|
847
|
-
hasRuntimeDefault: false;
|
|
848
|
-
enumValues: undefined;
|
|
849
|
-
baseColumn: never;
|
|
850
|
-
identity: undefined;
|
|
851
|
-
generated: undefined;
|
|
852
|
-
}, {}, {}>;
|
|
853
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
854
|
-
name: "created_at";
|
|
855
|
-
tableName: string;
|
|
856
|
-
dataType: "string";
|
|
857
|
-
columnType: "SQLiteText";
|
|
858
|
-
data: string;
|
|
859
|
-
driverParam: string;
|
|
860
|
-
notNull: true;
|
|
861
|
-
hasDefault: false;
|
|
862
|
-
isPrimaryKey: false;
|
|
863
|
-
isAutoincrement: false;
|
|
864
|
-
hasRuntimeDefault: false;
|
|
865
|
-
enumValues: [string, ...string[]];
|
|
866
|
-
baseColumn: never;
|
|
867
|
-
identity: undefined;
|
|
868
|
-
generated: undefined;
|
|
869
|
-
}, {}, {
|
|
870
|
-
length: number | undefined;
|
|
871
|
-
}>;
|
|
872
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
873
|
-
name: "updated_at";
|
|
874
|
-
tableName: string;
|
|
875
|
-
dataType: "string";
|
|
876
|
-
columnType: "SQLiteText";
|
|
877
|
-
data: string;
|
|
878
|
-
driverParam: string;
|
|
879
|
-
notNull: true;
|
|
880
|
-
hasDefault: false;
|
|
881
|
-
isPrimaryKey: false;
|
|
882
|
-
isAutoincrement: false;
|
|
883
|
-
hasRuntimeDefault: false;
|
|
884
|
-
enumValues: [string, ...string[]];
|
|
885
|
-
baseColumn: never;
|
|
886
|
-
identity: undefined;
|
|
887
|
-
generated: undefined;
|
|
888
|
-
}, {}, {
|
|
889
|
-
length: number | undefined;
|
|
890
|
-
}>;
|
|
891
|
-
};
|
|
892
|
-
dialect: "sqlite";
|
|
893
|
-
}>;
|
|
894
738
|
readonly indexMaterializations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
895
739
|
name: string;
|
|
896
740
|
schema: undefined;
|
|
@@ -2124,161 +1968,6 @@ declare const tables: {
|
|
|
2124
1968
|
};
|
|
2125
1969
|
dialect: "sqlite";
|
|
2126
1970
|
}>;
|
|
2127
|
-
readonly embeddings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2128
|
-
name: string;
|
|
2129
|
-
schema: undefined;
|
|
2130
|
-
columns: {
|
|
2131
|
-
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2132
|
-
name: "graph_id";
|
|
2133
|
-
tableName: string;
|
|
2134
|
-
dataType: "string";
|
|
2135
|
-
columnType: "SQLiteText";
|
|
2136
|
-
data: string;
|
|
2137
|
-
driverParam: string;
|
|
2138
|
-
notNull: true;
|
|
2139
|
-
hasDefault: false;
|
|
2140
|
-
isPrimaryKey: false;
|
|
2141
|
-
isAutoincrement: false;
|
|
2142
|
-
hasRuntimeDefault: false;
|
|
2143
|
-
enumValues: [string, ...string[]];
|
|
2144
|
-
baseColumn: never;
|
|
2145
|
-
identity: undefined;
|
|
2146
|
-
generated: undefined;
|
|
2147
|
-
}, {}, {
|
|
2148
|
-
length: number | undefined;
|
|
2149
|
-
}>;
|
|
2150
|
-
nodeKind: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2151
|
-
name: "node_kind";
|
|
2152
|
-
tableName: string;
|
|
2153
|
-
dataType: "string";
|
|
2154
|
-
columnType: "SQLiteText";
|
|
2155
|
-
data: string;
|
|
2156
|
-
driverParam: string;
|
|
2157
|
-
notNull: true;
|
|
2158
|
-
hasDefault: false;
|
|
2159
|
-
isPrimaryKey: false;
|
|
2160
|
-
isAutoincrement: false;
|
|
2161
|
-
hasRuntimeDefault: false;
|
|
2162
|
-
enumValues: [string, ...string[]];
|
|
2163
|
-
baseColumn: never;
|
|
2164
|
-
identity: undefined;
|
|
2165
|
-
generated: undefined;
|
|
2166
|
-
}, {}, {
|
|
2167
|
-
length: number | undefined;
|
|
2168
|
-
}>;
|
|
2169
|
-
nodeId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2170
|
-
name: "node_id";
|
|
2171
|
-
tableName: string;
|
|
2172
|
-
dataType: "string";
|
|
2173
|
-
columnType: "SQLiteText";
|
|
2174
|
-
data: string;
|
|
2175
|
-
driverParam: string;
|
|
2176
|
-
notNull: true;
|
|
2177
|
-
hasDefault: false;
|
|
2178
|
-
isPrimaryKey: false;
|
|
2179
|
-
isAutoincrement: false;
|
|
2180
|
-
hasRuntimeDefault: false;
|
|
2181
|
-
enumValues: [string, ...string[]];
|
|
2182
|
-
baseColumn: never;
|
|
2183
|
-
identity: undefined;
|
|
2184
|
-
generated: undefined;
|
|
2185
|
-
}, {}, {
|
|
2186
|
-
length: number | undefined;
|
|
2187
|
-
}>;
|
|
2188
|
-
fieldPath: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2189
|
-
name: "field_path";
|
|
2190
|
-
tableName: string;
|
|
2191
|
-
dataType: "string";
|
|
2192
|
-
columnType: "SQLiteText";
|
|
2193
|
-
data: string;
|
|
2194
|
-
driverParam: string;
|
|
2195
|
-
notNull: true;
|
|
2196
|
-
hasDefault: false;
|
|
2197
|
-
isPrimaryKey: false;
|
|
2198
|
-
isAutoincrement: false;
|
|
2199
|
-
hasRuntimeDefault: false;
|
|
2200
|
-
enumValues: [string, ...string[]];
|
|
2201
|
-
baseColumn: never;
|
|
2202
|
-
identity: undefined;
|
|
2203
|
-
generated: undefined;
|
|
2204
|
-
}, {}, {
|
|
2205
|
-
length: number | undefined;
|
|
2206
|
-
}>;
|
|
2207
|
-
embedding: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2208
|
-
name: "embedding";
|
|
2209
|
-
tableName: string;
|
|
2210
|
-
dataType: "buffer";
|
|
2211
|
-
columnType: "SQLiteBlobBuffer";
|
|
2212
|
-
data: Buffer<ArrayBufferLike>;
|
|
2213
|
-
driverParam: Buffer<ArrayBufferLike>;
|
|
2214
|
-
notNull: true;
|
|
2215
|
-
hasDefault: false;
|
|
2216
|
-
isPrimaryKey: false;
|
|
2217
|
-
isAutoincrement: false;
|
|
2218
|
-
hasRuntimeDefault: false;
|
|
2219
|
-
enumValues: undefined;
|
|
2220
|
-
baseColumn: never;
|
|
2221
|
-
identity: undefined;
|
|
2222
|
-
generated: undefined;
|
|
2223
|
-
}, {}, {}>;
|
|
2224
|
-
dimensions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2225
|
-
name: "dimensions";
|
|
2226
|
-
tableName: string;
|
|
2227
|
-
dataType: "number";
|
|
2228
|
-
columnType: "SQLiteInteger";
|
|
2229
|
-
data: number;
|
|
2230
|
-
driverParam: number;
|
|
2231
|
-
notNull: true;
|
|
2232
|
-
hasDefault: false;
|
|
2233
|
-
isPrimaryKey: false;
|
|
2234
|
-
isAutoincrement: false;
|
|
2235
|
-
hasRuntimeDefault: false;
|
|
2236
|
-
enumValues: undefined;
|
|
2237
|
-
baseColumn: never;
|
|
2238
|
-
identity: undefined;
|
|
2239
|
-
generated: undefined;
|
|
2240
|
-
}, {}, {}>;
|
|
2241
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2242
|
-
name: "created_at";
|
|
2243
|
-
tableName: string;
|
|
2244
|
-
dataType: "string";
|
|
2245
|
-
columnType: "SQLiteText";
|
|
2246
|
-
data: string;
|
|
2247
|
-
driverParam: string;
|
|
2248
|
-
notNull: true;
|
|
2249
|
-
hasDefault: false;
|
|
2250
|
-
isPrimaryKey: false;
|
|
2251
|
-
isAutoincrement: false;
|
|
2252
|
-
hasRuntimeDefault: false;
|
|
2253
|
-
enumValues: [string, ...string[]];
|
|
2254
|
-
baseColumn: never;
|
|
2255
|
-
identity: undefined;
|
|
2256
|
-
generated: undefined;
|
|
2257
|
-
}, {}, {
|
|
2258
|
-
length: number | undefined;
|
|
2259
|
-
}>;
|
|
2260
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2261
|
-
name: "updated_at";
|
|
2262
|
-
tableName: string;
|
|
2263
|
-
dataType: "string";
|
|
2264
|
-
columnType: "SQLiteText";
|
|
2265
|
-
data: string;
|
|
2266
|
-
driverParam: string;
|
|
2267
|
-
notNull: true;
|
|
2268
|
-
hasDefault: false;
|
|
2269
|
-
isPrimaryKey: false;
|
|
2270
|
-
isAutoincrement: false;
|
|
2271
|
-
hasRuntimeDefault: false;
|
|
2272
|
-
enumValues: [string, ...string[]];
|
|
2273
|
-
baseColumn: never;
|
|
2274
|
-
identity: undefined;
|
|
2275
|
-
generated: undefined;
|
|
2276
|
-
}, {}, {
|
|
2277
|
-
length: number | undefined;
|
|
2278
|
-
}>;
|
|
2279
|
-
};
|
|
2280
|
-
dialect: "sqlite";
|
|
2281
|
-
}>;
|
|
2282
1971
|
readonly indexMaterializations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
2283
1972
|
name: string;
|
|
2284
1973
|
schema: undefined;
|
|
@@ -3511,164 +3200,9 @@ declare const schemaVersions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3511
3200
|
};
|
|
3512
3201
|
dialect: "sqlite";
|
|
3513
3202
|
}>;
|
|
3514
|
-
declare const embeddings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
3515
|
-
name: string;
|
|
3516
|
-
schema: undefined;
|
|
3517
|
-
columns: {
|
|
3518
|
-
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3519
|
-
name: "graph_id";
|
|
3520
|
-
tableName: string;
|
|
3521
|
-
dataType: "string";
|
|
3522
|
-
columnType: "SQLiteText";
|
|
3523
|
-
data: string;
|
|
3524
|
-
driverParam: string;
|
|
3525
|
-
notNull: true;
|
|
3526
|
-
hasDefault: false;
|
|
3527
|
-
isPrimaryKey: false;
|
|
3528
|
-
isAutoincrement: false;
|
|
3529
|
-
hasRuntimeDefault: false;
|
|
3530
|
-
enumValues: [string, ...string[]];
|
|
3531
|
-
baseColumn: never;
|
|
3532
|
-
identity: undefined;
|
|
3533
|
-
generated: undefined;
|
|
3534
|
-
}, {}, {
|
|
3535
|
-
length: number | undefined;
|
|
3536
|
-
}>;
|
|
3537
|
-
nodeKind: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3538
|
-
name: "node_kind";
|
|
3539
|
-
tableName: string;
|
|
3540
|
-
dataType: "string";
|
|
3541
|
-
columnType: "SQLiteText";
|
|
3542
|
-
data: string;
|
|
3543
|
-
driverParam: string;
|
|
3544
|
-
notNull: true;
|
|
3545
|
-
hasDefault: false;
|
|
3546
|
-
isPrimaryKey: false;
|
|
3547
|
-
isAutoincrement: false;
|
|
3548
|
-
hasRuntimeDefault: false;
|
|
3549
|
-
enumValues: [string, ...string[]];
|
|
3550
|
-
baseColumn: never;
|
|
3551
|
-
identity: undefined;
|
|
3552
|
-
generated: undefined;
|
|
3553
|
-
}, {}, {
|
|
3554
|
-
length: number | undefined;
|
|
3555
|
-
}>;
|
|
3556
|
-
nodeId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3557
|
-
name: "node_id";
|
|
3558
|
-
tableName: string;
|
|
3559
|
-
dataType: "string";
|
|
3560
|
-
columnType: "SQLiteText";
|
|
3561
|
-
data: string;
|
|
3562
|
-
driverParam: string;
|
|
3563
|
-
notNull: true;
|
|
3564
|
-
hasDefault: false;
|
|
3565
|
-
isPrimaryKey: false;
|
|
3566
|
-
isAutoincrement: false;
|
|
3567
|
-
hasRuntimeDefault: false;
|
|
3568
|
-
enumValues: [string, ...string[]];
|
|
3569
|
-
baseColumn: never;
|
|
3570
|
-
identity: undefined;
|
|
3571
|
-
generated: undefined;
|
|
3572
|
-
}, {}, {
|
|
3573
|
-
length: number | undefined;
|
|
3574
|
-
}>;
|
|
3575
|
-
fieldPath: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3576
|
-
name: "field_path";
|
|
3577
|
-
tableName: string;
|
|
3578
|
-
dataType: "string";
|
|
3579
|
-
columnType: "SQLiteText";
|
|
3580
|
-
data: string;
|
|
3581
|
-
driverParam: string;
|
|
3582
|
-
notNull: true;
|
|
3583
|
-
hasDefault: false;
|
|
3584
|
-
isPrimaryKey: false;
|
|
3585
|
-
isAutoincrement: false;
|
|
3586
|
-
hasRuntimeDefault: false;
|
|
3587
|
-
enumValues: [string, ...string[]];
|
|
3588
|
-
baseColumn: never;
|
|
3589
|
-
identity: undefined;
|
|
3590
|
-
generated: undefined;
|
|
3591
|
-
}, {}, {
|
|
3592
|
-
length: number | undefined;
|
|
3593
|
-
}>;
|
|
3594
|
-
embedding: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3595
|
-
name: "embedding";
|
|
3596
|
-
tableName: string;
|
|
3597
|
-
dataType: "buffer";
|
|
3598
|
-
columnType: "SQLiteBlobBuffer";
|
|
3599
|
-
data: Buffer<ArrayBufferLike>;
|
|
3600
|
-
driverParam: Buffer<ArrayBufferLike>;
|
|
3601
|
-
notNull: true;
|
|
3602
|
-
hasDefault: false;
|
|
3603
|
-
isPrimaryKey: false;
|
|
3604
|
-
isAutoincrement: false;
|
|
3605
|
-
hasRuntimeDefault: false;
|
|
3606
|
-
enumValues: undefined;
|
|
3607
|
-
baseColumn: never;
|
|
3608
|
-
identity: undefined;
|
|
3609
|
-
generated: undefined;
|
|
3610
|
-
}, {}, {}>;
|
|
3611
|
-
dimensions: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3612
|
-
name: "dimensions";
|
|
3613
|
-
tableName: string;
|
|
3614
|
-
dataType: "number";
|
|
3615
|
-
columnType: "SQLiteInteger";
|
|
3616
|
-
data: number;
|
|
3617
|
-
driverParam: number;
|
|
3618
|
-
notNull: true;
|
|
3619
|
-
hasDefault: false;
|
|
3620
|
-
isPrimaryKey: false;
|
|
3621
|
-
isAutoincrement: false;
|
|
3622
|
-
hasRuntimeDefault: false;
|
|
3623
|
-
enumValues: undefined;
|
|
3624
|
-
baseColumn: never;
|
|
3625
|
-
identity: undefined;
|
|
3626
|
-
generated: undefined;
|
|
3627
|
-
}, {}, {}>;
|
|
3628
|
-
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3629
|
-
name: "created_at";
|
|
3630
|
-
tableName: string;
|
|
3631
|
-
dataType: "string";
|
|
3632
|
-
columnType: "SQLiteText";
|
|
3633
|
-
data: string;
|
|
3634
|
-
driverParam: string;
|
|
3635
|
-
notNull: true;
|
|
3636
|
-
hasDefault: false;
|
|
3637
|
-
isPrimaryKey: false;
|
|
3638
|
-
isAutoincrement: false;
|
|
3639
|
-
hasRuntimeDefault: false;
|
|
3640
|
-
enumValues: [string, ...string[]];
|
|
3641
|
-
baseColumn: never;
|
|
3642
|
-
identity: undefined;
|
|
3643
|
-
generated: undefined;
|
|
3644
|
-
}, {}, {
|
|
3645
|
-
length: number | undefined;
|
|
3646
|
-
}>;
|
|
3647
|
-
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3648
|
-
name: "updated_at";
|
|
3649
|
-
tableName: string;
|
|
3650
|
-
dataType: "string";
|
|
3651
|
-
columnType: "SQLiteText";
|
|
3652
|
-
data: string;
|
|
3653
|
-
driverParam: string;
|
|
3654
|
-
notNull: true;
|
|
3655
|
-
hasDefault: false;
|
|
3656
|
-
isPrimaryKey: false;
|
|
3657
|
-
isAutoincrement: false;
|
|
3658
|
-
hasRuntimeDefault: false;
|
|
3659
|
-
enumValues: [string, ...string[]];
|
|
3660
|
-
baseColumn: never;
|
|
3661
|
-
identity: undefined;
|
|
3662
|
-
generated: undefined;
|
|
3663
|
-
}, {}, {
|
|
3664
|
-
length: number | undefined;
|
|
3665
|
-
}>;
|
|
3666
|
-
};
|
|
3667
|
-
dialect: "sqlite";
|
|
3668
|
-
}>;
|
|
3669
3203
|
/**
|
|
3670
3204
|
* Type representing the tables object returned by createSqliteTables.
|
|
3671
3205
|
*/
|
|
3672
3206
|
type SqliteTables = ReturnType<typeof createSqliteTables>;
|
|
3673
3207
|
|
|
3674
|
-
export { type CreateSqliteTablesOptions as C, type SqliteTables as S, type SqliteTableNames as a,
|
|
3208
|
+
export { type CreateSqliteTablesOptions as C, type SqliteTables as S, type SqliteTableNames as a, createSqliteTables as c, edges as e, nodes as n, schemaVersions as s, tables as t, uniques as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { p as SqlDialect,
|
|
3
|
-
import { K as KindRegistry, G as GraphDef, u as EdgeKinds, x as NodeKinds, t as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-
|
|
4
|
-
import { A as AnyEdgeType, N as NodeType, T as TemporalMode,
|
|
2
|
+
import { p as SqlDialect, ai as SqlSchema, F as FulltextStrategy, V as VectorStrategy, aA as VectorSlotMap, aB as ValueType, aC as PredicateExpression, aD as VectorMetricType, a1 as FulltextQueryMode, Q as QueryAst, J as JsonPointer, P as FieldRef, ad as ParameterRef, G as GraphBackend, am as TransactionBackend, a6 as JsonPointerInput, an as TraversalExpansion, aE as Traversal, aF as NodePredicate, aG as ProjectedField, ac as OrderSpec, aH as GroupBySpec, a4 as HybridFusionOptions, aI as RecursiveCyclePolicy, aJ as TraversalDirection$1, aK as EdgeRow, aL as NodeRow, W as AdoptedTransaction, L as AggregateExpr, aM as SelectiveField, aN as ComposableQuery, aO as SetOperationType, aP as SetOperation, ah as SortDirection, m as JsonSchema, aQ as VectorMetric } from './types-DXCSyxac.cjs';
|
|
3
|
+
import { K as KindRegistry, G as GraphDef, u as EdgeKinds, x as NodeKinds, t as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-DpIpn1HQ.cjs';
|
|
4
|
+
import { A as AnyEdgeType, N as NodeType, T as TemporalMode, d as EdgeType, E as EdgeRegistration, i as EdgeId, m as NodeId, b as NodeRegistration, K as KindEntity, f as Cardinality, g as EndpointExistence, e as KindAnnotations, U as UniquenessScope, C as Collation, G as GraphExtension } from './extension-types-CwHV-Uk4.cjs';
|
|
5
5
|
import { SQL } from 'drizzle-orm';
|
|
6
|
-
import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult } from './materialize-indexes-
|
|
6
|
+
import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult } from './materialize-indexes-oanE3RU0.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Embedding type for vector search.
|
|
@@ -239,6 +239,20 @@ type CompileQueryOptions = Readonly<{
|
|
|
239
239
|
* default (tsvector).
|
|
240
240
|
*/
|
|
241
241
|
fulltextStrategy?: FulltextStrategy | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* Vector strategy override. When set, `field.similarTo(...)`
|
|
244
|
+
* predicates compile against the strategy's per-`(kind, field)`
|
|
245
|
+
* tables and distance expression. Callers read it from
|
|
246
|
+
* `backend.vectorStrategy` so a backend-declared strategy (pgvector,
|
|
247
|
+
* libsql-native, sqlite-vec) drives the per-field relevance scan.
|
|
248
|
+
*/
|
|
249
|
+
vectorStrategy?: VectorStrategy | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Declared embedding slots `(kind, fieldPath) -> descriptor` used by
|
|
252
|
+
* the `field.similarTo(...)` CTE to know which kinds in an alias
|
|
253
|
+
* declare the field. Callers build it from the graph's node schemas.
|
|
254
|
+
*/
|
|
255
|
+
vectorSlots?: VectorSlotMap | undefined;
|
|
242
256
|
}>;
|
|
243
257
|
|
|
244
258
|
type FieldTypeInfo = Readonly<{
|
|
@@ -1920,8 +1934,29 @@ type MaterializeRemovalsEntry = Readonly<{
|
|
|
1920
1934
|
status: "removed" | "failed";
|
|
1921
1935
|
error?: Error;
|
|
1922
1936
|
}>;
|
|
1937
|
+
/**
|
|
1938
|
+
* Outcome of reclaiming one per-`(graphId, kind, field)` vector table that
|
|
1939
|
+
* was orphaned when its embedding field was dropped from a *surviving*
|
|
1940
|
+
* kind's schema. Distinct from {@link MaterializeRemovalsEntry} (whole
|
|
1941
|
+
* kinds) because the unit is a single embedding field, not a kind.
|
|
1942
|
+
*/
|
|
1943
|
+
type ReclaimedVectorFieldEntry = Readonly<{
|
|
1944
|
+
kind: string;
|
|
1945
|
+
fieldPath: string;
|
|
1946
|
+
status: "reclaimed" | "failed";
|
|
1947
|
+
error?: Error;
|
|
1948
|
+
}>;
|
|
1923
1949
|
type MaterializeRemovalsResult = Readonly<{
|
|
1924
1950
|
results: readonly MaterializeRemovalsEntry[];
|
|
1951
|
+
/**
|
|
1952
|
+
* Embedding fields removed from a *surviving* kind whose per-field vector
|
|
1953
|
+
* table this pass dropped (or confirmed already absent). Empty when the
|
|
1954
|
+
* backend has no vector strategy or no embedding field has ever been
|
|
1955
|
+
* dropped. Re-derived from immutable schema history each call, so it lists
|
|
1956
|
+
* the same removed fields on repeat passes — the underlying drop is
|
|
1957
|
+
* idempotent (`DROP ... IF EXISTS`). See {@link reclaimRemovedVectorFieldTables}.
|
|
1958
|
+
*/
|
|
1959
|
+
reclaimedVectorFields: readonly ReclaimedVectorFieldEntry[];
|
|
1925
1960
|
}>;
|
|
1926
1961
|
|
|
1927
1962
|
/**
|
|
@@ -3147,6 +3182,32 @@ type StoreSchemaMetadata = Readonly<{
|
|
|
3147
3182
|
* .execute();
|
|
3148
3183
|
* ```
|
|
3149
3184
|
*/
|
|
3185
|
+
/**
|
|
3186
|
+
* Optional embedder for {@link Store.reembedVectorField}. Receives a batch of
|
|
3187
|
+
* the kind's nodes and returns a map of `nodeId → new embedding vector` (omit
|
|
3188
|
+
* an id to leave that node without an embedding). Called once per page; the
|
|
3189
|
+
* page size is `batchSize`.
|
|
3190
|
+
*/
|
|
3191
|
+
type ReembedFunction = (nodes: readonly Node[]) => Promise<ReadonlyMap<string, readonly number[]>> | ReadonlyMap<string, readonly number[]>;
|
|
3192
|
+
/** Options for {@link Store.reembedVectorField}. */
|
|
3193
|
+
type ReembedVectorFieldOptions = Readonly<{
|
|
3194
|
+
/**
|
|
3195
|
+
* When supplied, drives a batched re-embed loop after recreating storage:
|
|
3196
|
+
* pages the kind's nodes, calls `embed(batch)`, and upserts the returned
|
|
3197
|
+
* vectors. When omitted, storage is recreated empty and the caller
|
|
3198
|
+
* re-embeds via normal `update()` / `upsertEmbedding` writes.
|
|
3199
|
+
*/
|
|
3200
|
+
embed?: ReembedFunction;
|
|
3201
|
+
/** Re-embed page size. Default 200. */
|
|
3202
|
+
batchSize?: number;
|
|
3203
|
+
}>;
|
|
3204
|
+
/** Result of {@link Store.reembedVectorField}. */
|
|
3205
|
+
type ReembedVectorFieldResult = Readonly<{
|
|
3206
|
+
/** Whether the per-field storage was dropped and recreated. */
|
|
3207
|
+
recreated: boolean;
|
|
3208
|
+
/** Number of nodes whose embedding was re-written (0 without `embed`). */
|
|
3209
|
+
reembedded: number;
|
|
3210
|
+
}>;
|
|
3150
3211
|
declare class Store<G extends GraphDef> {
|
|
3151
3212
|
#private;
|
|
3152
3213
|
constructor(graph: G, backend: GraphBackend, options?: StoreOptions, schemaMetadata?: StoreSchemaMetadata);
|
|
@@ -3680,6 +3741,24 @@ declare class Store<G extends GraphDef> {
|
|
|
3680
3741
|
* has no schema yet.
|
|
3681
3742
|
*/
|
|
3682
3743
|
materializeIndexes(options?: MaterializeIndexesOptions): Promise<MaterializeIndexesResult>;
|
|
3744
|
+
/**
|
|
3745
|
+
* Recreate a vector field's per-field storage at its current declared
|
|
3746
|
+
* dimension, then optionally re-embed existing rows.
|
|
3747
|
+
*
|
|
3748
|
+
* Use this after changing a field's `embedding(N)` to `embedding(M)` (e.g. a
|
|
3749
|
+
* new embedding model): the stored N-dim vectors are invalid under the new
|
|
3750
|
+
* dimension and must be recomputed, not converted. This drops and recreates
|
|
3751
|
+
* the per-`(graphId, kind, field)` table at the new dimension — a brief
|
|
3752
|
+
* window where the field returns no vector hits — resets its materialization
|
|
3753
|
+
* marker, then, when `options.embed` is supplied, pages the kind's nodes,
|
|
3754
|
+
* calls `embed(batch)`, and upserts the returned vectors. Without `embed`,
|
|
3755
|
+
* storage is recreated empty and the caller re-embeds via normal
|
|
3756
|
+
* `update()` / `upsertEmbedding` writes.
|
|
3757
|
+
*
|
|
3758
|
+
* @throws {ConfigurationError} when the backend has no vector strategy or
|
|
3759
|
+
* cannot execute DDL, or `(kind, fieldPath)` is not a declared embedding.
|
|
3760
|
+
*/
|
|
3761
|
+
reembedVectorField(kind: string, fieldPath: string, options?: ReembedVectorFieldOptions): Promise<ReembedVectorFieldResult>;
|
|
3683
3762
|
/**
|
|
3684
3763
|
* Removes extension kinds from the schema with cascading edge and
|
|
3685
3764
|
* ontology cleanup. Two-phase by design:
|
|
@@ -3833,4 +3912,4 @@ declare function createStoreWithSchema<G extends GraphDef>(graph: G, backend: Gr
|
|
|
3833
3912
|
*/
|
|
3834
3913
|
declare function createVerifiedStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions): Promise<[Store<G>, SchemaValidationResult]>;
|
|
3835
3914
|
|
|
3836
|
-
export { type
|
|
3915
|
+
export { type KindIntrospection as $, type AliasMap as A, type BaseTraversalOptions as B, type CreateQueryBuilderOptions as C, DEFAULT_SEARCHABLE_LANGUAGE as D, type EmbeddingMetric as E, type EdgeGetOrCreateByEndpointsResult as F, type EdgeIntrospection as G, type EmbeddingSchema as H, type EmbeddingValue as I, ExecutableAggregateQuery as J, ExecutableQuery as K, type FieldAccessor as L, type FulltextSearchHit as M, type FulltextSearchOptions as N, type GetOrCreateAction as O, type GraphAlgorithms as P, QueryBuilder as Q, type GraphEdgeCollections as R, Store as S, TraversalBuilder as T, type GraphNodeCollections as U, type HookContext as V, type HybridFulltextOptions as W, type HybridSearchHit as X, type HybridSearchOptions as Y, type HybridVectorOptions as Z, type IfExistsMode as _, type EmbeddingIndexType as a, createStoreWithSchema as a$, type MaterializeRemovalsEntry as a0, type MaterializeRemovalsOptions as a1, type MaterializeRemovalsResult as a2, type NeighborsOptions as a3, type Node as a4, type NodeAccessor as a5, type NodeAlias as a6, type NodeCollection as a7, type NodeGetOrCreateByConstraintOptions as a8, type NodeGetOrCreateByConstraintResult as a9, type SelectableEdge as aA, type SelectableNode as aB, type ShortestPathOptions as aC, type ShortestPathResult as aD, type StoreHooks as aE, type StoreOptions as aF, type StoreProjection as aG, type StoreRef as aH, StoreSearch as aI, type StreamOptions as aJ, type SubgraphEdgeResult as aK, type SubgraphNodeResult as aL, type SubgraphOptions as aM, type SubgraphResult as aN, type SubsetEdge as aO, type SubsetNode as aP, type TemporalAlgorithmOptions as aQ, type TransactionContext as aR, type TraversalDirection as aS, type TypedEdgeCollection as aT, UnionableQuery as aU, type UniqueIntrospection as aV, type UpdateEdgeInput as aW, type UpdateNodeInput as aX, type VectorSearchHit as aY, type VectorSearchOptions as aZ, createStore as a_, type NodeIdentifier as aa, type NodeRef as ab, type OntologyIntrospection as ac, type OperationHookContext as ad, type PaginateOptions as ae, type PaginatedResult as af, type PathNode as ag, type Predicate as ah, PreparedQuery as ai, type PropsAccessor as aj, type QueryHookContext as ak, type QueryOptions as al, type ReachableNode as am, type ReachableOptions as an, type RebuildFulltextOptions as ao, type RebuildFulltextResult as ap, type ReclaimedVectorFieldEntry as aq, type RecursiveTraversalOptions as ar, type ReembedFunction as as, type ReembedVectorFieldOptions as at, type ReembedVectorFieldResult as au, type SchemaIntrospection as av, type SearchableMetadata as aw, type SearchableOptions as ax, type SearchableSchema as ay, type SelectContext as az, type EdgeAliasMap as b, createVerifiedStore as b0, defineSubgraphProject as b1, embedding as b2, exists as b3, fieldRef as b4, getEmbeddingDimensions as b5, getSearchableMetadata as b6, inSubquery as b7, isEmbeddingSchema as b8, isParameterRef as b9, isSearchableSchema as ba, notExists as bb, notInSubquery as bc, param as bd, searchable as be, type AggregateResult as c, type AlgorithmCyclePolicy as d, type AnyEdge as e, type AnyNode as f, type BatchResults as g, type BatchableQuery as h, type ConstraintNames as i, type CreateEdgeInput as j, type CreateNodeInput as k, type DegreeOptions as l, type DynamicEdgeAccessor as m, type DynamicEdgeCollection as n, type DynamicEdgeType as o, type DynamicFieldBuilder as p, type DynamicNodeAccessor as q, type DynamicNodeCollection as r, type DynamicNodeType as s, type DynamicSelectableEdge as t, type DynamicSelectableNode as u, type Edge as v, type EdgeAccessor as w, type EdgeCollection as x, type EdgeFindByEndpointsOptions as y, type EdgeGetOrCreateByEndpointsOptions as z };
|