@fabricorg/platform 0.11.0 → 0.12.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 +26 -6
- package/README.md +1 -1
- package/dist/actions/index.cjs +11 -11
- package/dist/actions/index.d.cts +22 -2
- package/dist/actions/index.d.ts +22 -2
- package/dist/actions/index.js +1 -1
- package/dist/{chunk-4YQOGV7H.js → chunk-3O4GMCCE.js} +2 -2
- package/dist/chunk-3O4GMCCE.js.map +1 -0
- package/dist/{chunk-O7IHZ53Y.cjs → chunk-45TSN3GO.cjs} +18 -9
- package/dist/chunk-45TSN3GO.cjs.map +1 -0
- package/dist/{chunk-3S6UTP4X.js → chunk-4MMMXV4Q.js} +28 -3
- package/dist/chunk-4MMMXV4Q.js.map +1 -0
- package/dist/{chunk-JM55UQWK.js → chunk-4RMKUYRX.js} +2 -2
- package/dist/chunk-4RMKUYRX.js.map +1 -0
- package/dist/{chunk-3JQI3OFC.js → chunk-5PDVZXEI.js} +42 -6
- package/dist/chunk-5PDVZXEI.js.map +1 -0
- package/dist/{chunk-JAXDEK5Z.cjs → chunk-7RV5REPT.cjs} +2 -2
- package/dist/chunk-7RV5REPT.cjs.map +1 -0
- package/dist/{chunk-HLRIXNVG.cjs → chunk-JOATYJXQ.cjs} +2 -2
- package/dist/chunk-JOATYJXQ.cjs.map +1 -0
- package/dist/{chunk-7WASIL46.js → chunk-LXS6SURU.js} +18 -9
- package/dist/chunk-LXS6SURU.js.map +1 -0
- package/dist/{chunk-RYCHDNHZ.cjs → chunk-MCD5VT4E.cjs} +19 -10
- package/dist/chunk-MCD5VT4E.cjs.map +1 -0
- package/dist/{chunk-XCL2HBMB.cjs → chunk-OC4ZFJKD.cjs} +28 -3
- package/dist/chunk-OC4ZFJKD.cjs.map +1 -0
- package/dist/{chunk-ODP3DO6P.cjs → chunk-ROC326VL.cjs} +52 -16
- package/dist/chunk-ROC326VL.cjs.map +1 -0
- package/dist/{chunk-NFP5DJBT.js → chunk-ZO6HPMCK.js} +16 -7
- package/dist/chunk-ZO6HPMCK.js.map +1 -0
- package/dist/events/index.cjs +8 -8
- package/dist/events/index.d.cts +6 -1
- package/dist/events/index.d.ts +6 -1
- package/dist/events/index.js +1 -1
- package/dist/index.cjs +48 -48
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/manifest/index.cjs +12 -12
- package/dist/manifest/index.d.cts +5 -2
- package/dist/manifest/index.d.ts +5 -2
- package/dist/manifest/index.js +6 -6
- package/dist/modules/index.cjs +12 -12
- package/dist/modules/index.d.cts +23 -1
- package/dist/modules/index.d.ts +23 -1
- package/dist/modules/index.js +5 -5
- package/dist/objects/index.cjs +6 -6
- package/dist/objects/index.d.cts +13 -0
- package/dist/objects/index.d.ts +13 -0
- package/dist/objects/index.js +1 -1
- package/dist/projections/index.cjs +8 -8
- package/dist/projections/index.d.cts +15 -1
- package/dist/projections/index.d.ts +15 -1
- package/dist/projections/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3JQI3OFC.js.map +0 -1
- package/dist/chunk-3S6UTP4X.js.map +0 -1
- package/dist/chunk-4YQOGV7H.js.map +0 -1
- package/dist/chunk-7WASIL46.js.map +0 -1
- package/dist/chunk-HLRIXNVG.cjs.map +0 -1
- package/dist/chunk-JAXDEK5Z.cjs.map +0 -1
- package/dist/chunk-JM55UQWK.js.map +0 -1
- package/dist/chunk-NFP5DJBT.js.map +0 -1
- package/dist/chunk-O7IHZ53Y.cjs.map +0 -1
- package/dist/chunk-ODP3DO6P.cjs.map +0 -1
- package/dist/chunk-RYCHDNHZ.cjs.map +0 -1
- package/dist/chunk-XCL2HBMB.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkYZKUEC2J_cjs = require('./chunk-YZKUEC2J.cjs');
|
|
4
4
|
var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var chunkMCD5VT4E_cjs = require('./chunk-MCD5VT4E.cjs');
|
|
6
|
+
var chunkROC326VL_cjs = require('./chunk-ROC326VL.cjs');
|
|
7
|
+
var chunkOC4ZFJKD_cjs = require('./chunk-OC4ZFJKD.cjs');
|
|
8
8
|
var chunkNJL3US7H_cjs = require('./chunk-NJL3US7H.cjs');
|
|
9
9
|
var chunkYQEXO3IQ_cjs = require('./chunk-YQEXO3IQ.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunk45TSN3GO_cjs = require('./chunk-45TSN3GO.cjs');
|
|
11
11
|
var chunkUV252FLT_cjs = require('./chunk-UV252FLT.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkJOATYJXQ_cjs = require('./chunk-JOATYJXQ.cjs');
|
|
13
13
|
var chunkNPVIFZQV_cjs = require('./chunk-NPVIFZQV.cjs');
|
|
14
14
|
var chunkF3E5SXPN_cjs = require('./chunk-F3E5SXPN.cjs');
|
|
15
15
|
var chunkEO4VSB2O_cjs = require('./chunk-EO4VSB2O.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunk7RV5REPT_cjs = require('./chunk-7RV5REPT.cjs');
|
|
17
17
|
require('./chunk-PG5LYTUX.cjs');
|
|
18
18
|
var chunkANPJYXBK_cjs = require('./chunk-ANPJYXBK.cjs');
|
|
19
19
|
|
|
@@ -49,75 +49,75 @@ Object.defineProperty(exports, "parseFabricId", {
|
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkMCD5VT4E_cjs.MODULE_MANIFEST_VERSION; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "exportModuleManifest", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkMCD5VT4E_cjs.exportModuleManifest; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "exportModuleManifestBundle", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkMCD5VT4E_cjs.exportModuleManifestBundle; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkMCD5VT4E_cjs.isJsonSchemaExportableValidator; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "normalizeModuleManifest", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifest; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "normalizeModuleManifestBundle", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifestBundle; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkROC326VL_cjs.createModuleRegistry; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkROC326VL_cjs.getEventTypeName; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkROC326VL_cjs.getModuleDependencyNamespace; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkROC326VL_cjs.getObjectTypeName; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkROC326VL_cjs.registerFabricModule; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkROC326VL_cjs.registerFabricModules; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkROC326VL_cjs.validateModuleNamespace; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "assertObjectType", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkOC4ZFJKD_cjs.assertObjectType; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "assertPortableJsonSchema", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkOC4ZFJKD_cjs.assertPortableJsonSchema; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "getRegisteredObjectTypes", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkOC4ZFJKD_cjs.getRegisteredObjectTypes; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "isValidObjectType", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkOC4ZFJKD_cjs.isValidObjectType; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "registerObjectType", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkOC4ZFJKD_cjs.registerObjectType; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "aggregatePolicyOutcomes", {
|
|
123
123
|
enumerable: true,
|
|
@@ -201,31 +201,31 @@ Object.defineProperty(exports, "stableChecksum", {
|
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "getRegisteredViewContractKeys", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunk45TSN3GO_cjs.getRegisteredViewContractKeys; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "registerViewContract", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunk45TSN3GO_cjs.registerViewContract; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "registerViewContractIfMissing", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunk45TSN3GO_cjs.registerViewContractIfMissing; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "replayEvents", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunk45TSN3GO_cjs.replayEvents; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "replayView", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunk45TSN3GO_cjs.replayView; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "resolveViewContract", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunk45TSN3GO_cjs.resolveViewContract; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "viewContractKey", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunk45TSN3GO_cjs.viewContractKey; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "getAllowedTransitions", {
|
|
231
231
|
enumerable: true,
|
|
@@ -253,43 +253,43 @@ Object.defineProperty(exports, "validateTransition", {
|
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "ACTOR_TYPES", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkJOATYJXQ_cjs.ACTOR_TYPES; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "assertActionId", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkJOATYJXQ_cjs.assertActionId; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "assertActorType", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkJOATYJXQ_cjs.assertActorType; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "getRegisteredActionIds", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkJOATYJXQ_cjs.getRegisteredActionIds; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "isActorType", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkJOATYJXQ_cjs.isActorType; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "isRegisteredActionId", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkJOATYJXQ_cjs.isRegisteredActionId; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "registerAction", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkJOATYJXQ_cjs.registerAction; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "registerActionIfMissing", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkJOATYJXQ_cjs.registerActionIfMissing; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "resolveAction", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkJOATYJXQ_cjs.resolveAction; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "resolveRegisteredAction", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkJOATYJXQ_cjs.resolveRegisteredAction; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "AdapterRegistry", {
|
|
295
295
|
enumerable: true,
|
|
@@ -333,31 +333,31 @@ Object.defineProperty(exports, "resolveDisplayRenderer", {
|
|
|
333
333
|
});
|
|
334
334
|
Object.defineProperty(exports, "createEventTypeRegistry", {
|
|
335
335
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunk7RV5REPT_cjs.createEventTypeRegistry; }
|
|
337
337
|
});
|
|
338
338
|
Object.defineProperty(exports, "getRegisteredEventTypes", {
|
|
339
339
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunk7RV5REPT_cjs.getRegisteredEventTypes; }
|
|
341
341
|
});
|
|
342
342
|
Object.defineProperty(exports, "getRegisteredSubjectTypes", {
|
|
343
343
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunk7RV5REPT_cjs.getRegisteredSubjectTypes; }
|
|
345
345
|
});
|
|
346
346
|
Object.defineProperty(exports, "isValidEventType", {
|
|
347
347
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunk7RV5REPT_cjs.isValidEventType; }
|
|
349
349
|
});
|
|
350
350
|
Object.defineProperty(exports, "isValidSubjectType", {
|
|
351
351
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunk7RV5REPT_cjs.isValidSubjectType; }
|
|
353
353
|
});
|
|
354
354
|
Object.defineProperty(exports, "registerEventType", {
|
|
355
355
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunk7RV5REPT_cjs.registerEventType; }
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "registerSubjectType", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunk7RV5REPT_cjs.registerSubjectType; }
|
|
361
361
|
});
|
|
362
362
|
Object.defineProperty(exports, "FABRIC_GOVERNANCE_CONTRACT_VERSION", {
|
|
363
363
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ACTOR_TYPES, ActionContext, ActionDefinition, ActionHandler, ActionId, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.cjs';
|
|
1
|
+
export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.cjs';
|
|
2
2
|
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.cjs';
|
|
3
|
-
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.cjs';
|
|
3
|
+
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventProvenance, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.cjs';
|
|
4
4
|
export { FABRIC_ID_PREFIXES, FabricIdPrefix, createFabricId, isFabricId, parseFabricId } from './ids/index.cjs';
|
|
5
5
|
export { JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, ModuleManifest, ModuleManifestAction, ModuleManifestActionStateMachine, ModuleManifestActionV1, ModuleManifestAdapterStep, ModuleManifestBundle, ModuleManifestBundleV1, ModuleManifestCodePolicy, ModuleManifestDataPolicy, ModuleManifestEventType, ModuleManifestIdPrefix, ModuleManifestObjectType, ModuleManifestObjectTypeV1, ModuleManifestPolicy, ModuleManifestStateMachine, ModuleManifestStateMachineTransition, ModuleManifestV1, ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './manifest/index.cjs';
|
|
6
|
-
export { CapabilityMetadata, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.cjs';
|
|
6
|
+
export { CapabilityActionIntent, CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.cjs';
|
|
7
7
|
export { FabricObjectType, JsonPrimitive, JsonValue, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './objects/index.cjs';
|
|
8
8
|
export { DataPolicyComparisonOperator, DataPolicyCondition, DataPolicyConditionResult, DataPolicyDefinition, DataPolicyLiteral, DataPolicySource, DataPolicySourceReference, DataPolicyValidationResult, PolicyContext, PolicyCorrectiveAction, PolicyCorrectiveActionBase, PolicyCorrectiveActionKind, PolicyDispatchEvidence, PolicyEvaluationMode, PolicyEvaluationResult, PolicyEvaluator, PolicyFact, PolicyFallbackDefinition, PolicyFallbackTrigger, PolicyGuidance, PolicyGuidanceValidationResult, PolicyId, PolicyInvokeActionCorrectiveAction, PolicyKind, PolicyManualCorrectiveAction, PolicyNavigateCorrectiveAction, PolicyOutcome, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.cjs';
|
|
9
9
|
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, TransitionContext, getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './state-machines/index.cjs';
|
|
10
|
-
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.cjs';
|
|
10
|
+
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewUsageMetadata, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.cjs';
|
|
11
11
|
export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.cjs';
|
|
12
12
|
export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.cjs';
|
|
13
13
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ACTOR_TYPES, ActionContext, ActionDefinition, ActionHandler, ActionId, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.js';
|
|
1
|
+
export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.js';
|
|
2
2
|
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.js';
|
|
3
|
-
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.js';
|
|
3
|
+
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventProvenance, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.js';
|
|
4
4
|
export { FABRIC_ID_PREFIXES, FabricIdPrefix, createFabricId, isFabricId, parseFabricId } from './ids/index.js';
|
|
5
5
|
export { JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, ModuleManifest, ModuleManifestAction, ModuleManifestActionStateMachine, ModuleManifestActionV1, ModuleManifestAdapterStep, ModuleManifestBundle, ModuleManifestBundleV1, ModuleManifestCodePolicy, ModuleManifestDataPolicy, ModuleManifestEventType, ModuleManifestIdPrefix, ModuleManifestObjectType, ModuleManifestObjectTypeV1, ModuleManifestPolicy, ModuleManifestStateMachine, ModuleManifestStateMachineTransition, ModuleManifestV1, ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './manifest/index.js';
|
|
6
|
-
export { CapabilityMetadata, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.js';
|
|
6
|
+
export { CapabilityActionIntent, CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.js';
|
|
7
7
|
export { FabricObjectType, JsonPrimitive, JsonValue, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './objects/index.js';
|
|
8
8
|
export { DataPolicyComparisonOperator, DataPolicyCondition, DataPolicyConditionResult, DataPolicyDefinition, DataPolicyLiteral, DataPolicySource, DataPolicySourceReference, DataPolicyValidationResult, PolicyContext, PolicyCorrectiveAction, PolicyCorrectiveActionBase, PolicyCorrectiveActionKind, PolicyDispatchEvidence, PolicyEvaluationMode, PolicyEvaluationResult, PolicyEvaluator, PolicyFact, PolicyFallbackDefinition, PolicyFallbackTrigger, PolicyGuidance, PolicyGuidanceValidationResult, PolicyId, PolicyInvokeActionCorrectiveAction, PolicyKind, PolicyManualCorrectiveAction, PolicyNavigateCorrectiveAction, PolicyOutcome, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.js';
|
|
9
9
|
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, TransitionContext, getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './state-machines/index.js';
|
|
10
|
-
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.js';
|
|
10
|
+
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewUsageMetadata, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.js';
|
|
11
11
|
export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.js';
|
|
12
12
|
export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.js';
|
|
13
13
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-IFMZPLM4.js';
|
|
2
2
|
export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
|
|
3
|
-
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-
|
|
4
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-
|
|
5
|
-
export { assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './chunk-
|
|
3
|
+
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-ZO6HPMCK.js';
|
|
4
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-5PDVZXEI.js';
|
|
5
|
+
export { assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './chunk-4MMMXV4Q.js';
|
|
6
6
|
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-6ER62UUN.js';
|
|
7
7
|
export { ANONYMIZATION_POLICY_VERSION, AnonymizationEngine, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './chunk-X7WC4AYC.js';
|
|
8
|
-
export { getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './chunk-
|
|
8
|
+
export { getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './chunk-LXS6SURU.js';
|
|
9
9
|
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './chunk-T2JLSZN6.js';
|
|
10
|
-
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-
|
|
10
|
+
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-4RMKUYRX.js';
|
|
11
11
|
export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-3ZW5USXF.js';
|
|
12
12
|
export { AgentActionPolicyRegistry } from './chunk-OFCCZ27Z.js';
|
|
13
13
|
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './chunk-O5WVBQ7P.js';
|
|
14
|
-
export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-
|
|
14
|
+
export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-3O4GMCCE.js';
|
|
15
15
|
import './chunk-OZLZHISS.js';
|
|
16
16
|
export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-3OWMPDBD.js';
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
package/dist/manifest/index.cjs
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkMCD5VT4E_cjs = require('../chunk-MCD5VT4E.cjs');
|
|
4
|
+
require('../chunk-ROC326VL.cjs');
|
|
5
|
+
require('../chunk-OC4ZFJKD.cjs');
|
|
6
6
|
require('../chunk-NJL3US7H.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-45TSN3GO.cjs');
|
|
8
8
|
require('../chunk-UV252FLT.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-JOATYJXQ.cjs');
|
|
10
10
|
require('../chunk-EO4VSB2O.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-7RV5REPT.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkMCD5VT4E_cjs.MODULE_MANIFEST_VERSION; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "exportModuleManifest", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkMCD5VT4E_cjs.exportModuleManifest; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "exportModuleManifestBundle", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkMCD5VT4E_cjs.exportModuleManifestBundle; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkMCD5VT4E_cjs.isJsonSchemaExportableValidator; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "normalizeModuleManifest", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifest; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "normalizeModuleManifestBundle", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifestBundle; }
|
|
38
38
|
});
|
|
39
39
|
//# sourceMappingURL=index.cjs.map
|
|
40
40
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.cjs';
|
|
1
|
+
import { SchemaValidator, ActionExecutionContract, AdapterStepRetryPolicy } from '../actions/index.cjs';
|
|
2
2
|
import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.cjs';
|
|
3
3
|
import { PortableJsonSchema, JsonValue } from '../objects/index.cjs';
|
|
4
4
|
import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.cjs';
|
|
5
5
|
import { StateDefinition } from '../state-machines/index.cjs';
|
|
6
|
+
import { ViewContract } from '../projections/index.cjs';
|
|
6
7
|
import '../displays/index.cjs';
|
|
7
|
-
import '../projections/index.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Version of the module manifest contract. Bump when the serialized shape
|
|
@@ -28,6 +28,7 @@ interface ModuleManifestEventType {
|
|
|
28
28
|
eventType: string;
|
|
29
29
|
schemaVersion: number;
|
|
30
30
|
description?: string;
|
|
31
|
+
schema?: PortableJsonSchema;
|
|
31
32
|
}
|
|
32
33
|
interface ModuleManifestActionStateMachine {
|
|
33
34
|
entityType: string;
|
|
@@ -50,6 +51,7 @@ interface ModuleManifestAction {
|
|
|
50
51
|
requiredRoles?: string[];
|
|
51
52
|
requiredPermissions?: string[];
|
|
52
53
|
eventPhase?: "before_adapters" | "after_adapters";
|
|
54
|
+
execution?: ActionExecutionContract;
|
|
53
55
|
/**
|
|
54
56
|
* JSON Schema for the action parameters, present only when the action's
|
|
55
57
|
* `schema` validator implements {@link JsonSchemaExportableValidator}.
|
|
@@ -101,6 +103,7 @@ interface ModuleManifestView {
|
|
|
101
103
|
scope: "tenant-space";
|
|
102
104
|
snapshotVersion: number;
|
|
103
105
|
compatibleSnapshotVersions?: number[];
|
|
106
|
+
usage?: ViewContract["usage"];
|
|
104
107
|
}
|
|
105
108
|
/**
|
|
106
109
|
* Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
|
package/dist/manifest/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.js';
|
|
1
|
+
import { SchemaValidator, ActionExecutionContract, AdapterStepRetryPolicy } from '../actions/index.js';
|
|
2
2
|
import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.js';
|
|
3
3
|
import { PortableJsonSchema, JsonValue } from '../objects/index.js';
|
|
4
4
|
import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.js';
|
|
5
5
|
import { StateDefinition } from '../state-machines/index.js';
|
|
6
|
+
import { ViewContract } from '../projections/index.js';
|
|
6
7
|
import '../displays/index.js';
|
|
7
|
-
import '../projections/index.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Version of the module manifest contract. Bump when the serialized shape
|
|
@@ -28,6 +28,7 @@ interface ModuleManifestEventType {
|
|
|
28
28
|
eventType: string;
|
|
29
29
|
schemaVersion: number;
|
|
30
30
|
description?: string;
|
|
31
|
+
schema?: PortableJsonSchema;
|
|
31
32
|
}
|
|
32
33
|
interface ModuleManifestActionStateMachine {
|
|
33
34
|
entityType: string;
|
|
@@ -50,6 +51,7 @@ interface ModuleManifestAction {
|
|
|
50
51
|
requiredRoles?: string[];
|
|
51
52
|
requiredPermissions?: string[];
|
|
52
53
|
eventPhase?: "before_adapters" | "after_adapters";
|
|
54
|
+
execution?: ActionExecutionContract;
|
|
53
55
|
/**
|
|
54
56
|
* JSON Schema for the action parameters, present only when the action's
|
|
55
57
|
* `schema` validator implements {@link JsonSchemaExportableValidator}.
|
|
@@ -101,6 +103,7 @@ interface ModuleManifestView {
|
|
|
101
103
|
scope: "tenant-space";
|
|
102
104
|
snapshotVersion: number;
|
|
103
105
|
compatibleSnapshotVersions?: number[];
|
|
106
|
+
usage?: ViewContract["usage"];
|
|
104
107
|
}
|
|
105
108
|
/**
|
|
106
109
|
* Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
|
package/dist/manifest/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-ZO6HPMCK.js';
|
|
2
|
+
import '../chunk-5PDVZXEI.js';
|
|
3
|
+
import '../chunk-4MMMXV4Q.js';
|
|
4
4
|
import '../chunk-6ER62UUN.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-LXS6SURU.js';
|
|
6
6
|
import '../chunk-T2JLSZN6.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-4RMKUYRX.js';
|
|
8
8
|
import '../chunk-O5WVBQ7P.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-3O4GMCCE.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
package/dist/modules/index.cjs
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkROC326VL_cjs = require('../chunk-ROC326VL.cjs');
|
|
4
|
+
require('../chunk-OC4ZFJKD.cjs');
|
|
5
5
|
require('../chunk-NJL3US7H.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-45TSN3GO.cjs');
|
|
7
7
|
require('../chunk-UV252FLT.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-JOATYJXQ.cjs');
|
|
9
9
|
require('../chunk-EO4VSB2O.cjs');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-7RV5REPT.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkROC326VL_cjs.createModuleRegistry; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkROC326VL_cjs.getEventTypeName; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkROC326VL_cjs.getModuleDependencyNamespace; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkROC326VL_cjs.getObjectTypeName; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkROC326VL_cjs.registerFabricModule; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkROC326VL_cjs.registerFabricModules; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkROC326VL_cjs.validateModuleNamespace; }
|
|
41
41
|
});
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
package/dist/modules/index.d.cts
CHANGED
|
@@ -18,6 +18,7 @@ interface EventTypeRegistration {
|
|
|
18
18
|
eventType: string;
|
|
19
19
|
schemaVersion: number;
|
|
20
20
|
description?: string;
|
|
21
|
+
schema?: PortableJsonSchema;
|
|
21
22
|
}
|
|
22
23
|
type EventTypeRegistrationInput = string | EventTypeRegistration;
|
|
23
24
|
interface ObjectTypeRegistration {
|
|
@@ -68,6 +69,25 @@ interface CapabilitySlotDefinition {
|
|
|
68
69
|
description: string;
|
|
69
70
|
shape?: PortableJsonSchema;
|
|
70
71
|
}
|
|
72
|
+
interface CapabilityActionIntent {
|
|
73
|
+
name: string;
|
|
74
|
+
actionId: `${string}.${string}`;
|
|
75
|
+
description?: string;
|
|
76
|
+
}
|
|
77
|
+
interface CapabilityPortRequirement {
|
|
78
|
+
name: string;
|
|
79
|
+
version?: string;
|
|
80
|
+
standard?: {
|
|
81
|
+
name: string;
|
|
82
|
+
version?: string;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
interface CapabilityRequirements {
|
|
86
|
+
ports?: CapabilityPortRequirement[];
|
|
87
|
+
permissions?: string[];
|
|
88
|
+
entitlements?: string[];
|
|
89
|
+
featureFlags?: string[];
|
|
90
|
+
}
|
|
71
91
|
interface CapabilityMetadata {
|
|
72
92
|
displayName: string;
|
|
73
93
|
description: string;
|
|
@@ -79,6 +99,8 @@ interface CapabilityMetadata {
|
|
|
79
99
|
message: string;
|
|
80
100
|
};
|
|
81
101
|
slots?: CapabilitySlotDefinition[];
|
|
102
|
+
actionIntents?: CapabilityActionIntent[];
|
|
103
|
+
requirements?: CapabilityRequirements;
|
|
82
104
|
certification?: {
|
|
83
105
|
profile: string;
|
|
84
106
|
required: boolean;
|
|
@@ -119,4 +141,4 @@ declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>
|
|
|
119
141
|
declare function registerFabricModule(module: FabricModule<unknown>): void;
|
|
120
142
|
declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
|
|
121
143
|
|
|
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 };
|
|
144
|
+
export { type CapabilityActionIntent, type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, 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 };
|