@fabricorg/platform 0.10.0 → 0.11.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 +27 -0
- package/README.md +8 -1
- package/dist/actions/index.cjs +11 -11
- package/dist/actions/index.d.cts +2 -0
- package/dist/actions/index.d.ts +2 -0
- package/dist/actions/index.js +1 -1
- package/dist/{chunk-JSTGOT6P.js → chunk-3WEHM2P3.cjs} +75 -3
- package/dist/chunk-3WEHM2P3.cjs.map +1 -0
- package/dist/chunk-4MMMXV4Q.js +135 -0
- package/dist/chunk-4MMMXV4Q.js.map +1 -0
- package/dist/{chunk-Q3WYIWCN.cjs → chunk-FN6IYVBK.js} +67 -5
- package/dist/chunk-FN6IYVBK.js.map +1 -0
- package/dist/{chunk-BWNPGRRV.cjs → chunk-HLRIXNVG.cjs} +2 -2
- package/dist/chunk-HLRIXNVG.cjs.map +1 -0
- package/dist/{chunk-54EQTOH6.cjs → chunk-JIT3UR27.cjs} +77 -10
- package/dist/chunk-JIT3UR27.cjs.map +1 -0
- package/dist/{chunk-4SMPJPJ6.js → chunk-JM55UQWK.js} +2 -2
- package/dist/chunk-JM55UQWK.js.map +1 -0
- package/dist/chunk-K27DUWRY.cjs +377 -0
- package/dist/chunk-K27DUWRY.cjs.map +1 -0
- package/dist/{chunk-N72WJ4AU.js → chunk-N3OUWEYA.js} +73 -8
- package/dist/chunk-N3OUWEYA.js.map +1 -0
- package/dist/chunk-NFHS5NWD.js +369 -0
- package/dist/chunk-NFHS5NWD.js.map +1 -0
- package/dist/chunk-OC4ZFJKD.cjs +141 -0
- package/dist/chunk-OC4ZFJKD.cjs.map +1 -0
- package/dist/index.cjs +67 -31
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/manifest/index.cjs +17 -8
- package/dist/manifest/index.d.cts +39 -3
- package/dist/manifest/index.d.ts +39 -3
- package/dist/manifest/index.js +5 -4
- package/dist/modules/index.cjs +11 -10
- package/dist/modules/index.d.cts +49 -1
- package/dist/modules/index.d.ts +49 -1
- package/dist/modules/index.js +4 -3
- package/dist/objects/index.cjs +9 -5
- package/dist/objects/index.d.cts +58 -1
- package/dist/objects/index.d.ts +58 -1
- package/dist/objects/index.js +1 -1
- package/dist/projections/index.cjs +26 -2
- package/dist/projections/index.d.cts +38 -2
- package/dist/projections/index.d.ts +38 -2
- package/dist/projections/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-35DD3H55.js +0 -187
- package/dist/chunk-35DD3H55.js.map +0 -1
- package/dist/chunk-4SMPJPJ6.js.map +0 -1
- package/dist/chunk-54EQTOH6.cjs.map +0 -1
- package/dist/chunk-BWNPGRRV.cjs.map +0 -1
- package/dist/chunk-I35B576X.js +0 -30
- package/dist/chunk-I35B576X.js.map +0 -1
- package/dist/chunk-JSTGOT6P.js.map +0 -1
- package/dist/chunk-N72WJ4AU.js.map +0 -1
- package/dist/chunk-Q3WYIWCN.cjs.map +0 -1
- package/dist/chunk-QETQGAXJ.cjs +0 -35
- package/dist/chunk-QETQGAXJ.cjs.map +0 -1
- package/dist/chunk-SSYKDXR4.cjs +0 -195
- package/dist/chunk-SSYKDXR4.cjs.map +0 -1
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.cjs';
|
|
2
|
-
import { ModuleDependency, FabricModule } from '../modules/index.cjs';
|
|
2
|
+
import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.cjs';
|
|
3
|
+
import { PortableJsonSchema, JsonValue } from '../objects/index.cjs';
|
|
3
4
|
import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.cjs';
|
|
4
5
|
import { StateDefinition } from '../state-machines/index.cjs';
|
|
5
6
|
import '../displays/index.cjs';
|
|
7
|
+
import '../projections/index.cjs';
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Version of the module manifest contract. Bump when the serialized shape
|
|
9
11
|
* changes in a way consumers must detect.
|
|
10
12
|
*/
|
|
11
|
-
declare const MODULE_MANIFEST_VERSION:
|
|
13
|
+
declare const MODULE_MANIFEST_VERSION: 2;
|
|
12
14
|
interface ModuleManifestObjectType {
|
|
13
15
|
type: string;
|
|
14
16
|
displayName?: string;
|
|
15
17
|
idPrefix?: string;
|
|
18
|
+
schema?: PortableJsonSchema;
|
|
19
|
+
semantics?: Record<string, JsonValue>;
|
|
20
|
+
relations?: ObjectRelationDefinition[];
|
|
21
|
+
invariants?: DeclarativeInvariant[];
|
|
16
22
|
}
|
|
17
23
|
interface ModuleManifestIdPrefix {
|
|
18
24
|
prefix: string;
|
|
@@ -50,6 +56,8 @@ interface ModuleManifestAction {
|
|
|
50
56
|
*/
|
|
51
57
|
parameterSchema?: unknown;
|
|
52
58
|
parameterSchemaFormat?: "json-schema";
|
|
59
|
+
resultSchema?: unknown;
|
|
60
|
+
resultSchemaFormat?: "json-schema";
|
|
53
61
|
stateMachine?: ModuleManifestActionStateMachine;
|
|
54
62
|
adapterSteps?: ModuleManifestAdapterStep[];
|
|
55
63
|
}
|
|
@@ -82,6 +90,18 @@ interface ModuleManifestStateMachine {
|
|
|
82
90
|
states: StateDefinition[];
|
|
83
91
|
transitions: ModuleManifestStateMachineTransition[];
|
|
84
92
|
}
|
|
93
|
+
interface ModuleManifestView {
|
|
94
|
+
name: string;
|
|
95
|
+
version: string;
|
|
96
|
+
shape: PortableJsonSchema;
|
|
97
|
+
consumes: Array<{
|
|
98
|
+
eventType: string;
|
|
99
|
+
schemaVersions: number[];
|
|
100
|
+
}>;
|
|
101
|
+
scope: "tenant-space";
|
|
102
|
+
snapshotVersion: number;
|
|
103
|
+
compatibleSnapshotVersions?: number[];
|
|
104
|
+
}
|
|
85
105
|
/**
|
|
86
106
|
* Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
|
|
87
107
|
* object types, subject types, id prefixes, event types, actions, policies,
|
|
@@ -98,6 +118,7 @@ interface ModuleManifest {
|
|
|
98
118
|
version?: string;
|
|
99
119
|
displayName?: string;
|
|
100
120
|
description?: string;
|
|
121
|
+
capability?: CapabilityMetadata;
|
|
101
122
|
dependencies: ModuleDependency[];
|
|
102
123
|
objectTypes: ModuleManifestObjectType[];
|
|
103
124
|
subjectTypes: string[];
|
|
@@ -106,12 +127,27 @@ interface ModuleManifest {
|
|
|
106
127
|
actions: ModuleManifestAction[];
|
|
107
128
|
policies: ModuleManifestPolicy[];
|
|
108
129
|
stateMachines: ModuleManifestStateMachine[];
|
|
130
|
+
views: ModuleManifestView[];
|
|
109
131
|
}
|
|
110
132
|
interface ModuleManifestBundle {
|
|
111
133
|
manifestVersion: typeof MODULE_MANIFEST_VERSION;
|
|
112
134
|
/** Manifests in the input module order. */
|
|
113
135
|
modules: ModuleManifest[];
|
|
114
136
|
}
|
|
137
|
+
/** Manifest v1 remains accepted by v2 readers; missing v2 fields normalize to absence. */
|
|
138
|
+
type ModuleManifestObjectTypeV1 = Omit<ModuleManifestObjectType, "schema" | "semantics" | "relations" | "invariants">;
|
|
139
|
+
type ModuleManifestActionV1 = Omit<ModuleManifestAction, "resultSchema" | "resultSchemaFormat">;
|
|
140
|
+
type ModuleManifestV1 = Omit<ModuleManifest, "manifestVersion" | "objectTypes" | "actions" | "views"> & {
|
|
141
|
+
manifestVersion: 1;
|
|
142
|
+
objectTypes: ModuleManifestObjectTypeV1[];
|
|
143
|
+
actions: ModuleManifestActionV1[];
|
|
144
|
+
};
|
|
145
|
+
type ModuleManifestBundleV1 = Omit<ModuleManifestBundle, "manifestVersion" | "modules"> & {
|
|
146
|
+
manifestVersion: 1;
|
|
147
|
+
modules: ModuleManifestV1[];
|
|
148
|
+
};
|
|
149
|
+
declare function normalizeModuleManifest(manifest: ModuleManifest | ModuleManifestV1): ModuleManifest;
|
|
150
|
+
declare function normalizeModuleManifestBundle(bundle: ModuleManifestBundle | ModuleManifestBundleV1): ModuleManifestBundle;
|
|
115
151
|
/**
|
|
116
152
|
* A {@link SchemaValidator} that can also export its parameter schema as JSON
|
|
117
153
|
* Schema (for example a Zod 4 schema via `z.toJSONSchema`). Keeps the platform
|
|
@@ -142,4 +178,4 @@ declare function exportModuleManifest(module: FabricModule<unknown>): ModuleMani
|
|
|
142
178
|
*/
|
|
143
179
|
declare function exportModuleManifestBundle(modules: FabricModule<unknown>[]): ModuleManifestBundle;
|
|
144
180
|
|
|
145
|
-
export { type JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, type ModuleManifest, type ModuleManifestAction, type ModuleManifestActionStateMachine, type ModuleManifestAdapterStep, type ModuleManifestBundle, type ModuleManifestCodePolicy, type ModuleManifestDataPolicy, type ModuleManifestEventType, type ModuleManifestIdPrefix, type ModuleManifestObjectType, type ModuleManifestPolicy, type ModuleManifestStateMachine, type ModuleManifestStateMachineTransition, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator };
|
|
181
|
+
export { type JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, type ModuleManifest, type ModuleManifestAction, type ModuleManifestActionStateMachine, type ModuleManifestActionV1, type ModuleManifestAdapterStep, type ModuleManifestBundle, type ModuleManifestBundleV1, type ModuleManifestCodePolicy, type ModuleManifestDataPolicy, type ModuleManifestEventType, type ModuleManifestIdPrefix, type ModuleManifestObjectType, type ModuleManifestObjectTypeV1, type ModuleManifestPolicy, type ModuleManifestStateMachine, type ModuleManifestStateMachineTransition, type ModuleManifestV1, type ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle };
|
package/dist/manifest/index.d.ts
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.js';
|
|
2
|
-
import { ModuleDependency, FabricModule } from '../modules/index.js';
|
|
2
|
+
import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.js';
|
|
3
|
+
import { PortableJsonSchema, JsonValue } from '../objects/index.js';
|
|
3
4
|
import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.js';
|
|
4
5
|
import { StateDefinition } from '../state-machines/index.js';
|
|
5
6
|
import '../displays/index.js';
|
|
7
|
+
import '../projections/index.js';
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Version of the module manifest contract. Bump when the serialized shape
|
|
9
11
|
* changes in a way consumers must detect.
|
|
10
12
|
*/
|
|
11
|
-
declare const MODULE_MANIFEST_VERSION:
|
|
13
|
+
declare const MODULE_MANIFEST_VERSION: 2;
|
|
12
14
|
interface ModuleManifestObjectType {
|
|
13
15
|
type: string;
|
|
14
16
|
displayName?: string;
|
|
15
17
|
idPrefix?: string;
|
|
18
|
+
schema?: PortableJsonSchema;
|
|
19
|
+
semantics?: Record<string, JsonValue>;
|
|
20
|
+
relations?: ObjectRelationDefinition[];
|
|
21
|
+
invariants?: DeclarativeInvariant[];
|
|
16
22
|
}
|
|
17
23
|
interface ModuleManifestIdPrefix {
|
|
18
24
|
prefix: string;
|
|
@@ -50,6 +56,8 @@ interface ModuleManifestAction {
|
|
|
50
56
|
*/
|
|
51
57
|
parameterSchema?: unknown;
|
|
52
58
|
parameterSchemaFormat?: "json-schema";
|
|
59
|
+
resultSchema?: unknown;
|
|
60
|
+
resultSchemaFormat?: "json-schema";
|
|
53
61
|
stateMachine?: ModuleManifestActionStateMachine;
|
|
54
62
|
adapterSteps?: ModuleManifestAdapterStep[];
|
|
55
63
|
}
|
|
@@ -82,6 +90,18 @@ interface ModuleManifestStateMachine {
|
|
|
82
90
|
states: StateDefinition[];
|
|
83
91
|
transitions: ModuleManifestStateMachineTransition[];
|
|
84
92
|
}
|
|
93
|
+
interface ModuleManifestView {
|
|
94
|
+
name: string;
|
|
95
|
+
version: string;
|
|
96
|
+
shape: PortableJsonSchema;
|
|
97
|
+
consumes: Array<{
|
|
98
|
+
eventType: string;
|
|
99
|
+
schemaVersions: number[];
|
|
100
|
+
}>;
|
|
101
|
+
scope: "tenant-space";
|
|
102
|
+
snapshotVersion: number;
|
|
103
|
+
compatibleSnapshotVersions?: number[];
|
|
104
|
+
}
|
|
85
105
|
/**
|
|
86
106
|
* Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
|
|
87
107
|
* object types, subject types, id prefixes, event types, actions, policies,
|
|
@@ -98,6 +118,7 @@ interface ModuleManifest {
|
|
|
98
118
|
version?: string;
|
|
99
119
|
displayName?: string;
|
|
100
120
|
description?: string;
|
|
121
|
+
capability?: CapabilityMetadata;
|
|
101
122
|
dependencies: ModuleDependency[];
|
|
102
123
|
objectTypes: ModuleManifestObjectType[];
|
|
103
124
|
subjectTypes: string[];
|
|
@@ -106,12 +127,27 @@ interface ModuleManifest {
|
|
|
106
127
|
actions: ModuleManifestAction[];
|
|
107
128
|
policies: ModuleManifestPolicy[];
|
|
108
129
|
stateMachines: ModuleManifestStateMachine[];
|
|
130
|
+
views: ModuleManifestView[];
|
|
109
131
|
}
|
|
110
132
|
interface ModuleManifestBundle {
|
|
111
133
|
manifestVersion: typeof MODULE_MANIFEST_VERSION;
|
|
112
134
|
/** Manifests in the input module order. */
|
|
113
135
|
modules: ModuleManifest[];
|
|
114
136
|
}
|
|
137
|
+
/** Manifest v1 remains accepted by v2 readers; missing v2 fields normalize to absence. */
|
|
138
|
+
type ModuleManifestObjectTypeV1 = Omit<ModuleManifestObjectType, "schema" | "semantics" | "relations" | "invariants">;
|
|
139
|
+
type ModuleManifestActionV1 = Omit<ModuleManifestAction, "resultSchema" | "resultSchemaFormat">;
|
|
140
|
+
type ModuleManifestV1 = Omit<ModuleManifest, "manifestVersion" | "objectTypes" | "actions" | "views"> & {
|
|
141
|
+
manifestVersion: 1;
|
|
142
|
+
objectTypes: ModuleManifestObjectTypeV1[];
|
|
143
|
+
actions: ModuleManifestActionV1[];
|
|
144
|
+
};
|
|
145
|
+
type ModuleManifestBundleV1 = Omit<ModuleManifestBundle, "manifestVersion" | "modules"> & {
|
|
146
|
+
manifestVersion: 1;
|
|
147
|
+
modules: ModuleManifestV1[];
|
|
148
|
+
};
|
|
149
|
+
declare function normalizeModuleManifest(manifest: ModuleManifest | ModuleManifestV1): ModuleManifest;
|
|
150
|
+
declare function normalizeModuleManifestBundle(bundle: ModuleManifestBundle | ModuleManifestBundleV1): ModuleManifestBundle;
|
|
115
151
|
/**
|
|
116
152
|
* A {@link SchemaValidator} that can also export its parameter schema as JSON
|
|
117
153
|
* Schema (for example a Zod 4 schema via `z.toJSONSchema`). Keeps the platform
|
|
@@ -142,4 +178,4 @@ declare function exportModuleManifest(module: FabricModule<unknown>): ModuleMani
|
|
|
142
178
|
*/
|
|
143
179
|
declare function exportModuleManifestBundle(modules: FabricModule<unknown>[]): ModuleManifestBundle;
|
|
144
180
|
|
|
145
|
-
export { type JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, type ModuleManifest, type ModuleManifestAction, type ModuleManifestActionStateMachine, type ModuleManifestAdapterStep, type ModuleManifestBundle, type ModuleManifestCodePolicy, type ModuleManifestDataPolicy, type ModuleManifestEventType, type ModuleManifestIdPrefix, type ModuleManifestObjectType, type ModuleManifestPolicy, type ModuleManifestStateMachine, type ModuleManifestStateMachineTransition, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator };
|
|
181
|
+
export { type JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, type ModuleManifest, type ModuleManifestAction, type ModuleManifestActionStateMachine, type ModuleManifestActionV1, type ModuleManifestAdapterStep, type ModuleManifestBundle, type ModuleManifestBundleV1, type ModuleManifestCodePolicy, type ModuleManifestDataPolicy, type ModuleManifestEventType, type ModuleManifestIdPrefix, type ModuleManifestObjectType, type ModuleManifestObjectTypeV1, type ModuleManifestPolicy, type ModuleManifestStateMachine, type ModuleManifestStateMachineTransition, type ModuleManifestV1, type ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle };
|
package/dist/manifest/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-N3OUWEYA.js';
|
|
2
|
+
import '../chunk-NFHS5NWD.js';
|
|
3
|
+
import '../chunk-4MMMXV4Q.js';
|
|
4
4
|
import '../chunk-6ER62UUN.js';
|
|
5
|
+
import '../chunk-FN6IYVBK.js';
|
|
5
6
|
import '../chunk-T2JLSZN6.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-JM55UQWK.js';
|
|
7
8
|
import '../chunk-O5WVBQ7P.js';
|
|
8
9
|
import '../chunk-4YQOGV7H.js';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/dist/modules/index.cjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkK27DUWRY_cjs = require('../chunk-K27DUWRY.cjs');
|
|
4
|
+
require('../chunk-OC4ZFJKD.cjs');
|
|
5
5
|
require('../chunk-NJL3US7H.cjs');
|
|
6
|
+
require('../chunk-3WEHM2P3.cjs');
|
|
6
7
|
require('../chunk-UV252FLT.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-HLRIXNVG.cjs');
|
|
8
9
|
require('../chunk-EO4VSB2O.cjs');
|
|
9
10
|
require('../chunk-JAXDEK5Z.cjs');
|
|
10
11
|
|
|
@@ -12,31 +13,31 @@ require('../chunk-JAXDEK5Z.cjs');
|
|
|
12
13
|
|
|
13
14
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkK27DUWRY_cjs.createModuleRegistry; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkK27DUWRY_cjs.getEventTypeName; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkK27DUWRY_cjs.getModuleDependencyNamespace; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkK27DUWRY_cjs.getObjectTypeName; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkK27DUWRY_cjs.registerFabricModule; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkK27DUWRY_cjs.registerFabricModules; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkK27DUWRY_cjs.validateModuleNamespace; }
|
|
40
41
|
});
|
|
41
42
|
//# sourceMappingURL=index.cjs.map
|
|
42
43
|
//# sourceMappingURL=index.cjs.map
|
package/dist/modules/index.d.cts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ActionDefinition } from '../actions/index.cjs';
|
|
2
2
|
import { DisplayRenderer } from '../displays/index.cjs';
|
|
3
|
+
import { PortableJsonSchema, JsonValue } from '../objects/index.cjs';
|
|
4
|
+
import { ViewContract } from '../projections/index.cjs';
|
|
3
5
|
|
|
4
6
|
interface ModuleDependency {
|
|
5
7
|
namespace: string;
|
|
@@ -23,6 +25,29 @@ interface ObjectTypeRegistration {
|
|
|
23
25
|
displayName?: string;
|
|
24
26
|
idPrefix?: string;
|
|
25
27
|
isCoreModuleType?: boolean;
|
|
28
|
+
schema?: PortableJsonSchema;
|
|
29
|
+
semantics?: Record<string, JsonValue>;
|
|
30
|
+
relations?: ObjectRelationDefinition[];
|
|
31
|
+
invariants?: DeclarativeInvariant[];
|
|
32
|
+
}
|
|
33
|
+
type ObjectRelationCardinality = "one" | "many";
|
|
34
|
+
type ObjectRelationSemantics = "reference" | "owned";
|
|
35
|
+
type ObjectRelationDeleteBehavior = "restrict" | "cascade" | "set-null";
|
|
36
|
+
interface ObjectRelationDefinition {
|
|
37
|
+
name: string;
|
|
38
|
+
target: `${string}.${string}`;
|
|
39
|
+
cardinality: ObjectRelationCardinality;
|
|
40
|
+
required?: boolean;
|
|
41
|
+
semantics: ObjectRelationSemantics;
|
|
42
|
+
onTargetDelete: ObjectRelationDeleteBehavior;
|
|
43
|
+
}
|
|
44
|
+
type InvariantEnforcement = "json-schema" | "state-machine" | "policy" | "host-adapter" | "application";
|
|
45
|
+
interface DeclarativeInvariant {
|
|
46
|
+
id: string;
|
|
47
|
+
description: string;
|
|
48
|
+
required?: boolean;
|
|
49
|
+
enforcement: InvariantEnforcement;
|
|
50
|
+
enforcementRef?: string;
|
|
26
51
|
}
|
|
27
52
|
type ObjectTypeRegistrationInput = string | ObjectTypeRegistration;
|
|
28
53
|
interface ModuleDisplayRendererRegistration {
|
|
@@ -38,11 +63,33 @@ interface StateMachineRegistration {
|
|
|
38
63
|
entityType: string;
|
|
39
64
|
states: string[];
|
|
40
65
|
}
|
|
66
|
+
interface CapabilitySlotDefinition {
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
shape?: PortableJsonSchema;
|
|
70
|
+
}
|
|
71
|
+
interface CapabilityMetadata {
|
|
72
|
+
displayName: string;
|
|
73
|
+
description: string;
|
|
74
|
+
roles?: string[];
|
|
75
|
+
stability: "experimental" | "beta" | "stable" | "deprecated";
|
|
76
|
+
deprecated?: {
|
|
77
|
+
since: string;
|
|
78
|
+
replacement?: string;
|
|
79
|
+
message: string;
|
|
80
|
+
};
|
|
81
|
+
slots?: CapabilitySlotDefinition[];
|
|
82
|
+
certification?: {
|
|
83
|
+
profile: string;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
41
87
|
interface FabricModule<TDb = unknown> {
|
|
42
88
|
namespace: string;
|
|
43
89
|
version?: string;
|
|
44
90
|
displayName?: string;
|
|
45
91
|
description?: string;
|
|
92
|
+
capability?: CapabilityMetadata;
|
|
46
93
|
dependencies?: ModuleDependencyInput[];
|
|
47
94
|
objectTypes?: ObjectTypeRegistrationInput[];
|
|
48
95
|
subjectTypes?: string[];
|
|
@@ -59,6 +106,7 @@ interface FabricModule<TDb = unknown> {
|
|
|
59
106
|
dataClassifications?: unknown[];
|
|
60
107
|
retentionRules?: unknown[];
|
|
61
108
|
evidenceRenderers?: unknown[];
|
|
109
|
+
views?: ViewContract[];
|
|
62
110
|
}
|
|
63
111
|
interface ModuleRegistry<TDb = unknown> {
|
|
64
112
|
modules: ReadonlyMap<string, FabricModule<TDb>>;
|
|
@@ -71,4 +119,4 @@ declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>
|
|
|
71
119
|
declare function registerFabricModule(module: FabricModule<unknown>): void;
|
|
72
120
|
declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
|
|
73
121
|
|
|
74
|
-
export { type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
|
122
|
+
export { type CapabilityMetadata, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ActionDefinition } from '../actions/index.js';
|
|
2
2
|
import { DisplayRenderer } from '../displays/index.js';
|
|
3
|
+
import { PortableJsonSchema, JsonValue } from '../objects/index.js';
|
|
4
|
+
import { ViewContract } from '../projections/index.js';
|
|
3
5
|
|
|
4
6
|
interface ModuleDependency {
|
|
5
7
|
namespace: string;
|
|
@@ -23,6 +25,29 @@ interface ObjectTypeRegistration {
|
|
|
23
25
|
displayName?: string;
|
|
24
26
|
idPrefix?: string;
|
|
25
27
|
isCoreModuleType?: boolean;
|
|
28
|
+
schema?: PortableJsonSchema;
|
|
29
|
+
semantics?: Record<string, JsonValue>;
|
|
30
|
+
relations?: ObjectRelationDefinition[];
|
|
31
|
+
invariants?: DeclarativeInvariant[];
|
|
32
|
+
}
|
|
33
|
+
type ObjectRelationCardinality = "one" | "many";
|
|
34
|
+
type ObjectRelationSemantics = "reference" | "owned";
|
|
35
|
+
type ObjectRelationDeleteBehavior = "restrict" | "cascade" | "set-null";
|
|
36
|
+
interface ObjectRelationDefinition {
|
|
37
|
+
name: string;
|
|
38
|
+
target: `${string}.${string}`;
|
|
39
|
+
cardinality: ObjectRelationCardinality;
|
|
40
|
+
required?: boolean;
|
|
41
|
+
semantics: ObjectRelationSemantics;
|
|
42
|
+
onTargetDelete: ObjectRelationDeleteBehavior;
|
|
43
|
+
}
|
|
44
|
+
type InvariantEnforcement = "json-schema" | "state-machine" | "policy" | "host-adapter" | "application";
|
|
45
|
+
interface DeclarativeInvariant {
|
|
46
|
+
id: string;
|
|
47
|
+
description: string;
|
|
48
|
+
required?: boolean;
|
|
49
|
+
enforcement: InvariantEnforcement;
|
|
50
|
+
enforcementRef?: string;
|
|
26
51
|
}
|
|
27
52
|
type ObjectTypeRegistrationInput = string | ObjectTypeRegistration;
|
|
28
53
|
interface ModuleDisplayRendererRegistration {
|
|
@@ -38,11 +63,33 @@ interface StateMachineRegistration {
|
|
|
38
63
|
entityType: string;
|
|
39
64
|
states: string[];
|
|
40
65
|
}
|
|
66
|
+
interface CapabilitySlotDefinition {
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
shape?: PortableJsonSchema;
|
|
70
|
+
}
|
|
71
|
+
interface CapabilityMetadata {
|
|
72
|
+
displayName: string;
|
|
73
|
+
description: string;
|
|
74
|
+
roles?: string[];
|
|
75
|
+
stability: "experimental" | "beta" | "stable" | "deprecated";
|
|
76
|
+
deprecated?: {
|
|
77
|
+
since: string;
|
|
78
|
+
replacement?: string;
|
|
79
|
+
message: string;
|
|
80
|
+
};
|
|
81
|
+
slots?: CapabilitySlotDefinition[];
|
|
82
|
+
certification?: {
|
|
83
|
+
profile: string;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
41
87
|
interface FabricModule<TDb = unknown> {
|
|
42
88
|
namespace: string;
|
|
43
89
|
version?: string;
|
|
44
90
|
displayName?: string;
|
|
45
91
|
description?: string;
|
|
92
|
+
capability?: CapabilityMetadata;
|
|
46
93
|
dependencies?: ModuleDependencyInput[];
|
|
47
94
|
objectTypes?: ObjectTypeRegistrationInput[];
|
|
48
95
|
subjectTypes?: string[];
|
|
@@ -59,6 +106,7 @@ interface FabricModule<TDb = unknown> {
|
|
|
59
106
|
dataClassifications?: unknown[];
|
|
60
107
|
retentionRules?: unknown[];
|
|
61
108
|
evidenceRenderers?: unknown[];
|
|
109
|
+
views?: ViewContract[];
|
|
62
110
|
}
|
|
63
111
|
interface ModuleRegistry<TDb = unknown> {
|
|
64
112
|
modules: ReadonlyMap<string, FabricModule<TDb>>;
|
|
@@ -71,4 +119,4 @@ declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>
|
|
|
71
119
|
declare function registerFabricModule(module: FabricModule<unknown>): void;
|
|
72
120
|
declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
|
|
73
121
|
|
|
74
|
-
export { type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
|
122
|
+
export { type CapabilityMetadata, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
package/dist/modules/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-NFHS5NWD.js';
|
|
2
|
+
import '../chunk-4MMMXV4Q.js';
|
|
3
3
|
import '../chunk-6ER62UUN.js';
|
|
4
|
+
import '../chunk-FN6IYVBK.js';
|
|
4
5
|
import '../chunk-T2JLSZN6.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-JM55UQWK.js';
|
|
6
7
|
import '../chunk-O5WVBQ7P.js';
|
|
7
8
|
import '../chunk-4YQOGV7H.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/dist/objects/index.cjs
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOC4ZFJKD_cjs = require('../chunk-OC4ZFJKD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "assertObjectType", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOC4ZFJKD_cjs.assertObjectType; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "assertPortableJsonSchema", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkOC4ZFJKD_cjs.assertPortableJsonSchema; }
|
|
10
14
|
});
|
|
11
15
|
Object.defineProperty(exports, "getRegisteredObjectTypes", {
|
|
12
16
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOC4ZFJKD_cjs.getRegisteredObjectTypes; }
|
|
14
18
|
});
|
|
15
19
|
Object.defineProperty(exports, "isValidObjectType", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkOC4ZFJKD_cjs.isValidObjectType; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "registerObjectType", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkOC4ZFJKD_cjs.registerObjectType; }
|
|
22
26
|
});
|
|
23
27
|
//# sourceMappingURL=index.cjs.map
|
|
24
28
|
//# sourceMappingURL=index.cjs.map
|
package/dist/objects/index.d.cts
CHANGED
|
@@ -1,7 +1,64 @@
|
|
|
1
1
|
type FabricObjectType = string;
|
|
2
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
3
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Dependency-free JSON Schema profile accepted in portable module manifests.
|
|
8
|
+
* Unknown extension keywords must use an `x-` prefix. Runtime validators may
|
|
9
|
+
* support more vocabulary, but exported entity contracts stay in this profile.
|
|
10
|
+
*/
|
|
11
|
+
interface PortableJsonSchema {
|
|
12
|
+
$schema?: string;
|
|
13
|
+
$id?: string;
|
|
14
|
+
$ref?: string;
|
|
15
|
+
$defs?: Record<string, PortableJsonSchema>;
|
|
16
|
+
title?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
type?: "null" | "boolean" | "object" | "array" | "number" | "integer" | "string" | Array<"null" | "boolean" | "object" | "array" | "number" | "integer" | "string">;
|
|
19
|
+
enum?: JsonValue[];
|
|
20
|
+
const?: JsonValue;
|
|
21
|
+
properties?: Record<string, PortableJsonSchema>;
|
|
22
|
+
required?: string[];
|
|
23
|
+
additionalProperties?: boolean | PortableJsonSchema;
|
|
24
|
+
items?: PortableJsonSchema | PortableJsonSchema[];
|
|
25
|
+
prefixItems?: PortableJsonSchema[];
|
|
26
|
+
propertyNames?: PortableJsonSchema;
|
|
27
|
+
patternProperties?: Record<string, PortableJsonSchema>;
|
|
28
|
+
dependentRequired?: Record<string, string[]>;
|
|
29
|
+
allOf?: PortableJsonSchema[];
|
|
30
|
+
anyOf?: PortableJsonSchema[];
|
|
31
|
+
oneOf?: PortableJsonSchema[];
|
|
32
|
+
not?: PortableJsonSchema;
|
|
33
|
+
if?: PortableJsonSchema;
|
|
34
|
+
then?: PortableJsonSchema;
|
|
35
|
+
else?: PortableJsonSchema;
|
|
36
|
+
minimum?: number;
|
|
37
|
+
maximum?: number;
|
|
38
|
+
exclusiveMinimum?: number;
|
|
39
|
+
exclusiveMaximum?: number;
|
|
40
|
+
multipleOf?: number;
|
|
41
|
+
minLength?: number;
|
|
42
|
+
maxLength?: number;
|
|
43
|
+
pattern?: string;
|
|
44
|
+
format?: string;
|
|
45
|
+
minItems?: number;
|
|
46
|
+
maxItems?: number;
|
|
47
|
+
uniqueItems?: boolean;
|
|
48
|
+
default?: JsonValue;
|
|
49
|
+
readOnly?: boolean;
|
|
50
|
+
writeOnly?: boolean;
|
|
51
|
+
deprecated?: boolean;
|
|
52
|
+
contentEncoding?: string;
|
|
53
|
+
contentMediaType?: string;
|
|
54
|
+
examples?: JsonValue[];
|
|
55
|
+
$comment?: string;
|
|
56
|
+
[key: `x-${string}`]: JsonValue | undefined;
|
|
57
|
+
}
|
|
58
|
+
declare function assertPortableJsonSchema(schema: unknown, path?: string): asserts schema is PortableJsonSchema;
|
|
2
59
|
declare function assertObjectType(type: string): asserts type is FabricObjectType;
|
|
3
60
|
declare function registerObjectType(type: string): void;
|
|
4
61
|
declare function isValidObjectType(type: string): boolean;
|
|
5
62
|
declare function getRegisteredObjectTypes(): string[];
|
|
6
63
|
|
|
7
|
-
export { type FabricObjectType, assertObjectType, getRegisteredObjectTypes, isValidObjectType, registerObjectType };
|
|
64
|
+
export { type FabricObjectType, type JsonPrimitive, type JsonValue, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType };
|
package/dist/objects/index.d.ts
CHANGED
|
@@ -1,7 +1,64 @@
|
|
|
1
1
|
type FabricObjectType = string;
|
|
2
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
3
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
4
|
+
[key: string]: JsonValue;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Dependency-free JSON Schema profile accepted in portable module manifests.
|
|
8
|
+
* Unknown extension keywords must use an `x-` prefix. Runtime validators may
|
|
9
|
+
* support more vocabulary, but exported entity contracts stay in this profile.
|
|
10
|
+
*/
|
|
11
|
+
interface PortableJsonSchema {
|
|
12
|
+
$schema?: string;
|
|
13
|
+
$id?: string;
|
|
14
|
+
$ref?: string;
|
|
15
|
+
$defs?: Record<string, PortableJsonSchema>;
|
|
16
|
+
title?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
type?: "null" | "boolean" | "object" | "array" | "number" | "integer" | "string" | Array<"null" | "boolean" | "object" | "array" | "number" | "integer" | "string">;
|
|
19
|
+
enum?: JsonValue[];
|
|
20
|
+
const?: JsonValue;
|
|
21
|
+
properties?: Record<string, PortableJsonSchema>;
|
|
22
|
+
required?: string[];
|
|
23
|
+
additionalProperties?: boolean | PortableJsonSchema;
|
|
24
|
+
items?: PortableJsonSchema | PortableJsonSchema[];
|
|
25
|
+
prefixItems?: PortableJsonSchema[];
|
|
26
|
+
propertyNames?: PortableJsonSchema;
|
|
27
|
+
patternProperties?: Record<string, PortableJsonSchema>;
|
|
28
|
+
dependentRequired?: Record<string, string[]>;
|
|
29
|
+
allOf?: PortableJsonSchema[];
|
|
30
|
+
anyOf?: PortableJsonSchema[];
|
|
31
|
+
oneOf?: PortableJsonSchema[];
|
|
32
|
+
not?: PortableJsonSchema;
|
|
33
|
+
if?: PortableJsonSchema;
|
|
34
|
+
then?: PortableJsonSchema;
|
|
35
|
+
else?: PortableJsonSchema;
|
|
36
|
+
minimum?: number;
|
|
37
|
+
maximum?: number;
|
|
38
|
+
exclusiveMinimum?: number;
|
|
39
|
+
exclusiveMaximum?: number;
|
|
40
|
+
multipleOf?: number;
|
|
41
|
+
minLength?: number;
|
|
42
|
+
maxLength?: number;
|
|
43
|
+
pattern?: string;
|
|
44
|
+
format?: string;
|
|
45
|
+
minItems?: number;
|
|
46
|
+
maxItems?: number;
|
|
47
|
+
uniqueItems?: boolean;
|
|
48
|
+
default?: JsonValue;
|
|
49
|
+
readOnly?: boolean;
|
|
50
|
+
writeOnly?: boolean;
|
|
51
|
+
deprecated?: boolean;
|
|
52
|
+
contentEncoding?: string;
|
|
53
|
+
contentMediaType?: string;
|
|
54
|
+
examples?: JsonValue[];
|
|
55
|
+
$comment?: string;
|
|
56
|
+
[key: `x-${string}`]: JsonValue | undefined;
|
|
57
|
+
}
|
|
58
|
+
declare function assertPortableJsonSchema(schema: unknown, path?: string): asserts schema is PortableJsonSchema;
|
|
2
59
|
declare function assertObjectType(type: string): asserts type is FabricObjectType;
|
|
3
60
|
declare function registerObjectType(type: string): void;
|
|
4
61
|
declare function isValidObjectType(type: string): boolean;
|
|
5
62
|
declare function getRegisteredObjectTypes(): string[];
|
|
6
63
|
|
|
7
|
-
export { type FabricObjectType, assertObjectType, getRegisteredObjectTypes, isValidObjectType, registerObjectType };
|
|
64
|
+
export { type FabricObjectType, type JsonPrimitive, type JsonValue, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType };
|
package/dist/objects/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assertObjectType, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from '../chunk-
|
|
1
|
+
export { assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from '../chunk-4MMMXV4Q.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3WEHM2P3_cjs = require('../chunk-3WEHM2P3.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Object.defineProperty(exports, "getRegisteredViewContractKeys", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk3WEHM2P3_cjs.getRegisteredViewContractKeys; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "registerViewContract", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk3WEHM2P3_cjs.registerViewContract; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "registerViewContractIfMissing", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk3WEHM2P3_cjs.registerViewContractIfMissing; }
|
|
18
|
+
});
|
|
7
19
|
Object.defineProperty(exports, "replayEvents", {
|
|
8
20
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3WEHM2P3_cjs.replayEvents; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "replayView", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunk3WEHM2P3_cjs.replayView; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "resolveViewContract", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunk3WEHM2P3_cjs.resolveViewContract; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "viewContractKey", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunk3WEHM2P3_cjs.viewContractKey; }
|
|
10
34
|
});
|
|
11
35
|
//# sourceMappingURL=index.cjs.map
|
|
12
36
|
//# sourceMappingURL=index.cjs.map
|