@nicia-ai/typegraph 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { G as GraphDef } from '../manager-Aqzmztkb.cjs';
3
- import { S as Store } from '../store-DbQLsSor.cjs';
2
+ import { G as GraphDef } from '../manager-CWa9cgwb.cjs';
3
+ import { S as Store } from '../store-Ojf0NOKk.cjs';
4
4
  import '../extension-types-B78CZfA5.cjs';
5
5
  import '../types-DZPBXZOK.cjs';
6
6
  import 'drizzle-orm';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { G as GraphDef } from '../manager-C3LxzPcX.js';
3
- import { S as Store } from '../store-CiS_AGNH.js';
2
+ import { G as GraphDef } from '../manager-Cfcb2sJL.js';
3
+ import { S as Store } from '../store-C57kdvAa.js';
4
4
  import '../extension-types-B78CZfA5.js';
5
5
  import '../types-Dzkr0Eqi.js';
6
6
  import 'drizzle-orm';
@@ -486,15 +486,21 @@ declare function getMigrationActions(diff: SchemaDiff): readonly string[];
486
486
  declare function parseSerializedSchema(json: string): SerializedSchema;
487
487
  /**
488
488
  * Reads the active schema row, bootstrapping the base tables on the
489
- * first call against an empty database. Also runs the focused
490
- * runtime-contribution ensure on the success path: drizzle-kit-managed
491
- * setups create every base table EXCEPT strategy-owned runtime tables
492
- * (fulltext), and the missing-table-error fallback below doesn't
493
- * trigger once `schema_versions` exists. `ensureRuntimeContributions`
494
- * closes that gap before any `searchable()` write runs — scoped to
495
- * `runtimeEnsure` contributions only, so this stays a focused ensure
496
- * rather than broad startup DDL (#129). Falls back to the deprecated
497
- * `ensureFulltextTable` for backends predating #129.
489
+ * first call against an empty database.
490
+ *
491
+ * Deliberately does NOT materialize runtime contributions (fulltext)
492
+ * here. Contribution DDL is derived from the *current code graph*; when
493
+ * the persisted schema is behind by a breaking change, running it here
494
+ * would apply vN+1 DDL against the vN table shape before `ensureSchema`
495
+ * computes the diff and throws `MigrationError`. On Postgres the first
496
+ * failing statement poisons the surrounding transaction, so the error
497
+ * that escapes is the idempotent marker-table
498
+ * `CREATE TABLE IF NOT EXISTS` (collateral damage) rather than a clean
499
+ * `MigrationError` — breaking the documented migrate-on-`MigrationError`
500
+ * recovery path (#143). `createStoreWithSchema` is the single canonical
501
+ * durable-marker writer (#135) and materializes runtime contributions
502
+ * only AFTER the schema gate has run, so the breaking-change check is
503
+ * always reached first.
498
504
  */
499
505
  declare function loadActiveSchemaWithBootstrap(backend: GraphBackend, graphId: string): Promise<SchemaVersionRow | undefined>;
500
506
  /**
@@ -609,6 +615,24 @@ declare function ensureSchema<G extends GraphDef>(backend: GraphBackend, graph:
609
615
  storedSchema: SerializedSchema | undefined;
610
616
  }>;
611
617
  }): Promise<SchemaValidationResult>;
618
+ /**
619
+ * Verifies the database is at the same schema version as the code
620
+ * graph, **without** running DDL, bootstrapping tables, or writing
621
+ * markers. The runtime-side counterpart of `ensureSchema` for the
622
+ * least-privilege deployment model documented in "Database roles &
623
+ * least privilege": `createStoreWithSchema` (run once under a privileged
624
+ * role, optionally after applying generated migration SQL externally) is
625
+ * responsible for advancing the schema; runtimes assert it.
626
+ *
627
+ * @throws ConfigurationError if no schema has been initialized.
628
+ * @throws MigrationError if the persisted schema is behind the code
629
+ * graph by any change (safe or breaking).
630
+ * @throws StoreNotInitializedError if the schema is current but the
631
+ * runtime-contribution markers are missing/stale/failed (the
632
+ * privileged migrator has not materialized strategy-owned storage for
633
+ * this graph on this connection).
634
+ */
635
+ declare function assertSchemaCurrent<G extends GraphDef>(backend: GraphBackend, graph: G): Promise<SchemaValidationResult>;
612
636
  /**
613
637
  * Initializes the schema for a new graph.
614
638
  *
@@ -682,4 +706,4 @@ declare function isSchemaInitialized(backend: GraphBackend, graphId: string): Pr
682
706
  */
683
707
  declare function getSchemaChanges<G extends GraphDef>(backend: GraphBackend, graph: G): Promise<SchemaDiff | undefined>;
684
708
 
685
- export { type AllEdgeTypes as A, isGraphDef as B, type ChangeSeverity as C, type DeprecatedKindsChange as D, type EdgeChange as E, type GraphDef as G, type IndexChange as I, KindRegistry as K, type MigrationHookContext as M, type NodeChange as N, type OntologyChange as O, type SchemaDiff as S, type ChangeType as a, type ExtensionChange as b, type SchemaManagerOptions as c, type SchemaValidationResult as d, applyDeprecatedKinds as e, computeSchemaDiff as f, ensureSchema as g, getActiveSchema as h, getMigrationActions as i, getSchemaChanges as j, initializeSchema as k, isBackwardsCompatible as l, isSchemaInitialized as m, loadActiveSchemaWithBootstrap as n, loadAndMergeGraphExtensionDocument as o, migrateSchema as p, parseSerializedSchema as q, rollbackSchema as r, type AllNodeTypes as s, type EdgeKinds as t, type GetEdgeType as u, type GetNodeType as v, type NodeKinds as w, defineGraph as x, getEdgeKinds as y, getNodeKinds as z };
709
+ export { type AllEdgeTypes as A, getNodeKinds as B, type ChangeSeverity as C, type DeprecatedKindsChange as D, type EdgeChange as E, isGraphDef as F, type GraphDef as G, type IndexChange as I, KindRegistry as K, type MigrationHookContext as M, type NodeChange as N, type OntologyChange as O, type SchemaDiff as S, type ChangeType as a, type ExtensionChange as b, type SchemaManagerOptions as c, type SchemaValidationResult as d, applyDeprecatedKinds as e, assertSchemaCurrent as f, computeSchemaDiff as g, ensureSchema as h, getActiveSchema as i, getMigrationActions as j, getSchemaChanges as k, initializeSchema as l, isBackwardsCompatible as m, isSchemaInitialized as n, loadActiveSchemaWithBootstrap as o, loadAndMergeGraphExtensionDocument as p, migrateSchema as q, parseSerializedSchema as r, rollbackSchema as s, type AllNodeTypes as t, type EdgeKinds as u, type GetEdgeType as v, type GetNodeType as w, type NodeKinds as x, defineGraph as y, getEdgeKinds as z };
@@ -486,15 +486,21 @@ declare function getMigrationActions(diff: SchemaDiff): readonly string[];
486
486
  declare function parseSerializedSchema(json: string): SerializedSchema;
487
487
  /**
488
488
  * Reads the active schema row, bootstrapping the base tables on the
489
- * first call against an empty database. Also runs the focused
490
- * runtime-contribution ensure on the success path: drizzle-kit-managed
491
- * setups create every base table EXCEPT strategy-owned runtime tables
492
- * (fulltext), and the missing-table-error fallback below doesn't
493
- * trigger once `schema_versions` exists. `ensureRuntimeContributions`
494
- * closes that gap before any `searchable()` write runs — scoped to
495
- * `runtimeEnsure` contributions only, so this stays a focused ensure
496
- * rather than broad startup DDL (#129). Falls back to the deprecated
497
- * `ensureFulltextTable` for backends predating #129.
489
+ * first call against an empty database.
490
+ *
491
+ * Deliberately does NOT materialize runtime contributions (fulltext)
492
+ * here. Contribution DDL is derived from the *current code graph*; when
493
+ * the persisted schema is behind by a breaking change, running it here
494
+ * would apply vN+1 DDL against the vN table shape before `ensureSchema`
495
+ * computes the diff and throws `MigrationError`. On Postgres the first
496
+ * failing statement poisons the surrounding transaction, so the error
497
+ * that escapes is the idempotent marker-table
498
+ * `CREATE TABLE IF NOT EXISTS` (collateral damage) rather than a clean
499
+ * `MigrationError` — breaking the documented migrate-on-`MigrationError`
500
+ * recovery path (#143). `createStoreWithSchema` is the single canonical
501
+ * durable-marker writer (#135) and materializes runtime contributions
502
+ * only AFTER the schema gate has run, so the breaking-change check is
503
+ * always reached first.
498
504
  */
499
505
  declare function loadActiveSchemaWithBootstrap(backend: GraphBackend, graphId: string): Promise<SchemaVersionRow | undefined>;
500
506
  /**
@@ -609,6 +615,24 @@ declare function ensureSchema<G extends GraphDef>(backend: GraphBackend, graph:
609
615
  storedSchema: SerializedSchema | undefined;
610
616
  }>;
611
617
  }): Promise<SchemaValidationResult>;
618
+ /**
619
+ * Verifies the database is at the same schema version as the code
620
+ * graph, **without** running DDL, bootstrapping tables, or writing
621
+ * markers. The runtime-side counterpart of `ensureSchema` for the
622
+ * least-privilege deployment model documented in "Database roles &
623
+ * least privilege": `createStoreWithSchema` (run once under a privileged
624
+ * role, optionally after applying generated migration SQL externally) is
625
+ * responsible for advancing the schema; runtimes assert it.
626
+ *
627
+ * @throws ConfigurationError if no schema has been initialized.
628
+ * @throws MigrationError if the persisted schema is behind the code
629
+ * graph by any change (safe or breaking).
630
+ * @throws StoreNotInitializedError if the schema is current but the
631
+ * runtime-contribution markers are missing/stale/failed (the
632
+ * privileged migrator has not materialized strategy-owned storage for
633
+ * this graph on this connection).
634
+ */
635
+ declare function assertSchemaCurrent<G extends GraphDef>(backend: GraphBackend, graph: G): Promise<SchemaValidationResult>;
612
636
  /**
613
637
  * Initializes the schema for a new graph.
614
638
  *
@@ -682,4 +706,4 @@ declare function isSchemaInitialized(backend: GraphBackend, graphId: string): Pr
682
706
  */
683
707
  declare function getSchemaChanges<G extends GraphDef>(backend: GraphBackend, graph: G): Promise<SchemaDiff | undefined>;
684
708
 
685
- export { type AllEdgeTypes as A, isGraphDef as B, type ChangeSeverity as C, type DeprecatedKindsChange as D, type EdgeChange as E, type GraphDef as G, type IndexChange as I, KindRegistry as K, type MigrationHookContext as M, type NodeChange as N, type OntologyChange as O, type SchemaDiff as S, type ChangeType as a, type ExtensionChange as b, type SchemaManagerOptions as c, type SchemaValidationResult as d, applyDeprecatedKinds as e, computeSchemaDiff as f, ensureSchema as g, getActiveSchema as h, getMigrationActions as i, getSchemaChanges as j, initializeSchema as k, isBackwardsCompatible as l, isSchemaInitialized as m, loadActiveSchemaWithBootstrap as n, loadAndMergeGraphExtensionDocument as o, migrateSchema as p, parseSerializedSchema as q, rollbackSchema as r, type AllNodeTypes as s, type EdgeKinds as t, type GetEdgeType as u, type GetNodeType as v, type NodeKinds as w, defineGraph as x, getEdgeKinds as y, getNodeKinds as z };
709
+ export { type AllEdgeTypes as A, getNodeKinds as B, type ChangeSeverity as C, type DeprecatedKindsChange as D, type EdgeChange as E, isGraphDef as F, type GraphDef as G, type IndexChange as I, KindRegistry as K, type MigrationHookContext as M, type NodeChange as N, type OntologyChange as O, type SchemaDiff as S, type ChangeType as a, type ExtensionChange as b, type SchemaManagerOptions as c, type SchemaValidationResult as d, applyDeprecatedKinds as e, assertSchemaCurrent as f, computeSchemaDiff as g, ensureSchema as h, getActiveSchema as i, getMigrationActions as j, getSchemaChanges as k, initializeSchema as l, isBackwardsCompatible as m, isSchemaInitialized as n, loadActiveSchemaWithBootstrap as o, loadAndMergeGraphExtensionDocument as p, migrateSchema as q, parseSerializedSchema as r, rollbackSchema as s, type AllNodeTypes as t, type EdgeKinds as u, type GetEdgeType as v, type GetNodeType as w, type NodeKinds as x, defineGraph as y, getEdgeKinds as z };
@@ -1,6 +1,6 @@
1
- import { G as GraphDef } from '../manager-Aqzmztkb.cjs';
1
+ import { G as GraphDef } from '../manager-CWa9cgwb.cjs';
2
2
  import { Q as QueryAst } from '../types-DZPBXZOK.cjs';
3
- import { S as Store } from '../store-DbQLsSor.cjs';
3
+ import { S as Store } from '../store-Ojf0NOKk.cjs';
4
4
  import { P as ProfilerOptions, a as ProfileReport } from '../types-CF7nDH3q.cjs';
5
5
  export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-CF7nDH3q.cjs';
6
6
  import '../extension-types-B78CZfA5.cjs';
@@ -1,6 +1,6 @@
1
- import { G as GraphDef } from '../manager-C3LxzPcX.js';
1
+ import { G as GraphDef } from '../manager-Cfcb2sJL.js';
2
2
  import { Q as QueryAst } from '../types-Dzkr0Eqi.js';
3
- import { S as Store } from '../store-CiS_AGNH.js';
3
+ import { S as Store } from '../store-C57kdvAa.js';
4
4
  import { P as ProfilerOptions, a as ProfileReport } from '../types-Cars4JZ1.js';
5
5
  export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-Cars4JZ1.js';
6
6
  import '../extension-types-B78CZfA5.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk4TJI44WP_cjs = require('../chunk-4TJI44WP.cjs');
3
+ var chunkZGEMI7MJ_cjs = require('../chunk-ZGEMI7MJ.cjs');
4
4
  require('../chunk-WFUN6DCM.cjs');
5
5
  require('../chunk-PYJOBZR3.cjs');
6
6
  require('../chunk-IUIWCFG3.cjs');
@@ -48,7 +48,7 @@ function buildRegistryFromClosures(schema) {
48
48
  const edgeImplyingClosure = recordToMap(closures.edgeImplyingClosure);
49
49
  const nodeKinds = /* @__PURE__ */ new Map();
50
50
  const edgeKinds = /* @__PURE__ */ new Map();
51
- return new chunk4TJI44WP_cjs.KindRegistry(nodeKinds, edgeKinds, {
51
+ return new chunkZGEMI7MJ_cjs.KindRegistry(nodeKinds, edgeKinds, {
52
52
  subClassAncestors,
53
53
  subClassDescendants,
54
54
  broaderClosure,
@@ -76,91 +76,95 @@ function simpleRecordToMap(record) {
76
76
 
77
77
  Object.defineProperty(exports, "applyDeprecatedKinds", {
78
78
  enumerable: true,
79
- get: function () { return chunk4TJI44WP_cjs.applyDeprecatedKinds; }
79
+ get: function () { return chunkZGEMI7MJ_cjs.applyDeprecatedKinds; }
80
+ });
81
+ Object.defineProperty(exports, "assertSchemaCurrent", {
82
+ enumerable: true,
83
+ get: function () { return chunkZGEMI7MJ_cjs.assertSchemaCurrent; }
80
84
  });
81
85
  Object.defineProperty(exports, "computeSchemaDiff", {
82
86
  enumerable: true,
83
- get: function () { return chunk4TJI44WP_cjs.computeSchemaDiff; }
87
+ get: function () { return chunkZGEMI7MJ_cjs.computeSchemaDiff; }
84
88
  });
85
89
  Object.defineProperty(exports, "computeSchemaHash", {
86
90
  enumerable: true,
87
- get: function () { return chunk4TJI44WP_cjs.computeSchemaHash; }
91
+ get: function () { return chunkZGEMI7MJ_cjs.computeSchemaHash; }
88
92
  });
89
93
  Object.defineProperty(exports, "createValidationError", {
90
94
  enumerable: true,
91
- get: function () { return chunk4TJI44WP_cjs.createValidationError; }
95
+ get: function () { return chunkZGEMI7MJ_cjs.createValidationError; }
92
96
  });
93
97
  Object.defineProperty(exports, "deserializeWherePredicate", {
94
98
  enumerable: true,
95
- get: function () { return chunk4TJI44WP_cjs.deserializeWherePredicate; }
99
+ get: function () { return chunkZGEMI7MJ_cjs.deserializeWherePredicate; }
96
100
  });
97
101
  Object.defineProperty(exports, "ensureSchema", {
98
102
  enumerable: true,
99
- get: function () { return chunk4TJI44WP_cjs.ensureSchema; }
103
+ get: function () { return chunkZGEMI7MJ_cjs.ensureSchema; }
100
104
  });
101
105
  Object.defineProperty(exports, "getActiveSchema", {
102
106
  enumerable: true,
103
- get: function () { return chunk4TJI44WP_cjs.getActiveSchema; }
107
+ get: function () { return chunkZGEMI7MJ_cjs.getActiveSchema; }
104
108
  });
105
109
  Object.defineProperty(exports, "getMigrationActions", {
106
110
  enumerable: true,
107
- get: function () { return chunk4TJI44WP_cjs.getMigrationActions; }
111
+ get: function () { return chunkZGEMI7MJ_cjs.getMigrationActions; }
108
112
  });
109
113
  Object.defineProperty(exports, "getSchemaChanges", {
110
114
  enumerable: true,
111
- get: function () { return chunk4TJI44WP_cjs.getSchemaChanges; }
115
+ get: function () { return chunkZGEMI7MJ_cjs.getSchemaChanges; }
112
116
  });
113
117
  Object.defineProperty(exports, "initializeSchema", {
114
118
  enumerable: true,
115
- get: function () { return chunk4TJI44WP_cjs.initializeSchema; }
119
+ get: function () { return chunkZGEMI7MJ_cjs.initializeSchema; }
116
120
  });
117
121
  Object.defineProperty(exports, "isBackwardsCompatible", {
118
122
  enumerable: true,
119
- get: function () { return chunk4TJI44WP_cjs.isBackwardsCompatible; }
123
+ get: function () { return chunkZGEMI7MJ_cjs.isBackwardsCompatible; }
120
124
  });
121
125
  Object.defineProperty(exports, "isSchemaInitialized", {
122
126
  enumerable: true,
123
- get: function () { return chunk4TJI44WP_cjs.isSchemaInitialized; }
127
+ get: function () { return chunkZGEMI7MJ_cjs.isSchemaInitialized; }
124
128
  });
125
129
  Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
126
130
  enumerable: true,
127
- get: function () { return chunk4TJI44WP_cjs.loadActiveSchemaWithBootstrap; }
131
+ get: function () { return chunkZGEMI7MJ_cjs.loadActiveSchemaWithBootstrap; }
128
132
  });
129
133
  Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
130
134
  enumerable: true,
131
- get: function () { return chunk4TJI44WP_cjs.loadAndMergeGraphExtensionDocument; }
135
+ get: function () { return chunkZGEMI7MJ_cjs.loadAndMergeGraphExtensionDocument; }
132
136
  });
133
137
  Object.defineProperty(exports, "migrateSchema", {
134
138
  enumerable: true,
135
- get: function () { return chunk4TJI44WP_cjs.migrateSchema; }
139
+ get: function () { return chunkZGEMI7MJ_cjs.migrateSchema; }
136
140
  });
137
141
  Object.defineProperty(exports, "parseSerializedSchema", {
138
142
  enumerable: true,
139
- get: function () { return chunk4TJI44WP_cjs.parseSerializedSchema; }
143
+ get: function () { return chunkZGEMI7MJ_cjs.parseSerializedSchema; }
140
144
  });
141
145
  Object.defineProperty(exports, "rollbackSchema", {
142
146
  enumerable: true,
143
- get: function () { return chunk4TJI44WP_cjs.rollbackSchema; }
147
+ get: function () { return chunkZGEMI7MJ_cjs.rollbackSchema; }
144
148
  });
145
149
  Object.defineProperty(exports, "serializeSchema", {
146
150
  enumerable: true,
147
- get: function () { return chunk4TJI44WP_cjs.serializeSchema; }
151
+ get: function () { return chunkZGEMI7MJ_cjs.serializeSchema; }
148
152
  });
149
153
  Object.defineProperty(exports, "validateEdgeProps", {
150
154
  enumerable: true,
151
- get: function () { return chunk4TJI44WP_cjs.validateEdgeProps; }
155
+ get: function () { return chunkZGEMI7MJ_cjs.validateEdgeProps; }
152
156
  });
153
157
  Object.defineProperty(exports, "validateNodeProps", {
154
158
  enumerable: true,
155
- get: function () { return chunk4TJI44WP_cjs.validateNodeProps; }
159
+ get: function () { return chunkZGEMI7MJ_cjs.validateNodeProps; }
156
160
  });
157
161
  Object.defineProperty(exports, "validateProps", {
158
162
  enumerable: true,
159
- get: function () { return chunk4TJI44WP_cjs.validateProps; }
163
+ get: function () { return chunkZGEMI7MJ_cjs.validateProps; }
160
164
  });
161
165
  Object.defineProperty(exports, "wrapZodError", {
162
166
  enumerable: true,
163
- get: function () { return chunk4TJI44WP_cjs.wrapZodError; }
167
+ get: function () { return chunkZGEMI7MJ_cjs.wrapZodError; }
164
168
  });
165
169
  exports.deserializeSchema = deserializeSchema;
166
170
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { K as KindRegistry, G as GraphDef } from '../manager-Aqzmztkb.cjs';
2
- export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as computeSchemaDiff, g as ensureSchema, h as getActiveSchema, i as getMigrationActions, j as getSchemaChanges, k as initializeSchema, l as isBackwardsCompatible, m as isSchemaInitialized, n as loadActiveSchemaWithBootstrap, o as loadAndMergeGraphExtensionDocument, p as migrateSchema, q as parseSerializedSchema, r as rollbackSchema } from '../manager-Aqzmztkb.cjs';
1
+ import { K as KindRegistry, G as GraphDef } from '../manager-CWa9cgwb.cjs';
2
+ export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-CWa9cgwb.cjs';
3
3
  import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-DZPBXZOK.cjs';
4
4
  export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-DZPBXZOK.cjs';
5
5
  import { a as NullCheckOp, K as KindEntity } from '../extension-types-B78CZfA5.cjs';
@@ -1,5 +1,5 @@
1
- import { K as KindRegistry, G as GraphDef } from '../manager-C3LxzPcX.js';
2
- export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as computeSchemaDiff, g as ensureSchema, h as getActiveSchema, i as getMigrationActions, j as getSchemaChanges, k as initializeSchema, l as isBackwardsCompatible, m as isSchemaInitialized, n as loadActiveSchemaWithBootstrap, o as loadAndMergeGraphExtensionDocument, p as migrateSchema, q as parseSerializedSchema, r as rollbackSchema } from '../manager-C3LxzPcX.js';
1
+ import { K as KindRegistry, G as GraphDef } from '../manager-Cfcb2sJL.js';
2
+ export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-Cfcb2sJL.js';
3
3
  import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-Dzkr0Eqi.js';
4
4
  export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-Dzkr0Eqi.js';
5
5
  import { a as NullCheckOp, K as KindEntity } from '../extension-types-B78CZfA5.js';
@@ -1,5 +1,5 @@
1
- import { KindRegistry } from '../chunk-3W6AIFT2.js';
2
- export { applyDeprecatedKinds, computeSchemaDiff, computeSchemaHash, createValidationError, deserializeWherePredicate, ensureSchema, getActiveSchema, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, rollbackSchema, serializeSchema, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-3W6AIFT2.js';
1
+ import { KindRegistry } from '../chunk-X53YKGHR.js';
2
+ export { applyDeprecatedKinds, assertSchemaCurrent, computeSchemaDiff, computeSchemaHash, createValidationError, deserializeWherePredicate, ensureSchema, getActiveSchema, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, rollbackSchema, serializeSchema, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-X53YKGHR.js';
3
3
  import '../chunk-OYLF3IC7.js';
4
4
  import '../chunk-TSGBRPNE.js';
5
5
  import '../chunk-5H3BAMTB.js';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { p as SqlDialect, ah as SqlSchema, F as FulltextStrategy, ax as ValueType, ay as PredicateExpression, az as VectorMetricType, a0 as FulltextQueryMode, Q as QueryAst, J as JsonPointer, L as FieldRef, ac as ParameterRef, G as GraphBackend, al as TransactionBackend, a5 as JsonPointerInput, am as TraversalExpansion, aA as Traversal, aB as NodePredicate, aC as ProjectedField, ab as OrderSpec, aD as GroupBySpec, a3 as HybridFusionOptions, aE as RecursiveCyclePolicy, aF as TraversalDirection$1, aG as EdgeRow, aH as NodeRow, U as AdoptedTransaction, K as AggregateExpr, aI as SelectiveField, aJ as ComposableQuery, aK as SetOperationType, aL as SetOperation, ag as SortDirection, m as JsonSchema, aM as VectorMetric } from './types-Dzkr0Eqi.js';
3
- import { K as KindRegistry, G as GraphDef, t as EdgeKinds, w as NodeKinds, s as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-C3LxzPcX.js';
3
+ import { K as KindRegistry, G as GraphDef, u as EdgeKinds, x as NodeKinds, t as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-Cfcb2sJL.js';
4
4
  import { A as AnyEdgeType, N as NodeType, T as TemporalMode, e as EdgeType, E as EdgeRegistration, h as EdgeId, m as NodeId, b as NodeRegistration, K as KindEntity, f as Cardinality, k as EndpointExistence, d as KindAnnotations, o as UniquenessScope, g as Collation, G as GraphExtension } from './extension-types-B78CZfA5.js';
5
5
  import { SQL } from 'drizzle-orm';
6
6
  import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult } from './materialize-indexes-DFavFQah.js';
@@ -3766,5 +3766,47 @@ declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend
3766
3766
  * ```
3767
3767
  */
3768
3768
  declare function createStoreWithSchema<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions & SchemaManagerOptions): Promise<[Store<G>, SchemaValidationResult]>;
3769
+ /**
3770
+ * Creates a Store after **verifying** that the database is at the same
3771
+ * schema version as the code graph — without running any DDL, bootstrap,
3772
+ * or marker writes. The runtime counterpart of `createStoreWithSchema`
3773
+ * for the deployment model in "Database roles & least privilege":
3774
+ *
3775
+ * - **`createStoreWithSchema(graph, backend)`** runs DDL (bootstrap,
3776
+ * safe auto-migrations, durable contribution materialization). Run it
3777
+ * once at startup under a privileged role that holds `CREATE` / DDL.
3778
+ * - **`createVerifiedStore(graph, backend)`** is the zero-DDL runtime
3779
+ * attach with a verification gate. Throws `MigrationError` when the
3780
+ * persisted schema is behind the code graph (any pending change, safe
3781
+ * or breaking), `ConfigurationError` when no schema has been
3782
+ * initialized, or `StoreNotInitializedError` when the schema is
3783
+ * current but the runtime-contribution markers are missing/stale.
3784
+ * The runtime can use a least-privilege, DML-only database role.
3785
+ * - **`createStore(graph, backend)`** is the same zero-DDL attach
3786
+ * *without* the verification gate — fastest, but schema drift goes
3787
+ * undetected until a hot-path operation trips.
3788
+ *
3789
+ * Folds any persisted graph-extension document into the supplied graph
3790
+ * before building the Store, just like `createStoreWithSchema`.
3791
+ *
3792
+ * @param graph - The graph definition
3793
+ * @param backend - The database backend
3794
+ * @param options - Optional store configuration
3795
+ * @returns A tuple of [store, validationResult] — `result.status` is
3796
+ * always `"unchanged"` on success
3797
+ *
3798
+ * @example
3799
+ * ```typescript
3800
+ * // Runtime — least-privilege, DML-only role. Zero DDL.
3801
+ * const [store, result] = await createVerifiedStore(graph, backend);
3802
+ * // result.status === "unchanged" — the privileged migrator is current.
3803
+ * ```
3804
+ *
3805
+ * @throws ConfigurationError if no schema has been initialized.
3806
+ * @throws MigrationError if the persisted schema is behind the code graph.
3807
+ * @throws StoreNotInitializedError if runtime-contribution markers are
3808
+ * missing/stale/failed for this graph on this connection.
3809
+ */
3810
+ declare function createVerifiedStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions): Promise<[Store<G>, SchemaValidationResult]>;
3769
3811
 
3770
- export { type MaterializeRemovalsOptions as $, type AliasMap as A, type BaseTraversalOptions as B, type CreateQueryBuilderOptions as C, DEFAULT_SEARCHABLE_LANGUAGE as D, type EdgeAliasMap as E, type EmbeddingSchema as F, type EmbeddingValue as G, ExecutableAggregateQuery as H, ExecutableQuery as I, type FieldAccessor as J, type FulltextSearchHit as K, type FulltextSearchOptions as L, type GetOrCreateAction as M, type GraphAlgorithms as N, type GraphEdgeCollections as O, type GraphNodeCollections as P, QueryBuilder as Q, type HookContext as R, Store as S, TraversalBuilder as T, type HybridFulltextOptions as U, type HybridSearchHit as V, type HybridSearchOptions as W, type HybridVectorOptions as X, type IfExistsMode as Y, type KindIntrospection as Z, type MaterializeRemovalsEntry as _, type AggregateResult as a, getSearchableMetadata as a$, type MaterializeRemovalsResult as a0, type NeighborsOptions as a1, type Node as a2, type NodeAccessor as a3, type NodeAlias as a4, type NodeCollection as a5, type NodeGetOrCreateByConstraintOptions as a6, type NodeGetOrCreateByConstraintResult as a7, type NodeIdentifier as a8, type NodeRef as a9, type StoreProjection as aA, type StoreRef as aB, StoreSearch as aC, type StreamOptions as aD, type SubgraphEdgeResult as aE, type SubgraphNodeResult as aF, type SubgraphOptions as aG, type SubgraphResult as aH, type SubsetEdge as aI, type SubsetNode as aJ, type TemporalAlgorithmOptions as aK, type TransactionContext as aL, type TraversalDirection as aM, type TypedEdgeCollection as aN, UnionableQuery as aO, type UniqueIntrospection as aP, type UpdateEdgeInput as aQ, type UpdateNodeInput as aR, type VectorSearchHit as aS, type VectorSearchOptions as aT, createStore as aU, createStoreWithSchema as aV, defineSubgraphProject as aW, embedding as aX, exists as aY, fieldRef as aZ, getEmbeddingDimensions as a_, type OntologyIntrospection as aa, type OperationHookContext as ab, type PaginateOptions as ac, type PaginatedResult as ad, type PathNode as ae, type Predicate as af, PreparedQuery as ag, type PropsAccessor as ah, type QueryHookContext as ai, type QueryOptions as aj, type ReachableNode as ak, type ReachableOptions as al, type RebuildFulltextOptions as am, type RebuildFulltextResult as an, type RecursiveTraversalOptions as ao, type SchemaIntrospection as ap, type SearchableMetadata as aq, type SearchableOptions as ar, type SearchableSchema as as, type SelectContext as at, type SelectableEdge as au, type SelectableNode as av, type ShortestPathOptions as aw, type ShortestPathResult as ax, type StoreHooks as ay, type StoreOptions as az, type AlgorithmCyclePolicy as b, inSubquery as b0, isEmbeddingSchema as b1, isParameterRef as b2, isSearchableSchema as b3, notExists as b4, notInSubquery as b5, param as b6, searchable as b7, type AnyEdge as c, type AnyNode as d, type BatchResults as e, type BatchableQuery as f, type ConstraintNames as g, type CreateEdgeInput as h, type CreateNodeInput as i, type DegreeOptions as j, type DynamicEdgeAccessor as k, type DynamicEdgeCollection as l, type DynamicEdgeType as m, type DynamicFieldBuilder as n, type DynamicNodeAccessor as o, type DynamicNodeCollection as p, type DynamicNodeType as q, type DynamicSelectableEdge as r, type DynamicSelectableNode as s, type Edge as t, type EdgeAccessor as u, type EdgeCollection as v, type EdgeFindByEndpointsOptions as w, type EdgeGetOrCreateByEndpointsOptions as x, type EdgeGetOrCreateByEndpointsResult as y, type EdgeIntrospection as z };
3812
+ export { type MaterializeRemovalsOptions as $, type AliasMap as A, type BaseTraversalOptions as B, type CreateQueryBuilderOptions as C, DEFAULT_SEARCHABLE_LANGUAGE as D, type EdgeAliasMap as E, type EmbeddingSchema as F, type EmbeddingValue as G, ExecutableAggregateQuery as H, ExecutableQuery as I, type FieldAccessor as J, type FulltextSearchHit as K, type FulltextSearchOptions as L, type GetOrCreateAction as M, type GraphAlgorithms as N, type GraphEdgeCollections as O, type GraphNodeCollections as P, QueryBuilder as Q, type HookContext as R, Store as S, TraversalBuilder as T, type HybridFulltextOptions as U, type HybridSearchHit as V, type HybridSearchOptions as W, type HybridVectorOptions as X, type IfExistsMode as Y, type KindIntrospection as Z, type MaterializeRemovalsEntry as _, type AggregateResult as a, getEmbeddingDimensions as a$, type MaterializeRemovalsResult as a0, type NeighborsOptions as a1, type Node as a2, type NodeAccessor as a3, type NodeAlias as a4, type NodeCollection as a5, type NodeGetOrCreateByConstraintOptions as a6, type NodeGetOrCreateByConstraintResult as a7, type NodeIdentifier as a8, type NodeRef as a9, type StoreProjection as aA, type StoreRef as aB, StoreSearch as aC, type StreamOptions as aD, type SubgraphEdgeResult as aE, type SubgraphNodeResult as aF, type SubgraphOptions as aG, type SubgraphResult as aH, type SubsetEdge as aI, type SubsetNode as aJ, type TemporalAlgorithmOptions as aK, type TransactionContext as aL, type TraversalDirection as aM, type TypedEdgeCollection as aN, UnionableQuery as aO, type UniqueIntrospection as aP, type UpdateEdgeInput as aQ, type UpdateNodeInput as aR, type VectorSearchHit as aS, type VectorSearchOptions as aT, createStore as aU, createStoreWithSchema as aV, createVerifiedStore as aW, defineSubgraphProject as aX, embedding as aY, exists as aZ, fieldRef as a_, type OntologyIntrospection as aa, type OperationHookContext as ab, type PaginateOptions as ac, type PaginatedResult as ad, type PathNode as ae, type Predicate as af, PreparedQuery as ag, type PropsAccessor as ah, type QueryHookContext as ai, type QueryOptions as aj, type ReachableNode as ak, type ReachableOptions as al, type RebuildFulltextOptions as am, type RebuildFulltextResult as an, type RecursiveTraversalOptions as ao, type SchemaIntrospection as ap, type SearchableMetadata as aq, type SearchableOptions as ar, type SearchableSchema as as, type SelectContext as at, type SelectableEdge as au, type SelectableNode as av, type ShortestPathOptions as aw, type ShortestPathResult as ax, type StoreHooks as ay, type StoreOptions as az, type AlgorithmCyclePolicy as b, getSearchableMetadata as b0, inSubquery as b1, isEmbeddingSchema as b2, isParameterRef as b3, isSearchableSchema as b4, notExists as b5, notInSubquery as b6, param as b7, searchable as b8, type AnyEdge as c, type AnyNode as d, type BatchResults as e, type BatchableQuery as f, type ConstraintNames as g, type CreateEdgeInput as h, type CreateNodeInput as i, type DegreeOptions as j, type DynamicEdgeAccessor as k, type DynamicEdgeCollection as l, type DynamicEdgeType as m, type DynamicFieldBuilder as n, type DynamicNodeAccessor as o, type DynamicNodeCollection as p, type DynamicNodeType as q, type DynamicSelectableEdge as r, type DynamicSelectableNode as s, type Edge as t, type EdgeAccessor as u, type EdgeCollection as v, type EdgeFindByEndpointsOptions as w, type EdgeGetOrCreateByEndpointsOptions as x, type EdgeGetOrCreateByEndpointsResult as y, type EdgeIntrospection as z };
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { p as SqlDialect, ah as SqlSchema, F as FulltextStrategy, ax as ValueType, ay as PredicateExpression, az as VectorMetricType, a0 as FulltextQueryMode, Q as QueryAst, J as JsonPointer, L as FieldRef, ac as ParameterRef, G as GraphBackend, al as TransactionBackend, a5 as JsonPointerInput, am as TraversalExpansion, aA as Traversal, aB as NodePredicate, aC as ProjectedField, ab as OrderSpec, aD as GroupBySpec, a3 as HybridFusionOptions, aE as RecursiveCyclePolicy, aF as TraversalDirection$1, aG as EdgeRow, aH as NodeRow, U as AdoptedTransaction, K as AggregateExpr, aI as SelectiveField, aJ as ComposableQuery, aK as SetOperationType, aL as SetOperation, ag as SortDirection, m as JsonSchema, aM as VectorMetric } from './types-DZPBXZOK.cjs';
3
- import { K as KindRegistry, G as GraphDef, t as EdgeKinds, w as NodeKinds, s as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-Aqzmztkb.cjs';
3
+ import { K as KindRegistry, G as GraphDef, u as EdgeKinds, x as NodeKinds, t as AllNodeTypes, c as SchemaManagerOptions, d as SchemaValidationResult } from './manager-CWa9cgwb.cjs';
4
4
  import { A as AnyEdgeType, N as NodeType, T as TemporalMode, e as EdgeType, E as EdgeRegistration, h as EdgeId, m as NodeId, b as NodeRegistration, K as KindEntity, f as Cardinality, k as EndpointExistence, d as KindAnnotations, o as UniquenessScope, g as Collation, G as GraphExtension } from './extension-types-B78CZfA5.cjs';
5
5
  import { SQL } from 'drizzle-orm';
6
6
  import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult } from './materialize-indexes-BQfaAZKA.cjs';
@@ -3766,5 +3766,47 @@ declare function createStore<G extends GraphDef>(graph: G, backend: GraphBackend
3766
3766
  * ```
3767
3767
  */
3768
3768
  declare function createStoreWithSchema<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions & SchemaManagerOptions): Promise<[Store<G>, SchemaValidationResult]>;
3769
+ /**
3770
+ * Creates a Store after **verifying** that the database is at the same
3771
+ * schema version as the code graph — without running any DDL, bootstrap,
3772
+ * or marker writes. The runtime counterpart of `createStoreWithSchema`
3773
+ * for the deployment model in "Database roles & least privilege":
3774
+ *
3775
+ * - **`createStoreWithSchema(graph, backend)`** runs DDL (bootstrap,
3776
+ * safe auto-migrations, durable contribution materialization). Run it
3777
+ * once at startup under a privileged role that holds `CREATE` / DDL.
3778
+ * - **`createVerifiedStore(graph, backend)`** is the zero-DDL runtime
3779
+ * attach with a verification gate. Throws `MigrationError` when the
3780
+ * persisted schema is behind the code graph (any pending change, safe
3781
+ * or breaking), `ConfigurationError` when no schema has been
3782
+ * initialized, or `StoreNotInitializedError` when the schema is
3783
+ * current but the runtime-contribution markers are missing/stale.
3784
+ * The runtime can use a least-privilege, DML-only database role.
3785
+ * - **`createStore(graph, backend)`** is the same zero-DDL attach
3786
+ * *without* the verification gate — fastest, but schema drift goes
3787
+ * undetected until a hot-path operation trips.
3788
+ *
3789
+ * Folds any persisted graph-extension document into the supplied graph
3790
+ * before building the Store, just like `createStoreWithSchema`.
3791
+ *
3792
+ * @param graph - The graph definition
3793
+ * @param backend - The database backend
3794
+ * @param options - Optional store configuration
3795
+ * @returns A tuple of [store, validationResult] — `result.status` is
3796
+ * always `"unchanged"` on success
3797
+ *
3798
+ * @example
3799
+ * ```typescript
3800
+ * // Runtime — least-privilege, DML-only role. Zero DDL.
3801
+ * const [store, result] = await createVerifiedStore(graph, backend);
3802
+ * // result.status === "unchanged" — the privileged migrator is current.
3803
+ * ```
3804
+ *
3805
+ * @throws ConfigurationError if no schema has been initialized.
3806
+ * @throws MigrationError if the persisted schema is behind the code graph.
3807
+ * @throws StoreNotInitializedError if runtime-contribution markers are
3808
+ * missing/stale/failed for this graph on this connection.
3809
+ */
3810
+ declare function createVerifiedStore<G extends GraphDef>(graph: G, backend: GraphBackend, options?: StoreOptions): Promise<[Store<G>, SchemaValidationResult]>;
3769
3811
 
3770
- export { type MaterializeRemovalsOptions as $, type AliasMap as A, type BaseTraversalOptions as B, type CreateQueryBuilderOptions as C, DEFAULT_SEARCHABLE_LANGUAGE as D, type EdgeAliasMap as E, type EmbeddingSchema as F, type EmbeddingValue as G, ExecutableAggregateQuery as H, ExecutableQuery as I, type FieldAccessor as J, type FulltextSearchHit as K, type FulltextSearchOptions as L, type GetOrCreateAction as M, type GraphAlgorithms as N, type GraphEdgeCollections as O, type GraphNodeCollections as P, QueryBuilder as Q, type HookContext as R, Store as S, TraversalBuilder as T, type HybridFulltextOptions as U, type HybridSearchHit as V, type HybridSearchOptions as W, type HybridVectorOptions as X, type IfExistsMode as Y, type KindIntrospection as Z, type MaterializeRemovalsEntry as _, type AggregateResult as a, getSearchableMetadata as a$, type MaterializeRemovalsResult as a0, type NeighborsOptions as a1, type Node as a2, type NodeAccessor as a3, type NodeAlias as a4, type NodeCollection as a5, type NodeGetOrCreateByConstraintOptions as a6, type NodeGetOrCreateByConstraintResult as a7, type NodeIdentifier as a8, type NodeRef as a9, type StoreProjection as aA, type StoreRef as aB, StoreSearch as aC, type StreamOptions as aD, type SubgraphEdgeResult as aE, type SubgraphNodeResult as aF, type SubgraphOptions as aG, type SubgraphResult as aH, type SubsetEdge as aI, type SubsetNode as aJ, type TemporalAlgorithmOptions as aK, type TransactionContext as aL, type TraversalDirection as aM, type TypedEdgeCollection as aN, UnionableQuery as aO, type UniqueIntrospection as aP, type UpdateEdgeInput as aQ, type UpdateNodeInput as aR, type VectorSearchHit as aS, type VectorSearchOptions as aT, createStore as aU, createStoreWithSchema as aV, defineSubgraphProject as aW, embedding as aX, exists as aY, fieldRef as aZ, getEmbeddingDimensions as a_, type OntologyIntrospection as aa, type OperationHookContext as ab, type PaginateOptions as ac, type PaginatedResult as ad, type PathNode as ae, type Predicate as af, PreparedQuery as ag, type PropsAccessor as ah, type QueryHookContext as ai, type QueryOptions as aj, type ReachableNode as ak, type ReachableOptions as al, type RebuildFulltextOptions as am, type RebuildFulltextResult as an, type RecursiveTraversalOptions as ao, type SchemaIntrospection as ap, type SearchableMetadata as aq, type SearchableOptions as ar, type SearchableSchema as as, type SelectContext as at, type SelectableEdge as au, type SelectableNode as av, type ShortestPathOptions as aw, type ShortestPathResult as ax, type StoreHooks as ay, type StoreOptions as az, type AlgorithmCyclePolicy as b, inSubquery as b0, isEmbeddingSchema as b1, isParameterRef as b2, isSearchableSchema as b3, notExists as b4, notInSubquery as b5, param as b6, searchable as b7, type AnyEdge as c, type AnyNode as d, type BatchResults as e, type BatchableQuery as f, type ConstraintNames as g, type CreateEdgeInput as h, type CreateNodeInput as i, type DegreeOptions as j, type DynamicEdgeAccessor as k, type DynamicEdgeCollection as l, type DynamicEdgeType as m, type DynamicFieldBuilder as n, type DynamicNodeAccessor as o, type DynamicNodeCollection as p, type DynamicNodeType as q, type DynamicSelectableEdge as r, type DynamicSelectableNode as s, type Edge as t, type EdgeAccessor as u, type EdgeCollection as v, type EdgeFindByEndpointsOptions as w, type EdgeGetOrCreateByEndpointsOptions as x, type EdgeGetOrCreateByEndpointsResult as y, type EdgeIntrospection as z };
3812
+ export { type MaterializeRemovalsOptions as $, type AliasMap as A, type BaseTraversalOptions as B, type CreateQueryBuilderOptions as C, DEFAULT_SEARCHABLE_LANGUAGE as D, type EdgeAliasMap as E, type EmbeddingSchema as F, type EmbeddingValue as G, ExecutableAggregateQuery as H, ExecutableQuery as I, type FieldAccessor as J, type FulltextSearchHit as K, type FulltextSearchOptions as L, type GetOrCreateAction as M, type GraphAlgorithms as N, type GraphEdgeCollections as O, type GraphNodeCollections as P, QueryBuilder as Q, type HookContext as R, Store as S, TraversalBuilder as T, type HybridFulltextOptions as U, type HybridSearchHit as V, type HybridSearchOptions as W, type HybridVectorOptions as X, type IfExistsMode as Y, type KindIntrospection as Z, type MaterializeRemovalsEntry as _, type AggregateResult as a, getEmbeddingDimensions as a$, type MaterializeRemovalsResult as a0, type NeighborsOptions as a1, type Node as a2, type NodeAccessor as a3, type NodeAlias as a4, type NodeCollection as a5, type NodeGetOrCreateByConstraintOptions as a6, type NodeGetOrCreateByConstraintResult as a7, type NodeIdentifier as a8, type NodeRef as a9, type StoreProjection as aA, type StoreRef as aB, StoreSearch as aC, type StreamOptions as aD, type SubgraphEdgeResult as aE, type SubgraphNodeResult as aF, type SubgraphOptions as aG, type SubgraphResult as aH, type SubsetEdge as aI, type SubsetNode as aJ, type TemporalAlgorithmOptions as aK, type TransactionContext as aL, type TraversalDirection as aM, type TypedEdgeCollection as aN, UnionableQuery as aO, type UniqueIntrospection as aP, type UpdateEdgeInput as aQ, type UpdateNodeInput as aR, type VectorSearchHit as aS, type VectorSearchOptions as aT, createStore as aU, createStoreWithSchema as aV, createVerifiedStore as aW, defineSubgraphProject as aX, embedding as aY, exists as aZ, fieldRef as a_, type OntologyIntrospection as aa, type OperationHookContext as ab, type PaginateOptions as ac, type PaginatedResult as ad, type PathNode as ae, type Predicate as af, PreparedQuery as ag, type PropsAccessor as ah, type QueryHookContext as ai, type QueryOptions as aj, type ReachableNode as ak, type ReachableOptions as al, type RebuildFulltextOptions as am, type RebuildFulltextResult as an, type RecursiveTraversalOptions as ao, type SchemaIntrospection as ap, type SearchableMetadata as aq, type SearchableOptions as ar, type SearchableSchema as as, type SelectContext as at, type SelectableEdge as au, type SelectableNode as av, type ShortestPathOptions as aw, type ShortestPathResult as ax, type StoreHooks as ay, type StoreOptions as az, type AlgorithmCyclePolicy as b, getSearchableMetadata as b0, inSubquery as b1, isEmbeddingSchema as b2, isParameterRef as b3, isSearchableSchema as b4, notExists as b5, notInSubquery as b6, param as b7, searchable as b8, type AnyEdge as c, type AnyNode as d, type BatchResults as e, type BatchableQuery as f, type ConstraintNames as g, type CreateEdgeInput as h, type CreateNodeInput as i, type DegreeOptions as j, type DynamicEdgeAccessor as k, type DynamicEdgeCollection as l, type DynamicEdgeType as m, type DynamicFieldBuilder as n, type DynamicNodeAccessor as o, type DynamicNodeCollection as p, type DynamicNodeType as q, type DynamicSelectableEdge as r, type DynamicSelectableNode as s, type Edge as t, type EdgeAccessor as u, type EdgeCollection as v, type EdgeFindByEndpointsOptions as w, type EdgeGetOrCreateByEndpointsOptions as x, type EdgeGetOrCreateByEndpointsResult as y, type EdgeIntrospection as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicia-ai/typegraph",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",