@nicia-ai/typegraph 0.66.0 → 0.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/README.md +15 -0
- package/dist/backend/drizzle/engine/index.cjs +6 -6
- package/dist/backend/drizzle/engine/index.d.cts +4 -4
- package/dist/backend/drizzle/engine/index.d.ts +4 -4
- package/dist/backend/drizzle/engine/index.js +1 -1
- package/dist/backend/postgres/index.cjs +15 -15
- package/dist/backend/postgres/index.d.cts +2 -2
- package/dist/backend/postgres/index.d.ts +2 -2
- package/dist/backend/postgres/index.js +1 -1
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/pglite.cjs +3 -3
- package/dist/backend/postgres/pglite.js +2 -2
- package/dist/backend/sqlite/index.cjs +14 -14
- package/dist/backend/sqlite/index.d.cts +2 -2
- package/dist/backend/sqlite/index.d.ts +2 -2
- package/dist/backend/sqlite/index.js +1 -1
- package/dist/backend/sqlite/libsql.cjs +6 -6
- package/dist/backend/sqlite/libsql.js +1 -1
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/backend/sqlite/local.cjs +3 -3
- package/dist/backend/sqlite/local.js +2 -2
- package/dist/{chunk-MUEPEWMQ.js → chunk-2DJKHZQ4.js} +10 -2
- package/dist/chunk-2DJKHZQ4.js.map +1 -0
- package/dist/{chunk-TR7QTODF.js → chunk-55DGFZYC.js} +3 -3
- package/dist/{chunk-TR7QTODF.js.map → chunk-55DGFZYC.js.map} +1 -1
- package/dist/{chunk-WB55URNM.js → chunk-6CKSTY2D.js} +7 -3
- package/dist/chunk-6CKSTY2D.js.map +1 -0
- package/dist/{chunk-732VS5PW.cjs → chunk-ANMCKLZQ.cjs} +12 -12
- package/dist/{chunk-732VS5PW.cjs.map → chunk-ANMCKLZQ.cjs.map} +1 -1
- package/dist/{chunk-SSDHR2C2.js → chunk-EFSXK3DW.js} +3 -3
- package/dist/{chunk-SSDHR2C2.js.map → chunk-EFSXK3DW.js.map} +1 -1
- package/dist/{chunk-Y4X6ODVY.cjs → chunk-FS2GVO2T.cjs} +56 -56
- package/dist/{chunk-Y4X6ODVY.cjs.map → chunk-FS2GVO2T.cjs.map} +1 -1
- package/dist/{chunk-K7YACILO.cjs → chunk-GXHEGNI6.cjs} +9 -9
- package/dist/{chunk-K7YACILO.cjs.map → chunk-GXHEGNI6.cjs.map} +1 -1
- package/dist/{chunk-XQNKN3UF.cjs → chunk-MN325MG4.cjs} +10 -2
- package/dist/chunk-MN325MG4.cjs.map +1 -0
- package/dist/{chunk-BX42F7IJ.cjs → chunk-SSDLQPMY.cjs} +7 -2
- package/dist/chunk-SSDLQPMY.cjs.map +1 -0
- package/dist/{chunk-MGCPSR4C.cjs → chunk-WWSYGZED.cjs} +6 -6
- package/dist/{chunk-MGCPSR4C.cjs.map → chunk-WWSYGZED.cjs.map} +1 -1
- package/dist/{chunk-HSLP6CVG.js → chunk-YHMXF7OZ.js} +3 -3
- package/dist/{chunk-HSLP6CVG.js.map → chunk-YHMXF7OZ.js.map} +1 -1
- package/dist/{chunk-C3HNC3S6.js → chunk-ZONDBN6H.js} +3 -3
- package/dist/{chunk-C3HNC3S6.js.map → chunk-ZONDBN6H.js.map} +1 -1
- package/dist/graph-merge/index.cjs +500 -26
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +384 -2
- package/dist/graph-merge/index.d.ts +384 -2
- package/dist/graph-merge/index.js +485 -15
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/index.cjs +63 -63
- package/dist/index.js +3 -3
- package/dist/{local-store-impl-J6TJG45N.cjs → local-store-impl-7SPBIS4M.cjs} +9 -9
- package/dist/{local-store-impl-J6TJG45N.cjs.map → local-store-impl-7SPBIS4M.cjs.map} +1 -1
- package/dist/{local-store-impl-XKWR46WQ.js → local-store-impl-E23EDYPV.js} +6 -6
- package/dist/{local-store-impl-XKWR46WQ.js.map → local-store-impl-E23EDYPV.js.map} +1 -1
- package/dist/{pglite-store-impl-KXD5VWC5.cjs → pglite-store-impl-U55HQ5ZY.cjs} +9 -9
- package/dist/{pglite-store-impl-KXD5VWC5.cjs.map → pglite-store-impl-U55HQ5ZY.cjs.map} +1 -1
- package/dist/{pglite-store-impl-LRZ4TO3H.js → pglite-store-impl-VAIEJZOU.js} +6 -6
- package/dist/{pglite-store-impl-LRZ4TO3H.js.map → pglite-store-impl-VAIEJZOU.js.map} +1 -1
- package/dist/{postgres-CRRB2qzy.d.ts → postgres-BbTYW3b_.d.ts} +1 -1
- package/dist/{postgres-BIm6TDfF.d.cts → postgres-Dp3MpyJt.d.cts} +1 -1
- package/dist/{profile-DVd70NA-.d.ts → profile-Ch5SSewK.d.ts} +6 -6
- package/dist/{profile-CjAffcQt.d.cts → profile-DppApFgt.d.cts} +6 -6
- package/dist/schema/index.cjs +27 -27
- package/dist/schema/index.js +2 -2
- package/dist/{sqlite-DX9H3L7z.d.cts → sqlite-BpRtjC36.d.cts} +1 -1
- package/dist/{sqlite-BNwQ5pd7.d.ts → sqlite-CH0Zq0Qv.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-BX42F7IJ.cjs.map +0 -1
- package/dist/chunk-MUEPEWMQ.js.map +0 -1
- package/dist/chunk-WB55URNM.js.map +0 -1
- package/dist/chunk-XQNKN3UF.cjs.map +0 -1
|
@@ -512,12 +512,12 @@ type CreateBaseSchemaMembersDeps = Readonly<{
|
|
|
512
512
|
*/
|
|
513
513
|
ensureEdgeMatchIdentityStorage: () => Promise<void>;
|
|
514
514
|
/**
|
|
515
|
-
* DDL for version-3 adoption: ensure recorded identity-
|
|
516
|
-
* and its structural indexes before creating the
|
|
517
|
-
* Older installations can lack
|
|
518
|
-
* version-
|
|
519
|
-
* Dialect factories generate
|
|
520
|
-
*
|
|
515
|
+
* DDL for version-3 adoption: ensure recorded node, edge, and identity-assertion
|
|
516
|
+
* storage and its structural indexes before creating the changed-since indexes.
|
|
517
|
+
* Older installations can lack these relations even with a version-1 or
|
|
518
|
+
* version-2 marker: they originally shipped only in bootstrap DDL.
|
|
519
|
+
* Dialect factories generate their table and index DDL from the same schema
|
|
520
|
+
* definitions as bootstrap, then append `sinceIndexAdoptionDdl` for the
|
|
521
521
|
* `(recordedNodes, recordedEdges, recordedIdentityAssertions)` since indexes.
|
|
522
522
|
* Fresh bootstrap already creates all of this storage, so the statements
|
|
523
523
|
* are only exercised by offline `adopt()`.
|
|
@@ -512,12 +512,12 @@ type CreateBaseSchemaMembersDeps = Readonly<{
|
|
|
512
512
|
*/
|
|
513
513
|
ensureEdgeMatchIdentityStorage: () => Promise<void>;
|
|
514
514
|
/**
|
|
515
|
-
* DDL for version-3 adoption: ensure recorded identity-
|
|
516
|
-
* and its structural indexes before creating the
|
|
517
|
-
* Older installations can lack
|
|
518
|
-
* version-
|
|
519
|
-
* Dialect factories generate
|
|
520
|
-
*
|
|
515
|
+
* DDL for version-3 adoption: ensure recorded node, edge, and identity-assertion
|
|
516
|
+
* storage and its structural indexes before creating the changed-since indexes.
|
|
517
|
+
* Older installations can lack these relations even with a version-1 or
|
|
518
|
+
* version-2 marker: they originally shipped only in bootstrap DDL.
|
|
519
|
+
* Dialect factories generate their table and index DDL from the same schema
|
|
520
|
+
* definitions as bootstrap, then append `sinceIndexAdoptionDdl` for the
|
|
521
521
|
* `(recordedNodes, recordedEdges, recordedIdentityAssertions)` since indexes.
|
|
522
522
|
* Fresh bootstrap already creates all of this storage, so the statements
|
|
523
523
|
* are only exercised by offline `adopt()`.
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkGXHEGNI6_cjs = require('../chunk-GXHEGNI6.cjs');
|
|
4
|
+
var chunkSSDLQPMY_cjs = require('../chunk-SSDLQPMY.cjs');
|
|
5
5
|
require('../chunk-6YKISECL.cjs');
|
|
6
6
|
require('../chunk-ICOTLZBV.cjs');
|
|
7
7
|
require('../chunk-EBQX7MYL.cjs');
|
|
@@ -37,103 +37,103 @@ require('../chunk-7XYPLAPL.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkGXHEGNI6_cjs.deserializeSchema; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "instantiateGraph", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkGXHEGNI6_cjs.instantiateGraph; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "instantiateGraphTemplate", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkGXHEGNI6_cjs.instantiateGraphTemplate; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "registerGraphTemplate", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkGXHEGNI6_cjs.registerGraphTemplate; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkSSDLQPMY_cjs.applyDeprecatedKinds; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkSSDLQPMY_cjs.assertSchemaCurrent; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkSSDLQPMY_cjs.classifySchemaChanges; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkSSDLQPMY_cjs.computeSchemaDiff; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkSSDLQPMY_cjs.computeSchemaHash; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkSSDLQPMY_cjs.deserializeWherePredicate; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ensureSchema", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkSSDLQPMY_cjs.ensureSchema; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkSSDLQPMY_cjs.getActiveSchema; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkSSDLQPMY_cjs.getCommittedSchemaVersion; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkSSDLQPMY_cjs.getMigrationActions; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkSSDLQPMY_cjs.getSchemaChanges; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "initializeSchema", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkSSDLQPMY_cjs.initializeSchema; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkSSDLQPMY_cjs.isBackwardsCompatible; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkSSDLQPMY_cjs.isSchemaInitialized; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkSSDLQPMY_cjs.loadActiveSchemaWithBootstrap; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkSSDLQPMY_cjs.loadAndMergeGraphExtensionDocument; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "migrateSchema", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkSSDLQPMY_cjs.migrateSchema; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkSSDLQPMY_cjs.parseSerializedSchema; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "requiresMigration", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkSSDLQPMY_cjs.requiresMigration; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkSSDLQPMY_cjs.rollbackSchema; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "serializeSchema", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkSSDLQPMY_cjs.serializeSchema; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "createValidationError", {
|
|
139
139
|
enumerable: true,
|
package/dist/schema/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-
|
|
1
|
+
export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-EFSXK3DW.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-6CKSTY2D.js';
|
|
3
3
|
import '../chunk-RFMSZ7CF.js';
|
|
4
4
|
import '../chunk-Q2SPDS3B.js';
|
|
5
5
|
import '../chunk-SYXTWPX6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.cjs';
|
|
2
2
|
import { A as AnySqliteDatabase, a as SqliteExecutionProfileHints } from './sqlite-execution-DHenxnsc.cjs';
|
|
3
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
3
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-DppApFgt.cjs';
|
|
4
4
|
import { a as SqliteTables } from './sqlite-BkQM9ZeI.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.js';
|
|
2
2
|
import { A as AnySqliteDatabase, a as SqliteExecutionProfileHints } from './sqlite-execution-DHenxnsc.js';
|
|
3
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
3
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-Ch5SSewK.js';
|
|
4
4
|
import { a as SqliteTables } from './sqlite-CcCSeXGg.js';
|
|
5
5
|
|
|
6
6
|
/**
|