@nicia-ai/typegraph 0.65.0 → 0.66.1
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/CHANGELOG.md +33 -0
- package/dist/{atomic-mutation-program-BznZQ06C.d.ts → atomic-mutation-program-BhP75Qn0.d.ts} +1 -1
- package/dist/{atomic-mutation-program-Bfu5z-je.d.cts → atomic-mutation-program-DMdmc4s0.d.cts} +1 -1
- package/dist/backend/drizzle/engine/index.cjs +13 -13
- package/dist/backend/drizzle/engine/index.d.cts +9 -9
- package/dist/backend/drizzle/engine/index.d.ts +9 -9
- package/dist/backend/drizzle/engine/index.js +8 -8
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/index.cjs +91 -91
- package/dist/backend/index.d.cts +7 -7
- package/dist/backend/index.d.ts +7 -7
- package/dist/backend/index.js +8 -8
- package/dist/backend/postgres/index.cjs +23 -23
- package/dist/backend/postgres/index.d.cts +8 -8
- package/dist/backend/postgres/index.d.ts +8 -8
- package/dist/backend/postgres/index.js +8 -8
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +6 -6
- package/dist/backend/postgres/pglite-store.d.ts +6 -6
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/pglite.cjs +10 -10
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +9 -9
- package/dist/backend/sqlite/index.cjs +21 -21
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +8 -8
- package/dist/backend/sqlite/libsql.cjs +14 -14
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +8 -8
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.d.cts +6 -6
- package/dist/backend/sqlite/local-store.d.ts +6 -6
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/backend/sqlite/local.cjs +10 -10
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +9 -9
- package/dist/{chunk-PFXNQFFY.js → chunk-2DJKHZQ4.js} +75 -8
- package/dist/chunk-2DJKHZQ4.js.map +1 -0
- package/dist/{chunk-337ONI2I.js → chunk-3SUZXB5X.js} +146 -80
- package/dist/chunk-3SUZXB5X.js.map +1 -0
- package/dist/{chunk-4VTCIEK3.js → chunk-4TQOIBWH.js} +3 -3
- package/dist/{chunk-4VTCIEK3.js.map → chunk-4TQOIBWH.js.map} +1 -1
- package/dist/{chunk-JRWKRBI5.cjs → chunk-5JOCIMQ3.cjs} +6 -6
- package/dist/{chunk-JRWKRBI5.cjs.map → chunk-5JOCIMQ3.cjs.map} +1 -1
- package/dist/{chunk-BWQA3POT.cjs → chunk-6B3LQUYG.cjs} +206 -138
- package/dist/chunk-6B3LQUYG.cjs.map +1 -0
- package/dist/{chunk-RQPCUHIH.js → chunk-6ECNYQDW.js} +3 -3
- package/dist/{chunk-RQPCUHIH.js.map → chunk-6ECNYQDW.js.map} +1 -1
- package/dist/{chunk-OLB75LRQ.js → chunk-6GKKAQMW.js} +5 -5
- package/dist/{chunk-OLB75LRQ.js.map → chunk-6GKKAQMW.js.map} +1 -1
- package/dist/{chunk-OC5ROP7V.cjs → chunk-6JRVV2SS.cjs} +8 -2
- package/dist/chunk-6JRVV2SS.cjs.map +1 -0
- package/dist/{chunk-DSX3P4S5.cjs → chunk-76OB5RSH.cjs} +6 -6
- package/dist/{chunk-DSX3P4S5.cjs.map → chunk-76OB5RSH.cjs.map} +1 -1
- package/dist/{chunk-DHRLOQLQ.cjs → chunk-7LQTDGV5.cjs} +11 -11
- package/dist/{chunk-DHRLOQLQ.cjs.map → chunk-7LQTDGV5.cjs.map} +1 -1
- package/dist/{chunk-Q25QYSOH.js → chunk-7YJHUY4T.js} +9 -9
- package/dist/{chunk-Q25QYSOH.js.map → chunk-7YJHUY4T.js.map} +1 -1
- package/dist/{chunk-JERQGJKG.cjs → chunk-ANMCKLZQ.cjs} +18 -18
- package/dist/{chunk-JERQGJKG.cjs.map → chunk-ANMCKLZQ.cjs.map} +1 -1
- package/dist/{chunk-BBOMNH44.js → chunk-BABP4D5B.js} +3 -3
- package/dist/{chunk-BBOMNH44.js.map → chunk-BABP4D5B.js.map} +1 -1
- package/dist/{chunk-EVGZ2TRQ.js → chunk-BE75G3M5.js} +3 -3
- package/dist/{chunk-EVGZ2TRQ.js.map → chunk-BE75G3M5.js.map} +1 -1
- package/dist/{chunk-FXGZT3WO.cjs → chunk-BX42F7IJ.cjs} +41 -41
- package/dist/{chunk-FXGZT3WO.cjs.map → chunk-BX42F7IJ.cjs.map} +1 -1
- package/dist/{chunk-G6T23JU7.js → chunk-CDKNGCE7.js} +3 -3
- package/dist/{chunk-G6T23JU7.js.map → chunk-CDKNGCE7.js.map} +1 -1
- package/dist/{chunk-BNTJ5YFO.cjs → chunk-EACDHXJL.cjs} +4 -4
- package/dist/{chunk-BNTJ5YFO.cjs.map → chunk-EACDHXJL.cjs.map} +1 -1
- package/dist/{chunk-SNDJUTMB.cjs → chunk-EBQX7MYL.cjs} +72 -72
- package/dist/{chunk-SNDJUTMB.cjs.map → chunk-EBQX7MYL.cjs.map} +1 -1
- package/dist/{chunk-GKSAEUX6.js → chunk-FXOFJ4FS.js} +7 -7
- package/dist/{chunk-GKSAEUX6.js.map → chunk-FXOFJ4FS.js.map} +1 -1
- package/dist/{chunk-ZOWRACZQ.cjs → chunk-G7OKJDMG.cjs} +5 -5
- package/dist/{chunk-ZOWRACZQ.cjs.map → chunk-G7OKJDMG.cjs.map} +1 -1
- package/dist/{chunk-MKJPBSID.cjs → chunk-I7SBZJI2.cjs} +4 -4
- package/dist/{chunk-MKJPBSID.cjs.map → chunk-I7SBZJI2.cjs.map} +1 -1
- package/dist/{chunk-H346QK3V.cjs → chunk-K7YACILO.cjs} +9 -9
- package/dist/{chunk-H346QK3V.cjs.map → chunk-K7YACILO.cjs.map} +1 -1
- package/dist/{chunk-3KWF25MF.cjs → chunk-MN325MG4.cjs} +313 -246
- package/dist/chunk-MN325MG4.cjs.map +1 -0
- package/dist/{chunk-KDNRACRG.cjs → chunk-MRUOOAIQ.cjs} +4 -4
- package/dist/{chunk-KDNRACRG.cjs.map → chunk-MRUOOAIQ.cjs.map} +1 -1
- package/dist/{chunk-HTSJTWUT.js → chunk-OF63ZHSD.js} +4 -4
- package/dist/{chunk-HTSJTWUT.js.map → chunk-OF63ZHSD.js.map} +1 -1
- package/dist/{chunk-NGA3THGU.cjs → chunk-QR7W37HG.cjs} +14 -14
- package/dist/{chunk-NGA3THGU.cjs.map → chunk-QR7W37HG.cjs.map} +1 -1
- package/dist/{chunk-QFEO4M5W.js → chunk-RTPMG6LQ.js} +11 -11
- package/dist/{chunk-QFEO4M5W.js.map → chunk-RTPMG6LQ.js.map} +1 -1
- package/dist/{chunk-PFD4NUYV.js → chunk-SSDHR2C2.js} +3 -3
- package/dist/{chunk-PFD4NUYV.js.map → chunk-SSDHR2C2.js.map} +1 -1
- package/dist/{chunk-THK3SCQA.js → chunk-SYXTWPX6.js} +5 -5
- package/dist/{chunk-THK3SCQA.js.map → chunk-SYXTWPX6.js.map} +1 -1
- package/dist/{chunk-XSLQYGNR.cjs → chunk-T3VU3YRQ.cjs} +69 -69
- package/dist/{chunk-XSLQYGNR.cjs.map → chunk-T3VU3YRQ.cjs.map} +1 -1
- package/dist/{chunk-MIBWA6HX.js → chunk-TR7QTODF.js} +213 -33
- package/dist/chunk-TR7QTODF.js.map +1 -0
- package/dist/{chunk-AD3NLSV5.js → chunk-TU22BFMP.js} +8 -2
- package/dist/chunk-TU22BFMP.js.map +1 -0
- package/dist/{chunk-WTMSUIRO.js → chunk-UFKYMQJ5.js} +3 -3
- package/dist/{chunk-WTMSUIRO.js.map → chunk-UFKYMQJ5.js.map} +1 -1
- package/dist/{chunk-35LDKSMM.cjs → chunk-VNJMM2QQ.cjs} +30 -30
- package/dist/{chunk-35LDKSMM.cjs.map → chunk-VNJMM2QQ.cjs.map} +1 -1
- package/dist/{chunk-53ZEBIMD.js → chunk-WB55URNM.js} +6 -6
- package/dist/{chunk-53ZEBIMD.js.map → chunk-WB55URNM.js.map} +1 -1
- package/dist/{chunk-L2GBVYRU.cjs → chunk-WWSYGZED.cjs} +11 -11
- package/dist/{chunk-L2GBVYRU.cjs.map → chunk-WWSYGZED.cjs.map} +1 -1
- package/dist/{chunk-D2JPOFRZ.cjs → chunk-WY3IFEKV.cjs} +191 -191
- package/dist/{chunk-D2JPOFRZ.cjs.map → chunk-WY3IFEKV.cjs.map} +1 -1
- package/dist/{chunk-3RSFLZ7A.cjs → chunk-Y4X6ODVY.cjs} +943 -763
- package/dist/chunk-Y4X6ODVY.cjs.map +1 -0
- package/dist/{chunk-VZRXXABW.js → chunk-YHMXF7OZ.js} +5 -5
- package/dist/{chunk-VZRXXABW.js.map → chunk-YHMXF7OZ.js.map} +1 -1
- package/dist/{chunk-VROJKWZ7.js → chunk-ZONDBN6H.js} +5 -5
- package/dist/{chunk-VROJKWZ7.js.map → chunk-ZONDBN6H.js.map} +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/{ddl-DvW9aobX.d.ts → ddl-2q7xLM1X.d.ts} +3 -3
- package/dist/{ddl-BjuXbPfw.d.cts → ddl-D_09BfbN.d.cts} +3 -3
- package/dist/graph-extension/index.d.cts +2 -2
- package/dist/graph-extension/index.d.ts +2 -2
- package/dist/graph-merge/index.cjs +156 -156
- package/dist/graph-merge/index.d.cts +7 -7
- package/dist/graph-merge/index.d.ts +7 -7
- package/dist/graph-merge/index.js +14 -14
- package/dist/{graph-templates-1vMqlPsu.d.cts → graph-templates-B5Q7oYAA.d.cts} +2 -2
- package/dist/{graph-templates-Y52w16dH.d.ts → graph-templates-D9N-Z9kw.d.ts} +2 -2
- package/dist/index.cjs +99 -99
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +18 -18
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/{ingestion-import-target-CCKeXZbW.d.ts → ingestion-import-target-B8EU6ug2.d.ts} +1 -1
- package/dist/{ingestion-import-target-774QRgkF.d.cts → ingestion-import-target-C5sHNFJF.d.cts} +1 -1
- package/dist/interchange/index.cjs +34 -34
- package/dist/interchange/index.d.cts +7 -7
- package/dist/interchange/index.d.ts +7 -7
- package/dist/interchange/index.js +11 -11
- package/dist/{local-store-impl-DFKS7QTV.js → local-store-impl-ERPNYOCL.js} +18 -18
- package/dist/{local-store-impl-DFKS7QTV.js.map → local-store-impl-ERPNYOCL.js.map} +1 -1
- package/dist/{local-store-impl-3E4VLFCI.cjs → local-store-impl-OUINMCYI.cjs} +22 -22
- package/dist/{local-store-impl-3E4VLFCI.cjs.map → local-store-impl-OUINMCYI.cjs.map} +1 -1
- package/dist/{pglite-store-impl-N63GGBU2.js → pglite-store-impl-DUJBQZS5.js} +18 -18
- package/dist/{pglite-store-impl-N63GGBU2.js.map → pglite-store-impl-DUJBQZS5.js.map} +1 -1
- package/dist/{pglite-store-impl-T75O3LVQ.cjs → pglite-store-impl-Z3SOOP75.cjs} +22 -22
- package/dist/{pglite-store-impl-T75O3LVQ.cjs.map → pglite-store-impl-Z3SOOP75.cjs.map} +1 -1
- package/dist/{postgres-C9gitL71.d.ts → postgres-BbTYW3b_.d.ts} +3 -3
- package/dist/{postgres-BONrXHb4.d.cts → postgres-DOBXcZVg.d.cts} +1 -1
- package/dist/{postgres-DAFRdnTr.d.ts → postgres-DhZixg92.d.ts} +1 -1
- package/dist/{postgres-2FYdVYCm.d.cts → postgres-Dp3MpyJt.d.cts} +3 -3
- package/dist/{profile-CAD65CqS.d.ts → profile-Ch5SSewK.d.ts} +8 -8
- package/dist/{profile-Bmcg07Ki.d.cts → profile-DppApFgt.d.cts} +8 -8
- package/dist/profiler/index.d.cts +8 -8
- package/dist/profiler/index.d.ts +8 -8
- package/dist/provenance/index.cjs +22 -22
- package/dist/provenance/index.d.cts +6 -6
- package/dist/provenance/index.d.ts +6 -6
- package/dist/provenance/index.js +6 -6
- package/dist/{repair-validity-windows-CinP91t7.d.cts → repair-validity-windows-CpP_GpIx.d.cts} +1 -1
- package/dist/{repair-validity-windows-BJz4nffP.d.ts → repair-validity-windows-lfe275bY.d.ts} +1 -1
- package/dist/{resolve-DgOSlXx_.d.ts → resolve-CoYqHqno.d.cts} +7 -2
- package/dist/{resolve-DQXSEN_A.d.cts → resolve-DV0Iposp.d.ts} +7 -2
- package/dist/schema/index.cjs +37 -37
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +7 -7
- package/dist/{searchable-DMdCwkXO.d.cts → searchable-C7Xt6g45.d.cts} +1 -1
- package/dist/{searchable-BPRF0Bah.d.ts → searchable-KKXrPet3.d.ts} +1 -1
- package/dist/{sqlite-DgbYa-1Y.d.cts → sqlite-BkQM9ZeI.d.cts} +1 -1
- package/dist/{sqlite-Co_uIpfs.d.cts → sqlite-BpRtjC36.d.cts} +3 -3
- package/dist/{sqlite-DcDAAYow.d.ts → sqlite-CH0Zq0Qv.d.ts} +3 -3
- package/dist/{sqlite-UlG5prJQ.d.ts → sqlite-CcCSeXGg.d.ts} +1 -1
- package/dist/{store-HxoFyQMu.d.cts → store-3nfPQK5j.d.cts} +30 -7
- package/dist/{store-C9T1c9Az.d.ts → store-C8ZPl7OW.d.ts} +30 -7
- package/dist/{types-CRCyg1fJ.d.cts → types-BynPp5kU.d.cts} +18 -2
- package/dist/{types-CRCyg1fJ.d.ts → types-BynPp5kU.d.ts} +18 -2
- package/dist/{types-Dg_prBqC.d.ts → types-C9YwrkSe.d.ts} +1 -1
- package/dist/{types-B5AUesS1.d.cts → types-JG-4CG6P.d.cts} +1 -1
- package/dist/{where-gRyc3jj_.d.cts → where-D1gBDqQ_.d.cts} +1 -1
- package/dist/{where-D-NDKMPw.d.ts → where-D2GqMFp-.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-337ONI2I.js.map +0 -1
- package/dist/chunk-3KWF25MF.cjs.map +0 -1
- package/dist/chunk-3RSFLZ7A.cjs.map +0 -1
- package/dist/chunk-AD3NLSV5.js.map +0 -1
- package/dist/chunk-BWQA3POT.cjs.map +0 -1
- package/dist/chunk-MIBWA6HX.js.map +0 -1
- package/dist/chunk-OC5ROP7V.cjs.map +0 -1
- package/dist/chunk-PFXNQFFY.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a5 as NodeType,
|
|
3
|
-
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-
|
|
4
|
-
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-
|
|
2
|
+
import { a5 as NodeType, fI as EdgeType, a4 as AnyEdgeType, G as GraphIdentityConfig, em as ValueType, hP as PredicateExpression, cv as FulltextQueryMode, hQ as VectorMetricType, Q as QueryAst, J as JsonPointer, f1 as FieldRef, gH as ParameterRef, fp as DatabaseExpression, s as SqlDialect, h1 as SqlSchema, d as FulltextStrategy, V as VectorStrategy, hR as VectorSlotMap, hS as RecordedReadBinding, dC as RecursiveTraversalVerdict, ha as TraversalExpansion, g as GraphBackend, hT as Traversal, hU as NodePredicate, hV as ProjectedField, gG as OrderSpec, hW as AggregateOrderSpec, e3 as TemporalMode, R as RecordedInstant, hX as GroupBySpec, f$ as HybridFusionOptions, ge as JsonPointerInput, hY as RecursiveCyclePolicy, e as GraphDef, e$ as TraversalDirection$1, fF as EdgeRegistration, gy as NodeId, ba as CompiledSelectSql, T as TransactionBackend, hZ as SelectiveField, h0 as SortDirection, b9 as CompiledRowsSql, h_ as ComposableQuery, h$ as SetOperationType, i0 as SetOperation, f0 as AggregateExpr, fz as EdgeKinds, f6 as AllNodeTypes, fZ as GraphAnnotations, d1 as KindAnnotations, ao as JsonSchema, eb as UniquenessScope, b4 as Collation, aZ as Cardinality, bX as EndpointExistence, cB as GraphExtension, K as KindEntity, aN as TypeGraphError, gB as NodeKinds, p as NodeRow, fV as ExternalRecordedReadSource, fy as EdgeId, n as EdgeRow, i1 as BackendValidityEndMutation, c$ as JsonScalar, gF as NodeRegistration, e6 as TransactionReadBackend, at as SchemaIdentity, as as SchemaDiff, f as SchemaVersionRow, ab as SerializedSchema, i2 as ReadCoordinate, aV as BackendIdentity, cz as GraphEntityReadBackend, dQ as SchemaReadBackend, dp as QueryExecutionBackend, dU as SqlCompilationBackend, dq as RawQueryExecutionBackend, ep as VectorMetric, a2 as BackendCapabilities, c9 as ExtensionNodeDef, i3 as ExtensionObjectSchema, c3 as ExtensionEdgeDef, i4 as ExtensionEdgeProperties, go as MaterializeIndexesOptions, gp as MaterializeIndexesResult, gq as MaterializeSystemIndexesOptions, C as ContributionDiagnostic, c as ContributionRepairResult, bm as ContributionProbeResult, bp as ContributionRebuildScope, bo as ContributionRebuildResult, e5 as TransactionOptions, A as AdapterBackend } from './types-BynPp5kU.cjs';
|
|
3
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-C7Xt6g45.cjs';
|
|
4
|
+
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-CoYqHqno.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Who allocates recorded-time revisions for a backend: TypeGraph's own
|
|
@@ -2851,6 +2851,25 @@ type CreateNodeInput<N extends NodeType = NodeType> = Readonly<{
|
|
|
2851
2851
|
validFrom?: string | null;
|
|
2852
2852
|
validTo?: string;
|
|
2853
2853
|
}>;
|
|
2854
|
+
/** One caller-identified member of the closed heterogeneous node upsert batch. */
|
|
2855
|
+
type HeterogeneousNodeUpsertInput<G extends GraphDef, K extends NodeKinds<G> = NodeKinds<G>> = {
|
|
2856
|
+
[P in K]: G["nodes"][P] extends Readonly<{
|
|
2857
|
+
type: infer N extends NodeType;
|
|
2858
|
+
}> ? Readonly<{
|
|
2859
|
+
kind: P;
|
|
2860
|
+
id: NodeId<N>;
|
|
2861
|
+
props: z.input<N["schema"]>;
|
|
2862
|
+
}> : never;
|
|
2863
|
+
}[K];
|
|
2864
|
+
type HeterogeneousNodeForKind<G extends GraphDef, K extends NodeKinds<G>> = G["nodes"][K] extends Readonly<{
|
|
2865
|
+
type: infer N extends NodeType;
|
|
2866
|
+
}> ? Node<N> : never;
|
|
2867
|
+
/** Ordered postimages returned by the recorded heterogeneous batch. */
|
|
2868
|
+
type HeterogeneousNodeUpsertResult<G extends GraphDef, Entries extends readonly HeterogeneousNodeUpsertInput<G>[]> = {
|
|
2869
|
+
readonly [I in keyof Entries]: Entries[I] extends (Readonly<{
|
|
2870
|
+
kind: infer K extends NodeKinds<G>;
|
|
2871
|
+
}>) ? HeterogeneousNodeForKind<G, K> : never;
|
|
2872
|
+
};
|
|
2854
2873
|
/**
|
|
2855
2874
|
* Input for updating a node.
|
|
2856
2875
|
*/
|
|
@@ -4427,8 +4446,12 @@ type TransactionContext<G extends GraphDef> = TransactionCollections<G> & Readon
|
|
|
4427
4446
|
type RecordedRevisionRequest = Readonly<{
|
|
4428
4447
|
requestRecordedRevision: () => void;
|
|
4429
4448
|
}>;
|
|
4449
|
+
/** The narrow, one-statement write envelope available only to recorded transactions. */
|
|
4450
|
+
type RecordedHeterogeneousNodeWriteBatch<G extends GraphDef> = Readonly<{
|
|
4451
|
+
writeNodeUpsertBatch: <const Entries extends readonly HeterogeneousNodeUpsertInput<G>[]>(entries: Entries) => Promise<HeterogeneousNodeUpsertResult<G, Entries>>;
|
|
4452
|
+
}>;
|
|
4430
4453
|
/** A portable transaction context bound to a history-enabled Store. */
|
|
4431
|
-
type HistoryTransactionContext<G extends GraphDef> = TransactionContext<G> & RecordedRevisionRequest
|
|
4454
|
+
type HistoryTransactionContext<G extends GraphDef> = TransactionContext<G> & RecordedRevisionRequest & RecordedHeterogeneousNodeWriteBatch<G>;
|
|
4432
4455
|
/**
|
|
4433
4456
|
* A transaction context exposed by an {@link AdapterStore}. In addition to the
|
|
4434
4457
|
* portable graph collections, it carries the adapter-native handle when that
|
|
@@ -5644,7 +5667,7 @@ type EvolvedTransactionOutcome<T> = Readonly<{
|
|
|
5644
5667
|
* transactions stay internal because each can mutate live rows without a
|
|
5645
5668
|
* corresponding capture flush.
|
|
5646
5669
|
*/
|
|
5647
|
-
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "catalog", "lineage", "recordedTime", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityGuarded", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "lockSchemaVersionAndGraphWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "fenceSql", "adoptBaseSchema", "assertBaseSchemaCurrent", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureEdgeMatchIdentityStorage", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "commands", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertEdgesDurableBatchReturning", "insertNode", "insertNodeIfAbsent", "insertNodeIfAbsentWithSchemaFence", "insertNodeWithSchemaFence", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "updateResolvedNodesBatch", "compareAndSetNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
5670
|
+
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "catalog", "lineage", "recordedTime", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityGuarded", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "lockSchemaVersionAndGraphWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "fenceSql", "adoptBaseSchema", "assertBaseSchemaCurrent", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureEdgeMatchIdentityStorage", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "commands", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertEdgesDurableBatchReturning", "insertNode", "insertNodeIfAbsent", "insertNodeIfAbsentWithSchemaFence", "insertNodeWithSchemaFence", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "upsertHeterogeneousNodes", "updateResolvedNodesBatch", "compareAndSetNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
5648
5671
|
type HistoryStoreBackendMember = (typeof HISTORY_STORE_BACKEND_KEYS)[number];
|
|
5649
5672
|
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "instantiateGraphTemplate" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "recordedTableDdl" | "repairContributions" | "registerGraphTemplate" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
5650
5673
|
type UnclassifiedHistoryStoreBackendMember = Exclude<keyof GraphBackend, HistoryStoreBackendMember | UnsafeHistoryStoreBackendMember>;
|
|
@@ -6864,7 +6887,7 @@ type AdapterStoreTransactions<G extends GraphDef, TNativeTransaction> = Readonly
|
|
|
6864
6887
|
withEvolvedTransaction: <T>(externalTransaction: TNativeTransaction, plan: EvolutionPlan, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>, options?: EvolvedTransactionOptions) => Promise<EvolvedTransactionOutcome<T>>;
|
|
6865
6888
|
withRecordedTransaction: <T>(externalTransaction: TNativeTransaction, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>) => Promise<TransactionOutcome<T>>;
|
|
6866
6889
|
}>;
|
|
6867
|
-
type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & RecordedRevisionRequest & Readonly<{
|
|
6890
|
+
type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & RecordedRevisionRequest & RecordedHeterogeneousNodeWriteBatch<G> & Readonly<{
|
|
6868
6891
|
sqlAvailability: "history";
|
|
6869
6892
|
}>;
|
|
6870
6893
|
/**
|
|
@@ -7071,4 +7094,4 @@ declare function createVerifiedAdapterStore<G extends GraphDef, TNativeTransacti
|
|
|
7071
7094
|
SchemaValidationResult
|
|
7072
7095
|
]>;
|
|
7073
7096
|
|
|
7074
|
-
export { type AdapterHistoryTransactionContext as $, loadActiveSchemaWithBootstrap as A, type BatchReadBuilder as B, type CompiledOneStatementRead as C, loadAndMergeGraphExtensionDocument as D, type EvolutionPlan as E, migrateSchema as F, parseSerializedSchema as G, type HistoryStoreOptions as H, type IdentityAssertion as I, requiresMigration as J, KindRegistry as K, type LiveStoreOptions as L, type MigrateSchemaOptions as M, rollbackSchema as N, type AliasMap as O, type EmptyAliasMap as P, type EdgeAliasMap as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, type EmptyEdgeAliasMap as T, type UnboundLiveStoreOptions as U, type RecursiveAliasMap as V, type QueryCoordinateState as W, QueryBuilder as X, type EmptyRecursiveAliasMap as Y, TraversalBuilder as Z, type AdapterHistoryStore as _, type SchemaManagerOptions as a, type ExecutableOneStatementRead as a$, type AdapterRecordedReadStore as a0, type AdapterStore as a1, type AdapterTransactionContext as a2, type AggregateResult as a3, type AlgorithmCyclePolicy as a4, type AnyEdge as a5, type AnyNode as a6, type BaseStoreOptions as a7, type BaseTraversalOptions as a8, type BatchOnceOptions as a9, type DynamicNode as aA, type DynamicNodeAccessor as aB, type DynamicNodeCollection as aC, type DynamicNodeKind as aD, type DynamicNodeReference as aE, type DynamicNodeType as aF, type DynamicSelectableEdge as aG, type DynamicSelectableNode as aH, type DynamicStoreViewEdgeCollection as aI, type Edge as aJ, type EdgeAccessor as aK, type EdgeBatchReads as aL, type EdgeBulkFindEndpointOptions as aM, type EdgeBulkFindOptions as aN, type EdgeCollection as aO, type EdgeCollectionLookup as aP, type EdgeFindByEndpointsOptions as aQ, type EdgeGetOrCreateByEndpointsOptions as aR, type EdgeGetOrCreateByEndpointsResult as aS, type EdgeIntrospection as aT, type EdgeReadWindow as aU, type EdgeTemporalReads as aV, type EdgeWrites as aW, type EmbeddableOneStatementRead as aX, type EvolvedTransactionOptions as aY, type EvolvedTransactionOutcome as aZ, ExecutableAggregateQuery as a_, type BatchResults as aa, type BatchableQuery as ab, type BulkEdgeSourceGroup as ac, type BulkFindEdgesFromParams as ad, type BulkFindEdgesFromResult as ae, type BulkFindEdgesToParams as af, type BulkFindEdgesToResult as ag, type BulkFindRuntimeEdgesFromParams as ah, type BulkFindRuntimeEdgesFromResult as ai, type BulkOperationHookContext as aj, type CheckedReadScope as ak, type ClaimOwner as al, type ClaimTarget as am, type CommonPropertyKeys as an, type CompareAndSetAbsent as ao, type CompareAndSetExpected as ap, type ConstraintFenceViolation as aq, type ConstraintNames as ar, type CreateEdgeInput as as, type CreateNodeInput as at, type DatabaseProjection as au, type DegreeOptions as av, type DynamicEdgeAccessor as aw, type DynamicEdgeCollection as ax, type DynamicEdgeType as ay, type DynamicFieldBuilder as az, type Store as b, type OntologyIntrospection as b$, ExecutableProjectionQuery as b0, ExecutableQuery as b1, ExecutableRelationQuery as b2, type ExpressionAliasContext as b3, type ExpressionValue as b4, type FieldAccessor as b5, type FulltextSearchHit as b6, type FulltextSearchOptions as b7, type GetOrCreateAction as b8, type GraphAlgorithms as b9, type MeasurableHistoryTransactionContext as bA, type MeasurableTransactionContext as bB, type NeighborNodeOrderField as bC, type NeighborOrder as bD, type NeighborOrderField as bE, type NeighborReadOptions as bF, type NeighborResult as bG, type NeighborsOptions as bH, type NoRecordedCoordinate as bI, type Node as bJ, type NodeAccessor as bK, type NodeAlias as bL, type NodeBulkFindByIndexOptions as bM, type NodeCandidateQuery as bN, type NodeCandidateSelection as bO, type NodeCollection as bP, type NodeCollectionLookup as bQ, type NodeCurrentReads as bR, type NodeGetOrCreateByConstraintOptions as bS, type NodeGetOrCreateByConstraintResult as bT, type NodeIdentifier as bU, type NodePropsFor as bV, type NodeRef as bW, type NodeTemporalReads as bX, type NodeWrites as bY, type OneStatementBatchResults as bZ, type OneStatementBatchableQuery as b_, type GraphEdgeCollections as ba, type GraphEdgeForKinds as bb, type GraphNodeCollections as bc, type GraphNodeReference as bd, type HistoryStoreBackend as be, type HistoryTransactionContext as bf, type HookContext as bg, type HybridFulltextOptions as bh, type HybridSearchHit as bi, type HybridSearchOptions as bj, type HybridVectorOptions as bk, type IdentityAssertionWriteFacade as bl, type IdentityNodeReference as bm, type IdentityTraversalOption as bn, type IdentityValidityWindow as bo, type IfExistsMode as bp, type InitialQueryBuilder as bq, type KindIntrospection as br, type KindPopulationStatistics as bs, type LabelPropagationMembership as bt, type LabelPropagationOptions as bu, type MaterializeRemovalsEntry as bv, type MaterializeRemovalsOptions as bw, type MaterializeRemovalsResult as bx, type MeasurableAdapterHistoryTransactionContext as by, type MeasurableAdapterTransactionContext as bz, type HistoryStore as c, type ShortestPathOptions as c$, type OperationHookContext as c0, type PageRankOptions as c1, type PageRankScore as c2, type PaginateOptions as c3, type PaginatedResult as c4, type PathNode as c5, type PersonalizedPageRankOptions as c6, type PersonalizedPageRankSeed as c7, type PlanEvolutionOptions as c8, type Predicate as c9, type RecordedStoreViewNodeCollection as cA, type RecordedStoreViewNodeCollections as cB, type RecursiveTraversalOptions as cC, type ReembedFunction as cD, type ReembedVectorFieldOptions as cE, type ReembedVectorFieldResult as cF, type RefreshSchemaOptions as cG, type RelationColumnContext as cH, type RelationProjection as cI, type RelationProjectionResult as cJ, type RequiredEdgeCollectionLookup as cK, type RequiredNodeCollectionLookup as cL, type RuntimeBulkEdgeSourceGroup as cM, type RuntimeEdgeCollection as cN, type RuntimeEdgeFor as cO, type RuntimeEdgeKind as cP, type RuntimeEdgeTypeFor as cQ, type RuntimeNodeCollection as cR, type RuntimeNodeKind as cS, type RuntimeNodeReferenceFor as cT, type RuntimeNodeTypeFor as cU, type SchemaIntrospection as cV, type ScopedMeasure as cW, type SearchScopeOptions as cX, type SelectContext as cY, type SelectableEdge as cZ, type SelectableNode as c_, type PreparedBindings as ca, type PreparedParameterDeclaration as cb, PreparedQuery as cc, type ProjectionResult as cd, type PropertyPopulationStatistics as ce, type PropsAccessor as cf, type QualifiedRecursivePath as cg, type QualifiedRecursivePathEdge as ch, type QualifiedRecursivePathElement as ci, type QualifiedRecursivePathNode as cj, type QualifiedRecursivePathOption as ck, type QueryExpressionContext as cl, type QueryHookContext as cm, type QueryOptions as cn, type ReachableNode as co, type ReachableOptions as cp, type RebuildContributionOptions as cq, type RebuildFulltextOptions as cr, type RebuildFulltextResult as cs, type ReclaimedVectorFieldEntry as ct, type RecordedRevisionRequest as cu, type RecordedScanOptions as cv, type RecordedScanPage as cw, RecordedStoreView as cx, type RecordedStoreViewEdgeCollection as cy, type RecordedStoreViewEdgeCollections as cz, type RecordedReadStore as d, type WorkingCopyOptions as d$, type ShortestPathResult as d0, type SqlAvailability as d1, StoreAnalysisCursorStaleError as d2, type StoreAnalysisCursorStaleErrorDetails as d3, type StoreAnalysisSchemaCoordinate as d4, type StoreDescription as d5, type StoreEvolution as d6, type StoreHooks as d7, type StorePopulationStatistics as d8, type StoreProjection as d9, type SubgraphNodeResult as dA, type SubgraphOptions as dB, type SubgraphResult as dC, type SubsetEdge as dD, type SubsetNode as dE, type TemporalAlgorithmOptions as dF, type TopPerPartitionOptions as dG, type TopPerPartitionOrder as dH, type TransactionContext as dI, type TransactionOutcome as dJ, type TransactionReceipt as dK, type TraversalDirection as dL, type TypedEdgeCollection as dM, type TypedRecordedStoreViewEdgeCollection as dN, type TypedStoreViewEdgeCollection as dO, UnionableQuery as dP, type UniqueIntrospection as dQ, type UpdateEdgeInput as dR, type UpdateNodeInput as dS, type ValidateStoreOptions as dT, type ValidityEndMutation as dU, type VectorSearchHit as dV, type VectorSearchOptions as dW, type WeaklyConnectedComponentMembership as dX, type WeaklyConnectedComponentsOptions as dY, type WeightedShortestPathOptions as dZ, type WeightedShortestPathResult as d_, type StoreRef as da, StoreSearch as db, type StoreTransactionOptions as dc, type StoreValidationFailure as dd, type StoreValidationPage as de, StoreView as df, type StoreViewCanReachOptions as dg, type StoreViewCoordinate as dh, type StoreViewDegreeOptions as di, type StoreViewEdgeCollection as dj, type StoreViewEdgeCollections as dk, type StoreViewGraphAlgorithms as dl, type StoreViewLabelPropagationOptions as dm, type StoreViewNeighborsOptions as dn, type StoreViewNodeCollection as dp, type StoreViewNodeCollections as dq, type StoreViewPageRankOptions as dr, type StoreViewPersonalizedPageRankOptions as ds, type StoreViewReachableOptions as dt, type StoreViewShortestPathOptions as du, type StoreViewSubgraphOptions as dv, type StoreViewWeaklyConnectedComponentsOptions as dw, type StoreViewWeightedShortestPathOptions as dx, type StreamOptions as dy, type SubgraphEdgeResult as dz, type IdentityAssertionId as e, asIdentityAssertionId as e0, compareAndSetAbsent as e1, createAdapterStore as e2, createAdapterStoreWithSchema as e3, createQueryBuilder as e4, createStore as e5, createStoreWithSchema as e6, createVerifiedAdapterStore as e7, createVerifiedStore as e8, defineSubgraphProject as e9, exists as ea, fieldRef as eb, inSubquery as ec, isParameterRef as ed, notExists as ee, notInSubquery as ef, param as eg, EDGE_TEMPORAL_READ_NAMES as eh, IDENTITY_READ_NAMES as ei, type IdentityAssertionResult as f, type IdentityFacade as g, type IdentityNode as h, type IdentityNodeRefInput as i, type IdentityPair as j, type IdentityReadFacade as k, type IdentityRelation as l, type IdentityWriteSummary as m, type ReconciledSchema as n, type EvolutionRequirement as o, type EvolutionRequirements as p, type MigrationHookContext as q, type SchemaValidationResult as r, applyDeprecatedKinds as s, assertSchemaCurrent as t, ensureSchema as u, getActiveSchema as v, getCommittedSchemaVersion as w, getSchemaChanges as x, initializeSchema as y, isSchemaInitialized as z };
|
|
7097
|
+
export { type AdapterHistoryTransactionContext as $, loadActiveSchemaWithBootstrap as A, type BatchReadBuilder as B, type CompiledOneStatementRead as C, loadAndMergeGraphExtensionDocument as D, type EvolutionPlan as E, migrateSchema as F, parseSerializedSchema as G, type HistoryStoreOptions as H, type IdentityAssertion as I, requiresMigration as J, KindRegistry as K, type LiveStoreOptions as L, type MigrateSchemaOptions as M, rollbackSchema as N, type AliasMap as O, type EmptyAliasMap as P, type EdgeAliasMap as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, type EmptyEdgeAliasMap as T, type UnboundLiveStoreOptions as U, type RecursiveAliasMap as V, type QueryCoordinateState as W, QueryBuilder as X, type EmptyRecursiveAliasMap as Y, TraversalBuilder as Z, type AdapterHistoryStore as _, type SchemaManagerOptions as a, type ExecutableOneStatementRead as a$, type AdapterRecordedReadStore as a0, type AdapterStore as a1, type AdapterTransactionContext as a2, type AggregateResult as a3, type AlgorithmCyclePolicy as a4, type AnyEdge as a5, type AnyNode as a6, type BaseStoreOptions as a7, type BaseTraversalOptions as a8, type BatchOnceOptions as a9, type DynamicNode as aA, type DynamicNodeAccessor as aB, type DynamicNodeCollection as aC, type DynamicNodeKind as aD, type DynamicNodeReference as aE, type DynamicNodeType as aF, type DynamicSelectableEdge as aG, type DynamicSelectableNode as aH, type DynamicStoreViewEdgeCollection as aI, type Edge as aJ, type EdgeAccessor as aK, type EdgeBatchReads as aL, type EdgeBulkFindEndpointOptions as aM, type EdgeBulkFindOptions as aN, type EdgeCollection as aO, type EdgeCollectionLookup as aP, type EdgeFindByEndpointsOptions as aQ, type EdgeGetOrCreateByEndpointsOptions as aR, type EdgeGetOrCreateByEndpointsResult as aS, type EdgeIntrospection as aT, type EdgeReadWindow as aU, type EdgeTemporalReads as aV, type EdgeWrites as aW, type EmbeddableOneStatementRead as aX, type EvolvedTransactionOptions as aY, type EvolvedTransactionOutcome as aZ, ExecutableAggregateQuery as a_, type BatchResults as aa, type BatchableQuery as ab, type BulkEdgeSourceGroup as ac, type BulkFindEdgesFromParams as ad, type BulkFindEdgesFromResult as ae, type BulkFindEdgesToParams as af, type BulkFindEdgesToResult as ag, type BulkFindRuntimeEdgesFromParams as ah, type BulkFindRuntimeEdgesFromResult as ai, type BulkOperationHookContext as aj, type CheckedReadScope as ak, type ClaimOwner as al, type ClaimTarget as am, type CommonPropertyKeys as an, type CompareAndSetAbsent as ao, type CompareAndSetExpected as ap, type ConstraintFenceViolation as aq, type ConstraintNames as ar, type CreateEdgeInput as as, type CreateNodeInput as at, type DatabaseProjection as au, type DegreeOptions as av, type DynamicEdgeAccessor as aw, type DynamicEdgeCollection as ax, type DynamicEdgeType as ay, type DynamicFieldBuilder as az, type Store as b, type OneStatementBatchResults as b$, ExecutableProjectionQuery as b0, ExecutableQuery as b1, ExecutableRelationQuery as b2, type ExpressionAliasContext as b3, type ExpressionValue as b4, type FieldAccessor as b5, type FulltextSearchHit as b6, type FulltextSearchOptions as b7, type GetOrCreateAction as b8, type GraphAlgorithms as b9, type MeasurableAdapterHistoryTransactionContext as bA, type MeasurableAdapterTransactionContext as bB, type MeasurableHistoryTransactionContext as bC, type MeasurableTransactionContext as bD, type NeighborNodeOrderField as bE, type NeighborOrder as bF, type NeighborOrderField as bG, type NeighborReadOptions as bH, type NeighborResult as bI, type NeighborsOptions as bJ, type NoRecordedCoordinate as bK, type Node as bL, type NodeAccessor as bM, type NodeAlias as bN, type NodeBulkFindByIndexOptions as bO, type NodeCandidateQuery as bP, type NodeCandidateSelection as bQ, type NodeCollection as bR, type NodeCollectionLookup as bS, type NodeCurrentReads as bT, type NodeGetOrCreateByConstraintOptions as bU, type NodeGetOrCreateByConstraintResult as bV, type NodeIdentifier as bW, type NodePropsFor as bX, type NodeRef as bY, type NodeTemporalReads as bZ, type NodeWrites as b_, type GraphEdgeCollections as ba, type GraphEdgeForKinds as bb, type GraphNodeCollections as bc, type GraphNodeReference as bd, type HeterogeneousNodeUpsertInput as be, type HeterogeneousNodeUpsertResult as bf, type HistoryStoreBackend as bg, type HistoryTransactionContext as bh, type HookContext as bi, type HybridFulltextOptions as bj, type HybridSearchHit as bk, type HybridSearchOptions as bl, type HybridVectorOptions as bm, type IdentityAssertionWriteFacade as bn, type IdentityNodeReference as bo, type IdentityTraversalOption as bp, type IdentityValidityWindow as bq, type IfExistsMode as br, type InitialQueryBuilder as bs, type KindIntrospection as bt, type KindPopulationStatistics as bu, type LabelPropagationMembership as bv, type LabelPropagationOptions as bw, type MaterializeRemovalsEntry as bx, type MaterializeRemovalsOptions as by, type MaterializeRemovalsResult as bz, type HistoryStore as c, type SelectContext as c$, type OneStatementBatchableQuery as c0, type OntologyIntrospection as c1, type OperationHookContext as c2, type PageRankOptions as c3, type PageRankScore as c4, type PaginateOptions as c5, type PaginatedResult as c6, type PathNode as c7, type PersonalizedPageRankOptions as c8, type PersonalizedPageRankSeed as c9, RecordedStoreView as cA, type RecordedStoreViewEdgeCollection as cB, type RecordedStoreViewEdgeCollections as cC, type RecordedStoreViewNodeCollection as cD, type RecordedStoreViewNodeCollections as cE, type RecursiveTraversalOptions as cF, type ReembedFunction as cG, type ReembedVectorFieldOptions as cH, type ReembedVectorFieldResult as cI, type RefreshSchemaOptions as cJ, type RelationColumnContext as cK, type RelationProjection as cL, type RelationProjectionResult as cM, type RequiredEdgeCollectionLookup as cN, type RequiredNodeCollectionLookup as cO, type RuntimeBulkEdgeSourceGroup as cP, type RuntimeEdgeCollection as cQ, type RuntimeEdgeFor as cR, type RuntimeEdgeKind as cS, type RuntimeEdgeTypeFor as cT, type RuntimeNodeCollection as cU, type RuntimeNodeKind as cV, type RuntimeNodeReferenceFor as cW, type RuntimeNodeTypeFor as cX, type SchemaIntrospection as cY, type ScopedMeasure as cZ, type SearchScopeOptions as c_, type PlanEvolutionOptions as ca, type Predicate as cb, type PreparedBindings as cc, type PreparedParameterDeclaration as cd, PreparedQuery as ce, type ProjectionResult as cf, type PropertyPopulationStatistics as cg, type PropsAccessor as ch, type QualifiedRecursivePath as ci, type QualifiedRecursivePathEdge as cj, type QualifiedRecursivePathElement as ck, type QualifiedRecursivePathNode as cl, type QualifiedRecursivePathOption as cm, type QueryExpressionContext as cn, type QueryHookContext as co, type QueryOptions as cp, type ReachableNode as cq, type ReachableOptions as cr, type RebuildContributionOptions as cs, type RebuildFulltextOptions as ct, type RebuildFulltextResult as cu, type ReclaimedVectorFieldEntry as cv, type RecordedHeterogeneousNodeWriteBatch as cw, type RecordedRevisionRequest as cx, type RecordedScanOptions as cy, type RecordedScanPage as cz, type RecordedReadStore as d, type WeaklyConnectedComponentsOptions as d$, type SelectableEdge as d0, type SelectableNode as d1, type ShortestPathOptions as d2, type ShortestPathResult as d3, type SqlAvailability as d4, StoreAnalysisCursorStaleError as d5, type StoreAnalysisCursorStaleErrorDetails as d6, type StoreAnalysisSchemaCoordinate as d7, type StoreDescription as d8, type StoreEvolution as d9, type StoreViewWeightedShortestPathOptions as dA, type StreamOptions as dB, type SubgraphEdgeResult as dC, type SubgraphNodeResult as dD, type SubgraphOptions as dE, type SubgraphResult as dF, type SubsetEdge as dG, type SubsetNode as dH, type TemporalAlgorithmOptions as dI, type TopPerPartitionOptions as dJ, type TopPerPartitionOrder as dK, type TransactionContext as dL, type TransactionOutcome as dM, type TransactionReceipt as dN, type TraversalDirection as dO, type TypedEdgeCollection as dP, type TypedRecordedStoreViewEdgeCollection as dQ, type TypedStoreViewEdgeCollection as dR, UnionableQuery as dS, type UniqueIntrospection as dT, type UpdateEdgeInput as dU, type UpdateNodeInput as dV, type ValidateStoreOptions as dW, type ValidityEndMutation as dX, type VectorSearchHit as dY, type VectorSearchOptions as dZ, type WeaklyConnectedComponentMembership as d_, type StoreHooks as da, type StorePopulationStatistics as db, type StoreProjection as dc, type StoreRef as dd, StoreSearch as de, type StoreTransactionOptions as df, type StoreValidationFailure as dg, type StoreValidationPage as dh, StoreView as di, type StoreViewCanReachOptions as dj, type StoreViewCoordinate as dk, type StoreViewDegreeOptions as dl, type StoreViewEdgeCollection as dm, type StoreViewEdgeCollections as dn, type StoreViewGraphAlgorithms as dp, type StoreViewLabelPropagationOptions as dq, type StoreViewNeighborsOptions as dr, type StoreViewNodeCollection as ds, type StoreViewNodeCollections as dt, type StoreViewPageRankOptions as du, type StoreViewPersonalizedPageRankOptions as dv, type StoreViewReachableOptions as dw, type StoreViewShortestPathOptions as dx, type StoreViewSubgraphOptions as dy, type StoreViewWeaklyConnectedComponentsOptions as dz, type IdentityAssertionId as e, type WeightedShortestPathOptions as e0, type WeightedShortestPathResult as e1, type WorkingCopyOptions as e2, asIdentityAssertionId as e3, compareAndSetAbsent as e4, createAdapterStore as e5, createAdapterStoreWithSchema as e6, createQueryBuilder as e7, createStore as e8, createStoreWithSchema as e9, createVerifiedAdapterStore as ea, createVerifiedStore as eb, defineSubgraphProject as ec, exists as ed, fieldRef as ee, inSubquery as ef, isParameterRef as eg, notExists as eh, notInSubquery as ei, param as ej, EDGE_TEMPORAL_READ_NAMES as ek, IDENTITY_READ_NAMES as el, type IdentityAssertionResult as f, type IdentityFacade as g, type IdentityNode as h, type IdentityNodeRefInput as i, type IdentityPair as j, type IdentityReadFacade as k, type IdentityRelation as l, type IdentityWriteSummary as m, type ReconciledSchema as n, type EvolutionRequirement as o, type EvolutionRequirements as p, type MigrationHookContext as q, type SchemaValidationResult as r, applyDeprecatedKinds as s, assertSchemaCurrent as t, ensureSchema as u, getActiveSchema as v, getCommittedSchemaVersion as w, getSchemaChanges as x, initializeSchema as y, isSchemaInitialized as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a5 as NodeType,
|
|
3
|
-
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-
|
|
4
|
-
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-
|
|
2
|
+
import { a5 as NodeType, fI as EdgeType, a4 as AnyEdgeType, G as GraphIdentityConfig, em as ValueType, hP as PredicateExpression, cv as FulltextQueryMode, hQ as VectorMetricType, Q as QueryAst, J as JsonPointer, f1 as FieldRef, gH as ParameterRef, fp as DatabaseExpression, s as SqlDialect, h1 as SqlSchema, d as FulltextStrategy, V as VectorStrategy, hR as VectorSlotMap, hS as RecordedReadBinding, dC as RecursiveTraversalVerdict, ha as TraversalExpansion, g as GraphBackend, hT as Traversal, hU as NodePredicate, hV as ProjectedField, gG as OrderSpec, hW as AggregateOrderSpec, e3 as TemporalMode, R as RecordedInstant, hX as GroupBySpec, f$ as HybridFusionOptions, ge as JsonPointerInput, hY as RecursiveCyclePolicy, e as GraphDef, e$ as TraversalDirection$1, fF as EdgeRegistration, gy as NodeId, ba as CompiledSelectSql, T as TransactionBackend, hZ as SelectiveField, h0 as SortDirection, b9 as CompiledRowsSql, h_ as ComposableQuery, h$ as SetOperationType, i0 as SetOperation, f0 as AggregateExpr, fz as EdgeKinds, f6 as AllNodeTypes, fZ as GraphAnnotations, d1 as KindAnnotations, ao as JsonSchema, eb as UniquenessScope, b4 as Collation, aZ as Cardinality, bX as EndpointExistence, cB as GraphExtension, K as KindEntity, aN as TypeGraphError, gB as NodeKinds, p as NodeRow, fV as ExternalRecordedReadSource, fy as EdgeId, n as EdgeRow, i1 as BackendValidityEndMutation, c$ as JsonScalar, gF as NodeRegistration, e6 as TransactionReadBackend, at as SchemaIdentity, as as SchemaDiff, f as SchemaVersionRow, ab as SerializedSchema, i2 as ReadCoordinate, aV as BackendIdentity, cz as GraphEntityReadBackend, dQ as SchemaReadBackend, dp as QueryExecutionBackend, dU as SqlCompilationBackend, dq as RawQueryExecutionBackend, ep as VectorMetric, a2 as BackendCapabilities, c9 as ExtensionNodeDef, i3 as ExtensionObjectSchema, c3 as ExtensionEdgeDef, i4 as ExtensionEdgeProperties, go as MaterializeIndexesOptions, gp as MaterializeIndexesResult, gq as MaterializeSystemIndexesOptions, C as ContributionDiagnostic, c as ContributionRepairResult, bm as ContributionProbeResult, bp as ContributionRebuildScope, bo as ContributionRebuildResult, e5 as TransactionOptions, A as AdapterBackend } from './types-BynPp5kU.js';
|
|
3
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-KKXrPet3.js';
|
|
4
|
+
import { b as BundleVerdictOf, U as UNIQUE_SIDECAR_BATCH, B as BATCH_POINT_READ } from './resolve-DV0Iposp.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Who allocates recorded-time revisions for a backend: TypeGraph's own
|
|
@@ -2851,6 +2851,25 @@ type CreateNodeInput<N extends NodeType = NodeType> = Readonly<{
|
|
|
2851
2851
|
validFrom?: string | null;
|
|
2852
2852
|
validTo?: string;
|
|
2853
2853
|
}>;
|
|
2854
|
+
/** One caller-identified member of the closed heterogeneous node upsert batch. */
|
|
2855
|
+
type HeterogeneousNodeUpsertInput<G extends GraphDef, K extends NodeKinds<G> = NodeKinds<G>> = {
|
|
2856
|
+
[P in K]: G["nodes"][P] extends Readonly<{
|
|
2857
|
+
type: infer N extends NodeType;
|
|
2858
|
+
}> ? Readonly<{
|
|
2859
|
+
kind: P;
|
|
2860
|
+
id: NodeId<N>;
|
|
2861
|
+
props: z.input<N["schema"]>;
|
|
2862
|
+
}> : never;
|
|
2863
|
+
}[K];
|
|
2864
|
+
type HeterogeneousNodeForKind<G extends GraphDef, K extends NodeKinds<G>> = G["nodes"][K] extends Readonly<{
|
|
2865
|
+
type: infer N extends NodeType;
|
|
2866
|
+
}> ? Node<N> : never;
|
|
2867
|
+
/** Ordered postimages returned by the recorded heterogeneous batch. */
|
|
2868
|
+
type HeterogeneousNodeUpsertResult<G extends GraphDef, Entries extends readonly HeterogeneousNodeUpsertInput<G>[]> = {
|
|
2869
|
+
readonly [I in keyof Entries]: Entries[I] extends (Readonly<{
|
|
2870
|
+
kind: infer K extends NodeKinds<G>;
|
|
2871
|
+
}>) ? HeterogeneousNodeForKind<G, K> : never;
|
|
2872
|
+
};
|
|
2854
2873
|
/**
|
|
2855
2874
|
* Input for updating a node.
|
|
2856
2875
|
*/
|
|
@@ -4427,8 +4446,12 @@ type TransactionContext<G extends GraphDef> = TransactionCollections<G> & Readon
|
|
|
4427
4446
|
type RecordedRevisionRequest = Readonly<{
|
|
4428
4447
|
requestRecordedRevision: () => void;
|
|
4429
4448
|
}>;
|
|
4449
|
+
/** The narrow, one-statement write envelope available only to recorded transactions. */
|
|
4450
|
+
type RecordedHeterogeneousNodeWriteBatch<G extends GraphDef> = Readonly<{
|
|
4451
|
+
writeNodeUpsertBatch: <const Entries extends readonly HeterogeneousNodeUpsertInput<G>[]>(entries: Entries) => Promise<HeterogeneousNodeUpsertResult<G, Entries>>;
|
|
4452
|
+
}>;
|
|
4430
4453
|
/** A portable transaction context bound to a history-enabled Store. */
|
|
4431
|
-
type HistoryTransactionContext<G extends GraphDef> = TransactionContext<G> & RecordedRevisionRequest
|
|
4454
|
+
type HistoryTransactionContext<G extends GraphDef> = TransactionContext<G> & RecordedRevisionRequest & RecordedHeterogeneousNodeWriteBatch<G>;
|
|
4432
4455
|
/**
|
|
4433
4456
|
* A transaction context exposed by an {@link AdapterStore}. In addition to the
|
|
4434
4457
|
* portable graph collections, it carries the adapter-native handle when that
|
|
@@ -5644,7 +5667,7 @@ type EvolvedTransactionOutcome<T> = Readonly<{
|
|
|
5644
5667
|
* transactions stay internal because each can mutate live rows without a
|
|
5645
5668
|
* corresponding capture flush.
|
|
5646
5669
|
*/
|
|
5647
|
-
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "catalog", "lineage", "recordedTime", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityGuarded", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "lockSchemaVersionAndGraphWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "fenceSql", "adoptBaseSchema", "assertBaseSchemaCurrent", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureEdgeMatchIdentityStorage", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "commands", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertEdgesDurableBatchReturning", "insertNode", "insertNodeIfAbsent", "insertNodeIfAbsentWithSchemaFence", "insertNodeWithSchemaFence", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "updateResolvedNodesBatch", "compareAndSetNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
5670
|
+
declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "catalog", "lineage", "recordedTime", "checkUnique", "checkUniqueBatch", "claimEdgeCardinality", "claimEdgeCardinalityGuarded", "claimEdgeCardinalityBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "lockSchemaVersionAndGraphWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "fenceSql", "adoptBaseSchema", "assertBaseSchemaCurrent", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureExtension", "ensureEdgeMatchIdentityStorage", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureTrigramExtension", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByConcreteKind", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "commands", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertEdgesDurableBatchReturning", "insertNode", "insertNodeIfAbsent", "insertNodeIfAbsentWithSchemaFence", "insertNodeWithSchemaFence", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "purgeEdgeClaims", "readConstraintFenceViolations", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "upsertHeterogeneousNodes", "updateResolvedNodesBatch", "compareAndSetNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
|
|
5648
5671
|
type HistoryStoreBackendMember = (typeof HISTORY_STORE_BACKEND_KEYS)[number];
|
|
5649
5672
|
type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "instantiateGraphTemplate" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "recordedTableDdl" | "repairContributions" | "registerGraphTemplate" | "schemaWriteTransaction" | "transaction" | "trustedImport";
|
|
5650
5673
|
type UnclassifiedHistoryStoreBackendMember = Exclude<keyof GraphBackend, HistoryStoreBackendMember | UnsafeHistoryStoreBackendMember>;
|
|
@@ -6864,7 +6887,7 @@ type AdapterStoreTransactions<G extends GraphDef, TNativeTransaction> = Readonly
|
|
|
6864
6887
|
withEvolvedTransaction: <T>(externalTransaction: TNativeTransaction, plan: EvolutionPlan, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>, options?: EvolvedTransactionOptions) => Promise<EvolvedTransactionOutcome<T>>;
|
|
6865
6888
|
withRecordedTransaction: <T>(externalTransaction: TNativeTransaction, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>) => Promise<TransactionOutcome<T>>;
|
|
6866
6889
|
}>;
|
|
6867
|
-
type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & RecordedRevisionRequest & Readonly<{
|
|
6890
|
+
type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & RecordedRevisionRequest & RecordedHeterogeneousNodeWriteBatch<G> & Readonly<{
|
|
6868
6891
|
sqlAvailability: "history";
|
|
6869
6892
|
}>;
|
|
6870
6893
|
/**
|
|
@@ -7071,4 +7094,4 @@ declare function createVerifiedAdapterStore<G extends GraphDef, TNativeTransacti
|
|
|
7071
7094
|
SchemaValidationResult
|
|
7072
7095
|
]>;
|
|
7073
7096
|
|
|
7074
|
-
export { type AdapterHistoryTransactionContext as $, loadActiveSchemaWithBootstrap as A, type BatchReadBuilder as B, type CompiledOneStatementRead as C, loadAndMergeGraphExtensionDocument as D, type EvolutionPlan as E, migrateSchema as F, parseSerializedSchema as G, type HistoryStoreOptions as H, type IdentityAssertion as I, requiresMigration as J, KindRegistry as K, type LiveStoreOptions as L, type MigrateSchemaOptions as M, rollbackSchema as N, type AliasMap as O, type EmptyAliasMap as P, type EdgeAliasMap as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, type EmptyEdgeAliasMap as T, type UnboundLiveStoreOptions as U, type RecursiveAliasMap as V, type QueryCoordinateState as W, QueryBuilder as X, type EmptyRecursiveAliasMap as Y, TraversalBuilder as Z, type AdapterHistoryStore as _, type SchemaManagerOptions as a, type ExecutableOneStatementRead as a$, type AdapterRecordedReadStore as a0, type AdapterStore as a1, type AdapterTransactionContext as a2, type AggregateResult as a3, type AlgorithmCyclePolicy as a4, type AnyEdge as a5, type AnyNode as a6, type BaseStoreOptions as a7, type BaseTraversalOptions as a8, type BatchOnceOptions as a9, type DynamicNode as aA, type DynamicNodeAccessor as aB, type DynamicNodeCollection as aC, type DynamicNodeKind as aD, type DynamicNodeReference as aE, type DynamicNodeType as aF, type DynamicSelectableEdge as aG, type DynamicSelectableNode as aH, type DynamicStoreViewEdgeCollection as aI, type Edge as aJ, type EdgeAccessor as aK, type EdgeBatchReads as aL, type EdgeBulkFindEndpointOptions as aM, type EdgeBulkFindOptions as aN, type EdgeCollection as aO, type EdgeCollectionLookup as aP, type EdgeFindByEndpointsOptions as aQ, type EdgeGetOrCreateByEndpointsOptions as aR, type EdgeGetOrCreateByEndpointsResult as aS, type EdgeIntrospection as aT, type EdgeReadWindow as aU, type EdgeTemporalReads as aV, type EdgeWrites as aW, type EmbeddableOneStatementRead as aX, type EvolvedTransactionOptions as aY, type EvolvedTransactionOutcome as aZ, ExecutableAggregateQuery as a_, type BatchResults as aa, type BatchableQuery as ab, type BulkEdgeSourceGroup as ac, type BulkFindEdgesFromParams as ad, type BulkFindEdgesFromResult as ae, type BulkFindEdgesToParams as af, type BulkFindEdgesToResult as ag, type BulkFindRuntimeEdgesFromParams as ah, type BulkFindRuntimeEdgesFromResult as ai, type BulkOperationHookContext as aj, type CheckedReadScope as ak, type ClaimOwner as al, type ClaimTarget as am, type CommonPropertyKeys as an, type CompareAndSetAbsent as ao, type CompareAndSetExpected as ap, type ConstraintFenceViolation as aq, type ConstraintNames as ar, type CreateEdgeInput as as, type CreateNodeInput as at, type DatabaseProjection as au, type DegreeOptions as av, type DynamicEdgeAccessor as aw, type DynamicEdgeCollection as ax, type DynamicEdgeType as ay, type DynamicFieldBuilder as az, type Store as b, type OntologyIntrospection as b$, ExecutableProjectionQuery as b0, ExecutableQuery as b1, ExecutableRelationQuery as b2, type ExpressionAliasContext as b3, type ExpressionValue as b4, type FieldAccessor as b5, type FulltextSearchHit as b6, type FulltextSearchOptions as b7, type GetOrCreateAction as b8, type GraphAlgorithms as b9, type MeasurableHistoryTransactionContext as bA, type MeasurableTransactionContext as bB, type NeighborNodeOrderField as bC, type NeighborOrder as bD, type NeighborOrderField as bE, type NeighborReadOptions as bF, type NeighborResult as bG, type NeighborsOptions as bH, type NoRecordedCoordinate as bI, type Node as bJ, type NodeAccessor as bK, type NodeAlias as bL, type NodeBulkFindByIndexOptions as bM, type NodeCandidateQuery as bN, type NodeCandidateSelection as bO, type NodeCollection as bP, type NodeCollectionLookup as bQ, type NodeCurrentReads as bR, type NodeGetOrCreateByConstraintOptions as bS, type NodeGetOrCreateByConstraintResult as bT, type NodeIdentifier as bU, type NodePropsFor as bV, type NodeRef as bW, type NodeTemporalReads as bX, type NodeWrites as bY, type OneStatementBatchResults as bZ, type OneStatementBatchableQuery as b_, type GraphEdgeCollections as ba, type GraphEdgeForKinds as bb, type GraphNodeCollections as bc, type GraphNodeReference as bd, type HistoryStoreBackend as be, type HistoryTransactionContext as bf, type HookContext as bg, type HybridFulltextOptions as bh, type HybridSearchHit as bi, type HybridSearchOptions as bj, type HybridVectorOptions as bk, type IdentityAssertionWriteFacade as bl, type IdentityNodeReference as bm, type IdentityTraversalOption as bn, type IdentityValidityWindow as bo, type IfExistsMode as bp, type InitialQueryBuilder as bq, type KindIntrospection as br, type KindPopulationStatistics as bs, type LabelPropagationMembership as bt, type LabelPropagationOptions as bu, type MaterializeRemovalsEntry as bv, type MaterializeRemovalsOptions as bw, type MaterializeRemovalsResult as bx, type MeasurableAdapterHistoryTransactionContext as by, type MeasurableAdapterTransactionContext as bz, type HistoryStore as c, type ShortestPathOptions as c$, type OperationHookContext as c0, type PageRankOptions as c1, type PageRankScore as c2, type PaginateOptions as c3, type PaginatedResult as c4, type PathNode as c5, type PersonalizedPageRankOptions as c6, type PersonalizedPageRankSeed as c7, type PlanEvolutionOptions as c8, type Predicate as c9, type RecordedStoreViewNodeCollection as cA, type RecordedStoreViewNodeCollections as cB, type RecursiveTraversalOptions as cC, type ReembedFunction as cD, type ReembedVectorFieldOptions as cE, type ReembedVectorFieldResult as cF, type RefreshSchemaOptions as cG, type RelationColumnContext as cH, type RelationProjection as cI, type RelationProjectionResult as cJ, type RequiredEdgeCollectionLookup as cK, type RequiredNodeCollectionLookup as cL, type RuntimeBulkEdgeSourceGroup as cM, type RuntimeEdgeCollection as cN, type RuntimeEdgeFor as cO, type RuntimeEdgeKind as cP, type RuntimeEdgeTypeFor as cQ, type RuntimeNodeCollection as cR, type RuntimeNodeKind as cS, type RuntimeNodeReferenceFor as cT, type RuntimeNodeTypeFor as cU, type SchemaIntrospection as cV, type ScopedMeasure as cW, type SearchScopeOptions as cX, type SelectContext as cY, type SelectableEdge as cZ, type SelectableNode as c_, type PreparedBindings as ca, type PreparedParameterDeclaration as cb, PreparedQuery as cc, type ProjectionResult as cd, type PropertyPopulationStatistics as ce, type PropsAccessor as cf, type QualifiedRecursivePath as cg, type QualifiedRecursivePathEdge as ch, type QualifiedRecursivePathElement as ci, type QualifiedRecursivePathNode as cj, type QualifiedRecursivePathOption as ck, type QueryExpressionContext as cl, type QueryHookContext as cm, type QueryOptions as cn, type ReachableNode as co, type ReachableOptions as cp, type RebuildContributionOptions as cq, type RebuildFulltextOptions as cr, type RebuildFulltextResult as cs, type ReclaimedVectorFieldEntry as ct, type RecordedRevisionRequest as cu, type RecordedScanOptions as cv, type RecordedScanPage as cw, RecordedStoreView as cx, type RecordedStoreViewEdgeCollection as cy, type RecordedStoreViewEdgeCollections as cz, type RecordedReadStore as d, type WorkingCopyOptions as d$, type ShortestPathResult as d0, type SqlAvailability as d1, StoreAnalysisCursorStaleError as d2, type StoreAnalysisCursorStaleErrorDetails as d3, type StoreAnalysisSchemaCoordinate as d4, type StoreDescription as d5, type StoreEvolution as d6, type StoreHooks as d7, type StorePopulationStatistics as d8, type StoreProjection as d9, type SubgraphNodeResult as dA, type SubgraphOptions as dB, type SubgraphResult as dC, type SubsetEdge as dD, type SubsetNode as dE, type TemporalAlgorithmOptions as dF, type TopPerPartitionOptions as dG, type TopPerPartitionOrder as dH, type TransactionContext as dI, type TransactionOutcome as dJ, type TransactionReceipt as dK, type TraversalDirection as dL, type TypedEdgeCollection as dM, type TypedRecordedStoreViewEdgeCollection as dN, type TypedStoreViewEdgeCollection as dO, UnionableQuery as dP, type UniqueIntrospection as dQ, type UpdateEdgeInput as dR, type UpdateNodeInput as dS, type ValidateStoreOptions as dT, type ValidityEndMutation as dU, type VectorSearchHit as dV, type VectorSearchOptions as dW, type WeaklyConnectedComponentMembership as dX, type WeaklyConnectedComponentsOptions as dY, type WeightedShortestPathOptions as dZ, type WeightedShortestPathResult as d_, type StoreRef as da, StoreSearch as db, type StoreTransactionOptions as dc, type StoreValidationFailure as dd, type StoreValidationPage as de, StoreView as df, type StoreViewCanReachOptions as dg, type StoreViewCoordinate as dh, type StoreViewDegreeOptions as di, type StoreViewEdgeCollection as dj, type StoreViewEdgeCollections as dk, type StoreViewGraphAlgorithms as dl, type StoreViewLabelPropagationOptions as dm, type StoreViewNeighborsOptions as dn, type StoreViewNodeCollection as dp, type StoreViewNodeCollections as dq, type StoreViewPageRankOptions as dr, type StoreViewPersonalizedPageRankOptions as ds, type StoreViewReachableOptions as dt, type StoreViewShortestPathOptions as du, type StoreViewSubgraphOptions as dv, type StoreViewWeaklyConnectedComponentsOptions as dw, type StoreViewWeightedShortestPathOptions as dx, type StreamOptions as dy, type SubgraphEdgeResult as dz, type IdentityAssertionId as e, asIdentityAssertionId as e0, compareAndSetAbsent as e1, createAdapterStore as e2, createAdapterStoreWithSchema as e3, createQueryBuilder as e4, createStore as e5, createStoreWithSchema as e6, createVerifiedAdapterStore as e7, createVerifiedStore as e8, defineSubgraphProject as e9, exists as ea, fieldRef as eb, inSubquery as ec, isParameterRef as ed, notExists as ee, notInSubquery as ef, param as eg, EDGE_TEMPORAL_READ_NAMES as eh, IDENTITY_READ_NAMES as ei, type IdentityAssertionResult as f, type IdentityFacade as g, type IdentityNode as h, type IdentityNodeRefInput as i, type IdentityPair as j, type IdentityReadFacade as k, type IdentityRelation as l, type IdentityWriteSummary as m, type ReconciledSchema as n, type EvolutionRequirement as o, type EvolutionRequirements as p, type MigrationHookContext as q, type SchemaValidationResult as r, applyDeprecatedKinds as s, assertSchemaCurrent as t, ensureSchema as u, getActiveSchema as v, getCommittedSchemaVersion as w, getSchemaChanges as x, initializeSchema as y, isSchemaInitialized as z };
|
|
7097
|
+
export { type AdapterHistoryTransactionContext as $, loadActiveSchemaWithBootstrap as A, type BatchReadBuilder as B, type CompiledOneStatementRead as C, loadAndMergeGraphExtensionDocument as D, type EvolutionPlan as E, migrateSchema as F, parseSerializedSchema as G, type HistoryStoreOptions as H, type IdentityAssertion as I, requiresMigration as J, KindRegistry as K, type LiveStoreOptions as L, type MigrateSchemaOptions as M, rollbackSchema as N, type AliasMap as O, type EmptyAliasMap as P, type EdgeAliasMap as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, type EmptyEdgeAliasMap as T, type UnboundLiveStoreOptions as U, type RecursiveAliasMap as V, type QueryCoordinateState as W, QueryBuilder as X, type EmptyRecursiveAliasMap as Y, TraversalBuilder as Z, type AdapterHistoryStore as _, type SchemaManagerOptions as a, type ExecutableOneStatementRead as a$, type AdapterRecordedReadStore as a0, type AdapterStore as a1, type AdapterTransactionContext as a2, type AggregateResult as a3, type AlgorithmCyclePolicy as a4, type AnyEdge as a5, type AnyNode as a6, type BaseStoreOptions as a7, type BaseTraversalOptions as a8, type BatchOnceOptions as a9, type DynamicNode as aA, type DynamicNodeAccessor as aB, type DynamicNodeCollection as aC, type DynamicNodeKind as aD, type DynamicNodeReference as aE, type DynamicNodeType as aF, type DynamicSelectableEdge as aG, type DynamicSelectableNode as aH, type DynamicStoreViewEdgeCollection as aI, type Edge as aJ, type EdgeAccessor as aK, type EdgeBatchReads as aL, type EdgeBulkFindEndpointOptions as aM, type EdgeBulkFindOptions as aN, type EdgeCollection as aO, type EdgeCollectionLookup as aP, type EdgeFindByEndpointsOptions as aQ, type EdgeGetOrCreateByEndpointsOptions as aR, type EdgeGetOrCreateByEndpointsResult as aS, type EdgeIntrospection as aT, type EdgeReadWindow as aU, type EdgeTemporalReads as aV, type EdgeWrites as aW, type EmbeddableOneStatementRead as aX, type EvolvedTransactionOptions as aY, type EvolvedTransactionOutcome as aZ, ExecutableAggregateQuery as a_, type BatchResults as aa, type BatchableQuery as ab, type BulkEdgeSourceGroup as ac, type BulkFindEdgesFromParams as ad, type BulkFindEdgesFromResult as ae, type BulkFindEdgesToParams as af, type BulkFindEdgesToResult as ag, type BulkFindRuntimeEdgesFromParams as ah, type BulkFindRuntimeEdgesFromResult as ai, type BulkOperationHookContext as aj, type CheckedReadScope as ak, type ClaimOwner as al, type ClaimTarget as am, type CommonPropertyKeys as an, type CompareAndSetAbsent as ao, type CompareAndSetExpected as ap, type ConstraintFenceViolation as aq, type ConstraintNames as ar, type CreateEdgeInput as as, type CreateNodeInput as at, type DatabaseProjection as au, type DegreeOptions as av, type DynamicEdgeAccessor as aw, type DynamicEdgeCollection as ax, type DynamicEdgeType as ay, type DynamicFieldBuilder as az, type Store as b, type OneStatementBatchResults as b$, ExecutableProjectionQuery as b0, ExecutableQuery as b1, ExecutableRelationQuery as b2, type ExpressionAliasContext as b3, type ExpressionValue as b4, type FieldAccessor as b5, type FulltextSearchHit as b6, type FulltextSearchOptions as b7, type GetOrCreateAction as b8, type GraphAlgorithms as b9, type MeasurableAdapterHistoryTransactionContext as bA, type MeasurableAdapterTransactionContext as bB, type MeasurableHistoryTransactionContext as bC, type MeasurableTransactionContext as bD, type NeighborNodeOrderField as bE, type NeighborOrder as bF, type NeighborOrderField as bG, type NeighborReadOptions as bH, type NeighborResult as bI, type NeighborsOptions as bJ, type NoRecordedCoordinate as bK, type Node as bL, type NodeAccessor as bM, type NodeAlias as bN, type NodeBulkFindByIndexOptions as bO, type NodeCandidateQuery as bP, type NodeCandidateSelection as bQ, type NodeCollection as bR, type NodeCollectionLookup as bS, type NodeCurrentReads as bT, type NodeGetOrCreateByConstraintOptions as bU, type NodeGetOrCreateByConstraintResult as bV, type NodeIdentifier as bW, type NodePropsFor as bX, type NodeRef as bY, type NodeTemporalReads as bZ, type NodeWrites as b_, type GraphEdgeCollections as ba, type GraphEdgeForKinds as bb, type GraphNodeCollections as bc, type GraphNodeReference as bd, type HeterogeneousNodeUpsertInput as be, type HeterogeneousNodeUpsertResult as bf, type HistoryStoreBackend as bg, type HistoryTransactionContext as bh, type HookContext as bi, type HybridFulltextOptions as bj, type HybridSearchHit as bk, type HybridSearchOptions as bl, type HybridVectorOptions as bm, type IdentityAssertionWriteFacade as bn, type IdentityNodeReference as bo, type IdentityTraversalOption as bp, type IdentityValidityWindow as bq, type IfExistsMode as br, type InitialQueryBuilder as bs, type KindIntrospection as bt, type KindPopulationStatistics as bu, type LabelPropagationMembership as bv, type LabelPropagationOptions as bw, type MaterializeRemovalsEntry as bx, type MaterializeRemovalsOptions as by, type MaterializeRemovalsResult as bz, type HistoryStore as c, type SelectContext as c$, type OneStatementBatchableQuery as c0, type OntologyIntrospection as c1, type OperationHookContext as c2, type PageRankOptions as c3, type PageRankScore as c4, type PaginateOptions as c5, type PaginatedResult as c6, type PathNode as c7, type PersonalizedPageRankOptions as c8, type PersonalizedPageRankSeed as c9, RecordedStoreView as cA, type RecordedStoreViewEdgeCollection as cB, type RecordedStoreViewEdgeCollections as cC, type RecordedStoreViewNodeCollection as cD, type RecordedStoreViewNodeCollections as cE, type RecursiveTraversalOptions as cF, type ReembedFunction as cG, type ReembedVectorFieldOptions as cH, type ReembedVectorFieldResult as cI, type RefreshSchemaOptions as cJ, type RelationColumnContext as cK, type RelationProjection as cL, type RelationProjectionResult as cM, type RequiredEdgeCollectionLookup as cN, type RequiredNodeCollectionLookup as cO, type RuntimeBulkEdgeSourceGroup as cP, type RuntimeEdgeCollection as cQ, type RuntimeEdgeFor as cR, type RuntimeEdgeKind as cS, type RuntimeEdgeTypeFor as cT, type RuntimeNodeCollection as cU, type RuntimeNodeKind as cV, type RuntimeNodeReferenceFor as cW, type RuntimeNodeTypeFor as cX, type SchemaIntrospection as cY, type ScopedMeasure as cZ, type SearchScopeOptions as c_, type PlanEvolutionOptions as ca, type Predicate as cb, type PreparedBindings as cc, type PreparedParameterDeclaration as cd, PreparedQuery as ce, type ProjectionResult as cf, type PropertyPopulationStatistics as cg, type PropsAccessor as ch, type QualifiedRecursivePath as ci, type QualifiedRecursivePathEdge as cj, type QualifiedRecursivePathElement as ck, type QualifiedRecursivePathNode as cl, type QualifiedRecursivePathOption as cm, type QueryExpressionContext as cn, type QueryHookContext as co, type QueryOptions as cp, type ReachableNode as cq, type ReachableOptions as cr, type RebuildContributionOptions as cs, type RebuildFulltextOptions as ct, type RebuildFulltextResult as cu, type ReclaimedVectorFieldEntry as cv, type RecordedHeterogeneousNodeWriteBatch as cw, type RecordedRevisionRequest as cx, type RecordedScanOptions as cy, type RecordedScanPage as cz, type RecordedReadStore as d, type WeaklyConnectedComponentsOptions as d$, type SelectableEdge as d0, type SelectableNode as d1, type ShortestPathOptions as d2, type ShortestPathResult as d3, type SqlAvailability as d4, StoreAnalysisCursorStaleError as d5, type StoreAnalysisCursorStaleErrorDetails as d6, type StoreAnalysisSchemaCoordinate as d7, type StoreDescription as d8, type StoreEvolution as d9, type StoreViewWeightedShortestPathOptions as dA, type StreamOptions as dB, type SubgraphEdgeResult as dC, type SubgraphNodeResult as dD, type SubgraphOptions as dE, type SubgraphResult as dF, type SubsetEdge as dG, type SubsetNode as dH, type TemporalAlgorithmOptions as dI, type TopPerPartitionOptions as dJ, type TopPerPartitionOrder as dK, type TransactionContext as dL, type TransactionOutcome as dM, type TransactionReceipt as dN, type TraversalDirection as dO, type TypedEdgeCollection as dP, type TypedRecordedStoreViewEdgeCollection as dQ, type TypedStoreViewEdgeCollection as dR, UnionableQuery as dS, type UniqueIntrospection as dT, type UpdateEdgeInput as dU, type UpdateNodeInput as dV, type ValidateStoreOptions as dW, type ValidityEndMutation as dX, type VectorSearchHit as dY, type VectorSearchOptions as dZ, type WeaklyConnectedComponentMembership as d_, type StoreHooks as da, type StorePopulationStatistics as db, type StoreProjection as dc, type StoreRef as dd, StoreSearch as de, type StoreTransactionOptions as df, type StoreValidationFailure as dg, type StoreValidationPage as dh, StoreView as di, type StoreViewCanReachOptions as dj, type StoreViewCoordinate as dk, type StoreViewDegreeOptions as dl, type StoreViewEdgeCollection as dm, type StoreViewEdgeCollections as dn, type StoreViewGraphAlgorithms as dp, type StoreViewLabelPropagationOptions as dq, type StoreViewNeighborsOptions as dr, type StoreViewNodeCollection as ds, type StoreViewNodeCollections as dt, type StoreViewPageRankOptions as du, type StoreViewPersonalizedPageRankOptions as dv, type StoreViewReachableOptions as dw, type StoreViewShortestPathOptions as dx, type StoreViewSubgraphOptions as dy, type StoreViewWeaklyConnectedComponentsOptions as dz, type IdentityAssertionId as e, type WeightedShortestPathOptions as e0, type WeightedShortestPathResult as e1, type WorkingCopyOptions as e2, asIdentityAssertionId as e3, compareAndSetAbsent as e4, createAdapterStore as e5, createAdapterStoreWithSchema as e6, createQueryBuilder as e7, createStore as e8, createStoreWithSchema as e9, createVerifiedAdapterStore as ea, createVerifiedStore as eb, defineSubgraphProject as ec, exists as ed, fieldRef as ee, inSubquery as ef, isParameterRef as eg, notExists as eh, notInSubquery as ei, param as ej, EDGE_TEMPORAL_READ_NAMES as ek, IDENTITY_READ_NAMES as el, type IdentityAssertionResult as f, type IdentityFacade as g, type IdentityNode as h, type IdentityNodeRefInput as i, type IdentityPair as j, type IdentityReadFacade as k, type IdentityRelation as l, type IdentityWriteSummary as m, type ReconciledSchema as n, type EvolutionRequirement as o, type EvolutionRequirements as p, type MigrationHookContext as q, type SchemaValidationResult as r, applyDeprecatedKinds as s, assertSchemaCurrent as t, ensureSchema as u, getActiveSchema as v, getCommittedSchemaVersion as w, getSchemaChanges as x, initializeSchema as y, isSchemaInitialized as z };
|
|
@@ -6649,6 +6649,20 @@ type InsertNodeParams = Readonly<{
|
|
|
6649
6649
|
validFrom?: string | null;
|
|
6650
6650
|
validTo?: string;
|
|
6651
6651
|
}>;
|
|
6652
|
+
/** One validated plain caller-ID member of the heterogeneous node upsert CTE. */
|
|
6653
|
+
type HeterogeneousNodeUpsertEntry = Readonly<{
|
|
6654
|
+
kind: string;
|
|
6655
|
+
id: string;
|
|
6656
|
+
/** Complete create-parsed document used for inserts and resurrections. */
|
|
6657
|
+
props: Readonly<Record<string, unknown>>;
|
|
6658
|
+
/** Caller patch used only when the target row is already live. */
|
|
6659
|
+
updateProps: Readonly<Record<string, unknown>>;
|
|
6660
|
+
}>;
|
|
6661
|
+
/** Exact-session input for the PostgreSQL heterogeneous node upsert lowering. */
|
|
6662
|
+
type HeterogeneousNodeUpsertParams = Readonly<{
|
|
6663
|
+
entries: readonly HeterogeneousNodeUpsertEntry[];
|
|
6664
|
+
schemaFence: SchemaWriteFenceParams;
|
|
6665
|
+
}>;
|
|
6652
6666
|
/**
|
|
6653
6667
|
* A backend validity-end mutation. Omission preserves the stored end,
|
|
6654
6668
|
* `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
|
|
@@ -8042,6 +8056,8 @@ type GraphBackend = Readonly<{
|
|
|
8042
8056
|
insertNodesBatch?: (this: void, params: readonly InsertNodeParams[]) => Promise<void>;
|
|
8043
8057
|
insertNodesBatchReturning?: (this: void, params: readonly InsertNodeParams[]) => Promise<readonly NodeRow[]>;
|
|
8044
8058
|
updateNode: (this: void, params: UpdateNodeParams) => Promise<NodeRow>;
|
|
8059
|
+
/** One data-modifying CTE for plain caller-ID node upserts across kinds. */
|
|
8060
|
+
upsertHeterogeneousNodes?: (this: void, params: HeterogeneousNodeUpsertParams) => Promise<readonly NodeRow[]>;
|
|
8045
8061
|
updateNodeSet?: (this: void, params: UpdateNodeSetParams) => Promise<UpdateNodeSetResult>;
|
|
8046
8062
|
updateResolvedNodesBatch?: (this: void, params: ResolvedNodeUpdateBatchParams) => Promise<readonly NodeRow[]>;
|
|
8047
8063
|
compareAndSetNode?: (this: void, params: CompareAndSetNodeParams) => Promise<UpdateNodeSetResult>;
|
|
@@ -8998,7 +9014,7 @@ type AdoptedSchemaWriteTransaction = Readonly<{
|
|
|
8998
9014
|
}>;
|
|
8999
9015
|
type BackendIdentity = Pick<GraphBackend, "dialect" | "capabilities" | "tableNames" | "fulltextStrategy" | "vectorStrategy" | "fenceSql">;
|
|
9000
9016
|
type NodeEntityReadBackend = Pick<GraphBackend, "getNode" | "getNodes" | "findNodesByKind" | "countNodesByKind">;
|
|
9001
|
-
type NodeEntityWriteBackend = Pick<GraphBackend, "insertNode" | "insertNodeIfAbsent" | "insertNodeIfAbsentWithSchemaFence" | "insertNodeWithSchemaFence" | "commands" | "insertNodeNoReturn" | "insertNodesBatch" | "insertNodesBatchReturning" | "updateNode" | "updateResolvedNodesBatch" | "compareAndSetNode" | "updateNodeSet" | "deleteNode" | "hardDeleteNode">;
|
|
9017
|
+
type NodeEntityWriteBackend = Pick<GraphBackend, "insertNode" | "insertNodeIfAbsent" | "insertNodeIfAbsentWithSchemaFence" | "insertNodeWithSchemaFence" | "commands" | "insertNodeNoReturn" | "insertNodesBatch" | "insertNodesBatchReturning" | "updateNode" | "upsertHeterogeneousNodes" | "updateResolvedNodesBatch" | "compareAndSetNode" | "updateNodeSet" | "deleteNode" | "hardDeleteNode">;
|
|
9002
9018
|
type EdgeEntityReadBackend = Pick<GraphBackend, "getEdge" | "getEdges" | "countEdgesFrom" | "edgeExistsBetween" | "findEdgesConnectedTo" | "findEdgesByKind" | "findEdgesByEndpointSet" | "findEdgesByHeterogeneousEndpointSet" | "countEdgesByKind">;
|
|
9003
9019
|
type EdgeEntityWriteBackend = Pick<GraphBackend, "insertEdge" | "commands" | "insertEdgeNoReturn" | "insertEdgesBatch" | "insertEdgesBatchReturning" | "insertEdgesDurableBatchReturning" | "updateEdge" | "deleteEdge" | "deleteEdgesBatch" | "hardDeleteEdge" | "hardDeleteEdgesBatch">;
|
|
9004
9020
|
type GraphEntityReadBackend = NodeEntityReadBackend & EdgeEntityReadBackend;
|
|
@@ -9607,4 +9623,4 @@ declare const SQLITE_CAPABILITIES: BackendCapabilities;
|
|
|
9607
9623
|
*/
|
|
9608
9624
|
declare const POSTGRES_CAPABILITIES: BackendCapabilities;
|
|
9609
9625
|
|
|
9610
|
-
export { type VectorIndexImplementation as $, type AdapterBackend as A, type BundledBackendCapabilityOverrides as B, type ContributionDiagnostic as C, type IndexWhereExpression as D, type EdgeConvergenceMatch as E, type FenceSql as F, type GraphIdentityConfig as G, type IndexWhereFieldBuilder as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexWhereInput as L, NODE_SYSTEM_COLUMN_NAMES as M, type NodeInsertClaim as N, type NodeIndexConfig as O, type NodeIndexKey as P, type QueryAst as Q, type RecordedInstant as R, type SchemaProvisioning as S, type TransactionBackend as T, type NodeIndexKeyInput as U, type VectorStrategy as V, type WriteFencePlan as W, type NodeIndexWhereBuilder as X, type NodeSystemColumnName as Y, type SystemColumnName as Z, type VectorIndexDeclaration as _, type ContributionDiagnosticState as a, type CatalogColumn as a$, type VectorIndexMetric as a0, type VectorIndexParams as a1, type BackendCapabilities as a2, type VectorSlot as a3, type AnyEdgeType as a4, type NodeType as a5, type SerializedNodeDef as a6, type SerializedEdgeDef as a7, type SerializedMetaEdge as a8, type SerializedOntologyRelation as a9, type GraphCommandPort as aA, type GraphCommandCoordination as aB, type GraphCommandExecutionContext as aC, type NodeCreateCommand as aD, type NodeCreateCommandResult as aE, type EdgeCreateCommand as aF, type EdgeCreateCommandResult as aG, type EdgeConvergeCreateCommand as aH, type EdgeConvergeCreateCommandResult as aI, type GraphCommand as aJ, type GraphCommandResult as aK, type GraphCommandSession as aL, type GraphCommandIsolation as aM, TypeGraphError as aN, type FindEdgesByEndpointSetParams as aO, ALL_FULLTEXT_MODES as aP, ALL_META_EDGE_NAMES as aQ, type AdapterBackendTransactions as aR, BASE_CONTRIBUTION_OWNER as aS, type BackendCatalogProbes as aT, type BackendExecutionCapabilities as aU, type BackendIdentity as aV, type BackendLifecycle as aW, type BackendMaintenance as aX, type BackendTransactions as aY, type Cardinality as aZ, type CatalogBackend as a_, type SerializedClosures as aa, type SerializedSchema as ab, type SchemaHash as ac, type NullCheckOp as ad, type ValidationIssue as ae, ValidationError as af, type ChangeSeverity as ag, type ChangeType as ah, type DeprecatedKindsChange as ai, type EdgeChange as aj, type ExtensionChange as ak, type GraphAnnotationsChange as al, type IdentityChange as am, type IndexChange as an, type JsonSchema as ao, type NodeChange as ap, type OntologyChange as aq, type SchemaChangeClassification as ar, type SchemaDiff as as, type SchemaIdentity as at, type SerializedOntology as au, type SerializedUniqueConstraint as av, classifySchemaChanges as aw, computeSchemaDiff as ax, getMigrationActions as ay, isBackwardsCompatible as az, type ContributionRepairEntry as b, type EntityKey as b$, type CatalogIndexBehavior as b0, type CheckUniqueBatchParams as b1, type CheckUniqueParams as b2, type ClaimIndexMaterializationParams as b3, type Collation as b4, type CommitSchemaVersionExpected as b5, type CommitSchemaVersionIfKindsEmptyResult as b6, type CommitSchemaVersionParams as b7, type CompareAndSetNodeParams as b8, type CompiledRowsSql as b9, type DatabaseExtensionName as bA, type DeleteBehavior as bB, type DeleteEdgeParams as bC, type DeleteEdgesBatchParams as bD, type DeleteEmbeddingParams as bE, type DeleteFulltextBatchParams as bF, type DeleteFulltextParams as bG, type DeleteNodeParams as bH, type DeleteUniqueParams as bI, type DialectAdapter as bJ, type DialectCapabilities as bK, type DialectRecursiveQueryStrategy as bL, type DialectStandardQueryStrategy as bM, type DialectSubgraphMembershipStrategy as bN, type DialectVectorPredicateStrategy as bO, type DisjointOverlapRow as bP, type DropVectorIndexParams as bQ, type DurableEdgeBatchMembers as bR, type EdgeCardinalityDeclaration as bS, type EdgeClaimOutcome as bT, type EdgeEntityReadBackend as bU, type EdgeEntityWriteBackend as bV, type EdgeExistsBetweenParams as bW, type EndpointExistence as bX, type EngineRecordedRevision as bY, type EngineRecordedTimeMembers as bZ, type EngineRevision as b_, type CompiledSelectSql as ba, type CompiledStatementSql as bb, type CompiledTemporaryStatementSql as bc, type ConstraintFenceViolationRows as bd, type ContendedEdgeRow as be, type ContendedUniqueRow as bf, type ContributionCapabilities as bg, type ContributionMaterializationBackend as bh, type ContributionMaterializationIdentity as bi, type ContributionMaterializationRow as bj, type ContributionProbeContribution as bk, type ContributionProbeEntry as bl, type ContributionProbeResult as bm, type ContributionProbeState as bn, type ContributionRebuildResult as bo, type ContributionRebuildScope as bp, type ContributionRepopulationStats as bq, type ContributionScope as br, type CountEdgesByKindParams as bs, type CountEdgesFromParams as bt, type CountNodesByKindParams as bu, type CreateVectorIndexParams as bv, D1_MAX_BIND_PARAMETERS as bw, DATABASE_EXTENSION_NAMES as bx, DEPLOYMENT_CONTRIBUTION_GRAPH_ID as by, DURABLE_OBJECT_MAX_BIND_PARAMETERS as bz, type ContributionRepairResult as c, type KindAnnotations as c$, type ExtensionArrayItemType as c0, type ExtensionArrayProperty as c1, type ExtensionBooleanProperty as c2, type ExtensionEdgeDef as c3, type ExtensionEdgeIndex as c4, type ExtensionEmbeddingModifier as c5, type ExtensionEnumProperty as c6, type ExtensionIndex as c7, type ExtensionIndexWhere as c8, type ExtensionNodeDef as c9, type GraphEntityWriteBackend as cA, type GraphExtension as cB, type GraphExtensionVersion as cC, type GraphLifecycleBackend as cD, type GraphReadBackend as cE, type HardDeleteEdgeParams as cF, type HardDeleteNodeParams as cG, type HardDeleteUniquesByConcreteKindParams as cH, type HardDeleteUniquesByNodeIdsParams as cI, type HybridSearchParams as cJ, type HybridSearchRow as cK, type IdentityTableNames as cL, type InListParameterOptions as cM, type IndexDeclarationBase as cN, type IndexEntity as cO, type IndexMaterializationBackend as cP, type IndexMaterializationRow as cQ, type IndexState as cR, type IndexWhereLiteral as cS, type IndexWhereOp as cT, type IndexWhereOperand as cU, type InferenceType as cV, type InsertSchemaParams as cW, type InsertUniqueParams as cX, type IntentSql as cY, type JsonScalar as cZ, type JsonValue as c_, type ExtensionNodeIndex as ca, type ExtensionNumberProperty as cb, type ExtensionObjectFieldProperty as cc, type ExtensionObjectProperty as cd, type ExtensionOntologyRelation as ce, type ExtensionPropertyModifiers as cf, type ExtensionPropertyType as cg, type ExtensionSearchableModifier as ch, type ExtensionStringProperty as ci, type ExtensionUniqueConstraint as cj, type ExtensionUniqueWhere as ck, FULLTEXT_CONTRIBUTION_NAME as cl, type FilteredApproximateSearch as cm, type FilteredApproximateSearchMode as cn, type FindEdgesByHeterogeneousEndpointSetParams as co, type FindEdgesByKindParams as cp, type FindEdgesConnectedToParams as cq, type FindNodesByKindParams as cr, type FulltextBatchRow as cs, type FulltextCapabilities as ct, type FulltextOperationBackend as cu, type FulltextQueryMode as cv, type FulltextSearchParams as cw, type FulltextSearchResult as cx, type GraphAnalyticsCapabilities as cy, type GraphEntityReadBackend as cz, type FulltextStrategy as d, type TableContribution as d$, type KindRemovalRow as d0, type LineageBackend as d1, type LineageDelta as d2, type LineageMembers as d3, type LineageSession as d4, type LiveNodeRow as d5, type LockSchemaVersionForWriteParams as d6, MODERN_SQLITE_MAX_BIND_PARAMETERS as d7, type ManagedEdgeCreatePlan as d8, type ManagedNodeCreateMode as d9, type RecursiveTraversalVerdict as dA, type RelationalIndexMethod as dB, type ReleaseIndexMaterializationClaimParams as dC, type RemovalMaterializationBackend as dD, type RenderedSql as dE, type ResolvedNodeUpdateBatchEntry as dF, type ResolvedNodeUpdateBatchParams as dG, type ResolvedSqlTableNames as dH, type RowProps as dI, SQLITE_CAPABILITIES as dJ, SQLITE_MAX_BIND_PARAMETERS as dK, type SchemaCommitBackend as dL, type SchemaCommitPreflightBackend as dM, type SchemaKindEmptinessProbe as dN, type SchemaReadBackend as dO, type SchemaWriteFenceBackend as dP, type SetActiveVersionParams as dQ, type SqlChunk as dR, type SqlCompilationBackend as dS, type SqlFragment as dT, type SqlIdentifierChunk as dU, type SqlIntent as dV, type SqlParameterChunk as dW, type SqlPlaceholderChunk as dX, type SqlTag as dY, type SqlTextChunk as dZ, type StrategyTableContribution as d_, type ManagedNodeCreatePlan as da, type MetaEdgeName as db, type NodeEntityReadBackend as dc, type NodeEntityWriteBackend as dd, type NodeInsertClaimVerdict as de, type NodePropertyExpectation as df, type NormalizedColumnKind as dg, POSTGRES_CAPABILITIES as dh, POSTGRES_MAX_BIND_PARAMETERS as di, Placeholder as dj, type PopulatedSchemaKind as dk, type PurgeEdgeClaimsParams as dl, type QueryExecutionBackend as dm, type RawQueryExecutionBackend as dn, type RawStatementExecutionBackend as dp, type ReadConstraintFenceViolationsParams as dq, type RecordContributionMaterializationParams as dr, type RecordIndexMaterializationParams as ds, type RecordKindRemovalParams as dt, type RecordedRelationDdl as du, type RecordedSourceTable as dv, type RecordedTableNames as dw, type RecordedTimeBackend as dx, type RecordedTimeSession as dy, type RecursiveTraversalCapability as dz, type GraphDef as e, type FieldRef as e$, type TableState as e0, type TemporalMode as e1, type TombstonedNodeRow as e2, type TransactionOptions as e3, type TransactionReadBackend as e4, type TrustedImportOptions as e5, type TrustedImportSession as e6, type UniqueConstraintBackend as e7, type UniqueRow as e8, type UniquenessScope as e9, fts5Strategy as eA, isLiveNodeRow as eB, isSqlFragment as eC, isSqlPlaceholder as eD, isTombstonedNodeRow as eE, normalizeGraphAnalyticsCapabilities as eF, quoteIdentifier as eG, recursiveTraversalUnsupportedError as eH, renderPostgres as eI, renderSql as eJ, renderSqlInline as eK, renderSqlite as eL, requireWriteFence as eM, resolveRecursiveTraversal as eN, resolveWriteFencePlan as eO, rowPropsToJsonText as eP, rowPropsToObject as eQ, shortHash as eR, sql as eS, supportsInteractiveTransactions as eT, supportsRootAtomicBatch as eU, tsvectorStrategy as eV, vectorMinScoreCondition as eW, vectorPhysicalName as eX, vectorScoreExpression as eY, type TraversalDirection as eZ, type AggregateExpr as e_, type UpdateEdgeParams as ea, type UpdateNodeParams as eb, type UpdateNodeSetParams as ec, type UpdateNodeSetResult as ed, type UpsertEmbeddingBatchParams as ee, type UpsertEmbeddingBatchRow as ef, type UpsertEmbeddingParams as eg, type UpsertFulltextBatchParams as eh, type UpsertFulltextParams as ei, VECTOR_CONTRIBUTION_PREFIX as ej, type ValueType as ek, type VectorCapabilities as el, type VectorIndexType as em, type VectorMetric as en, type VectorOperationBackend as eo, type VectorSearchFrontierTuning as ep, type VectorSearchParams as eq, type VectorSearchResult as er, type WriteFenceDeclaration as es, assertFiniteEmbedding as et, assertRecursiveTraversal as eu, assertVectorMinScore as ev, assertVectorSearchLimit as ew, assumeRecursiveTraversalSupported as ex, buildFulltextCapabilities as ey, buildVectorCapabilities as ez, type SchemaVersionRow as f, INVERTED_VALIDITY_WINDOW_CODE as f$, type ComparisonOp as f0, type AggregateComparisonPredicate as f1, type OntologyRelation as f2, type AllEdgeTypes as f3, type AllNodeTypes as f4, BackendDisposedError as f5, BaseSchemaMigrationError as f6, type BaseSchemaMigrationErrorDetails as f7, CURRENT_GRAPH_EXTENSION_VERSION as f8, CardinalityError as f9, EdgeNotFoundError as fA, type EdgeNotFoundErrorDetails as fB, type EdgeProps as fC, type EdgeRegistration as fD, type EdgeTargetMap as fE, type EdgeTargets as fF, type EdgeType as fG, type EdgeTypeWithEndpoints as fH, EmbeddingDimensionChangedError as fI, type EmbeddingDimensionChangedErrorDetails as fJ, EndpointError as fK, type EndpointErrorDetails as fL, EndpointNotFoundError as fM, type EndpointNotFoundErrorDetails as fN, EndpointPairError as fO, type EndpointPairErrorDetails as fP, type ErrorCategory as fQ, ExportStreamCancelledError as fR, ExportStreamIdleTimeoutError as fS, type ExternalRecordedReadSource as fT, type GetEdgeType as fU, type GetNodeType as fV, GraphAlgorithmConvergenceError as fW, type GraphAnnotations as fX, type GraphDefaults as fY, type HybridFusionOptions as fZ, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as f_, type CardinalityErrorDetails as fa, type CollectOptions as fb, type CollectOrder as fc, type CollectRecordFields as fd, type CollectRecordOperand as fe, type CollectedRecord as ff, CompilerInvariantError as fg, ConfigurationError as fh, type ContributionRebuildRefusal as fi, ContributionRebuildUnsupportedError as fj, ContributionUnavailableError as fk, type ContributionUnavailableErrorDetails as fl, DEFAULT_SQL_SCHEMA as fm, type DatabaseExpression as fn, DatabaseOperationError as fo, type DatabaseOperationErrorDetails as fp, DisjointError as fq, type DisjointErrorDetails as fr, EDGE_IDENTITY_MISMATCH_CODE as fs, ENTITY_ALREADY_EXISTS_CODE as ft, EagerMaterializationError as fu, type EagerMaterializationErrorDetails as fv, type EdgeId as fw, type EdgeKinds as fx, type EdgeMatchIdentity as fy, EdgeMatchIdentityConflictError as fz, type GraphBackend as g, SqlSchema as g$, IdentityContradictionError as g0, type IdentityContradictionErrorDetails as g1, IdentityEndpointValidityError as g2, type IdentityEndpointValidityErrorDetails as g3, IdentitySeparationViolationError as g4, type IdentitySeparationViolationErrorDetails as g5, IdentityValidityWindowError as g6, type IdentityValidityWindowErrorDetails as g7, InvalidEdgeWeightError as g8, type InvalidEdgeWeightErrorDetails as g9, NodeNotFoundError as gA, type NodeNotFoundErrorDetails as gB, type NodeProps as gC, type NodeRegistration as gD, type OrderSpec as gE, type ParameterRef as gF, RECORDED_CAPTURE_GUARD_CODES as gG, type RecordedCaptureGuardCode as gH, type RecordedCaptureGuardError as gI, type RecordedReadSource as gJ, type RecordedRelationOptions as gK, type ResolveJsonPointer as gL, type ResolveJsonPointerSegments as gM, RestrictedDeleteError as gN, type RestrictedDeleteErrorDetails as gO, RuntimeKindTokenError as gP, type RuntimeKindTokenFailure as gQ, SchemaChangedError as gR, type SchemaChangedErrorDetails as gS, SchemaContentConflictError as gT, type SchemaContentConflictErrorDetails as gU, type SchemaFencePhase as gV, SchemaFenceTimeoutError as gW, type SchemaFenceTimeoutErrorDetails as gX, SchemaMismatchError as gY, type SchemaMismatchErrorDetails as gZ, type SortDirection as g_, type InvalidEdgeWeightReason as ga, type JsonPointerFor as gb, type JsonPointerInput as gc, type JsonPointerSegment as gd, type JsonPointerSegments as ge, type JsonPointerSegmentsFor as gf, KindNotFoundError as gg, type KindNotFoundErrorDetails as gh, LEGACY_GRAPH_EXTENSION_VERSION as gi, MAX_JSON_POINTER_DEPTH as gj, MIGRATION_FAILURE_REASONS as gk, type MaterializeIndexesEntry as gl, type MaterializeIndexesOptions as gm, type MaterializeIndexesResult as gn, type MaterializeSystemIndexesOptions as go, type MetaEdge as gp, type MetaEdgeProperties as gq, MigrationError as gr, type MigrationErrorDetails as gs, type MigrationFailureReason as gt, NodeConstraintNotFoundError as gu, type NodeConstraintNotFoundErrorDetails as gv, type NodeId as gw, NodeIndexNotFoundError as gx, type NodeIndexNotFoundErrorDetails as gy, type NodeKinds as gz, type AdoptedSchemaWriteTransaction as h, type BackendValidityEndMutation as h$, StaleVersionError as h0, type StaleVersionErrorDetails as h1, StoreNotInitializedError as h2, type StoreNotInitializedErrorDetails as h3, type StoreNotInitializedReason as h4, TransactionClosedError as h5, TransactionConflictError as h6, type TransactionConflictErrorDetails as h7, type TraversalExpansion as h8, TrustedImportError as h9, isRecordedCaptureGuardError as hA, isSystemError as hB, isTypeGraphError as hC, isUserRecoverable as hD, joinJsonPointers as hE, jsonPointer as hF, normalizeJsonPointer as hG, parseJsonPointer as hH, recordedInstantRevision as hI, recordedInstantWallTime as hJ, recordedRelation as hK, type WriteFenceTarget as hL, type SchemaWriteTransactionBackend as hM, type PredicateExpression as hN, type VectorMetricType as hO, type VectorSlotMap as hP, type RecordedReadBinding as hQ, type Traversal as hR, type NodePredicate as hS, type ProjectedField as hT, type AggregateOrderSpec as hU, type GroupBySpec as hV, type RecursiveCyclePolicy as hW, type SelectiveField as hX, type ComposableQuery as hY, type SetOperationType as hZ, type SetOperation as h_, type TrustedImportErrorReason as ha, type TypeGraphErrorOptions as hb, type UniqueConstraint as hc, UniquenessError as hd, type UniquenessErrorDetails as he, UnsupportedBackendCapabilityError as hf, UnsupportedPredicateError as hg, type ValidationErrorDetails as hh, VersionConflictError as hi, type VersionConflictErrorDetails as hj, asEdgeId as hk, asNodeId as hl, asRecordedInstant as hm, compareRecordedInstants as hn, createSqlSchema as ho, defineGraph as hp, expr as hq, getEdgeKinds as hr, getErrorSuggestion as hs, getNodeKinds as ht, isConstraintError as hu, isEdgeType as hv, isEdgeTypeWithEndpoints as hw, isGraphDef as hx, isMetaEdge as hy, isNodeType as hz, type FenceStatements as i, type ReadCoordinate as i0, type ExtensionObjectSchema as i1, type ExtensionEdgeProperties as i2, type AnyEdgeRegistration as i3, type ExtensionObjectOutput as i4, type ExtensionPropertyOutput as i5, GRAPH_EXTENSION_TOP_LEVEL_KEYS as i6, type GraphExtensionTopLevelKey as i7, type InsertNodeParams as j, type NodeInsertProjection as k, type SchemaWriteFenceParams as l, type InsertEdgeParams as m, type EdgeRow as n, type ClaimEdgeCardinalityParams as o, type NodeRow as p, type SqlTableNames as q, type EdgeIndexDeclaration as r, type SqlDialect as s, type RelationalIndexDeclaration as t, type NodeIndexDeclaration as u, type EdgeIndexConfig as v, type EdgeIndexDirection as w, type EdgeIndexWhereBuilder as x, type IndexOrigin as y, type IndexScope as z };
|
|
9626
|
+
export { type VectorIndexImplementation as $, type AdapterBackend as A, type BundledBackendCapabilityOverrides as B, type ContributionDiagnostic as C, type IndexWhereExpression as D, type EdgeConvergenceMatch as E, type FenceSql as F, type GraphIdentityConfig as G, type IndexWhereFieldBuilder as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexWhereInput as L, NODE_SYSTEM_COLUMN_NAMES as M, type NodeInsertClaim as N, type NodeIndexConfig as O, type NodeIndexKey as P, type QueryAst as Q, type RecordedInstant as R, type SchemaProvisioning as S, type TransactionBackend as T, type NodeIndexKeyInput as U, type VectorStrategy as V, type WriteFencePlan as W, type NodeIndexWhereBuilder as X, type NodeSystemColumnName as Y, type SystemColumnName as Z, type VectorIndexDeclaration as _, type ContributionDiagnosticState as a, type CatalogColumn as a$, type VectorIndexMetric as a0, type VectorIndexParams as a1, type BackendCapabilities as a2, type VectorSlot as a3, type AnyEdgeType as a4, type NodeType as a5, type SerializedNodeDef as a6, type SerializedEdgeDef as a7, type SerializedMetaEdge as a8, type SerializedOntologyRelation as a9, type GraphCommandPort as aA, type GraphCommandCoordination as aB, type GraphCommandExecutionContext as aC, type NodeCreateCommand as aD, type NodeCreateCommandResult as aE, type EdgeCreateCommand as aF, type EdgeCreateCommandResult as aG, type EdgeConvergeCreateCommand as aH, type EdgeConvergeCreateCommandResult as aI, type GraphCommand as aJ, type GraphCommandResult as aK, type GraphCommandSession as aL, type GraphCommandIsolation as aM, TypeGraphError as aN, type FindEdgesByEndpointSetParams as aO, ALL_FULLTEXT_MODES as aP, ALL_META_EDGE_NAMES as aQ, type AdapterBackendTransactions as aR, BASE_CONTRIBUTION_OWNER as aS, type BackendCatalogProbes as aT, type BackendExecutionCapabilities as aU, type BackendIdentity as aV, type BackendLifecycle as aW, type BackendMaintenance as aX, type BackendTransactions as aY, type Cardinality as aZ, type CatalogBackend as a_, type SerializedClosures as aa, type SerializedSchema as ab, type SchemaHash as ac, type NullCheckOp as ad, type ValidationIssue as ae, ValidationError as af, type ChangeSeverity as ag, type ChangeType as ah, type DeprecatedKindsChange as ai, type EdgeChange as aj, type ExtensionChange as ak, type GraphAnnotationsChange as al, type IdentityChange as am, type IndexChange as an, type JsonSchema as ao, type NodeChange as ap, type OntologyChange as aq, type SchemaChangeClassification as ar, type SchemaDiff as as, type SchemaIdentity as at, type SerializedOntology as au, type SerializedUniqueConstraint as av, classifySchemaChanges as aw, computeSchemaDiff as ax, getMigrationActions as ay, isBackwardsCompatible as az, type ContributionRepairEntry as b, type EntityKey as b$, type CatalogIndexBehavior as b0, type CheckUniqueBatchParams as b1, type CheckUniqueParams as b2, type ClaimIndexMaterializationParams as b3, type Collation as b4, type CommitSchemaVersionExpected as b5, type CommitSchemaVersionIfKindsEmptyResult as b6, type CommitSchemaVersionParams as b7, type CompareAndSetNodeParams as b8, type CompiledRowsSql as b9, type DatabaseExtensionName as bA, type DeleteBehavior as bB, type DeleteEdgeParams as bC, type DeleteEdgesBatchParams as bD, type DeleteEmbeddingParams as bE, type DeleteFulltextBatchParams as bF, type DeleteFulltextParams as bG, type DeleteNodeParams as bH, type DeleteUniqueParams as bI, type DialectAdapter as bJ, type DialectCapabilities as bK, type DialectRecursiveQueryStrategy as bL, type DialectStandardQueryStrategy as bM, type DialectSubgraphMembershipStrategy as bN, type DialectVectorPredicateStrategy as bO, type DisjointOverlapRow as bP, type DropVectorIndexParams as bQ, type DurableEdgeBatchMembers as bR, type EdgeCardinalityDeclaration as bS, type EdgeClaimOutcome as bT, type EdgeEntityReadBackend as bU, type EdgeEntityWriteBackend as bV, type EdgeExistsBetweenParams as bW, type EndpointExistence as bX, type EngineRecordedRevision as bY, type EngineRecordedTimeMembers as bZ, type EngineRevision as b_, type CompiledSelectSql as ba, type CompiledStatementSql as bb, type CompiledTemporaryStatementSql as bc, type ConstraintFenceViolationRows as bd, type ContendedEdgeRow as be, type ContendedUniqueRow as bf, type ContributionCapabilities as bg, type ContributionMaterializationBackend as bh, type ContributionMaterializationIdentity as bi, type ContributionMaterializationRow as bj, type ContributionProbeContribution as bk, type ContributionProbeEntry as bl, type ContributionProbeResult as bm, type ContributionProbeState as bn, type ContributionRebuildResult as bo, type ContributionRebuildScope as bp, type ContributionRepopulationStats as bq, type ContributionScope as br, type CountEdgesByKindParams as bs, type CountEdgesFromParams as bt, type CountNodesByKindParams as bu, type CreateVectorIndexParams as bv, D1_MAX_BIND_PARAMETERS as bw, DATABASE_EXTENSION_NAMES as bx, DEPLOYMENT_CONTRIBUTION_GRAPH_ID as by, DURABLE_OBJECT_MAX_BIND_PARAMETERS as bz, type ContributionRepairResult as c, type JsonScalar as c$, type ExtensionArrayItemType as c0, type ExtensionArrayProperty as c1, type ExtensionBooleanProperty as c2, type ExtensionEdgeDef as c3, type ExtensionEdgeIndex as c4, type ExtensionEmbeddingModifier as c5, type ExtensionEnumProperty as c6, type ExtensionIndex as c7, type ExtensionIndexWhere as c8, type ExtensionNodeDef as c9, type GraphEntityWriteBackend as cA, type GraphExtension as cB, type GraphExtensionVersion as cC, type GraphLifecycleBackend as cD, type GraphReadBackend as cE, type HardDeleteEdgeParams as cF, type HardDeleteNodeParams as cG, type HardDeleteUniquesByConcreteKindParams as cH, type HardDeleteUniquesByNodeIdsParams as cI, type HeterogeneousNodeUpsertEntry as cJ, type HeterogeneousNodeUpsertParams as cK, type HybridSearchParams as cL, type HybridSearchRow as cM, type IdentityTableNames as cN, type InListParameterOptions as cO, type IndexDeclarationBase as cP, type IndexEntity as cQ, type IndexMaterializationBackend as cR, type IndexMaterializationRow as cS, type IndexState as cT, type IndexWhereLiteral as cU, type IndexWhereOp as cV, type IndexWhereOperand as cW, type InferenceType as cX, type InsertSchemaParams as cY, type InsertUniqueParams as cZ, type IntentSql as c_, type ExtensionNodeIndex as ca, type ExtensionNumberProperty as cb, type ExtensionObjectFieldProperty as cc, type ExtensionObjectProperty as cd, type ExtensionOntologyRelation as ce, type ExtensionPropertyModifiers as cf, type ExtensionPropertyType as cg, type ExtensionSearchableModifier as ch, type ExtensionStringProperty as ci, type ExtensionUniqueConstraint as cj, type ExtensionUniqueWhere as ck, FULLTEXT_CONTRIBUTION_NAME as cl, type FilteredApproximateSearch as cm, type FilteredApproximateSearchMode as cn, type FindEdgesByHeterogeneousEndpointSetParams as co, type FindEdgesByKindParams as cp, type FindEdgesConnectedToParams as cq, type FindNodesByKindParams as cr, type FulltextBatchRow as cs, type FulltextCapabilities as ct, type FulltextOperationBackend as cu, type FulltextQueryMode as cv, type FulltextSearchParams as cw, type FulltextSearchResult as cx, type GraphAnalyticsCapabilities as cy, type GraphEntityReadBackend as cz, type FulltextStrategy as d, type SqlTextChunk as d$, type JsonValue as d0, type KindAnnotations as d1, type KindRemovalRow as d2, type LineageBackend as d3, type LineageDelta as d4, type LineageMembers as d5, type LineageSession as d6, type LiveNodeRow as d7, type LockSchemaVersionForWriteParams as d8, MODERN_SQLITE_MAX_BIND_PARAMETERS as d9, type RecordedTimeSession as dA, type RecursiveTraversalCapability as dB, type RecursiveTraversalVerdict as dC, type RelationalIndexMethod as dD, type ReleaseIndexMaterializationClaimParams as dE, type RemovalMaterializationBackend as dF, type RenderedSql as dG, type ResolvedNodeUpdateBatchEntry as dH, type ResolvedNodeUpdateBatchParams as dI, type ResolvedSqlTableNames as dJ, type RowProps as dK, SQLITE_CAPABILITIES as dL, SQLITE_MAX_BIND_PARAMETERS as dM, type SchemaCommitBackend as dN, type SchemaCommitPreflightBackend as dO, type SchemaKindEmptinessProbe as dP, type SchemaReadBackend as dQ, type SchemaWriteFenceBackend as dR, type SetActiveVersionParams as dS, type SqlChunk as dT, type SqlCompilationBackend as dU, type SqlFragment as dV, type SqlIdentifierChunk as dW, type SqlIntent as dX, type SqlParameterChunk as dY, type SqlPlaceholderChunk as dZ, type SqlTag as d_, type ManagedEdgeCreatePlan as da, type ManagedNodeCreateMode as db, type ManagedNodeCreatePlan as dc, type MetaEdgeName as dd, type NodeEntityReadBackend as de, type NodeEntityWriteBackend as df, type NodeInsertClaimVerdict as dg, type NodePropertyExpectation as dh, type NormalizedColumnKind as di, POSTGRES_CAPABILITIES as dj, POSTGRES_MAX_BIND_PARAMETERS as dk, Placeholder as dl, type PopulatedSchemaKind as dm, type PurgeEdgeClaimsParams as dn, type QueryExecutionBackend as dp, type RawQueryExecutionBackend as dq, type RawStatementExecutionBackend as dr, type ReadConstraintFenceViolationsParams as ds, type RecordContributionMaterializationParams as dt, type RecordIndexMaterializationParams as du, type RecordKindRemovalParams as dv, type RecordedRelationDdl as dw, type RecordedSourceTable as dx, type RecordedTableNames as dy, type RecordedTimeBackend as dz, type GraphDef as e, type TraversalDirection as e$, type StrategyTableContribution as e0, type TableContribution as e1, type TableState as e2, type TemporalMode as e3, type TombstonedNodeRow as e4, type TransactionOptions as e5, type TransactionReadBackend as e6, type TrustedImportOptions as e7, type TrustedImportSession as e8, type UniqueConstraintBackend as e9, buildFulltextCapabilities as eA, buildVectorCapabilities as eB, fts5Strategy as eC, isLiveNodeRow as eD, isSqlFragment as eE, isSqlPlaceholder as eF, isTombstonedNodeRow as eG, normalizeGraphAnalyticsCapabilities as eH, quoteIdentifier as eI, recursiveTraversalUnsupportedError as eJ, renderPostgres as eK, renderSql as eL, renderSqlInline as eM, renderSqlite as eN, requireWriteFence as eO, resolveRecursiveTraversal as eP, resolveWriteFencePlan as eQ, rowPropsToJsonText as eR, rowPropsToObject as eS, shortHash as eT, sql as eU, supportsInteractiveTransactions as eV, supportsRootAtomicBatch as eW, tsvectorStrategy as eX, vectorMinScoreCondition as eY, vectorPhysicalName as eZ, vectorScoreExpression as e_, type UniqueRow as ea, type UniquenessScope as eb, type UpdateEdgeParams as ec, type UpdateNodeParams as ed, type UpdateNodeSetParams as ee, type UpdateNodeSetResult as ef, type UpsertEmbeddingBatchParams as eg, type UpsertEmbeddingBatchRow as eh, type UpsertEmbeddingParams as ei, type UpsertFulltextBatchParams as ej, type UpsertFulltextParams as ek, VECTOR_CONTRIBUTION_PREFIX as el, type ValueType as em, type VectorCapabilities as en, type VectorIndexType as eo, type VectorMetric as ep, type VectorOperationBackend as eq, type VectorSearchFrontierTuning as er, type VectorSearchParams as es, type VectorSearchResult as et, type WriteFenceDeclaration as eu, assertFiniteEmbedding as ev, assertRecursiveTraversal as ew, assertVectorMinScore as ex, assertVectorSearchLimit as ey, assumeRecursiveTraversalSupported as ez, type SchemaVersionRow as f, type HybridFusionOptions as f$, type AggregateExpr as f0, type FieldRef as f1, type ComparisonOp as f2, type AggregateComparisonPredicate as f3, type OntologyRelation as f4, type AllEdgeTypes as f5, type AllNodeTypes as f6, BackendDisposedError as f7, BaseSchemaMigrationError as f8, type BaseSchemaMigrationErrorDetails as f9, type EdgeMatchIdentity as fA, EdgeMatchIdentityConflictError as fB, EdgeNotFoundError as fC, type EdgeNotFoundErrorDetails as fD, type EdgeProps as fE, type EdgeRegistration as fF, type EdgeTargetMap as fG, type EdgeTargets as fH, type EdgeType as fI, type EdgeTypeWithEndpoints as fJ, EmbeddingDimensionChangedError as fK, type EmbeddingDimensionChangedErrorDetails as fL, EndpointError as fM, type EndpointErrorDetails as fN, EndpointNotFoundError as fO, type EndpointNotFoundErrorDetails as fP, EndpointPairError as fQ, type EndpointPairErrorDetails as fR, type ErrorCategory as fS, ExportStreamCancelledError as fT, ExportStreamIdleTimeoutError as fU, type ExternalRecordedReadSource as fV, type GetEdgeType as fW, type GetNodeType as fX, GraphAlgorithmConvergenceError as fY, type GraphAnnotations as fZ, type GraphDefaults as f_, CURRENT_GRAPH_EXTENSION_VERSION as fa, CardinalityError as fb, type CardinalityErrorDetails as fc, type CollectOptions as fd, type CollectOrder as fe, type CollectRecordFields as ff, type CollectRecordOperand as fg, type CollectedRecord as fh, CompilerInvariantError as fi, ConfigurationError as fj, type ContributionRebuildRefusal as fk, ContributionRebuildUnsupportedError as fl, ContributionUnavailableError as fm, type ContributionUnavailableErrorDetails as fn, DEFAULT_SQL_SCHEMA as fo, type DatabaseExpression as fp, DatabaseOperationError as fq, type DatabaseOperationErrorDetails as fr, DisjointError as fs, type DisjointErrorDetails as ft, EDGE_IDENTITY_MISMATCH_CODE as fu, ENTITY_ALREADY_EXISTS_CODE as fv, EagerMaterializationError as fw, type EagerMaterializationErrorDetails as fx, type EdgeId as fy, type EdgeKinds as fz, type GraphBackend as g, type SchemaMismatchErrorDetails as g$, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as g0, INVERTED_VALIDITY_WINDOW_CODE as g1, IdentityContradictionError as g2, type IdentityContradictionErrorDetails as g3, IdentityEndpointValidityError as g4, type IdentityEndpointValidityErrorDetails as g5, IdentitySeparationViolationError as g6, type IdentitySeparationViolationErrorDetails as g7, IdentityValidityWindowError as g8, type IdentityValidityWindowErrorDetails as g9, type NodeIndexNotFoundErrorDetails as gA, type NodeKinds as gB, NodeNotFoundError as gC, type NodeNotFoundErrorDetails as gD, type NodeProps as gE, type NodeRegistration as gF, type OrderSpec as gG, type ParameterRef as gH, RECORDED_CAPTURE_GUARD_CODES as gI, type RecordedCaptureGuardCode as gJ, type RecordedCaptureGuardError as gK, type RecordedReadSource as gL, type RecordedRelationOptions as gM, type ResolveJsonPointer as gN, type ResolveJsonPointerSegments as gO, RestrictedDeleteError as gP, type RestrictedDeleteErrorDetails as gQ, RuntimeKindTokenError as gR, type RuntimeKindTokenFailure as gS, SchemaChangedError as gT, type SchemaChangedErrorDetails as gU, SchemaContentConflictError as gV, type SchemaContentConflictErrorDetails as gW, type SchemaFencePhase as gX, SchemaFenceTimeoutError as gY, type SchemaFenceTimeoutErrorDetails as gZ, SchemaMismatchError as g_, InvalidEdgeWeightError as ga, type InvalidEdgeWeightErrorDetails as gb, type InvalidEdgeWeightReason as gc, type JsonPointerFor as gd, type JsonPointerInput as ge, type JsonPointerSegment as gf, type JsonPointerSegments as gg, type JsonPointerSegmentsFor as gh, KindNotFoundError as gi, type KindNotFoundErrorDetails as gj, LEGACY_GRAPH_EXTENSION_VERSION as gk, MAX_JSON_POINTER_DEPTH as gl, MIGRATION_FAILURE_REASONS as gm, type MaterializeIndexesEntry as gn, type MaterializeIndexesOptions as go, type MaterializeIndexesResult as gp, type MaterializeSystemIndexesOptions as gq, type MetaEdge as gr, type MetaEdgeProperties as gs, MigrationError as gt, type MigrationErrorDetails as gu, type MigrationFailureReason as gv, NodeConstraintNotFoundError as gw, type NodeConstraintNotFoundErrorDetails as gx, type NodeId as gy, NodeIndexNotFoundError as gz, type AdoptedSchemaWriteTransaction as h, type SetOperationType as h$, type SortDirection as h0, SqlSchema as h1, StaleVersionError as h2, type StaleVersionErrorDetails as h3, StoreNotInitializedError as h4, type StoreNotInitializedErrorDetails as h5, type StoreNotInitializedReason as h6, TransactionClosedError as h7, TransactionConflictError as h8, type TransactionConflictErrorDetails as h9, isMetaEdge as hA, isNodeType as hB, isRecordedCaptureGuardError as hC, isSystemError as hD, isTypeGraphError as hE, isUserRecoverable as hF, joinJsonPointers as hG, jsonPointer as hH, normalizeJsonPointer as hI, parseJsonPointer as hJ, recordedInstantRevision as hK, recordedInstantWallTime as hL, recordedRelation as hM, type WriteFenceTarget as hN, type SchemaWriteTransactionBackend as hO, type PredicateExpression as hP, type VectorMetricType as hQ, type VectorSlotMap as hR, type RecordedReadBinding as hS, type Traversal as hT, type NodePredicate as hU, type ProjectedField as hV, type AggregateOrderSpec as hW, type GroupBySpec as hX, type RecursiveCyclePolicy as hY, type SelectiveField as hZ, type ComposableQuery as h_, type TraversalExpansion as ha, TrustedImportError as hb, type TrustedImportErrorReason as hc, type TypeGraphErrorOptions as hd, type UniqueConstraint as he, UniquenessError as hf, type UniquenessErrorDetails as hg, UnsupportedBackendCapabilityError as hh, UnsupportedPredicateError as hi, type ValidationErrorDetails as hj, VersionConflictError as hk, type VersionConflictErrorDetails as hl, asEdgeId as hm, asNodeId as hn, asRecordedInstant as ho, compareRecordedInstants as hp, createSqlSchema as hq, defineGraph as hr, expr as hs, getEdgeKinds as ht, getErrorSuggestion as hu, getNodeKinds as hv, isConstraintError as hw, isEdgeType as hx, isEdgeTypeWithEndpoints as hy, isGraphDef as hz, type FenceStatements as i, type SetOperation as i0, type BackendValidityEndMutation as i1, type ReadCoordinate as i2, type ExtensionObjectSchema as i3, type ExtensionEdgeProperties as i4, type AnyEdgeRegistration as i5, type ExtensionObjectOutput as i6, type ExtensionPropertyOutput as i7, GRAPH_EXTENSION_TOP_LEVEL_KEYS as i8, type GraphExtensionTopLevelKey as i9, type InsertNodeParams as j, type NodeInsertProjection as k, type SchemaWriteFenceParams as l, type InsertEdgeParams as m, type EdgeRow as n, type ClaimEdgeCardinalityParams as o, type NodeRow as p, type SqlTableNames as q, type EdgeIndexDeclaration as r, type SqlDialect as s, type RelationalIndexDeclaration as t, type NodeIndexDeclaration as u, type EdgeIndexConfig as v, type EdgeIndexDirection as w, type EdgeIndexWhereBuilder as x, type IndexOrigin as y, type IndexScope as z };
|
|
@@ -6649,6 +6649,20 @@ type InsertNodeParams = Readonly<{
|
|
|
6649
6649
|
validFrom?: string | null;
|
|
6650
6650
|
validTo?: string;
|
|
6651
6651
|
}>;
|
|
6652
|
+
/** One validated plain caller-ID member of the heterogeneous node upsert CTE. */
|
|
6653
|
+
type HeterogeneousNodeUpsertEntry = Readonly<{
|
|
6654
|
+
kind: string;
|
|
6655
|
+
id: string;
|
|
6656
|
+
/** Complete create-parsed document used for inserts and resurrections. */
|
|
6657
|
+
props: Readonly<Record<string, unknown>>;
|
|
6658
|
+
/** Caller patch used only when the target row is already live. */
|
|
6659
|
+
updateProps: Readonly<Record<string, unknown>>;
|
|
6660
|
+
}>;
|
|
6661
|
+
/** Exact-session input for the PostgreSQL heterogeneous node upsert lowering. */
|
|
6662
|
+
type HeterogeneousNodeUpsertParams = Readonly<{
|
|
6663
|
+
entries: readonly HeterogeneousNodeUpsertEntry[];
|
|
6664
|
+
schemaFence: SchemaWriteFenceParams;
|
|
6665
|
+
}>;
|
|
6652
6666
|
/**
|
|
6653
6667
|
* A backend validity-end mutation. Omission preserves the stored end,
|
|
6654
6668
|
* `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
|
|
@@ -8042,6 +8056,8 @@ type GraphBackend = Readonly<{
|
|
|
8042
8056
|
insertNodesBatch?: (this: void, params: readonly InsertNodeParams[]) => Promise<void>;
|
|
8043
8057
|
insertNodesBatchReturning?: (this: void, params: readonly InsertNodeParams[]) => Promise<readonly NodeRow[]>;
|
|
8044
8058
|
updateNode: (this: void, params: UpdateNodeParams) => Promise<NodeRow>;
|
|
8059
|
+
/** One data-modifying CTE for plain caller-ID node upserts across kinds. */
|
|
8060
|
+
upsertHeterogeneousNodes?: (this: void, params: HeterogeneousNodeUpsertParams) => Promise<readonly NodeRow[]>;
|
|
8045
8061
|
updateNodeSet?: (this: void, params: UpdateNodeSetParams) => Promise<UpdateNodeSetResult>;
|
|
8046
8062
|
updateResolvedNodesBatch?: (this: void, params: ResolvedNodeUpdateBatchParams) => Promise<readonly NodeRow[]>;
|
|
8047
8063
|
compareAndSetNode?: (this: void, params: CompareAndSetNodeParams) => Promise<UpdateNodeSetResult>;
|
|
@@ -8998,7 +9014,7 @@ type AdoptedSchemaWriteTransaction = Readonly<{
|
|
|
8998
9014
|
}>;
|
|
8999
9015
|
type BackendIdentity = Pick<GraphBackend, "dialect" | "capabilities" | "tableNames" | "fulltextStrategy" | "vectorStrategy" | "fenceSql">;
|
|
9000
9016
|
type NodeEntityReadBackend = Pick<GraphBackend, "getNode" | "getNodes" | "findNodesByKind" | "countNodesByKind">;
|
|
9001
|
-
type NodeEntityWriteBackend = Pick<GraphBackend, "insertNode" | "insertNodeIfAbsent" | "insertNodeIfAbsentWithSchemaFence" | "insertNodeWithSchemaFence" | "commands" | "insertNodeNoReturn" | "insertNodesBatch" | "insertNodesBatchReturning" | "updateNode" | "updateResolvedNodesBatch" | "compareAndSetNode" | "updateNodeSet" | "deleteNode" | "hardDeleteNode">;
|
|
9017
|
+
type NodeEntityWriteBackend = Pick<GraphBackend, "insertNode" | "insertNodeIfAbsent" | "insertNodeIfAbsentWithSchemaFence" | "insertNodeWithSchemaFence" | "commands" | "insertNodeNoReturn" | "insertNodesBatch" | "insertNodesBatchReturning" | "updateNode" | "upsertHeterogeneousNodes" | "updateResolvedNodesBatch" | "compareAndSetNode" | "updateNodeSet" | "deleteNode" | "hardDeleteNode">;
|
|
9002
9018
|
type EdgeEntityReadBackend = Pick<GraphBackend, "getEdge" | "getEdges" | "countEdgesFrom" | "edgeExistsBetween" | "findEdgesConnectedTo" | "findEdgesByKind" | "findEdgesByEndpointSet" | "findEdgesByHeterogeneousEndpointSet" | "countEdgesByKind">;
|
|
9003
9019
|
type EdgeEntityWriteBackend = Pick<GraphBackend, "insertEdge" | "commands" | "insertEdgeNoReturn" | "insertEdgesBatch" | "insertEdgesBatchReturning" | "insertEdgesDurableBatchReturning" | "updateEdge" | "deleteEdge" | "deleteEdgesBatch" | "hardDeleteEdge" | "hardDeleteEdgesBatch">;
|
|
9004
9020
|
type GraphEntityReadBackend = NodeEntityReadBackend & EdgeEntityReadBackend;
|
|
@@ -9607,4 +9623,4 @@ declare const SQLITE_CAPABILITIES: BackendCapabilities;
|
|
|
9607
9623
|
*/
|
|
9608
9624
|
declare const POSTGRES_CAPABILITIES: BackendCapabilities;
|
|
9609
9625
|
|
|
9610
|
-
export { type VectorIndexImplementation as $, type AdapterBackend as A, type BundledBackendCapabilityOverrides as B, type ContributionDiagnostic as C, type IndexWhereExpression as D, type EdgeConvergenceMatch as E, type FenceSql as F, type GraphIdentityConfig as G, type IndexWhereFieldBuilder as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexWhereInput as L, NODE_SYSTEM_COLUMN_NAMES as M, type NodeInsertClaim as N, type NodeIndexConfig as O, type NodeIndexKey as P, type QueryAst as Q, type RecordedInstant as R, type SchemaProvisioning as S, type TransactionBackend as T, type NodeIndexKeyInput as U, type VectorStrategy as V, type WriteFencePlan as W, type NodeIndexWhereBuilder as X, type NodeSystemColumnName as Y, type SystemColumnName as Z, type VectorIndexDeclaration as _, type ContributionDiagnosticState as a, type CatalogColumn as a$, type VectorIndexMetric as a0, type VectorIndexParams as a1, type BackendCapabilities as a2, type VectorSlot as a3, type AnyEdgeType as a4, type NodeType as a5, type SerializedNodeDef as a6, type SerializedEdgeDef as a7, type SerializedMetaEdge as a8, type SerializedOntologyRelation as a9, type GraphCommandPort as aA, type GraphCommandCoordination as aB, type GraphCommandExecutionContext as aC, type NodeCreateCommand as aD, type NodeCreateCommandResult as aE, type EdgeCreateCommand as aF, type EdgeCreateCommandResult as aG, type EdgeConvergeCreateCommand as aH, type EdgeConvergeCreateCommandResult as aI, type GraphCommand as aJ, type GraphCommandResult as aK, type GraphCommandSession as aL, type GraphCommandIsolation as aM, TypeGraphError as aN, type FindEdgesByEndpointSetParams as aO, ALL_FULLTEXT_MODES as aP, ALL_META_EDGE_NAMES as aQ, type AdapterBackendTransactions as aR, BASE_CONTRIBUTION_OWNER as aS, type BackendCatalogProbes as aT, type BackendExecutionCapabilities as aU, type BackendIdentity as aV, type BackendLifecycle as aW, type BackendMaintenance as aX, type BackendTransactions as aY, type Cardinality as aZ, type CatalogBackend as a_, type SerializedClosures as aa, type SerializedSchema as ab, type SchemaHash as ac, type NullCheckOp as ad, type ValidationIssue as ae, ValidationError as af, type ChangeSeverity as ag, type ChangeType as ah, type DeprecatedKindsChange as ai, type EdgeChange as aj, type ExtensionChange as ak, type GraphAnnotationsChange as al, type IdentityChange as am, type IndexChange as an, type JsonSchema as ao, type NodeChange as ap, type OntologyChange as aq, type SchemaChangeClassification as ar, type SchemaDiff as as, type SchemaIdentity as at, type SerializedOntology as au, type SerializedUniqueConstraint as av, classifySchemaChanges as aw, computeSchemaDiff as ax, getMigrationActions as ay, isBackwardsCompatible as az, type ContributionRepairEntry as b, type EntityKey as b$, type CatalogIndexBehavior as b0, type CheckUniqueBatchParams as b1, type CheckUniqueParams as b2, type ClaimIndexMaterializationParams as b3, type Collation as b4, type CommitSchemaVersionExpected as b5, type CommitSchemaVersionIfKindsEmptyResult as b6, type CommitSchemaVersionParams as b7, type CompareAndSetNodeParams as b8, type CompiledRowsSql as b9, type DatabaseExtensionName as bA, type DeleteBehavior as bB, type DeleteEdgeParams as bC, type DeleteEdgesBatchParams as bD, type DeleteEmbeddingParams as bE, type DeleteFulltextBatchParams as bF, type DeleteFulltextParams as bG, type DeleteNodeParams as bH, type DeleteUniqueParams as bI, type DialectAdapter as bJ, type DialectCapabilities as bK, type DialectRecursiveQueryStrategy as bL, type DialectStandardQueryStrategy as bM, type DialectSubgraphMembershipStrategy as bN, type DialectVectorPredicateStrategy as bO, type DisjointOverlapRow as bP, type DropVectorIndexParams as bQ, type DurableEdgeBatchMembers as bR, type EdgeCardinalityDeclaration as bS, type EdgeClaimOutcome as bT, type EdgeEntityReadBackend as bU, type EdgeEntityWriteBackend as bV, type EdgeExistsBetweenParams as bW, type EndpointExistence as bX, type EngineRecordedRevision as bY, type EngineRecordedTimeMembers as bZ, type EngineRevision as b_, type CompiledSelectSql as ba, type CompiledStatementSql as bb, type CompiledTemporaryStatementSql as bc, type ConstraintFenceViolationRows as bd, type ContendedEdgeRow as be, type ContendedUniqueRow as bf, type ContributionCapabilities as bg, type ContributionMaterializationBackend as bh, type ContributionMaterializationIdentity as bi, type ContributionMaterializationRow as bj, type ContributionProbeContribution as bk, type ContributionProbeEntry as bl, type ContributionProbeResult as bm, type ContributionProbeState as bn, type ContributionRebuildResult as bo, type ContributionRebuildScope as bp, type ContributionRepopulationStats as bq, type ContributionScope as br, type CountEdgesByKindParams as bs, type CountEdgesFromParams as bt, type CountNodesByKindParams as bu, type CreateVectorIndexParams as bv, D1_MAX_BIND_PARAMETERS as bw, DATABASE_EXTENSION_NAMES as bx, DEPLOYMENT_CONTRIBUTION_GRAPH_ID as by, DURABLE_OBJECT_MAX_BIND_PARAMETERS as bz, type ContributionRepairResult as c, type KindAnnotations as c$, type ExtensionArrayItemType as c0, type ExtensionArrayProperty as c1, type ExtensionBooleanProperty as c2, type ExtensionEdgeDef as c3, type ExtensionEdgeIndex as c4, type ExtensionEmbeddingModifier as c5, type ExtensionEnumProperty as c6, type ExtensionIndex as c7, type ExtensionIndexWhere as c8, type ExtensionNodeDef as c9, type GraphEntityWriteBackend as cA, type GraphExtension as cB, type GraphExtensionVersion as cC, type GraphLifecycleBackend as cD, type GraphReadBackend as cE, type HardDeleteEdgeParams as cF, type HardDeleteNodeParams as cG, type HardDeleteUniquesByConcreteKindParams as cH, type HardDeleteUniquesByNodeIdsParams as cI, type HybridSearchParams as cJ, type HybridSearchRow as cK, type IdentityTableNames as cL, type InListParameterOptions as cM, type IndexDeclarationBase as cN, type IndexEntity as cO, type IndexMaterializationBackend as cP, type IndexMaterializationRow as cQ, type IndexState as cR, type IndexWhereLiteral as cS, type IndexWhereOp as cT, type IndexWhereOperand as cU, type InferenceType as cV, type InsertSchemaParams as cW, type InsertUniqueParams as cX, type IntentSql as cY, type JsonScalar as cZ, type JsonValue as c_, type ExtensionNodeIndex as ca, type ExtensionNumberProperty as cb, type ExtensionObjectFieldProperty as cc, type ExtensionObjectProperty as cd, type ExtensionOntologyRelation as ce, type ExtensionPropertyModifiers as cf, type ExtensionPropertyType as cg, type ExtensionSearchableModifier as ch, type ExtensionStringProperty as ci, type ExtensionUniqueConstraint as cj, type ExtensionUniqueWhere as ck, FULLTEXT_CONTRIBUTION_NAME as cl, type FilteredApproximateSearch as cm, type FilteredApproximateSearchMode as cn, type FindEdgesByHeterogeneousEndpointSetParams as co, type FindEdgesByKindParams as cp, type FindEdgesConnectedToParams as cq, type FindNodesByKindParams as cr, type FulltextBatchRow as cs, type FulltextCapabilities as ct, type FulltextOperationBackend as cu, type FulltextQueryMode as cv, type FulltextSearchParams as cw, type FulltextSearchResult as cx, type GraphAnalyticsCapabilities as cy, type GraphEntityReadBackend as cz, type FulltextStrategy as d, type TableContribution as d$, type KindRemovalRow as d0, type LineageBackend as d1, type LineageDelta as d2, type LineageMembers as d3, type LineageSession as d4, type LiveNodeRow as d5, type LockSchemaVersionForWriteParams as d6, MODERN_SQLITE_MAX_BIND_PARAMETERS as d7, type ManagedEdgeCreatePlan as d8, type ManagedNodeCreateMode as d9, type RecursiveTraversalVerdict as dA, type RelationalIndexMethod as dB, type ReleaseIndexMaterializationClaimParams as dC, type RemovalMaterializationBackend as dD, type RenderedSql as dE, type ResolvedNodeUpdateBatchEntry as dF, type ResolvedNodeUpdateBatchParams as dG, type ResolvedSqlTableNames as dH, type RowProps as dI, SQLITE_CAPABILITIES as dJ, SQLITE_MAX_BIND_PARAMETERS as dK, type SchemaCommitBackend as dL, type SchemaCommitPreflightBackend as dM, type SchemaKindEmptinessProbe as dN, type SchemaReadBackend as dO, type SchemaWriteFenceBackend as dP, type SetActiveVersionParams as dQ, type SqlChunk as dR, type SqlCompilationBackend as dS, type SqlFragment as dT, type SqlIdentifierChunk as dU, type SqlIntent as dV, type SqlParameterChunk as dW, type SqlPlaceholderChunk as dX, type SqlTag as dY, type SqlTextChunk as dZ, type StrategyTableContribution as d_, type ManagedNodeCreatePlan as da, type MetaEdgeName as db, type NodeEntityReadBackend as dc, type NodeEntityWriteBackend as dd, type NodeInsertClaimVerdict as de, type NodePropertyExpectation as df, type NormalizedColumnKind as dg, POSTGRES_CAPABILITIES as dh, POSTGRES_MAX_BIND_PARAMETERS as di, Placeholder as dj, type PopulatedSchemaKind as dk, type PurgeEdgeClaimsParams as dl, type QueryExecutionBackend as dm, type RawQueryExecutionBackend as dn, type RawStatementExecutionBackend as dp, type ReadConstraintFenceViolationsParams as dq, type RecordContributionMaterializationParams as dr, type RecordIndexMaterializationParams as ds, type RecordKindRemovalParams as dt, type RecordedRelationDdl as du, type RecordedSourceTable as dv, type RecordedTableNames as dw, type RecordedTimeBackend as dx, type RecordedTimeSession as dy, type RecursiveTraversalCapability as dz, type GraphDef as e, type FieldRef as e$, type TableState as e0, type TemporalMode as e1, type TombstonedNodeRow as e2, type TransactionOptions as e3, type TransactionReadBackend as e4, type TrustedImportOptions as e5, type TrustedImportSession as e6, type UniqueConstraintBackend as e7, type UniqueRow as e8, type UniquenessScope as e9, fts5Strategy as eA, isLiveNodeRow as eB, isSqlFragment as eC, isSqlPlaceholder as eD, isTombstonedNodeRow as eE, normalizeGraphAnalyticsCapabilities as eF, quoteIdentifier as eG, recursiveTraversalUnsupportedError as eH, renderPostgres as eI, renderSql as eJ, renderSqlInline as eK, renderSqlite as eL, requireWriteFence as eM, resolveRecursiveTraversal as eN, resolveWriteFencePlan as eO, rowPropsToJsonText as eP, rowPropsToObject as eQ, shortHash as eR, sql as eS, supportsInteractiveTransactions as eT, supportsRootAtomicBatch as eU, tsvectorStrategy as eV, vectorMinScoreCondition as eW, vectorPhysicalName as eX, vectorScoreExpression as eY, type TraversalDirection as eZ, type AggregateExpr as e_, type UpdateEdgeParams as ea, type UpdateNodeParams as eb, type UpdateNodeSetParams as ec, type UpdateNodeSetResult as ed, type UpsertEmbeddingBatchParams as ee, type UpsertEmbeddingBatchRow as ef, type UpsertEmbeddingParams as eg, type UpsertFulltextBatchParams as eh, type UpsertFulltextParams as ei, VECTOR_CONTRIBUTION_PREFIX as ej, type ValueType as ek, type VectorCapabilities as el, type VectorIndexType as em, type VectorMetric as en, type VectorOperationBackend as eo, type VectorSearchFrontierTuning as ep, type VectorSearchParams as eq, type VectorSearchResult as er, type WriteFenceDeclaration as es, assertFiniteEmbedding as et, assertRecursiveTraversal as eu, assertVectorMinScore as ev, assertVectorSearchLimit as ew, assumeRecursiveTraversalSupported as ex, buildFulltextCapabilities as ey, buildVectorCapabilities as ez, type SchemaVersionRow as f, INVERTED_VALIDITY_WINDOW_CODE as f$, type ComparisonOp as f0, type AggregateComparisonPredicate as f1, type OntologyRelation as f2, type AllEdgeTypes as f3, type AllNodeTypes as f4, BackendDisposedError as f5, BaseSchemaMigrationError as f6, type BaseSchemaMigrationErrorDetails as f7, CURRENT_GRAPH_EXTENSION_VERSION as f8, CardinalityError as f9, EdgeNotFoundError as fA, type EdgeNotFoundErrorDetails as fB, type EdgeProps as fC, type EdgeRegistration as fD, type EdgeTargetMap as fE, type EdgeTargets as fF, type EdgeType as fG, type EdgeTypeWithEndpoints as fH, EmbeddingDimensionChangedError as fI, type EmbeddingDimensionChangedErrorDetails as fJ, EndpointError as fK, type EndpointErrorDetails as fL, EndpointNotFoundError as fM, type EndpointNotFoundErrorDetails as fN, EndpointPairError as fO, type EndpointPairErrorDetails as fP, type ErrorCategory as fQ, ExportStreamCancelledError as fR, ExportStreamIdleTimeoutError as fS, type ExternalRecordedReadSource as fT, type GetEdgeType as fU, type GetNodeType as fV, GraphAlgorithmConvergenceError as fW, type GraphAnnotations as fX, type GraphDefaults as fY, type HybridFusionOptions as fZ, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as f_, type CardinalityErrorDetails as fa, type CollectOptions as fb, type CollectOrder as fc, type CollectRecordFields as fd, type CollectRecordOperand as fe, type CollectedRecord as ff, CompilerInvariantError as fg, ConfigurationError as fh, type ContributionRebuildRefusal as fi, ContributionRebuildUnsupportedError as fj, ContributionUnavailableError as fk, type ContributionUnavailableErrorDetails as fl, DEFAULT_SQL_SCHEMA as fm, type DatabaseExpression as fn, DatabaseOperationError as fo, type DatabaseOperationErrorDetails as fp, DisjointError as fq, type DisjointErrorDetails as fr, EDGE_IDENTITY_MISMATCH_CODE as fs, ENTITY_ALREADY_EXISTS_CODE as ft, EagerMaterializationError as fu, type EagerMaterializationErrorDetails as fv, type EdgeId as fw, type EdgeKinds as fx, type EdgeMatchIdentity as fy, EdgeMatchIdentityConflictError as fz, type GraphBackend as g, SqlSchema as g$, IdentityContradictionError as g0, type IdentityContradictionErrorDetails as g1, IdentityEndpointValidityError as g2, type IdentityEndpointValidityErrorDetails as g3, IdentitySeparationViolationError as g4, type IdentitySeparationViolationErrorDetails as g5, IdentityValidityWindowError as g6, type IdentityValidityWindowErrorDetails as g7, InvalidEdgeWeightError as g8, type InvalidEdgeWeightErrorDetails as g9, NodeNotFoundError as gA, type NodeNotFoundErrorDetails as gB, type NodeProps as gC, type NodeRegistration as gD, type OrderSpec as gE, type ParameterRef as gF, RECORDED_CAPTURE_GUARD_CODES as gG, type RecordedCaptureGuardCode as gH, type RecordedCaptureGuardError as gI, type RecordedReadSource as gJ, type RecordedRelationOptions as gK, type ResolveJsonPointer as gL, type ResolveJsonPointerSegments as gM, RestrictedDeleteError as gN, type RestrictedDeleteErrorDetails as gO, RuntimeKindTokenError as gP, type RuntimeKindTokenFailure as gQ, SchemaChangedError as gR, type SchemaChangedErrorDetails as gS, SchemaContentConflictError as gT, type SchemaContentConflictErrorDetails as gU, type SchemaFencePhase as gV, SchemaFenceTimeoutError as gW, type SchemaFenceTimeoutErrorDetails as gX, SchemaMismatchError as gY, type SchemaMismatchErrorDetails as gZ, type SortDirection as g_, type InvalidEdgeWeightReason as ga, type JsonPointerFor as gb, type JsonPointerInput as gc, type JsonPointerSegment as gd, type JsonPointerSegments as ge, type JsonPointerSegmentsFor as gf, KindNotFoundError as gg, type KindNotFoundErrorDetails as gh, LEGACY_GRAPH_EXTENSION_VERSION as gi, MAX_JSON_POINTER_DEPTH as gj, MIGRATION_FAILURE_REASONS as gk, type MaterializeIndexesEntry as gl, type MaterializeIndexesOptions as gm, type MaterializeIndexesResult as gn, type MaterializeSystemIndexesOptions as go, type MetaEdge as gp, type MetaEdgeProperties as gq, MigrationError as gr, type MigrationErrorDetails as gs, type MigrationFailureReason as gt, NodeConstraintNotFoundError as gu, type NodeConstraintNotFoundErrorDetails as gv, type NodeId as gw, NodeIndexNotFoundError as gx, type NodeIndexNotFoundErrorDetails as gy, type NodeKinds as gz, type AdoptedSchemaWriteTransaction as h, type BackendValidityEndMutation as h$, StaleVersionError as h0, type StaleVersionErrorDetails as h1, StoreNotInitializedError as h2, type StoreNotInitializedErrorDetails as h3, type StoreNotInitializedReason as h4, TransactionClosedError as h5, TransactionConflictError as h6, type TransactionConflictErrorDetails as h7, type TraversalExpansion as h8, TrustedImportError as h9, isRecordedCaptureGuardError as hA, isSystemError as hB, isTypeGraphError as hC, isUserRecoverable as hD, joinJsonPointers as hE, jsonPointer as hF, normalizeJsonPointer as hG, parseJsonPointer as hH, recordedInstantRevision as hI, recordedInstantWallTime as hJ, recordedRelation as hK, type WriteFenceTarget as hL, type SchemaWriteTransactionBackend as hM, type PredicateExpression as hN, type VectorMetricType as hO, type VectorSlotMap as hP, type RecordedReadBinding as hQ, type Traversal as hR, type NodePredicate as hS, type ProjectedField as hT, type AggregateOrderSpec as hU, type GroupBySpec as hV, type RecursiveCyclePolicy as hW, type SelectiveField as hX, type ComposableQuery as hY, type SetOperationType as hZ, type SetOperation as h_, type TrustedImportErrorReason as ha, type TypeGraphErrorOptions as hb, type UniqueConstraint as hc, UniquenessError as hd, type UniquenessErrorDetails as he, UnsupportedBackendCapabilityError as hf, UnsupportedPredicateError as hg, type ValidationErrorDetails as hh, VersionConflictError as hi, type VersionConflictErrorDetails as hj, asEdgeId as hk, asNodeId as hl, asRecordedInstant as hm, compareRecordedInstants as hn, createSqlSchema as ho, defineGraph as hp, expr as hq, getEdgeKinds as hr, getErrorSuggestion as hs, getNodeKinds as ht, isConstraintError as hu, isEdgeType as hv, isEdgeTypeWithEndpoints as hw, isGraphDef as hx, isMetaEdge as hy, isNodeType as hz, type FenceStatements as i, type ReadCoordinate as i0, type ExtensionObjectSchema as i1, type ExtensionEdgeProperties as i2, type AnyEdgeRegistration as i3, type ExtensionObjectOutput as i4, type ExtensionPropertyOutput as i5, GRAPH_EXTENSION_TOP_LEVEL_KEYS as i6, type GraphExtensionTopLevelKey as i7, type InsertNodeParams as j, type NodeInsertProjection as k, type SchemaWriteFenceParams as l, type InsertEdgeParams as m, type EdgeRow as n, type ClaimEdgeCardinalityParams as o, type NodeRow as p, type SqlTableNames as q, type EdgeIndexDeclaration as r, type SqlDialect as s, type RelationalIndexDeclaration as t, type NodeIndexDeclaration as u, type EdgeIndexConfig as v, type EdgeIndexDirection as w, type EdgeIndexWhereBuilder as x, type IndexOrigin as y, type IndexScope as z };
|
|
9626
|
+
export { type VectorIndexImplementation as $, type AdapterBackend as A, type BundledBackendCapabilityOverrides as B, type ContributionDiagnostic as C, type IndexWhereExpression as D, type EdgeConvergenceMatch as E, type FenceSql as F, type GraphIdentityConfig as G, type IndexWhereFieldBuilder as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexWhereInput as L, NODE_SYSTEM_COLUMN_NAMES as M, type NodeInsertClaim as N, type NodeIndexConfig as O, type NodeIndexKey as P, type QueryAst as Q, type RecordedInstant as R, type SchemaProvisioning as S, type TransactionBackend as T, type NodeIndexKeyInput as U, type VectorStrategy as V, type WriteFencePlan as W, type NodeIndexWhereBuilder as X, type NodeSystemColumnName as Y, type SystemColumnName as Z, type VectorIndexDeclaration as _, type ContributionDiagnosticState as a, type CatalogColumn as a$, type VectorIndexMetric as a0, type VectorIndexParams as a1, type BackendCapabilities as a2, type VectorSlot as a3, type AnyEdgeType as a4, type NodeType as a5, type SerializedNodeDef as a6, type SerializedEdgeDef as a7, type SerializedMetaEdge as a8, type SerializedOntologyRelation as a9, type GraphCommandPort as aA, type GraphCommandCoordination as aB, type GraphCommandExecutionContext as aC, type NodeCreateCommand as aD, type NodeCreateCommandResult as aE, type EdgeCreateCommand as aF, type EdgeCreateCommandResult as aG, type EdgeConvergeCreateCommand as aH, type EdgeConvergeCreateCommandResult as aI, type GraphCommand as aJ, type GraphCommandResult as aK, type GraphCommandSession as aL, type GraphCommandIsolation as aM, TypeGraphError as aN, type FindEdgesByEndpointSetParams as aO, ALL_FULLTEXT_MODES as aP, ALL_META_EDGE_NAMES as aQ, type AdapterBackendTransactions as aR, BASE_CONTRIBUTION_OWNER as aS, type BackendCatalogProbes as aT, type BackendExecutionCapabilities as aU, type BackendIdentity as aV, type BackendLifecycle as aW, type BackendMaintenance as aX, type BackendTransactions as aY, type Cardinality as aZ, type CatalogBackend as a_, type SerializedClosures as aa, type SerializedSchema as ab, type SchemaHash as ac, type NullCheckOp as ad, type ValidationIssue as ae, ValidationError as af, type ChangeSeverity as ag, type ChangeType as ah, type DeprecatedKindsChange as ai, type EdgeChange as aj, type ExtensionChange as ak, type GraphAnnotationsChange as al, type IdentityChange as am, type IndexChange as an, type JsonSchema as ao, type NodeChange as ap, type OntologyChange as aq, type SchemaChangeClassification as ar, type SchemaDiff as as, type SchemaIdentity as at, type SerializedOntology as au, type SerializedUniqueConstraint as av, classifySchemaChanges as aw, computeSchemaDiff as ax, getMigrationActions as ay, isBackwardsCompatible as az, type ContributionRepairEntry as b, type EntityKey as b$, type CatalogIndexBehavior as b0, type CheckUniqueBatchParams as b1, type CheckUniqueParams as b2, type ClaimIndexMaterializationParams as b3, type Collation as b4, type CommitSchemaVersionExpected as b5, type CommitSchemaVersionIfKindsEmptyResult as b6, type CommitSchemaVersionParams as b7, type CompareAndSetNodeParams as b8, type CompiledRowsSql as b9, type DatabaseExtensionName as bA, type DeleteBehavior as bB, type DeleteEdgeParams as bC, type DeleteEdgesBatchParams as bD, type DeleteEmbeddingParams as bE, type DeleteFulltextBatchParams as bF, type DeleteFulltextParams as bG, type DeleteNodeParams as bH, type DeleteUniqueParams as bI, type DialectAdapter as bJ, type DialectCapabilities as bK, type DialectRecursiveQueryStrategy as bL, type DialectStandardQueryStrategy as bM, type DialectSubgraphMembershipStrategy as bN, type DialectVectorPredicateStrategy as bO, type DisjointOverlapRow as bP, type DropVectorIndexParams as bQ, type DurableEdgeBatchMembers as bR, type EdgeCardinalityDeclaration as bS, type EdgeClaimOutcome as bT, type EdgeEntityReadBackend as bU, type EdgeEntityWriteBackend as bV, type EdgeExistsBetweenParams as bW, type EndpointExistence as bX, type EngineRecordedRevision as bY, type EngineRecordedTimeMembers as bZ, type EngineRevision as b_, type CompiledSelectSql as ba, type CompiledStatementSql as bb, type CompiledTemporaryStatementSql as bc, type ConstraintFenceViolationRows as bd, type ContendedEdgeRow as be, type ContendedUniqueRow as bf, type ContributionCapabilities as bg, type ContributionMaterializationBackend as bh, type ContributionMaterializationIdentity as bi, type ContributionMaterializationRow as bj, type ContributionProbeContribution as bk, type ContributionProbeEntry as bl, type ContributionProbeResult as bm, type ContributionProbeState as bn, type ContributionRebuildResult as bo, type ContributionRebuildScope as bp, type ContributionRepopulationStats as bq, type ContributionScope as br, type CountEdgesByKindParams as bs, type CountEdgesFromParams as bt, type CountNodesByKindParams as bu, type CreateVectorIndexParams as bv, D1_MAX_BIND_PARAMETERS as bw, DATABASE_EXTENSION_NAMES as bx, DEPLOYMENT_CONTRIBUTION_GRAPH_ID as by, DURABLE_OBJECT_MAX_BIND_PARAMETERS as bz, type ContributionRepairResult as c, type JsonScalar as c$, type ExtensionArrayItemType as c0, type ExtensionArrayProperty as c1, type ExtensionBooleanProperty as c2, type ExtensionEdgeDef as c3, type ExtensionEdgeIndex as c4, type ExtensionEmbeddingModifier as c5, type ExtensionEnumProperty as c6, type ExtensionIndex as c7, type ExtensionIndexWhere as c8, type ExtensionNodeDef as c9, type GraphEntityWriteBackend as cA, type GraphExtension as cB, type GraphExtensionVersion as cC, type GraphLifecycleBackend as cD, type GraphReadBackend as cE, type HardDeleteEdgeParams as cF, type HardDeleteNodeParams as cG, type HardDeleteUniquesByConcreteKindParams as cH, type HardDeleteUniquesByNodeIdsParams as cI, type HeterogeneousNodeUpsertEntry as cJ, type HeterogeneousNodeUpsertParams as cK, type HybridSearchParams as cL, type HybridSearchRow as cM, type IdentityTableNames as cN, type InListParameterOptions as cO, type IndexDeclarationBase as cP, type IndexEntity as cQ, type IndexMaterializationBackend as cR, type IndexMaterializationRow as cS, type IndexState as cT, type IndexWhereLiteral as cU, type IndexWhereOp as cV, type IndexWhereOperand as cW, type InferenceType as cX, type InsertSchemaParams as cY, type InsertUniqueParams as cZ, type IntentSql as c_, type ExtensionNodeIndex as ca, type ExtensionNumberProperty as cb, type ExtensionObjectFieldProperty as cc, type ExtensionObjectProperty as cd, type ExtensionOntologyRelation as ce, type ExtensionPropertyModifiers as cf, type ExtensionPropertyType as cg, type ExtensionSearchableModifier as ch, type ExtensionStringProperty as ci, type ExtensionUniqueConstraint as cj, type ExtensionUniqueWhere as ck, FULLTEXT_CONTRIBUTION_NAME as cl, type FilteredApproximateSearch as cm, type FilteredApproximateSearchMode as cn, type FindEdgesByHeterogeneousEndpointSetParams as co, type FindEdgesByKindParams as cp, type FindEdgesConnectedToParams as cq, type FindNodesByKindParams as cr, type FulltextBatchRow as cs, type FulltextCapabilities as ct, type FulltextOperationBackend as cu, type FulltextQueryMode as cv, type FulltextSearchParams as cw, type FulltextSearchResult as cx, type GraphAnalyticsCapabilities as cy, type GraphEntityReadBackend as cz, type FulltextStrategy as d, type SqlTextChunk as d$, type JsonValue as d0, type KindAnnotations as d1, type KindRemovalRow as d2, type LineageBackend as d3, type LineageDelta as d4, type LineageMembers as d5, type LineageSession as d6, type LiveNodeRow as d7, type LockSchemaVersionForWriteParams as d8, MODERN_SQLITE_MAX_BIND_PARAMETERS as d9, type RecordedTimeSession as dA, type RecursiveTraversalCapability as dB, type RecursiveTraversalVerdict as dC, type RelationalIndexMethod as dD, type ReleaseIndexMaterializationClaimParams as dE, type RemovalMaterializationBackend as dF, type RenderedSql as dG, type ResolvedNodeUpdateBatchEntry as dH, type ResolvedNodeUpdateBatchParams as dI, type ResolvedSqlTableNames as dJ, type RowProps as dK, SQLITE_CAPABILITIES as dL, SQLITE_MAX_BIND_PARAMETERS as dM, type SchemaCommitBackend as dN, type SchemaCommitPreflightBackend as dO, type SchemaKindEmptinessProbe as dP, type SchemaReadBackend as dQ, type SchemaWriteFenceBackend as dR, type SetActiveVersionParams as dS, type SqlChunk as dT, type SqlCompilationBackend as dU, type SqlFragment as dV, type SqlIdentifierChunk as dW, type SqlIntent as dX, type SqlParameterChunk as dY, type SqlPlaceholderChunk as dZ, type SqlTag as d_, type ManagedEdgeCreatePlan as da, type ManagedNodeCreateMode as db, type ManagedNodeCreatePlan as dc, type MetaEdgeName as dd, type NodeEntityReadBackend as de, type NodeEntityWriteBackend as df, type NodeInsertClaimVerdict as dg, type NodePropertyExpectation as dh, type NormalizedColumnKind as di, POSTGRES_CAPABILITIES as dj, POSTGRES_MAX_BIND_PARAMETERS as dk, Placeholder as dl, type PopulatedSchemaKind as dm, type PurgeEdgeClaimsParams as dn, type QueryExecutionBackend as dp, type RawQueryExecutionBackend as dq, type RawStatementExecutionBackend as dr, type ReadConstraintFenceViolationsParams as ds, type RecordContributionMaterializationParams as dt, type RecordIndexMaterializationParams as du, type RecordKindRemovalParams as dv, type RecordedRelationDdl as dw, type RecordedSourceTable as dx, type RecordedTableNames as dy, type RecordedTimeBackend as dz, type GraphDef as e, type TraversalDirection as e$, type StrategyTableContribution as e0, type TableContribution as e1, type TableState as e2, type TemporalMode as e3, type TombstonedNodeRow as e4, type TransactionOptions as e5, type TransactionReadBackend as e6, type TrustedImportOptions as e7, type TrustedImportSession as e8, type UniqueConstraintBackend as e9, buildFulltextCapabilities as eA, buildVectorCapabilities as eB, fts5Strategy as eC, isLiveNodeRow as eD, isSqlFragment as eE, isSqlPlaceholder as eF, isTombstonedNodeRow as eG, normalizeGraphAnalyticsCapabilities as eH, quoteIdentifier as eI, recursiveTraversalUnsupportedError as eJ, renderPostgres as eK, renderSql as eL, renderSqlInline as eM, renderSqlite as eN, requireWriteFence as eO, resolveRecursiveTraversal as eP, resolveWriteFencePlan as eQ, rowPropsToJsonText as eR, rowPropsToObject as eS, shortHash as eT, sql as eU, supportsInteractiveTransactions as eV, supportsRootAtomicBatch as eW, tsvectorStrategy as eX, vectorMinScoreCondition as eY, vectorPhysicalName as eZ, vectorScoreExpression as e_, type UniqueRow as ea, type UniquenessScope as eb, type UpdateEdgeParams as ec, type UpdateNodeParams as ed, type UpdateNodeSetParams as ee, type UpdateNodeSetResult as ef, type UpsertEmbeddingBatchParams as eg, type UpsertEmbeddingBatchRow as eh, type UpsertEmbeddingParams as ei, type UpsertFulltextBatchParams as ej, type UpsertFulltextParams as ek, VECTOR_CONTRIBUTION_PREFIX as el, type ValueType as em, type VectorCapabilities as en, type VectorIndexType as eo, type VectorMetric as ep, type VectorOperationBackend as eq, type VectorSearchFrontierTuning as er, type VectorSearchParams as es, type VectorSearchResult as et, type WriteFenceDeclaration as eu, assertFiniteEmbedding as ev, assertRecursiveTraversal as ew, assertVectorMinScore as ex, assertVectorSearchLimit as ey, assumeRecursiveTraversalSupported as ez, type SchemaVersionRow as f, type HybridFusionOptions as f$, type AggregateExpr as f0, type FieldRef as f1, type ComparisonOp as f2, type AggregateComparisonPredicate as f3, type OntologyRelation as f4, type AllEdgeTypes as f5, type AllNodeTypes as f6, BackendDisposedError as f7, BaseSchemaMigrationError as f8, type BaseSchemaMigrationErrorDetails as f9, type EdgeMatchIdentity as fA, EdgeMatchIdentityConflictError as fB, EdgeNotFoundError as fC, type EdgeNotFoundErrorDetails as fD, type EdgeProps as fE, type EdgeRegistration as fF, type EdgeTargetMap as fG, type EdgeTargets as fH, type EdgeType as fI, type EdgeTypeWithEndpoints as fJ, EmbeddingDimensionChangedError as fK, type EmbeddingDimensionChangedErrorDetails as fL, EndpointError as fM, type EndpointErrorDetails as fN, EndpointNotFoundError as fO, type EndpointNotFoundErrorDetails as fP, EndpointPairError as fQ, type EndpointPairErrorDetails as fR, type ErrorCategory as fS, ExportStreamCancelledError as fT, ExportStreamIdleTimeoutError as fU, type ExternalRecordedReadSource as fV, type GetEdgeType as fW, type GetNodeType as fX, GraphAlgorithmConvergenceError as fY, type GraphAnnotations as fZ, type GraphDefaults as f_, CURRENT_GRAPH_EXTENSION_VERSION as fa, CardinalityError as fb, type CardinalityErrorDetails as fc, type CollectOptions as fd, type CollectOrder as fe, type CollectRecordFields as ff, type CollectRecordOperand as fg, type CollectedRecord as fh, CompilerInvariantError as fi, ConfigurationError as fj, type ContributionRebuildRefusal as fk, ContributionRebuildUnsupportedError as fl, ContributionUnavailableError as fm, type ContributionUnavailableErrorDetails as fn, DEFAULT_SQL_SCHEMA as fo, type DatabaseExpression as fp, DatabaseOperationError as fq, type DatabaseOperationErrorDetails as fr, DisjointError as fs, type DisjointErrorDetails as ft, EDGE_IDENTITY_MISMATCH_CODE as fu, ENTITY_ALREADY_EXISTS_CODE as fv, EagerMaterializationError as fw, type EagerMaterializationErrorDetails as fx, type EdgeId as fy, type EdgeKinds as fz, type GraphBackend as g, type SchemaMismatchErrorDetails as g$, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as g0, INVERTED_VALIDITY_WINDOW_CODE as g1, IdentityContradictionError as g2, type IdentityContradictionErrorDetails as g3, IdentityEndpointValidityError as g4, type IdentityEndpointValidityErrorDetails as g5, IdentitySeparationViolationError as g6, type IdentitySeparationViolationErrorDetails as g7, IdentityValidityWindowError as g8, type IdentityValidityWindowErrorDetails as g9, type NodeIndexNotFoundErrorDetails as gA, type NodeKinds as gB, NodeNotFoundError as gC, type NodeNotFoundErrorDetails as gD, type NodeProps as gE, type NodeRegistration as gF, type OrderSpec as gG, type ParameterRef as gH, RECORDED_CAPTURE_GUARD_CODES as gI, type RecordedCaptureGuardCode as gJ, type RecordedCaptureGuardError as gK, type RecordedReadSource as gL, type RecordedRelationOptions as gM, type ResolveJsonPointer as gN, type ResolveJsonPointerSegments as gO, RestrictedDeleteError as gP, type RestrictedDeleteErrorDetails as gQ, RuntimeKindTokenError as gR, type RuntimeKindTokenFailure as gS, SchemaChangedError as gT, type SchemaChangedErrorDetails as gU, SchemaContentConflictError as gV, type SchemaContentConflictErrorDetails as gW, type SchemaFencePhase as gX, SchemaFenceTimeoutError as gY, type SchemaFenceTimeoutErrorDetails as gZ, SchemaMismatchError as g_, InvalidEdgeWeightError as ga, type InvalidEdgeWeightErrorDetails as gb, type InvalidEdgeWeightReason as gc, type JsonPointerFor as gd, type JsonPointerInput as ge, type JsonPointerSegment as gf, type JsonPointerSegments as gg, type JsonPointerSegmentsFor as gh, KindNotFoundError as gi, type KindNotFoundErrorDetails as gj, LEGACY_GRAPH_EXTENSION_VERSION as gk, MAX_JSON_POINTER_DEPTH as gl, MIGRATION_FAILURE_REASONS as gm, type MaterializeIndexesEntry as gn, type MaterializeIndexesOptions as go, type MaterializeIndexesResult as gp, type MaterializeSystemIndexesOptions as gq, type MetaEdge as gr, type MetaEdgeProperties as gs, MigrationError as gt, type MigrationErrorDetails as gu, type MigrationFailureReason as gv, NodeConstraintNotFoundError as gw, type NodeConstraintNotFoundErrorDetails as gx, type NodeId as gy, NodeIndexNotFoundError as gz, type AdoptedSchemaWriteTransaction as h, type SetOperationType as h$, type SortDirection as h0, SqlSchema as h1, StaleVersionError as h2, type StaleVersionErrorDetails as h3, StoreNotInitializedError as h4, type StoreNotInitializedErrorDetails as h5, type StoreNotInitializedReason as h6, TransactionClosedError as h7, TransactionConflictError as h8, type TransactionConflictErrorDetails as h9, isMetaEdge as hA, isNodeType as hB, isRecordedCaptureGuardError as hC, isSystemError as hD, isTypeGraphError as hE, isUserRecoverable as hF, joinJsonPointers as hG, jsonPointer as hH, normalizeJsonPointer as hI, parseJsonPointer as hJ, recordedInstantRevision as hK, recordedInstantWallTime as hL, recordedRelation as hM, type WriteFenceTarget as hN, type SchemaWriteTransactionBackend as hO, type PredicateExpression as hP, type VectorMetricType as hQ, type VectorSlotMap as hR, type RecordedReadBinding as hS, type Traversal as hT, type NodePredicate as hU, type ProjectedField as hV, type AggregateOrderSpec as hW, type GroupBySpec as hX, type RecursiveCyclePolicy as hY, type SelectiveField as hZ, type ComposableQuery as h_, type TraversalExpansion as ha, TrustedImportError as hb, type TrustedImportErrorReason as hc, type TypeGraphErrorOptions as hd, type UniqueConstraint as he, UniquenessError as hf, type UniquenessErrorDetails as hg, UnsupportedBackendCapabilityError as hh, UnsupportedPredicateError as hi, type ValidationErrorDetails as hj, VersionConflictError as hk, type VersionConflictErrorDetails as hl, asEdgeId as hm, asNodeId as hn, asRecordedInstant as ho, compareRecordedInstants as hp, createSqlSchema as hq, defineGraph as hr, expr as hs, getEdgeKinds as ht, getErrorSuggestion as hu, getNodeKinds as hv, isConstraintError as hw, isEdgeType as hx, isEdgeTypeWithEndpoints as hy, isGraphDef as hz, type FenceStatements as i, type SetOperation as i0, type BackendValidityEndMutation as i1, type ReadCoordinate as i2, type ExtensionObjectSchema as i3, type ExtensionEdgeProperties as i4, type AnyEdgeRegistration as i5, type ExtensionObjectOutput as i6, type ExtensionPropertyOutput as i7, GRAPH_EXTENSION_TOP_LEVEL_KEYS as i8, type GraphExtensionTopLevelKey as i9, type InsertNodeParams as j, type NodeInsertProjection as k, type SchemaWriteFenceParams as l, type InsertEdgeParams as m, type EdgeRow as n, type ClaimEdgeCardinalityParams as o, type NodeRow as p, type SqlTableNames as q, type EdgeIndexDeclaration as r, type SqlDialect as s, type RelationalIndexDeclaration as t, type NodeIndexDeclaration as u, type EdgeIndexConfig as v, type EdgeIndexDirection as w, type EdgeIndexWhereBuilder as x, type IndexOrigin as y, type IndexScope as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as AnyEdgeType, v as EdgeIndexConfig, r as EdgeIndexDeclaration, a5 as NodeType, O as NodeIndexConfig, u as NodeIndexDeclaration, D as IndexWhereExpression } from './types-
|
|
1
|
+
import { a4 as AnyEdgeType, v as EdgeIndexConfig, r as EdgeIndexDeclaration, a5 as NodeType, O as NodeIndexConfig, u as NodeIndexDeclaration, D as IndexWhereExpression } from './types-BynPp5kU.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineNodeIndex<N extends NodeType>(node: N, config: NodeIndexConfig<N>): NodeIndexDeclaration;
|
|
4
4
|
declare function defineEdgeIndex<E extends AnyEdgeType>(edge: E, config: EdgeIndexConfig<E>): EdgeIndexDeclaration;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as AnyEdgeType, v as EdgeIndexConfig, r as EdgeIndexDeclaration, a5 as NodeType, O as NodeIndexConfig, u as NodeIndexDeclaration, D as IndexWhereExpression } from './types-
|
|
1
|
+
import { a4 as AnyEdgeType, v as EdgeIndexConfig, r as EdgeIndexDeclaration, a5 as NodeType, O as NodeIndexConfig, u as NodeIndexDeclaration, D as IndexWhereExpression } from './types-BynPp5kU.js';
|
|
2
2
|
|
|
3
3
|
declare function defineNodeIndex<N extends NodeType>(node: N, config: NodeIndexConfig<N>): NodeIndexDeclaration;
|
|
4
4
|
declare function defineEdgeIndex<E extends AnyEdgeType>(edge: E, config: EdgeIndexConfig<E>): EdgeIndexDeclaration;
|