@fabricorg/platform 1.1.0 → 1.2.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 +46 -0
- package/README.md +20 -7
- package/dist/adapters/index.cjs +18 -6
- package/dist/adapters/index.d.cts +76 -1
- package/dist/adapters/index.d.ts +76 -1
- package/dist/adapters/index.js +1 -1
- package/dist/{chunk-YZKUEC2J.cjs → chunk-3BGFHSSK.cjs} +4 -4
- package/dist/{chunk-YZKUEC2J.cjs.map → chunk-3BGFHSSK.cjs.map} +1 -1
- package/dist/{chunk-6T6F3TNQ.cjs → chunk-3UBX7KQM.cjs} +12 -11
- package/dist/chunk-3UBX7KQM.cjs.map +1 -0
- package/dist/{chunk-53YJK3LK.js → chunk-63MYMAEX.js} +5 -4
- package/dist/chunk-63MYMAEX.js.map +1 -0
- package/dist/{chunk-OWSSGFNY.js → chunk-7GAWSUOG.js} +22 -3
- package/dist/chunk-7GAWSUOG.js.map +1 -0
- package/dist/{chunk-IFMZPLM4.js → chunk-AWP6JDD5.js} +3 -3
- package/dist/{chunk-IFMZPLM4.js.map → chunk-AWP6JDD5.js.map} +1 -1
- package/dist/{chunk-M5FGWXT3.cjs → chunk-CXR6KEKQ.cjs} +11 -10
- package/dist/chunk-CXR6KEKQ.cjs.map +1 -0
- package/dist/{chunk-3ZW5USXF.js → chunk-DTY3CHQZ.js} +24 -5
- package/dist/chunk-DTY3CHQZ.js.map +1 -0
- package/dist/chunk-IFW43ELT.cjs +331 -0
- package/dist/chunk-IFW43ELT.cjs.map +1 -0
- package/dist/{chunk-J5LS5BSI.js → chunk-JG35DT2G.js} +11 -10
- package/dist/chunk-JG35DT2G.js.map +1 -0
- package/dist/{chunk-ETONSTUW.js → chunk-LZNXUTJQ.js} +4 -3
- package/dist/chunk-LZNXUTJQ.js.map +1 -0
- package/dist/{chunk-NPVIFZQV.cjs → chunk-N2BBUKCX.cjs} +26 -4
- package/dist/chunk-N2BBUKCX.cjs.map +1 -0
- package/dist/{chunk-ANPJYXBK.cjs → chunk-TBS2S5AX.cjs} +8 -2
- package/dist/chunk-TBS2S5AX.cjs.map +1 -0
- package/dist/{chunk-A2VTSATF.cjs → chunk-UITRHBZH.cjs} +7 -6
- package/dist/chunk-UITRHBZH.cjs.map +1 -0
- package/dist/{chunk-WAI4UNWQ.cjs → chunk-WI7CWNYI.cjs} +22 -2
- package/dist/chunk-WI7CWNYI.cjs.map +1 -0
- package/dist/{chunk-3OWMPDBD.js → chunk-Y2PJLRIY.js} +8 -2
- package/dist/chunk-Y2PJLRIY.js.map +1 -0
- package/dist/chunk-ZAEVQSB5.js +326 -0
- package/dist/chunk-ZAEVQSB5.js.map +1 -0
- package/dist/governance/index.cjs +4 -4
- package/dist/governance/index.d.cts +4 -0
- package/dist/governance/index.d.ts +4 -0
- package/dist/governance/index.js +1 -1
- package/dist/index.cjs +62 -42
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/manifest/index.cjs +10 -10
- package/dist/manifest/index.d.cts +1 -0
- package/dist/manifest/index.d.ts +1 -0
- package/dist/manifest/index.js +4 -4
- package/dist/modules/index.cjs +11 -11
- package/dist/modules/index.d.cts +2 -0
- package/dist/modules/index.d.ts +2 -0
- package/dist/modules/index.js +3 -3
- package/dist/objects/index.cjs +8 -4
- package/dist/objects/index.d.cts +11 -1
- package/dist/objects/index.d.ts +11 -1
- package/dist/objects/index.js +1 -1
- package/dist/projections/index.cjs +5 -5
- package/dist/projections/index.d.cts +9 -1
- package/dist/projections/index.d.ts +9 -1
- package/dist/projections/index.js +1 -1
- package/dist/state-machines/index.cjs +7 -3
- package/dist/state-machines/index.d.cts +10 -1
- package/dist/state-machines/index.d.ts +10 -1
- package/dist/state-machines/index.js +1 -1
- package/dist/testing/index.cjs +5 -5
- package/dist/testing/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3OWMPDBD.js.map +0 -1
- package/dist/chunk-3ZW5USXF.js.map +0 -1
- package/dist/chunk-53YJK3LK.js.map +0 -1
- package/dist/chunk-6T6F3TNQ.cjs.map +0 -1
- package/dist/chunk-A2VTSATF.cjs.map +0 -1
- package/dist/chunk-ANPJYXBK.cjs.map +0 -1
- package/dist/chunk-CBY6GRJP.cjs +0 -140
- package/dist/chunk-CBY6GRJP.cjs.map +0 -1
- package/dist/chunk-ETONSTUW.js.map +0 -1
- package/dist/chunk-J5LS5BSI.js.map +0 -1
- package/dist/chunk-M5FGWXT3.cjs.map +0 -1
- package/dist/chunk-NETLRKDS.js +0 -136
- package/dist/chunk-NETLRKDS.js.map +0 -1
- package/dist/chunk-NPVIFZQV.cjs.map +0 -1
- package/dist/chunk-OWSSGFNY.js.map +0 -1
- package/dist/chunk-WAI4UNWQ.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,90 +1,94 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkUITRHBZH_cjs = require('./chunk-UITRHBZH.cjs');
|
|
4
|
+
var chunk3UBX7KQM_cjs = require('./chunk-3UBX7KQM.cjs');
|
|
5
|
+
var chunkIFW43ELT_cjs = require('./chunk-IFW43ELT.cjs');
|
|
6
6
|
var chunkVZ6C4LXC_cjs = require('./chunk-VZ6C4LXC.cjs');
|
|
7
7
|
var chunkX3GHYMAJ_cjs = require('./chunk-X3GHYMAJ.cjs');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
8
|
+
var chunkCXR6KEKQ_cjs = require('./chunk-CXR6KEKQ.cjs');
|
|
9
|
+
var chunkWI7CWNYI_cjs = require('./chunk-WI7CWNYI.cjs');
|
|
10
|
+
var chunk3BGFHSSK_cjs = require('./chunk-3BGFHSSK.cjs');
|
|
11
11
|
var chunkBFQNKQJE_cjs = require('./chunk-BFQNKQJE.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkN2BBUKCX_cjs = require('./chunk-N2BBUKCX.cjs');
|
|
13
13
|
var chunkF3E5SXPN_cjs = require('./chunk-F3E5SXPN.cjs');
|
|
14
14
|
var chunkLDPBQ72C_cjs = require('./chunk-LDPBQ72C.cjs');
|
|
15
15
|
require('./chunk-PG5LYTUX.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkTBS2S5AX_cjs = require('./chunk-TBS2S5AX.cjs');
|
|
17
17
|
var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkUITRHBZH_cjs.MODULE_MANIFEST_VERSION; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "exportModuleManifest", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUITRHBZH_cjs.exportModuleManifest; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "exportModuleManifestBundle", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkUITRHBZH_cjs.exportModuleManifestBundle; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkUITRHBZH_cjs.isJsonSchemaExportableValidator; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "normalizeModuleManifest", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifest; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "normalizeModuleManifestBundle", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifestBundle; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk3UBX7KQM_cjs.createModuleRegistry; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk3UBX7KQM_cjs.getEventTypeName; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3UBX7KQM_cjs.getModuleDependencyNamespace; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3UBX7KQM_cjs.getObjectTypeName; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk3UBX7KQM_cjs.registerFabricModule; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk3UBX7KQM_cjs.registerFabricModules; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "validateAndOrderFabricModules", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk3UBX7KQM_cjs.validateAndOrderFabricModules; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3UBX7KQM_cjs.validateModuleNamespace; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "assertObjectType", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkIFW43ELT_cjs.assertObjectType; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "assertPortableJsonSchema", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkIFW43ELT_cjs.assertPortableJsonSchema; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "createObjectTypeRegistry", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkIFW43ELT_cjs.createObjectTypeRegistry; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "validatePortableJson", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkIFW43ELT_cjs.validatePortableJson; }
|
|
88
92
|
});
|
|
89
93
|
Object.defineProperty(exports, "aggregatePolicyOutcomes", {
|
|
90
94
|
enumerable: true,
|
|
@@ -156,39 +160,43 @@ Object.defineProperty(exports, "stableChecksum", {
|
|
|
156
160
|
});
|
|
157
161
|
Object.defineProperty(exports, "createViewRegistry", {
|
|
158
162
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkCXR6KEKQ_cjs.createViewRegistry; }
|
|
160
164
|
});
|
|
161
165
|
Object.defineProperty(exports, "replayEvents", {
|
|
162
166
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkCXR6KEKQ_cjs.replayEvents; }
|
|
164
168
|
});
|
|
165
169
|
Object.defineProperty(exports, "replayView", {
|
|
166
170
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkCXR6KEKQ_cjs.replayView; }
|
|
168
172
|
});
|
|
169
173
|
Object.defineProperty(exports, "viewContractKey", {
|
|
170
174
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkCXR6KEKQ_cjs.viewContractKey; }
|
|
172
176
|
});
|
|
173
177
|
Object.defineProperty(exports, "createStateMachineRegistry", {
|
|
174
178
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkWI7CWNYI_cjs.createStateMachineRegistry; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "evaluateStateMachineTransition", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunkWI7CWNYI_cjs.evaluateStateMachineTransition; }
|
|
176
184
|
});
|
|
177
185
|
Object.defineProperty(exports, "validateStateMachineTransition", {
|
|
178
186
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkWI7CWNYI_cjs.validateStateMachineTransition; }
|
|
180
188
|
});
|
|
181
189
|
Object.defineProperty(exports, "createDeterministicIdFactory", {
|
|
182
190
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunk3BGFHSSK_cjs.createDeterministicIdFactory; }
|
|
184
192
|
});
|
|
185
193
|
Object.defineProperty(exports, "createFakeActionContext", {
|
|
186
194
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunk3BGFHSSK_cjs.createFakeActionContext; }
|
|
188
196
|
});
|
|
189
197
|
Object.defineProperty(exports, "createInMemoryAdapterRegistry", {
|
|
190
198
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunk3BGFHSSK_cjs.createInMemoryAdapterRegistry; }
|
|
192
200
|
});
|
|
193
201
|
Object.defineProperty(exports, "ACTOR_TYPES", {
|
|
194
202
|
enumerable: true,
|
|
@@ -212,23 +220,35 @@ Object.defineProperty(exports, "isActorType", {
|
|
|
212
220
|
});
|
|
213
221
|
Object.defineProperty(exports, "AdapterRegistry", {
|
|
214
222
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkN2BBUKCX_cjs.AdapterRegistry; }
|
|
216
224
|
});
|
|
217
225
|
Object.defineProperty(exports, "MissingAdapterRegistrationError", {
|
|
218
226
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkN2BBUKCX_cjs.MissingAdapterRegistrationError; }
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(exports, "assertAdapterOutcomeConsistency", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return chunkN2BBUKCX_cjs.assertAdapterOutcomeConsistency; }
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "classifyAdapterOutcome", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () { return chunkN2BBUKCX_cjs.classifyAdapterOutcome; }
|
|
220
236
|
});
|
|
221
237
|
Object.defineProperty(exports, "executeWithAdapterRetry", {
|
|
222
238
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkN2BBUKCX_cjs.executeWithAdapterRetry; }
|
|
224
240
|
});
|
|
225
241
|
Object.defineProperty(exports, "getRetryDelayMs", {
|
|
226
242
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkN2BBUKCX_cjs.getRetryDelayMs; }
|
|
228
244
|
});
|
|
229
245
|
Object.defineProperty(exports, "resolveAdapterRetryPolicy", {
|
|
230
246
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkN2BBUKCX_cjs.resolveAdapterRetryPolicy; }
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(exports, "shouldRetryAdapterOutcome", {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return chunkN2BBUKCX_cjs.shouldRetryAdapterOutcome; }
|
|
232
252
|
});
|
|
233
253
|
Object.defineProperty(exports, "AgentActionPolicyRegistry", {
|
|
234
254
|
enumerable: true,
|
|
@@ -240,15 +260,15 @@ Object.defineProperty(exports, "createEventContractRegistry", {
|
|
|
240
260
|
});
|
|
241
261
|
Object.defineProperty(exports, "FABRIC_GOVERNANCE_CONTRACT_VERSION", {
|
|
242
262
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkTBS2S5AX_cjs.FABRIC_GOVERNANCE_CONTRACT_VERSION; }
|
|
244
264
|
});
|
|
245
265
|
Object.defineProperty(exports, "assertGovernanceRuntimeEvidence", {
|
|
246
266
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkTBS2S5AX_cjs.assertGovernanceRuntimeEvidence; }
|
|
248
268
|
});
|
|
249
269
|
Object.defineProperty(exports, "assertMutationGovernanceContext", {
|
|
250
270
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkTBS2S5AX_cjs.assertMutationGovernanceContext; }
|
|
252
272
|
});
|
|
253
273
|
Object.defineProperty(exports, "FABRIC_ID_PREFIXES", {
|
|
254
274
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionRegistry, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, createActionRegistry, isActorType } from './actions/index.cjs';
|
|
2
|
-
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.cjs';
|
|
2
|
+
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterOutcomeEvidence, AdapterOutcomeKind, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './adapters/index.cjs';
|
|
3
3
|
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventContractRegistry, EventProvenance, createEventContractRegistry } 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
6
|
export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilityWorkflowCompensation, CapabilityWorkflowDeclaration, CapabilityWorkflowTimer, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.cjs';
|
|
7
|
-
export { FabricObjectType, JsonPrimitive, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './objects/index.cjs';
|
|
7
|
+
export { FabricObjectType, JsonPrimitive, JsonSchemaValidationIssue, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } 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, PolicyRegistry, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.cjs';
|
|
9
|
-
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, validateStateMachineTransition } from './state-machines/index.cjs';
|
|
9
|
+
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './state-machines/index.cjs';
|
|
10
10
|
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewRegistry, ViewUsageMetadata, createViewRegistry, replayEvents, replayView, viewContractKey } from './projections/index.cjs';
|
|
11
11
|
export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationFieldPolicy, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationPolicy, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.cjs';
|
|
12
12
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionRegistry, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, createActionRegistry, isActorType } from './actions/index.js';
|
|
2
|
-
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.js';
|
|
2
|
+
export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterOutcomeEvidence, AdapterOutcomeKind, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './adapters/index.js';
|
|
3
3
|
export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventContractRegistry, EventProvenance, createEventContractRegistry } 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
6
|
export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilityWorkflowCompensation, CapabilityWorkflowDeclaration, CapabilityWorkflowTimer, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.js';
|
|
7
|
-
export { FabricObjectType, JsonPrimitive, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './objects/index.js';
|
|
7
|
+
export { FabricObjectType, JsonPrimitive, JsonSchemaValidationIssue, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } 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, PolicyRegistry, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.js';
|
|
9
|
-
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, validateStateMachineTransition } from './state-machines/index.js';
|
|
9
|
+
export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './state-machines/index.js';
|
|
10
10
|
export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewRegistry, ViewUsageMetadata, createViewRegistry, replayEvents, replayView, viewContractKey } from './projections/index.js';
|
|
11
11
|
export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationFieldPolicy, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationPolicy, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.js';
|
|
12
12
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-
|
|
2
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './chunk-
|
|
3
|
-
export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './chunk-
|
|
1
|
+
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-LZNXUTJQ.js';
|
|
2
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './chunk-63MYMAEX.js';
|
|
3
|
+
export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } from './chunk-ZAEVQSB5.js';
|
|
4
4
|
export { aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-JFVEPAED.js';
|
|
5
5
|
export { ANONYMIZATION_POLICY_VERSION, AnonymizationEngine, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './chunk-ATWWZTRC.js';
|
|
6
|
-
export { createViewRegistry, replayEvents, replayView, viewContractKey } from './chunk-
|
|
7
|
-
export { createStateMachineRegistry, validateStateMachineTransition } from './chunk-
|
|
8
|
-
export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-
|
|
6
|
+
export { createViewRegistry, replayEvents, replayView, viewContractKey } from './chunk-JG35DT2G.js';
|
|
7
|
+
export { createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './chunk-7GAWSUOG.js';
|
|
8
|
+
export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-AWP6JDD5.js';
|
|
9
9
|
export { ACTOR_TYPES, assertActionId, assertActorType, createActionRegistry, isActorType } from './chunk-4QOA3VU5.js';
|
|
10
|
-
export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-
|
|
10
|
+
export { AdapterRegistry, MissingAdapterRegistrationError, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './chunk-DTY3CHQZ.js';
|
|
11
11
|
export { AgentActionPolicyRegistry } from './chunk-OFCCZ27Z.js';
|
|
12
12
|
export { createEventContractRegistry } from './chunk-NHGBTPPE.js';
|
|
13
13
|
import './chunk-OZLZHISS.js';
|
|
14
|
-
export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-
|
|
14
|
+
export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-Y2PJLRIY.js';
|
|
15
15
|
export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
package/dist/manifest/index.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkUITRHBZH_cjs = require('../chunk-UITRHBZH.cjs');
|
|
4
|
+
require('../chunk-3UBX7KQM.cjs');
|
|
5
|
+
require('../chunk-IFW43ELT.cjs');
|
|
6
|
+
require('../chunk-CXR6KEKQ.cjs');
|
|
7
7
|
require('../chunk-LDPBQ72C.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUITRHBZH_cjs.MODULE_MANIFEST_VERSION; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "exportModuleManifest", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUITRHBZH_cjs.exportModuleManifest; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "exportModuleManifestBundle", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkUITRHBZH_cjs.exportModuleManifestBundle; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkUITRHBZH_cjs.isJsonSchemaExportableValidator; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "normalizeModuleManifest", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifest; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "normalizeModuleManifestBundle", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifestBundle; }
|
|
34
34
|
});
|
|
35
35
|
//# sourceMappingURL=index.cjs.map
|
|
36
36
|
//# sourceMappingURL=index.cjs.map
|
package/dist/manifest/index.d.ts
CHANGED
package/dist/manifest/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-LZNXUTJQ.js';
|
|
2
|
+
import '../chunk-63MYMAEX.js';
|
|
3
|
+
import '../chunk-ZAEVQSB5.js';
|
|
4
|
+
import '../chunk-JG35DT2G.js';
|
|
5
5
|
import '../chunk-NHGBTPPE.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# 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-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunk3UBX7KQM_cjs = require('../chunk-3UBX7KQM.cjs');
|
|
4
|
+
require('../chunk-IFW43ELT.cjs');
|
|
5
|
+
require('../chunk-CXR6KEKQ.cjs');
|
|
6
6
|
require('../chunk-LDPBQ72C.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3UBX7KQM_cjs.createModuleRegistry; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3UBX7KQM_cjs.getEventTypeName; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3UBX7KQM_cjs.getModuleDependencyNamespace; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3UBX7KQM_cjs.getObjectTypeName; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3UBX7KQM_cjs.registerFabricModule; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk3UBX7KQM_cjs.registerFabricModules; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "validateAndOrderFabricModules", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk3UBX7KQM_cjs.validateAndOrderFabricModules; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk3UBX7KQM_cjs.validateModuleNamespace; }
|
|
41
41
|
});
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
package/dist/modules/index.d.cts
CHANGED
|
@@ -125,6 +125,8 @@ interface CapabilityMetadata {
|
|
|
125
125
|
interface FabricModule<TDb = unknown> {
|
|
126
126
|
namespace: string;
|
|
127
127
|
version?: string;
|
|
128
|
+
/** Compiler manifest digest for exact runtime assembly verification. */
|
|
129
|
+
manifestDigest?: string;
|
|
128
130
|
displayName?: string;
|
|
129
131
|
description?: string;
|
|
130
132
|
capability?: CapabilityMetadata;
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -125,6 +125,8 @@ interface CapabilityMetadata {
|
|
|
125
125
|
interface FabricModule<TDb = unknown> {
|
|
126
126
|
namespace: string;
|
|
127
127
|
version?: string;
|
|
128
|
+
/** Compiler manifest digest for exact runtime assembly verification. */
|
|
129
|
+
manifestDigest?: string;
|
|
128
130
|
displayName?: string;
|
|
129
131
|
description?: string;
|
|
130
132
|
capability?: CapabilityMetadata;
|
package/dist/modules/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from '../chunk-63MYMAEX.js';
|
|
2
|
+
import '../chunk-ZAEVQSB5.js';
|
|
3
|
+
import '../chunk-JG35DT2G.js';
|
|
4
4
|
import '../chunk-NHGBTPPE.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/objects/index.cjs
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIFW43ELT_cjs = require('../chunk-IFW43ELT.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 chunkIFW43ELT_cjs.assertObjectType; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "assertPortableJsonSchema", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIFW43ELT_cjs.assertPortableJsonSchema; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createObjectTypeRegistry", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIFW43ELT_cjs.createObjectTypeRegistry; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "validatePortableJson", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkIFW43ELT_cjs.validatePortableJson; }
|
|
18
22
|
});
|
|
19
23
|
//# sourceMappingURL=index.cjs.map
|
|
20
24
|
//# sourceMappingURL=index.cjs.map
|
package/dist/objects/index.d.cts
CHANGED
|
@@ -56,6 +56,16 @@ interface PortableJsonSchema {
|
|
|
56
56
|
[key: `x-${string}`]: JsonValue | undefined;
|
|
57
57
|
}
|
|
58
58
|
declare function assertPortableJsonSchema(schema: unknown, path?: string): asserts schema is PortableJsonSchema;
|
|
59
|
+
interface JsonSchemaValidationIssue {
|
|
60
|
+
path: Array<string | number>;
|
|
61
|
+
message: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Validate JSON data against the dependency-free JSON Schema profile used by
|
|
65
|
+
* portable contracts. This intentionally returns issues instead of throwing so
|
|
66
|
+
* hosts can expose a stable, typed validation failure without leaking values.
|
|
67
|
+
*/
|
|
68
|
+
declare function validatePortableJson(schema: PortableJsonSchema, value: unknown): JsonSchemaValidationIssue[];
|
|
59
69
|
declare function assertObjectType(type: string): asserts type is FabricObjectType;
|
|
60
70
|
interface ObjectTypeRegistry {
|
|
61
71
|
register(type: string): void;
|
|
@@ -64,4 +74,4 @@ interface ObjectTypeRegistry {
|
|
|
64
74
|
}
|
|
65
75
|
declare function createObjectTypeRegistry(initialTypes?: readonly string[]): ObjectTypeRegistry;
|
|
66
76
|
|
|
67
|
-
export { type FabricObjectType, type JsonPrimitive, type JsonValue, type ObjectTypeRegistry, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry };
|
|
77
|
+
export { type FabricObjectType, type JsonPrimitive, type JsonSchemaValidationIssue, type JsonValue, type ObjectTypeRegistry, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson };
|
package/dist/objects/index.d.ts
CHANGED
|
@@ -56,6 +56,16 @@ interface PortableJsonSchema {
|
|
|
56
56
|
[key: `x-${string}`]: JsonValue | undefined;
|
|
57
57
|
}
|
|
58
58
|
declare function assertPortableJsonSchema(schema: unknown, path?: string): asserts schema is PortableJsonSchema;
|
|
59
|
+
interface JsonSchemaValidationIssue {
|
|
60
|
+
path: Array<string | number>;
|
|
61
|
+
message: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Validate JSON data against the dependency-free JSON Schema profile used by
|
|
65
|
+
* portable contracts. This intentionally returns issues instead of throwing so
|
|
66
|
+
* hosts can expose a stable, typed validation failure without leaking values.
|
|
67
|
+
*/
|
|
68
|
+
declare function validatePortableJson(schema: PortableJsonSchema, value: unknown): JsonSchemaValidationIssue[];
|
|
59
69
|
declare function assertObjectType(type: string): asserts type is FabricObjectType;
|
|
60
70
|
interface ObjectTypeRegistry {
|
|
61
71
|
register(type: string): void;
|
|
@@ -64,4 +74,4 @@ interface ObjectTypeRegistry {
|
|
|
64
74
|
}
|
|
65
75
|
declare function createObjectTypeRegistry(initialTypes?: readonly string[]): ObjectTypeRegistry;
|
|
66
76
|
|
|
67
|
-
export { type FabricObjectType, type JsonPrimitive, type JsonValue, type ObjectTypeRegistry, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry };
|
|
77
|
+
export { type FabricObjectType, type JsonPrimitive, type JsonSchemaValidationIssue, type JsonValue, type ObjectTypeRegistry, type PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson };
|
package/dist/objects/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from '../chunk-
|
|
1
|
+
export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } from '../chunk-ZAEVQSB5.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCXR6KEKQ_cjs = require('../chunk-CXR6KEKQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createViewRegistry", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkCXR6KEKQ_cjs.createViewRegistry; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "replayEvents", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCXR6KEKQ_cjs.replayEvents; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "replayView", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCXR6KEKQ_cjs.replayView; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "viewContractKey", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkCXR6KEKQ_cjs.viewContractKey; }
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=index.cjs.map
|
|
24
24
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -9,7 +9,13 @@ interface ReplayableAssetEvent<Payload = unknown> {
|
|
|
9
9
|
subjectType: string;
|
|
10
10
|
subjectId: string;
|
|
11
11
|
payload: Payload;
|
|
12
|
+
/**
|
|
13
|
+
* Monotonic ordering cursor for the tenant/space event ledger. It is not
|
|
14
|
+
* contiguous after a view filters event types or narrows to one subject.
|
|
15
|
+
*/
|
|
12
16
|
sequence: number;
|
|
17
|
+
/** Optional contiguous sequence local to this subject. */
|
|
18
|
+
subjectSequence?: number;
|
|
13
19
|
occurredAt: Date | string;
|
|
14
20
|
recordedAt: Date | string;
|
|
15
21
|
actionInvocationId: string;
|
|
@@ -25,6 +31,8 @@ interface ViewContract<State = unknown, Event extends ReplayableAssetEvent = Rep
|
|
|
25
31
|
name: `${string}/${string}`;
|
|
26
32
|
version: string;
|
|
27
33
|
shape: PortableJsonSchema;
|
|
34
|
+
/** Optional JSON Schema for query parameters. Parameterized variants get isolated snapshots. */
|
|
35
|
+
parameterSchema?: PortableJsonSchema;
|
|
28
36
|
consumes: ViewEventConsumption[];
|
|
29
37
|
scope: "tenant-space";
|
|
30
38
|
snapshotVersion: number;
|
|
@@ -81,7 +89,7 @@ interface ReplaySnapshot<State = unknown> {
|
|
|
81
89
|
snapshotData: State;
|
|
82
90
|
eventCursor?: string | null;
|
|
83
91
|
eventSequence?: number | null;
|
|
84
|
-
/** Per-subject high-water marks
|
|
92
|
+
/** Per-subject high-water marks. Values prefer subjectSequence when supplied. */
|
|
85
93
|
subjectSequences?: Record<string, number>;
|
|
86
94
|
}
|
|
87
95
|
type ReplayWarningCode = "cursor_not_found" | "duplicate_event" | "missing_sequence" | "subject_scope_incomplete" | "unsupported_event_version";
|