@nicia-ai/typegraph 0.28.1 → 0.30.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 +24 -762
- 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 +11 -753
- 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 +23 -27
- package/dist/backend/sqlite/index.d.cts +22 -15
- package/dist/backend/sqlite/index.d.ts +22 -15
- package/dist/backend/sqlite/index.js +10 -10
- package/dist/backend/sqlite/libsql.cjs +18 -14
- 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 +17 -13
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +19 -17
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +9 -3
- package/dist/backend/sqlite/local.d.ts +9 -3
- package/dist/backend/sqlite/local.js +17 -15
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/chunk-26HWIIVS.cjs +740 -0
- package/dist/chunk-26HWIIVS.cjs.map +1 -0
- package/dist/chunk-2QA5EHEN.js +181 -0
- package/dist/chunk-2QA5EHEN.js.map +1 -0
- package/dist/chunk-3IRMLJEK.js +206 -0
- package/dist/chunk-3IRMLJEK.js.map +1 -0
- package/dist/{chunk-5MTOKWDA.js → chunk-3JLRHQ67.js} +9 -9
- package/dist/{chunk-5MTOKWDA.js.map → chunk-3JLRHQ67.js.map} +1 -1
- package/dist/{chunk-WVQXAFP3.js → chunk-454I6GDF.js} +46 -5
- package/dist/chunk-454I6GDF.js.map +1 -0
- package/dist/{chunk-CTHNVU6K.cjs → chunk-4BXHVEFB.cjs} +16 -16
- package/dist/{chunk-CTHNVU6K.cjs.map → chunk-4BXHVEFB.cjs.map} +1 -1
- package/dist/{chunk-NMOE2ZEU.cjs → chunk-4LBO6KIF.cjs} +139 -128
- package/dist/chunk-4LBO6KIF.cjs.map +1 -0
- package/dist/chunk-633N7DSE.js +258 -0
- package/dist/chunk-633N7DSE.js.map +1 -0
- package/dist/{chunk-WFUN6DCM.cjs → chunk-7JGLPAFV.cjs} +11 -11
- package/dist/chunk-7JGLPAFV.cjs.map +1 -0
- package/dist/{chunk-ZTREJOGB.js → chunk-AI3RNREM.js} +140 -69
- package/dist/chunk-AI3RNREM.js.map +1 -0
- package/dist/{chunk-TSGBRPNE.js → chunk-ENDUY2CD.js} +46 -46
- package/dist/chunk-ENDUY2CD.js.map +1 -0
- package/dist/{chunk-7V335GHG.cjs → chunk-FLRCVI2G.cjs} +12 -2
- package/dist/chunk-FLRCVI2G.cjs.map +1 -0
- package/dist/chunk-FVIGJTS7.js +305 -0
- package/dist/chunk-FVIGJTS7.js.map +1 -0
- package/dist/chunk-FWBVPATK.cjs +208 -0
- package/dist/chunk-FWBVPATK.cjs.map +1 -0
- package/dist/chunk-IE6GN7L3.cjs +319 -0
- package/dist/chunk-IE6GN7L3.cjs.map +1 -0
- package/dist/{chunk-PGU2XKMA.js → chunk-IUIJJYPI.js} +117 -106
- package/dist/chunk-IUIJJYPI.js.map +1 -0
- package/dist/{chunk-E5ROA3MN.js → chunk-IX7RE7CG.js} +3 -3
- package/dist/{chunk-E5ROA3MN.js.map → chunk-IX7RE7CG.js.map} +1 -1
- package/dist/{chunk-YEDQLNVE.cjs → chunk-JIEJCTDS.cjs} +30 -2
- package/dist/chunk-JIEJCTDS.cjs.map +1 -0
- package/dist/{chunk-WZH2MKHW.cjs → chunk-K4N35E7B.cjs} +101 -101
- package/dist/{chunk-WZH2MKHW.cjs.map → chunk-K4N35E7B.cjs.map} +1 -1
- package/dist/{chunk-NZ5PMBTG.js → chunk-K5P5OZXS.js} +12 -3
- package/dist/chunk-K5P5OZXS.js.map +1 -0
- package/dist/chunk-K5VREXMZ.js +738 -0
- package/dist/chunk-K5VREXMZ.js.map +1 -0
- package/dist/chunk-LUHU4T2F.cjs +12 -0
- package/dist/{chunk-4FJVSF3K.cjs.map → chunk-LUHU4T2F.cjs.map} +1 -1
- package/dist/{chunk-O57GYGYK.js → chunk-M6OC455F.js} +32 -18
- package/dist/chunk-M6OC455F.js.map +1 -0
- package/dist/{chunk-OYLF3IC7.js → chunk-MAQJYNJR.js} +4 -4
- package/dist/chunk-MAQJYNJR.js.map +1 -0
- package/dist/{chunk-OOS2RKRH.js → chunk-MXE2U3EX.js} +4 -4
- package/dist/{chunk-OOS2RKRH.js.map → chunk-MXE2U3EX.js.map} +1 -1
- package/dist/{chunk-TKM2WDT4.js → chunk-N2OEOGBB.js} +386 -1093
- package/dist/chunk-N2OEOGBB.js.map +1 -0
- package/dist/{chunk-EJCDOA37.js → chunk-R4JOBEJU.js} +5 -5
- package/dist/{chunk-EJCDOA37.js.map → chunk-R4JOBEJU.js.map} +1 -1
- package/dist/{chunk-FFHW2JEK.cjs → chunk-RP7YITHX.cjs} +32 -17
- package/dist/chunk-RP7YITHX.cjs.map +1 -0
- package/dist/{chunk-PYJOBZR3.cjs → chunk-SGPXKJ4A.cjs} +60 -60
- package/dist/chunk-SGPXKJ4A.cjs.map +1 -0
- package/dist/{chunk-U5ROKVRF.js → chunk-TQOYM4LN.js} +29 -3
- package/dist/chunk-TQOYM4LN.js.map +1 -0
- package/dist/{chunk-PN37HVAV.cjs → chunk-UESTHN47.cjs} +153 -71
- package/dist/chunk-UESTHN47.cjs.map +1 -0
- package/dist/chunk-VFX3LC76.cjs +183 -0
- package/dist/chunk-VFX3LC76.cjs.map +1 -0
- package/dist/chunk-WEMZM7J7.cjs +270 -0
- package/dist/chunk-WEMZM7J7.cjs.map +1 -0
- package/dist/{chunk-NYQFPGYP.cjs → chunk-WFCECD6Q.cjs} +423 -1139
- package/dist/chunk-WFCECD6Q.cjs.map +1 -0
- package/dist/{chunk-EK6RJ373.cjs → chunk-YQGLVWB2.cjs} +7 -7
- package/dist/{chunk-EK6RJ373.cjs.map → chunk-YQGLVWB2.cjs.map} +1 -1
- package/dist/{chunk-X3244EKP.cjs → chunk-ZFWNO3GE.cjs} +48 -4
- package/dist/chunk-ZFWNO3GE.cjs.map +1 -0
- package/dist/ddl-BSFlbGQF.d.cts +38 -0
- package/dist/ddl-EdkIiFVU.d.ts +38 -0
- package/dist/{extension-types-B78CZfA5.d.cts → extension-types-CwHV-Uk4.d.cts} +4 -4
- package/dist/{extension-types-B78CZfA5.d.ts → extension-types-CwHV-Uk4.d.ts} +4 -4
- package/dist/graph-extension/index.cjs +19 -19
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +4 -4
- package/dist/{index-CWdBFWbI.d.ts → index-DzeIiMO3.d.ts} +30 -3
- package/dist/{index-Bilw0pYm.d.cts → index-Ln_KHTGA.d.cts} +30 -3
- package/dist/index.cjs +1542 -1011
- 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 +1138 -643
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +19 -19
- package/dist/indexes/index.d.cts +9 -9
- package/dist/indexes/index.d.ts +9 -9
- package/dist/indexes/index.js +5 -5
- 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-BbdyNhkv.d.ts} +2 -2
- package/dist/{manager-c1MGaVVR.d.cts → manager-wTDgjoXG.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-CK2ByP1q.d.cts} +2 -471
- package/dist/{ddl-Dza3kDrI.d.cts → postgres-ymXYC6Rr.d.ts} +2 -471
- package/dist/profiler/index.cjs +10 -10
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/profiler/index.js +3 -3
- package/dist/schema/index.cjs +33 -33
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +10 -10
- package/dist/{sqlite-BxZUPbyD.d.ts → sqlite-DxH1lrwD.d.cts} +2 -468
- package/dist/{sqlite-mvpXjEeB.d.cts → sqlite-R8YGOqVQ.d.ts} +2 -468
- package/dist/{store-Ufc1Eoey.d.ts → store--z1Tmk7U.d.cts} +124 -5
- package/dist/{store-D7YEMg2v.d.cts → store-CNKM334w.d.ts} +124 -5
- package/dist/{types-CMQymcwk.d.cts → types-BBiDqJCU.d.ts} +252 -46
- package/dist/{types-B-sJJ4GQ.d.ts → types-CMvxx2kd.d.ts} +2 -2
- package/dist/{types-CmUA9sal.d.cts → types-D5B6Be5c.d.cts} +2 -2
- package/dist/{types-CQ7xXJMP.d.ts → types-dL-clxO3.d.cts} +252 -46
- package/dist/{where-CtrLu1Zf.d.ts → where-CAo6wsBZ.d.ts} +2 -2
- package/dist/{where-5zf15aFZ.d.cts → where-bJjuOCeV.d.cts} +2 -2
- package/package.json +20 -5
- 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-7V335GHG.cjs.map +0 -1
- package/dist/chunk-FFHW2JEK.cjs.map +0 -1
- package/dist/chunk-HTGDWIDE.cjs +0 -89
- package/dist/chunk-HTGDWIDE.cjs.map +0 -1
- package/dist/chunk-LYRUNG6E.cjs +0 -52
- package/dist/chunk-LYRUNG6E.cjs.map +0 -1
- package/dist/chunk-NMOE2ZEU.cjs.map +0 -1
- package/dist/chunk-NYQFPGYP.cjs.map +0 -1
- package/dist/chunk-NZ5PMBTG.js.map +0 -1
- package/dist/chunk-O57GYGYK.js.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-PGU2XKMA.js.map +0 -1
- package/dist/chunk-PN37HVAV.cjs.map +0 -1
- package/dist/chunk-PYJOBZR3.cjs.map +0 -1
- package/dist/chunk-TKM2WDT4.js.map +0 -1
- package/dist/chunk-TSGBRPNE.js.map +0 -1
- package/dist/chunk-U5ROKVRF.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,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-dL-clxO3.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-wTDgjoXG.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,25 @@ 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
|
+
* Whether the active backend supports SQL window functions such as
|
|
252
|
+
* `ROW_NUMBER()`. Defaults to true for direct compiler callers.
|
|
253
|
+
*/
|
|
254
|
+
windowFunctions?: boolean | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* Declared embedding slots `(kind, fieldPath) -> descriptor` used by
|
|
257
|
+
* the `field.similarTo(...)` CTE to know which kinds in an alias
|
|
258
|
+
* declare the field. Callers build it from the graph's node schemas.
|
|
259
|
+
*/
|
|
260
|
+
vectorSlots?: VectorSlotMap | undefined;
|
|
242
261
|
}>;
|
|
243
262
|
|
|
244
263
|
type FieldTypeInfo = Readonly<{
|
|
@@ -1173,6 +1192,19 @@ type NodeGetOrCreateByConstraintOptions = Readonly<{
|
|
|
1173
1192
|
/** Existing record behavior. Default: "return" */
|
|
1174
1193
|
ifExists?: IfExistsMode;
|
|
1175
1194
|
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Options for node bulkFindByIndex operations.
|
|
1197
|
+
*/
|
|
1198
|
+
type NodeBulkFindByIndexOptions = Readonly<{
|
|
1199
|
+
/**
|
|
1200
|
+
* Maximum number of candidate nodes returned per input item. When omitted,
|
|
1201
|
+
* each input's candidate set is unbounded. Must be a positive integer.
|
|
1202
|
+
*
|
|
1203
|
+
* Candidates are ordered deterministically by node id, so the cap is stable
|
|
1204
|
+
* across calls. Use this to bound fan-out on low-selectivity index keys.
|
|
1205
|
+
*/
|
|
1206
|
+
limitPerInput?: number;
|
|
1207
|
+
}>;
|
|
1176
1208
|
/**
|
|
1177
1209
|
* Result of an edge getOrCreateByEndpoints operation.
|
|
1178
1210
|
*/
|
|
@@ -1349,6 +1381,28 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
1349
1381
|
bulkFindByConstraint: (constraintName: CN, items: readonly Readonly<{
|
|
1350
1382
|
props: z.input<N["schema"]>;
|
|
1351
1383
|
}>[]) => Promise<(Node<N> | undefined)[]>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Batched candidate retrieval against a declared node index.
|
|
1386
|
+
*
|
|
1387
|
+
* For each input item, TypeGraph computes the index lookup key from
|
|
1388
|
+
* `index.fields` (JSON-pointer extraction, partial-`where` applied to
|
|
1389
|
+
* stored rows, null-safe matching) and returns the live, non-soft-deleted
|
|
1390
|
+
* nodes that share that key. Unlike {@link bulkFindByConstraint}, the index
|
|
1391
|
+
* may be non-unique, so each input yields a (possibly empty) array.
|
|
1392
|
+
*
|
|
1393
|
+
* Results preserve input order; each inner array is ordered by node id.
|
|
1394
|
+
* Empty input returns `[]`. An unknown index name throws
|
|
1395
|
+
* `NodeIndexNotFoundError`; a type-incompatible indexed field throws
|
|
1396
|
+
* `ValidationError`. This is candidate retrieval, not a uniqueness or
|
|
1397
|
+
* identity guarantee.
|
|
1398
|
+
*
|
|
1399
|
+
* @param indexName - Name of the declared node index to match on
|
|
1400
|
+
* @param items - Records whose `props` supply the indexed-field values
|
|
1401
|
+
* @param options - Optional `limitPerInput` to bound per-input fan-out
|
|
1402
|
+
*/
|
|
1403
|
+
bulkFindByIndex: (indexName: string, items: readonly Readonly<{
|
|
1404
|
+
props: Partial<z.input<N["schema"]>>;
|
|
1405
|
+
}>[], options?: NodeBulkFindByIndexOptions) => Promise<readonly Node<N>[][]>;
|
|
1352
1406
|
/**
|
|
1353
1407
|
* Get an existing node by uniqueness constraint, or create a new one.
|
|
1354
1408
|
*
|
|
@@ -1920,8 +1974,29 @@ type MaterializeRemovalsEntry = Readonly<{
|
|
|
1920
1974
|
status: "removed" | "failed";
|
|
1921
1975
|
error?: Error;
|
|
1922
1976
|
}>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Outcome of reclaiming one per-`(graphId, kind, field)` vector table that
|
|
1979
|
+
* was orphaned when its embedding field was dropped from a *surviving*
|
|
1980
|
+
* kind's schema. Distinct from {@link MaterializeRemovalsEntry} (whole
|
|
1981
|
+
* kinds) because the unit is a single embedding field, not a kind.
|
|
1982
|
+
*/
|
|
1983
|
+
type ReclaimedVectorFieldEntry = Readonly<{
|
|
1984
|
+
kind: string;
|
|
1985
|
+
fieldPath: string;
|
|
1986
|
+
status: "reclaimed" | "failed";
|
|
1987
|
+
error?: Error;
|
|
1988
|
+
}>;
|
|
1923
1989
|
type MaterializeRemovalsResult = Readonly<{
|
|
1924
1990
|
results: readonly MaterializeRemovalsEntry[];
|
|
1991
|
+
/**
|
|
1992
|
+
* Embedding fields removed from a *surviving* kind whose per-field vector
|
|
1993
|
+
* table this pass dropped (or confirmed already absent). Empty when the
|
|
1994
|
+
* backend has no vector strategy or no embedding field has ever been
|
|
1995
|
+
* dropped. Re-derived from immutable schema history each call, so it lists
|
|
1996
|
+
* the same removed fields on repeat passes — the underlying drop is
|
|
1997
|
+
* idempotent (`DROP ... IF EXISTS`). See {@link reclaimRemovedVectorFieldTables}.
|
|
1998
|
+
*/
|
|
1999
|
+
reclaimedVectorFields: readonly ReclaimedVectorFieldEntry[];
|
|
1925
2000
|
}>;
|
|
1926
2001
|
|
|
1927
2002
|
/**
|
|
@@ -3147,6 +3222,32 @@ type StoreSchemaMetadata = Readonly<{
|
|
|
3147
3222
|
* .execute();
|
|
3148
3223
|
* ```
|
|
3149
3224
|
*/
|
|
3225
|
+
/**
|
|
3226
|
+
* Optional embedder for {@link Store.reembedVectorField}. Receives a batch of
|
|
3227
|
+
* the kind's nodes and returns a map of `nodeId → new embedding vector` (omit
|
|
3228
|
+
* an id to leave that node without an embedding). Called once per page; the
|
|
3229
|
+
* page size is `batchSize`.
|
|
3230
|
+
*/
|
|
3231
|
+
type ReembedFunction = (nodes: readonly Node[]) => Promise<ReadonlyMap<string, readonly number[]>> | ReadonlyMap<string, readonly number[]>;
|
|
3232
|
+
/** Options for {@link Store.reembedVectorField}. */
|
|
3233
|
+
type ReembedVectorFieldOptions = Readonly<{
|
|
3234
|
+
/**
|
|
3235
|
+
* When supplied, drives a batched re-embed loop after recreating storage:
|
|
3236
|
+
* pages the kind's nodes, calls `embed(batch)`, and upserts the returned
|
|
3237
|
+
* vectors. When omitted, storage is recreated empty and the caller
|
|
3238
|
+
* re-embeds via normal `update()` / `upsertEmbedding` writes.
|
|
3239
|
+
*/
|
|
3240
|
+
embed?: ReembedFunction;
|
|
3241
|
+
/** Re-embed page size. Default 200. */
|
|
3242
|
+
batchSize?: number;
|
|
3243
|
+
}>;
|
|
3244
|
+
/** Result of {@link Store.reembedVectorField}. */
|
|
3245
|
+
type ReembedVectorFieldResult = Readonly<{
|
|
3246
|
+
/** Whether the per-field storage was dropped and recreated. */
|
|
3247
|
+
recreated: boolean;
|
|
3248
|
+
/** Number of nodes whose embedding was re-written (0 without `embed`). */
|
|
3249
|
+
reembedded: number;
|
|
3250
|
+
}>;
|
|
3150
3251
|
declare class Store<G extends GraphDef> {
|
|
3151
3252
|
#private;
|
|
3152
3253
|
constructor(graph: G, backend: GraphBackend, options?: StoreOptions, schemaMetadata?: StoreSchemaMetadata);
|
|
@@ -3680,6 +3781,24 @@ declare class Store<G extends GraphDef> {
|
|
|
3680
3781
|
* has no schema yet.
|
|
3681
3782
|
*/
|
|
3682
3783
|
materializeIndexes(options?: MaterializeIndexesOptions): Promise<MaterializeIndexesResult>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Recreate a vector field's per-field storage at its current declared
|
|
3786
|
+
* dimension, then optionally re-embed existing rows.
|
|
3787
|
+
*
|
|
3788
|
+
* Use this after changing a field's `embedding(N)` to `embedding(M)` (e.g. a
|
|
3789
|
+
* new embedding model): the stored N-dim vectors are invalid under the new
|
|
3790
|
+
* dimension and must be recomputed, not converted. This drops and recreates
|
|
3791
|
+
* the per-`(graphId, kind, field)` table at the new dimension — a brief
|
|
3792
|
+
* window where the field returns no vector hits — resets its materialization
|
|
3793
|
+
* marker, then, when `options.embed` is supplied, pages the kind's nodes,
|
|
3794
|
+
* calls `embed(batch)`, and upserts the returned vectors. Without `embed`,
|
|
3795
|
+
* storage is recreated empty and the caller re-embeds via normal
|
|
3796
|
+
* `update()` / `upsertEmbedding` writes.
|
|
3797
|
+
*
|
|
3798
|
+
* @throws {ConfigurationError} when the backend has no vector strategy or
|
|
3799
|
+
* cannot execute DDL, or `(kind, fieldPath)` is not a declared embedding.
|
|
3800
|
+
*/
|
|
3801
|
+
reembedVectorField(kind: string, fieldPath: string, options?: ReembedVectorFieldOptions): Promise<ReembedVectorFieldResult>;
|
|
3683
3802
|
/**
|
|
3684
3803
|
* Removes extension kinds from the schema with cascading edge and
|
|
3685
3804
|
* ontology cleanup. Two-phase by design:
|
|
@@ -3833,4 +3952,4 @@ declare function createStoreWithSchema<G extends GraphDef>(graph: G, backend: Gr
|
|
|
3833
3952
|
*/
|
|
3834
3953
|
declare function createVerifiedStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions): Promise<[Store<G>, SchemaValidationResult]>;
|
|
3835
3954
|
|
|
3836
|
-
export { type
|
|
3955
|
+
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, createStore 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 NodeBulkFindByIndexOptions as a7, type NodeCollection as a8, type NodeGetOrCreateByConstraintOptions as a9, type SelectContext as aA, type SelectableEdge as aB, type SelectableNode as aC, type ShortestPathOptions as aD, type ShortestPathResult as aE, type StoreHooks as aF, type StoreOptions as aG, type StoreProjection as aH, type StoreRef as aI, StoreSearch as aJ, type StreamOptions as aK, type SubgraphEdgeResult as aL, type SubgraphNodeResult as aM, type SubgraphOptions as aN, type SubgraphResult as aO, type SubsetEdge as aP, type SubsetNode as aQ, type TemporalAlgorithmOptions as aR, type TransactionContext as aS, type TraversalDirection as aT, type TypedEdgeCollection as aU, UnionableQuery as aV, type UniqueIntrospection as aW, type UpdateEdgeInput as aX, type UpdateNodeInput as aY, type VectorSearchHit as aZ, type VectorSearchOptions as a_, type NodeGetOrCreateByConstraintResult as aa, type NodeIdentifier as ab, type NodeRef as ac, type OntologyIntrospection as ad, type OperationHookContext as ae, type PaginateOptions as af, type PaginatedResult as ag, type PathNode as ah, type Predicate as ai, PreparedQuery as aj, type PropsAccessor as ak, type QueryHookContext as al, type QueryOptions as am, type ReachableNode as an, type ReachableOptions as ao, type RebuildFulltextOptions as ap, type RebuildFulltextResult as aq, type ReclaimedVectorFieldEntry as ar, type RecursiveTraversalOptions as as, type ReembedFunction as at, type ReembedVectorFieldOptions as au, type ReembedVectorFieldResult as av, type SchemaIntrospection as aw, type SearchableMetadata as ax, type SearchableOptions as ay, type SearchableSchema as az, type EdgeAliasMap as b, createStoreWithSchema as b0, createVerifiedStore as b1, defineSubgraphProject as b2, embedding as b3, exists as b4, fieldRef as b5, getEmbeddingDimensions as b6, getSearchableMetadata as b7, inSubquery as b8, isEmbeddingSchema as b9, isParameterRef as ba, isSearchableSchema as bb, notExists as bc, notInSubquery as bd, param as be, searchable as bf, 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 };
|
|
@@ -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-BBiDqJCU.js';
|
|
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-BbdyNhkv.js';
|
|
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.js';
|
|
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-lkawaDor.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Embedding type for vector search.
|
|
@@ -239,6 +239,25 @@ 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
|
+
* Whether the active backend supports SQL window functions such as
|
|
252
|
+
* `ROW_NUMBER()`. Defaults to true for direct compiler callers.
|
|
253
|
+
*/
|
|
254
|
+
windowFunctions?: boolean | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* Declared embedding slots `(kind, fieldPath) -> descriptor` used by
|
|
257
|
+
* the `field.similarTo(...)` CTE to know which kinds in an alias
|
|
258
|
+
* declare the field. Callers build it from the graph's node schemas.
|
|
259
|
+
*/
|
|
260
|
+
vectorSlots?: VectorSlotMap | undefined;
|
|
242
261
|
}>;
|
|
243
262
|
|
|
244
263
|
type FieldTypeInfo = Readonly<{
|
|
@@ -1173,6 +1192,19 @@ type NodeGetOrCreateByConstraintOptions = Readonly<{
|
|
|
1173
1192
|
/** Existing record behavior. Default: "return" */
|
|
1174
1193
|
ifExists?: IfExistsMode;
|
|
1175
1194
|
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Options for node bulkFindByIndex operations.
|
|
1197
|
+
*/
|
|
1198
|
+
type NodeBulkFindByIndexOptions = Readonly<{
|
|
1199
|
+
/**
|
|
1200
|
+
* Maximum number of candidate nodes returned per input item. When omitted,
|
|
1201
|
+
* each input's candidate set is unbounded. Must be a positive integer.
|
|
1202
|
+
*
|
|
1203
|
+
* Candidates are ordered deterministically by node id, so the cap is stable
|
|
1204
|
+
* across calls. Use this to bound fan-out on low-selectivity index keys.
|
|
1205
|
+
*/
|
|
1206
|
+
limitPerInput?: number;
|
|
1207
|
+
}>;
|
|
1176
1208
|
/**
|
|
1177
1209
|
* Result of an edge getOrCreateByEndpoints operation.
|
|
1178
1210
|
*/
|
|
@@ -1349,6 +1381,28 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
1349
1381
|
bulkFindByConstraint: (constraintName: CN, items: readonly Readonly<{
|
|
1350
1382
|
props: z.input<N["schema"]>;
|
|
1351
1383
|
}>[]) => Promise<(Node<N> | undefined)[]>;
|
|
1384
|
+
/**
|
|
1385
|
+
* Batched candidate retrieval against a declared node index.
|
|
1386
|
+
*
|
|
1387
|
+
* For each input item, TypeGraph computes the index lookup key from
|
|
1388
|
+
* `index.fields` (JSON-pointer extraction, partial-`where` applied to
|
|
1389
|
+
* stored rows, null-safe matching) and returns the live, non-soft-deleted
|
|
1390
|
+
* nodes that share that key. Unlike {@link bulkFindByConstraint}, the index
|
|
1391
|
+
* may be non-unique, so each input yields a (possibly empty) array.
|
|
1392
|
+
*
|
|
1393
|
+
* Results preserve input order; each inner array is ordered by node id.
|
|
1394
|
+
* Empty input returns `[]`. An unknown index name throws
|
|
1395
|
+
* `NodeIndexNotFoundError`; a type-incompatible indexed field throws
|
|
1396
|
+
* `ValidationError`. This is candidate retrieval, not a uniqueness or
|
|
1397
|
+
* identity guarantee.
|
|
1398
|
+
*
|
|
1399
|
+
* @param indexName - Name of the declared node index to match on
|
|
1400
|
+
* @param items - Records whose `props` supply the indexed-field values
|
|
1401
|
+
* @param options - Optional `limitPerInput` to bound per-input fan-out
|
|
1402
|
+
*/
|
|
1403
|
+
bulkFindByIndex: (indexName: string, items: readonly Readonly<{
|
|
1404
|
+
props: Partial<z.input<N["schema"]>>;
|
|
1405
|
+
}>[], options?: NodeBulkFindByIndexOptions) => Promise<readonly Node<N>[][]>;
|
|
1352
1406
|
/**
|
|
1353
1407
|
* Get an existing node by uniqueness constraint, or create a new one.
|
|
1354
1408
|
*
|
|
@@ -1920,8 +1974,29 @@ type MaterializeRemovalsEntry = Readonly<{
|
|
|
1920
1974
|
status: "removed" | "failed";
|
|
1921
1975
|
error?: Error;
|
|
1922
1976
|
}>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Outcome of reclaiming one per-`(graphId, kind, field)` vector table that
|
|
1979
|
+
* was orphaned when its embedding field was dropped from a *surviving*
|
|
1980
|
+
* kind's schema. Distinct from {@link MaterializeRemovalsEntry} (whole
|
|
1981
|
+
* kinds) because the unit is a single embedding field, not a kind.
|
|
1982
|
+
*/
|
|
1983
|
+
type ReclaimedVectorFieldEntry = Readonly<{
|
|
1984
|
+
kind: string;
|
|
1985
|
+
fieldPath: string;
|
|
1986
|
+
status: "reclaimed" | "failed";
|
|
1987
|
+
error?: Error;
|
|
1988
|
+
}>;
|
|
1923
1989
|
type MaterializeRemovalsResult = Readonly<{
|
|
1924
1990
|
results: readonly MaterializeRemovalsEntry[];
|
|
1991
|
+
/**
|
|
1992
|
+
* Embedding fields removed from a *surviving* kind whose per-field vector
|
|
1993
|
+
* table this pass dropped (or confirmed already absent). Empty when the
|
|
1994
|
+
* backend has no vector strategy or no embedding field has ever been
|
|
1995
|
+
* dropped. Re-derived from immutable schema history each call, so it lists
|
|
1996
|
+
* the same removed fields on repeat passes — the underlying drop is
|
|
1997
|
+
* idempotent (`DROP ... IF EXISTS`). See {@link reclaimRemovedVectorFieldTables}.
|
|
1998
|
+
*/
|
|
1999
|
+
reclaimedVectorFields: readonly ReclaimedVectorFieldEntry[];
|
|
1925
2000
|
}>;
|
|
1926
2001
|
|
|
1927
2002
|
/**
|
|
@@ -3147,6 +3222,32 @@ type StoreSchemaMetadata = Readonly<{
|
|
|
3147
3222
|
* .execute();
|
|
3148
3223
|
* ```
|
|
3149
3224
|
*/
|
|
3225
|
+
/**
|
|
3226
|
+
* Optional embedder for {@link Store.reembedVectorField}. Receives a batch of
|
|
3227
|
+
* the kind's nodes and returns a map of `nodeId → new embedding vector` (omit
|
|
3228
|
+
* an id to leave that node without an embedding). Called once per page; the
|
|
3229
|
+
* page size is `batchSize`.
|
|
3230
|
+
*/
|
|
3231
|
+
type ReembedFunction = (nodes: readonly Node[]) => Promise<ReadonlyMap<string, readonly number[]>> | ReadonlyMap<string, readonly number[]>;
|
|
3232
|
+
/** Options for {@link Store.reembedVectorField}. */
|
|
3233
|
+
type ReembedVectorFieldOptions = Readonly<{
|
|
3234
|
+
/**
|
|
3235
|
+
* When supplied, drives a batched re-embed loop after recreating storage:
|
|
3236
|
+
* pages the kind's nodes, calls `embed(batch)`, and upserts the returned
|
|
3237
|
+
* vectors. When omitted, storage is recreated empty and the caller
|
|
3238
|
+
* re-embeds via normal `update()` / `upsertEmbedding` writes.
|
|
3239
|
+
*/
|
|
3240
|
+
embed?: ReembedFunction;
|
|
3241
|
+
/** Re-embed page size. Default 200. */
|
|
3242
|
+
batchSize?: number;
|
|
3243
|
+
}>;
|
|
3244
|
+
/** Result of {@link Store.reembedVectorField}. */
|
|
3245
|
+
type ReembedVectorFieldResult = Readonly<{
|
|
3246
|
+
/** Whether the per-field storage was dropped and recreated. */
|
|
3247
|
+
recreated: boolean;
|
|
3248
|
+
/** Number of nodes whose embedding was re-written (0 without `embed`). */
|
|
3249
|
+
reembedded: number;
|
|
3250
|
+
}>;
|
|
3150
3251
|
declare class Store<G extends GraphDef> {
|
|
3151
3252
|
#private;
|
|
3152
3253
|
constructor(graph: G, backend: GraphBackend, options?: StoreOptions, schemaMetadata?: StoreSchemaMetadata);
|
|
@@ -3680,6 +3781,24 @@ declare class Store<G extends GraphDef> {
|
|
|
3680
3781
|
* has no schema yet.
|
|
3681
3782
|
*/
|
|
3682
3783
|
materializeIndexes(options?: MaterializeIndexesOptions): Promise<MaterializeIndexesResult>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Recreate a vector field's per-field storage at its current declared
|
|
3786
|
+
* dimension, then optionally re-embed existing rows.
|
|
3787
|
+
*
|
|
3788
|
+
* Use this after changing a field's `embedding(N)` to `embedding(M)` (e.g. a
|
|
3789
|
+
* new embedding model): the stored N-dim vectors are invalid under the new
|
|
3790
|
+
* dimension and must be recomputed, not converted. This drops and recreates
|
|
3791
|
+
* the per-`(graphId, kind, field)` table at the new dimension — a brief
|
|
3792
|
+
* window where the field returns no vector hits — resets its materialization
|
|
3793
|
+
* marker, then, when `options.embed` is supplied, pages the kind's nodes,
|
|
3794
|
+
* calls `embed(batch)`, and upserts the returned vectors. Without `embed`,
|
|
3795
|
+
* storage is recreated empty and the caller re-embeds via normal
|
|
3796
|
+
* `update()` / `upsertEmbedding` writes.
|
|
3797
|
+
*
|
|
3798
|
+
* @throws {ConfigurationError} when the backend has no vector strategy or
|
|
3799
|
+
* cannot execute DDL, or `(kind, fieldPath)` is not a declared embedding.
|
|
3800
|
+
*/
|
|
3801
|
+
reembedVectorField(kind: string, fieldPath: string, options?: ReembedVectorFieldOptions): Promise<ReembedVectorFieldResult>;
|
|
3683
3802
|
/**
|
|
3684
3803
|
* Removes extension kinds from the schema with cascading edge and
|
|
3685
3804
|
* ontology cleanup. Two-phase by design:
|
|
@@ -3833,4 +3952,4 @@ declare function createStoreWithSchema<G extends GraphDef>(graph: G, backend: Gr
|
|
|
3833
3952
|
*/
|
|
3834
3953
|
declare function createVerifiedStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions): Promise<[Store<G>, SchemaValidationResult]>;
|
|
3835
3954
|
|
|
3836
|
-
export { type
|
|
3955
|
+
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, createStore 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 NodeBulkFindByIndexOptions as a7, type NodeCollection as a8, type NodeGetOrCreateByConstraintOptions as a9, type SelectContext as aA, type SelectableEdge as aB, type SelectableNode as aC, type ShortestPathOptions as aD, type ShortestPathResult as aE, type StoreHooks as aF, type StoreOptions as aG, type StoreProjection as aH, type StoreRef as aI, StoreSearch as aJ, type StreamOptions as aK, type SubgraphEdgeResult as aL, type SubgraphNodeResult as aM, type SubgraphOptions as aN, type SubgraphResult as aO, type SubsetEdge as aP, type SubsetNode as aQ, type TemporalAlgorithmOptions as aR, type TransactionContext as aS, type TraversalDirection as aT, type TypedEdgeCollection as aU, UnionableQuery as aV, type UniqueIntrospection as aW, type UpdateEdgeInput as aX, type UpdateNodeInput as aY, type VectorSearchHit as aZ, type VectorSearchOptions as a_, type NodeGetOrCreateByConstraintResult as aa, type NodeIdentifier as ab, type NodeRef as ac, type OntologyIntrospection as ad, type OperationHookContext as ae, type PaginateOptions as af, type PaginatedResult as ag, type PathNode as ah, type Predicate as ai, PreparedQuery as aj, type PropsAccessor as ak, type QueryHookContext as al, type QueryOptions as am, type ReachableNode as an, type ReachableOptions as ao, type RebuildFulltextOptions as ap, type RebuildFulltextResult as aq, type ReclaimedVectorFieldEntry as ar, type RecursiveTraversalOptions as as, type ReembedFunction as at, type ReembedVectorFieldOptions as au, type ReembedVectorFieldResult as av, type SchemaIntrospection as aw, type SearchableMetadata as ax, type SearchableOptions as ay, type SearchableSchema as az, type EdgeAliasMap as b, createStoreWithSchema as b0, createVerifiedStore as b1, defineSubgraphProject as b2, embedding as b3, exists as b4, fieldRef as b5, getEmbeddingDimensions as b6, getSearchableMetadata as b7, inSubquery as b8, isEmbeddingSchema as b9, isParameterRef as ba, isSearchableSchema as bb, notExists as bc, notInSubquery as bd, param as be, searchable as bf, 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 };
|