@nicia-ai/typegraph 0.30.0 → 0.31.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/README.md +39 -0
- package/dist/backend/postgres/index.cjs +19 -18
- package/dist/backend/postgres/index.d.cts +6 -6
- package/dist/backend/postgres/index.d.ts +6 -6
- package/dist/backend/postgres/index.js +9 -8
- package/dist/backend/postgres/pglite.cjs +13 -12
- package/dist/backend/postgres/pglite.cjs.map +1 -1
- 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 -8
- package/dist/backend/postgres/pglite.js.map +1 -1
- package/dist/backend/sqlite/index.cjs +16 -16
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +7 -7
- package/dist/backend/sqlite/libsql.cjs +12 -12
- 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.cjs +13 -13
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +8 -8
- package/dist/{chunk-AI3RNREM.js → chunk-2HZGWCB4.js} +94 -496
- package/dist/chunk-2HZGWCB4.js.map +1 -0
- package/dist/chunk-2YMGNYXY.js +40 -0
- package/dist/chunk-2YMGNYXY.js.map +1 -0
- package/dist/chunk-2ZY4K43M.js +90 -0
- package/dist/chunk-2ZY4K43M.js.map +1 -0
- package/dist/chunk-3EUKJEQ3.js +77 -0
- package/dist/chunk-3EUKJEQ3.js.map +1 -0
- package/dist/chunk-3JBJEYWE.cjs +604 -0
- package/dist/chunk-3JBJEYWE.cjs.map +1 -0
- package/dist/{chunk-IUIJJYPI.js → chunk-4A4GUZTQ.js} +6 -5
- package/dist/chunk-4A4GUZTQ.js.map +1 -0
- package/dist/{chunk-WEMZM7J7.cjs → chunk-54JVNOAQ.cjs} +5 -41
- package/dist/chunk-54JVNOAQ.cjs.map +1 -0
- package/dist/{chunk-IE6GN7L3.cjs → chunk-5CN7B4CZ.cjs} +17 -98
- package/dist/chunk-5CN7B4CZ.cjs.map +1 -0
- package/dist/{chunk-K4N35E7B.cjs → chunk-5DTPBFX5.cjs} +64 -63
- package/dist/chunk-5DTPBFX5.cjs.map +1 -0
- package/dist/chunk-6G35I3VW.cjs +40 -0
- package/dist/chunk-6G35I3VW.cjs.map +1 -0
- package/dist/{chunk-4BXHVEFB.cjs → chunk-6RMLO5O4.cjs} +6 -51
- package/dist/chunk-6RMLO5O4.cjs.map +1 -0
- package/dist/chunk-6SA7UIQJ.cjs +94 -0
- package/dist/chunk-6SA7UIQJ.cjs.map +1 -0
- package/dist/chunk-6ZR4QC3O.cjs +12 -0
- package/dist/{chunk-LUHU4T2F.cjs.map → chunk-6ZR4QC3O.cjs.map} +1 -1
- package/dist/chunk-73KASJGO.cjs +52 -0
- package/dist/chunk-73KASJGO.cjs.map +1 -0
- package/dist/chunk-A3W7QG7K.js +45 -0
- package/dist/chunk-A3W7QG7K.js.map +1 -0
- package/dist/{chunk-FWBVPATK.cjs → chunk-ASYQDPPU.cjs} +19 -19
- package/dist/{chunk-FWBVPATK.cjs.map → chunk-ASYQDPPU.cjs.map} +1 -1
- package/dist/{chunk-FVIGJTS7.js → chunk-ATTXBMAX.js} +4 -74
- package/dist/chunk-ATTXBMAX.js.map +1 -0
- package/dist/chunk-AW4A3P5A.cjs +51 -0
- package/dist/chunk-AW4A3P5A.cjs.map +1 -0
- package/dist/{chunk-WFCECD6Q.cjs → chunk-CIINW6PS.cjs} +73 -68
- package/dist/chunk-CIINW6PS.cjs.map +1 -0
- package/dist/{chunk-26HWIIVS.cjs → chunk-FLOI7QOT.cjs} +63 -62
- package/dist/chunk-FLOI7QOT.cjs.map +1 -0
- package/dist/{chunk-633N7DSE.js → chunk-GKFWM3DS.js} +4 -36
- package/dist/chunk-GKFWM3DS.js.map +1 -0
- package/dist/chunk-HTGDWIDE.cjs +89 -0
- package/dist/chunk-HTGDWIDE.cjs.map +1 -0
- package/dist/{chunk-R4JOBEJU.js → chunk-IJORSAC3.js} +4 -40
- package/dist/chunk-IJORSAC3.js.map +1 -0
- package/dist/{chunk-SGPXKJ4A.cjs → chunk-KTIEB7VH.cjs} +26 -16
- package/dist/chunk-KTIEB7VH.cjs.map +1 -0
- package/dist/chunk-LJLMDDCW.js +282 -0
- package/dist/chunk-LJLMDDCW.js.map +1 -0
- package/dist/{chunk-VFX3LC76.cjs → chunk-N2MBPTAF.cjs} +14 -14
- package/dist/{chunk-VFX3LC76.cjs.map → chunk-N2MBPTAF.cjs.map} +1 -1
- package/dist/{chunk-3IRMLJEK.js → chunk-O4VUR6SI.js} +3 -3
- package/dist/{chunk-3IRMLJEK.js.map → chunk-O4VUR6SI.js.map} +1 -1
- package/dist/chunk-RZ4DH4E7.cjs +15832 -0
- package/dist/chunk-RZ4DH4E7.cjs.map +1 -0
- package/dist/chunk-SAJSMR2B.js +35 -0
- package/dist/chunk-SAJSMR2B.js.map +1 -0
- package/dist/{chunk-4LBO6KIF.cjs → chunk-SFFJ2IKN.cjs} +60 -59
- package/dist/chunk-SFFJ2IKN.cjs.map +1 -0
- package/dist/{chunk-K5VREXMZ.js → chunk-STP7QVUB.js} +7 -6
- package/dist/chunk-STP7QVUB.js.map +1 -0
- package/dist/chunk-THX25XW6.js +590 -0
- package/dist/chunk-THX25XW6.js.map +1 -0
- package/dist/chunk-UIFEEPME.js +15787 -0
- package/dist/chunk-UIFEEPME.js.map +1 -0
- package/dist/{chunk-2QA5EHEN.js → chunk-UJ4V3YUQ.js} +3 -3
- package/dist/{chunk-2QA5EHEN.js.map → chunk-UJ4V3YUQ.js.map} +1 -1
- package/dist/{chunk-UESTHN47.cjs → chunk-V4IQYOQ4.cjs} +95 -507
- package/dist/chunk-V4IQYOQ4.cjs.map +1 -0
- package/dist/chunk-VMEWZU2N.cjs +287 -0
- package/dist/chunk-VMEWZU2N.cjs.map +1 -0
- package/dist/{chunk-N2OEOGBB.js → chunk-VZX2KSY3.js} +13 -8
- package/dist/chunk-VZX2KSY3.js.map +1 -0
- package/dist/{chunk-IX7RE7CG.js → chunk-WYTUF3QO.js} +3 -3
- package/dist/{chunk-IX7RE7CG.js.map → chunk-WYTUF3QO.js.map} +1 -1
- package/dist/{chunk-3JLRHQ67.js → chunk-XKJQQQVR.js} +6 -5
- package/dist/chunk-XKJQQQVR.js.map +1 -0
- package/dist/{chunk-ENDUY2CD.js → chunk-YCV72E6L.js} +23 -17
- package/dist/chunk-YCV72E6L.js.map +1 -0
- package/dist/{ddl-EdkIiFVU.d.ts → ddl-BJcPrB4L.d.ts} +3 -3
- package/dist/{ddl-BSFlbGQF.d.cts → ddl-CPZ7mB7X.d.cts} +3 -3
- package/dist/{extension-types-CwHV-Uk4.d.cts → extension-types-D1k0inWU.d.cts} +1 -1
- package/dist/{extension-types-CwHV-Uk4.d.ts → extension-types-D1k0inWU.d.ts} +1 -1
- package/dist/graph-extension/index.cjs +17 -17
- package/dist/graph-extension/index.d.cts +5 -16
- package/dist/graph-extension/index.d.ts +5 -16
- package/dist/graph-extension/index.js +2 -2
- package/dist/graph-merge/index.cjs +3822 -0
- package/dist/graph-merge/index.cjs.map +1 -0
- package/dist/graph-merge/index.d.cts +1191 -0
- package/dist/graph-merge/index.d.ts +1191 -0
- package/dist/graph-merge/index.js +3791 -0
- package/dist/graph-merge/index.js.map +1 -0
- package/dist/{index-DzeIiMO3.d.ts → index-BEK0VtNB.d.ts} +2 -2
- package/dist/{index-Ln_KHTGA.d.cts → index-C8sSTErx.d.cts} +2 -2
- package/dist/index.cjs +281 -15913
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -11
- package/dist/index.d.ts +12 -11
- package/dist/index.js +23 -15790
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +30 -26
- package/dist/indexes/index.d.cts +5 -5
- package/dist/indexes/index.d.ts +5 -5
- package/dist/indexes/index.js +6 -2
- package/dist/interchange/index.cjs +49 -592
- package/dist/interchange/index.cjs.map +1 -1
- package/dist/interchange/index.d.cts +5 -5
- package/dist/interchange/index.d.ts +5 -5
- package/dist/interchange/index.js +2 -588
- package/dist/interchange/index.js.map +1 -1
- package/dist/{manager-BbdyNhkv.d.ts → manager-By-WEd8M.d.ts} +3 -3
- package/dist/{manager-wTDgjoXG.d.cts → manager-Np7VVSlE.d.cts} +3 -3
- package/dist/{materialize-indexes-lkawaDor.d.ts → materialize-indexes-CAGhqPHQ.d.ts} +1 -1
- package/dist/{materialize-indexes-oanE3RU0.d.cts → materialize-indexes-DEYkU-wr.d.cts} +1 -1
- package/dist/{postgres-CK2ByP1q.d.cts → postgres-4J2tmauh.d.cts} +1 -1
- package/dist/{postgres-ymXYC6Rr.d.ts → postgres-BdIb7tS_.d.ts} +1 -1
- package/dist/profiler/index.d.cts +7 -7
- package/dist/profiler/index.d.ts +7 -7
- package/dist/result-DWo6mUVz.d.cts +37 -0
- package/dist/result-DWo6mUVz.d.ts +37 -0
- package/dist/schema/index.cjs +29 -28
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +6 -5
- package/dist/schema/index.js.map +1 -1
- package/dist/{sqlite-DxH1lrwD.d.cts → sqlite-Gatk_iw_.d.cts} +1 -1
- package/dist/{sqlite-R8YGOqVQ.d.ts → sqlite-aM_PAz-O.d.ts} +1 -1
- package/dist/{store--z1Tmk7U.d.cts → store-DuCbdqsh.d.cts} +49 -49
- package/dist/{store-CNKM334w.d.ts → store-MloRPwb9.d.ts} +49 -49
- package/dist/{types-BBiDqJCU.d.ts → types-BKQljXom.d.ts} +16 -2
- package/dist/{types-dL-clxO3.d.cts → types-C1CYxWrL.d.cts} +16 -2
- package/dist/{types-D5B6Be5c.d.cts → types-DoByHGyU.d.cts} +2 -2
- package/dist/{types-CMvxx2kd.d.ts → types-K3vpaJAL.d.ts} +2 -2
- package/dist/{where-CAo6wsBZ.d.ts → where-Dt49bvo6.d.ts} +2 -2
- package/dist/{where-bJjuOCeV.d.cts → where-DydZjGOb.d.cts} +2 -2
- package/package.json +6 -1
- package/dist/chunk-26HWIIVS.cjs.map +0 -1
- package/dist/chunk-3JLRHQ67.js.map +0 -1
- package/dist/chunk-4BXHVEFB.cjs.map +0 -1
- package/dist/chunk-4LBO6KIF.cjs.map +0 -1
- package/dist/chunk-633N7DSE.js.map +0 -1
- package/dist/chunk-AI3RNREM.js.map +0 -1
- package/dist/chunk-ENDUY2CD.js.map +0 -1
- package/dist/chunk-FVIGJTS7.js.map +0 -1
- package/dist/chunk-IE6GN7L3.cjs.map +0 -1
- package/dist/chunk-IUIJJYPI.js.map +0 -1
- package/dist/chunk-K4N35E7B.cjs.map +0 -1
- package/dist/chunk-K5VREXMZ.js.map +0 -1
- package/dist/chunk-LUHU4T2F.cjs +0 -12
- package/dist/chunk-N2OEOGBB.js.map +0 -1
- package/dist/chunk-R4JOBEJU.js.map +0 -1
- package/dist/chunk-SGPXKJ4A.cjs.map +0 -1
- package/dist/chunk-UESTHN47.cjs.map +0 -1
- package/dist/chunk-WEMZM7J7.cjs.map +0 -1
- package/dist/chunk-WFCECD6Q.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk6ZR4QC3O_cjs = require('../chunk-6ZR4QC3O.cjs');
|
|
4
|
+
var chunkKTIEB7VH_cjs = require('../chunk-KTIEB7VH.cjs');
|
|
5
5
|
require('../chunk-JIEJCTDS.cjs');
|
|
6
6
|
require('../chunk-FLRCVI2G.cjs');
|
|
7
7
|
|
|
@@ -9,63 +9,63 @@ require('../chunk-FLRCVI2G.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "defineGraphExtension", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk6ZR4QC3O_cjs.defineGraphExtension; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "CURRENT_GRAPH_EXTENSION_VERSION", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkKTIEB7VH_cjs.CURRENT_GRAPH_EXTENSION_VERSION; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "GRAPH_EXTENSION_ISSUE_CODES", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKTIEB7VH_cjs.GRAPH_EXTENSION_ISSUE_CODES; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "GRAPH_EXTENSION_TOP_LEVEL_KEYS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKTIEB7VH_cjs.GRAPH_EXTENSION_TOP_LEVEL_KEYS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "GraphExtensionError", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKTIEB7VH_cjs.GraphExtensionError; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "GraphExtensionUnresolvedEndpointError", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkKTIEB7VH_cjs.GraphExtensionUnresolvedEndpointError; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "GraphExtensionValidationError", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkKTIEB7VH_cjs.GraphExtensionValidationError; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "GraphExtensionVersionUnsupportedError", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkKTIEB7VH_cjs.GraphExtensionVersionUnsupportedError; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "INCOMPATIBLE_CHANGE_TYPES", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkKTIEB7VH_cjs.INCOMPATIBLE_CHANGE_TYPES; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "IncompatibleChangeError", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkKTIEB7VH_cjs.IncompatibleChangeError; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "KindCollisionError", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkKTIEB7VH_cjs.KindCollisionError; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "KindHasReferentsError", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkKTIEB7VH_cjs.KindHasReferentsError; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "LEGACY_GRAPH_EXTENSION_VERSION", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkKTIEB7VH_cjs.LEGACY_GRAPH_EXTENSION_VERSION; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "RemoveCompileTimeKindError", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkKTIEB7VH_cjs.RemoveCompileTimeKindError; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "validateGraphExtension", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkKTIEB7VH_cjs.validateGraphExtension; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=index.cjs.map
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export {
|
|
3
|
-
import { T as TypeGraphError, i as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-D1k0inWU.cjs';
|
|
2
|
+
export { o as CURRENT_GRAPH_EXTENSION_VERSION, w as ExtensionArrayItemType, x as ExtensionArrayProperty, y as ExtensionBooleanProperty, j as ExtensionEdgeDef, z as ExtensionEdgeIndex, B as ExtensionEmbeddingModifier, F as ExtensionEnumProperty, l as ExtensionIndex, H as ExtensionIndexWhere, i as ExtensionNodeDef, M as ExtensionNodeIndex, O as ExtensionNumberProperty, P as ExtensionObjectFieldProperty, Q as ExtensionObjectProperty, k as ExtensionOntologyRelation, R as ExtensionPropertyType, S as ExtensionSearchableModifier, V as ExtensionStringProperty, W as ExtensionUniqueConstraint, X as ExtensionUniqueWhere, Y as GRAPH_EXTENSION_TOP_LEVEL_KEYS, Z as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-D1k0inWU.cjs';
|
|
3
|
+
import { T as TypeGraphError, i as ErrorCategory } from '../index-C8sSTErx.cjs';
|
|
4
|
+
import { R as Result } from '../result-DWo6mUVz.cjs';
|
|
4
5
|
import 'zod';
|
|
5
|
-
import '../materialize-indexes-
|
|
6
|
+
import '../materialize-indexes-DEYkU-wr.cjs';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Validates and freezes a graph-extension document.
|
|
@@ -238,18 +239,6 @@ declare class GraphExtensionVersionUnsupportedError extends GraphExtensionError
|
|
|
238
239
|
constructor(persistedVersion: number, currentVersion: number);
|
|
239
240
|
}
|
|
240
241
|
|
|
241
|
-
/**
|
|
242
|
-
* Result type for error handling without exceptions.
|
|
243
|
-
* Use at service boundaries and for operations that can fail.
|
|
244
|
-
*/
|
|
245
|
-
type Result<T, E = Error> = Readonly<{
|
|
246
|
-
success: true;
|
|
247
|
-
data: T;
|
|
248
|
-
}> | Readonly<{
|
|
249
|
-
success: false;
|
|
250
|
-
error: E;
|
|
251
|
-
}>;
|
|
252
|
-
|
|
253
242
|
type ValidateGraphExtensionOptions = Readonly<{
|
|
254
243
|
/**
|
|
255
244
|
* Reject unknown top-level keys and unsupported string formats.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export {
|
|
3
|
-
import { T as TypeGraphError, i as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-D1k0inWU.js';
|
|
2
|
+
export { o as CURRENT_GRAPH_EXTENSION_VERSION, w as ExtensionArrayItemType, x as ExtensionArrayProperty, y as ExtensionBooleanProperty, j as ExtensionEdgeDef, z as ExtensionEdgeIndex, B as ExtensionEmbeddingModifier, F as ExtensionEnumProperty, l as ExtensionIndex, H as ExtensionIndexWhere, i as ExtensionNodeDef, M as ExtensionNodeIndex, O as ExtensionNumberProperty, P as ExtensionObjectFieldProperty, Q as ExtensionObjectProperty, k as ExtensionOntologyRelation, R as ExtensionPropertyType, S as ExtensionSearchableModifier, V as ExtensionStringProperty, W as ExtensionUniqueConstraint, X as ExtensionUniqueWhere, Y as GRAPH_EXTENSION_TOP_LEVEL_KEYS, Z as GraphExtensionTopLevelKey, h as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-D1k0inWU.js';
|
|
3
|
+
import { T as TypeGraphError, i as ErrorCategory } from '../index-BEK0VtNB.js';
|
|
4
|
+
import { R as Result } from '../result-DWo6mUVz.js';
|
|
4
5
|
import 'zod';
|
|
5
|
-
import '../materialize-indexes-
|
|
6
|
+
import '../materialize-indexes-CAGhqPHQ.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Validates and freezes a graph-extension document.
|
|
@@ -238,18 +239,6 @@ declare class GraphExtensionVersionUnsupportedError extends GraphExtensionError
|
|
|
238
239
|
constructor(persistedVersion: number, currentVersion: number);
|
|
239
240
|
}
|
|
240
241
|
|
|
241
|
-
/**
|
|
242
|
-
* Result type for error handling without exceptions.
|
|
243
|
-
* Use at service boundaries and for operations that can fail.
|
|
244
|
-
*/
|
|
245
|
-
type Result<T, E = Error> = Readonly<{
|
|
246
|
-
success: true;
|
|
247
|
-
data: T;
|
|
248
|
-
}> | Readonly<{
|
|
249
|
-
success: false;
|
|
250
|
-
error: E;
|
|
251
|
-
}>;
|
|
252
|
-
|
|
253
242
|
type ValidateGraphExtensionOptions = Readonly<{
|
|
254
243
|
/**
|
|
255
244
|
* Reject unknown top-level keys and unsupported string formats.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { defineGraphExtension } from '../chunk-
|
|
2
|
-
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-
|
|
1
|
+
export { defineGraphExtension } from '../chunk-WYTUF3QO.js';
|
|
2
|
+
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-YCV72E6L.js';
|
|
3
3
|
import '../chunk-TQOYM4LN.js';
|
|
4
4
|
import '../chunk-K5P5OZXS.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|