@fabricorg/platform 0.6.0 → 0.8.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 +15 -0
- package/README.md +1 -0
- package/dist/actions/index.cjs +11 -11
- package/dist/actions/index.d.cts +2 -0
- package/dist/actions/index.d.ts +2 -0
- package/dist/actions/index.js +1 -1
- package/dist/{chunk-IEVF52SU.js → chunk-35DD3H55.js} +4 -4
- package/dist/{chunk-IEVF52SU.js.map → chunk-35DD3H55.js.map} +1 -1
- package/dist/{chunk-BJYRMUN2.js → chunk-4SMPJPJ6.js} +2 -2
- package/dist/chunk-4SMPJPJ6.js.map +1 -0
- package/dist/{chunk-HO4FICHH.js → chunk-6ER62UUN.js} +2 -2
- package/dist/chunk-6ER62UUN.js.map +1 -0
- package/dist/{chunk-RMI3BIND.cjs → chunk-BWNPGRRV.cjs} +2 -2
- package/dist/chunk-BWNPGRRV.cjs.map +1 -0
- package/dist/chunk-C72F6IRQ.cjs +20 -0
- package/dist/chunk-C72F6IRQ.cjs.map +1 -0
- package/dist/{chunk-SQXWXN5U.cjs → chunk-NJL3US7H.cjs} +2 -2
- package/dist/chunk-NJL3US7H.cjs.map +1 -0
- package/dist/{chunk-OWJ3PPNH.cjs → chunk-SSYKDXR4.cjs} +6 -6
- package/dist/{chunk-OWJ3PPNH.cjs.map → chunk-SSYKDXR4.cjs.map} +1 -1
- package/dist/chunk-WGJBT66A.js +18 -0
- package/dist/chunk-WGJBT66A.js.map +1 -0
- package/dist/governance/index.cjs +12 -0
- package/dist/governance/index.cjs.map +1 -0
- package/dist/governance/index.d.cts +79 -0
- package/dist/governance/index.d.ts +79 -0
- package/dist/governance/index.js +3 -0
- package/dist/governance/index.js.map +1 -0
- package/dist/index.cjs +51 -46
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -4
- package/dist/modules/index.cjs +10 -10
- package/dist/modules/index.js +3 -3
- package/dist/policies/index.cjs +12 -12
- package/dist/policies/index.d.cts +4 -1
- package/dist/policies/index.d.ts +4 -1
- package/dist/policies/index.js +1 -1
- package/package.json +216 -207
- package/dist/chunk-BJYRMUN2.js.map +0 -1
- package/dist/chunk-HO4FICHH.js.map +0 -1
- package/dist/chunk-RMI3BIND.cjs.map +0 -1
- package/dist/chunk-SQXWXN5U.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,49 +1,66 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
|
|
4
|
+
var chunkSSYKDXR4_cjs = require('./chunk-SSYKDXR4.cjs');
|
|
4
5
|
var chunkQETQGAXJ_cjs = require('./chunk-QETQGAXJ.cjs');
|
|
5
|
-
var
|
|
6
|
+
var chunkNJL3US7H_cjs = require('./chunk-NJL3US7H.cjs');
|
|
6
7
|
var chunkYQEXO3IQ_cjs = require('./chunk-YQEXO3IQ.cjs');
|
|
7
8
|
var chunkQ3WYIWCN_cjs = require('./chunk-Q3WYIWCN.cjs');
|
|
8
9
|
var chunkUV252FLT_cjs = require('./chunk-UV252FLT.cjs');
|
|
9
10
|
var chunkYZKUEC2J_cjs = require('./chunk-YZKUEC2J.cjs');
|
|
10
|
-
var
|
|
11
|
+
var chunkBWNPGRRV_cjs = require('./chunk-BWNPGRRV.cjs');
|
|
11
12
|
var chunkNPVIFZQV_cjs = require('./chunk-NPVIFZQV.cjs');
|
|
12
13
|
var chunkF3E5SXPN_cjs = require('./chunk-F3E5SXPN.cjs');
|
|
13
14
|
var chunkEO4VSB2O_cjs = require('./chunk-EO4VSB2O.cjs');
|
|
14
15
|
var chunkJAXDEK5Z_cjs = require('./chunk-JAXDEK5Z.cjs');
|
|
15
16
|
require('./chunk-PG5LYTUX.cjs');
|
|
16
|
-
var
|
|
17
|
+
var chunkC72F6IRQ_cjs = require('./chunk-C72F6IRQ.cjs');
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
|
|
21
|
+
Object.defineProperty(exports, "FABRIC_ID_PREFIXES", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkLZSE6QGQ_cjs.FABRIC_ID_PREFIXES; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "createFabricId", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkLZSE6QGQ_cjs.createFabricId; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "isFabricId", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkLZSE6QGQ_cjs.isFabricId; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "parseFabricId", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkLZSE6QGQ_cjs.parseFabricId; }
|
|
36
|
+
});
|
|
20
37
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
21
38
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkSSYKDXR4_cjs.createModuleRegistry; }
|
|
23
40
|
});
|
|
24
41
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
25
42
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkSSYKDXR4_cjs.getEventTypeName; }
|
|
27
44
|
});
|
|
28
45
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
29
46
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkSSYKDXR4_cjs.getModuleDependencyNamespace; }
|
|
31
48
|
});
|
|
32
49
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
33
50
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkSSYKDXR4_cjs.getObjectTypeName; }
|
|
35
52
|
});
|
|
36
53
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
37
54
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkSSYKDXR4_cjs.registerFabricModule; }
|
|
39
56
|
});
|
|
40
57
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
41
58
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkSSYKDXR4_cjs.registerFabricModules; }
|
|
43
60
|
});
|
|
44
61
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
45
62
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkSSYKDXR4_cjs.validateModuleNamespace; }
|
|
47
64
|
});
|
|
48
65
|
Object.defineProperty(exports, "assertObjectType", {
|
|
49
66
|
enumerable: true,
|
|
@@ -63,47 +80,47 @@ Object.defineProperty(exports, "registerObjectType", {
|
|
|
63
80
|
});
|
|
64
81
|
Object.defineProperty(exports, "aggregatePolicyOutcomes", {
|
|
65
82
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkNJL3US7H_cjs.aggregatePolicyOutcomes; }
|
|
67
84
|
});
|
|
68
85
|
Object.defineProperty(exports, "assertPolicyId", {
|
|
69
86
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkNJL3US7H_cjs.assertPolicyId; }
|
|
71
88
|
});
|
|
72
89
|
Object.defineProperty(exports, "evaluatePolicyDefinition", {
|
|
73
90
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkNJL3US7H_cjs.evaluatePolicyDefinition; }
|
|
75
92
|
});
|
|
76
93
|
Object.defineProperty(exports, "evaluatePolicyDefinitions", {
|
|
77
94
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkNJL3US7H_cjs.evaluatePolicyDefinitions; }
|
|
79
96
|
});
|
|
80
97
|
Object.defineProperty(exports, "evaluateRegisteredPolicies", {
|
|
81
98
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkNJL3US7H_cjs.evaluateRegisteredPolicies; }
|
|
83
100
|
});
|
|
84
101
|
Object.defineProperty(exports, "getRegisteredPolicyIds", {
|
|
85
102
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkNJL3US7H_cjs.getRegisteredPolicyIds; }
|
|
87
104
|
});
|
|
88
105
|
Object.defineProperty(exports, "registerPolicy", {
|
|
89
106
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkNJL3US7H_cjs.registerPolicy; }
|
|
91
108
|
});
|
|
92
109
|
Object.defineProperty(exports, "registerPolicyIfMissing", {
|
|
93
110
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkNJL3US7H_cjs.registerPolicyIfMissing; }
|
|
95
112
|
});
|
|
96
113
|
Object.defineProperty(exports, "resolvePolicy", {
|
|
97
114
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkNJL3US7H_cjs.resolvePolicy; }
|
|
99
116
|
});
|
|
100
117
|
Object.defineProperty(exports, "validateDataPolicyDefinition", {
|
|
101
118
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkNJL3US7H_cjs.validateDataPolicyDefinition; }
|
|
103
120
|
});
|
|
104
121
|
Object.defineProperty(exports, "validatePolicyGuidance", {
|
|
105
122
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkNJL3US7H_cjs.validatePolicyGuidance; }
|
|
107
124
|
});
|
|
108
125
|
Object.defineProperty(exports, "ANONYMIZATION_POLICY_VERSION", {
|
|
109
126
|
enumerable: true,
|
|
@@ -183,43 +200,43 @@ Object.defineProperty(exports, "createInMemoryAdapterRegistry", {
|
|
|
183
200
|
});
|
|
184
201
|
Object.defineProperty(exports, "ACTOR_TYPES", {
|
|
185
202
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkBWNPGRRV_cjs.ACTOR_TYPES; }
|
|
187
204
|
});
|
|
188
205
|
Object.defineProperty(exports, "assertActionId", {
|
|
189
206
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkBWNPGRRV_cjs.assertActionId; }
|
|
191
208
|
});
|
|
192
209
|
Object.defineProperty(exports, "assertActorType", {
|
|
193
210
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkBWNPGRRV_cjs.assertActorType; }
|
|
195
212
|
});
|
|
196
213
|
Object.defineProperty(exports, "getRegisteredActionIds", {
|
|
197
214
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkBWNPGRRV_cjs.getRegisteredActionIds; }
|
|
199
216
|
});
|
|
200
217
|
Object.defineProperty(exports, "isActorType", {
|
|
201
218
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkBWNPGRRV_cjs.isActorType; }
|
|
203
220
|
});
|
|
204
221
|
Object.defineProperty(exports, "isRegisteredActionId", {
|
|
205
222
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkBWNPGRRV_cjs.isRegisteredActionId; }
|
|
207
224
|
});
|
|
208
225
|
Object.defineProperty(exports, "registerAction", {
|
|
209
226
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkBWNPGRRV_cjs.registerAction; }
|
|
211
228
|
});
|
|
212
229
|
Object.defineProperty(exports, "registerActionIfMissing", {
|
|
213
230
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkBWNPGRRV_cjs.registerActionIfMissing; }
|
|
215
232
|
});
|
|
216
233
|
Object.defineProperty(exports, "resolveAction", {
|
|
217
234
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkBWNPGRRV_cjs.resolveAction; }
|
|
219
236
|
});
|
|
220
237
|
Object.defineProperty(exports, "resolveRegisteredAction", {
|
|
221
238
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkBWNPGRRV_cjs.resolveRegisteredAction; }
|
|
223
240
|
});
|
|
224
241
|
Object.defineProperty(exports, "AdapterRegistry", {
|
|
225
242
|
enumerable: true,
|
|
@@ -289,21 +306,9 @@ Object.defineProperty(exports, "registerSubjectType", {
|
|
|
289
306
|
enumerable: true,
|
|
290
307
|
get: function () { return chunkJAXDEK5Z_cjs.registerSubjectType; }
|
|
291
308
|
});
|
|
292
|
-
Object.defineProperty(exports, "
|
|
293
|
-
enumerable: true,
|
|
294
|
-
get: function () { return chunkLZSE6QGQ_cjs.FABRIC_ID_PREFIXES; }
|
|
295
|
-
});
|
|
296
|
-
Object.defineProperty(exports, "createFabricId", {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () { return chunkLZSE6QGQ_cjs.createFabricId; }
|
|
299
|
-
});
|
|
300
|
-
Object.defineProperty(exports, "isFabricId", {
|
|
301
|
-
enumerable: true,
|
|
302
|
-
get: function () { return chunkLZSE6QGQ_cjs.isFabricId; }
|
|
303
|
-
});
|
|
304
|
-
Object.defineProperty(exports, "parseFabricId", {
|
|
309
|
+
Object.defineProperty(exports, "assertMutationGovernanceContext", {
|
|
305
310
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
311
|
+
get: function () { return chunkC72F6IRQ_cjs.assertMutationGovernanceContext; }
|
|
307
312
|
});
|
|
308
313
|
//# sourceMappingURL=index.cjs.map
|
|
309
314
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -10,5 +10,6 @@ export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, R
|
|
|
10
10
|
export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.cjs';
|
|
11
11
|
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';
|
|
12
12
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.cjs';
|
|
13
|
+
export { ExecutionAttestation, ExecutionPrincipal, ExternalReconciliation, ExternalResourceOperation, ExternalResourceRef, MutationFootprint, MutationFootprintEntry, MutationGovernanceContext, MutationGovernanceResolutionInput, MutationGovernanceResolver, PolicyObligation, PolicyObligationStatus, ReconciliationStatus, assertMutationGovernanceContext } from './governance/index.cjs';
|
|
13
14
|
export { AgentActionPolicyContext, AgentActionPolicyDecision, AgentActionPolicyDefinition, AgentActionPolicyEvaluator, AgentActionPolicyRegistry, AgentActionRiskTier, AgentActionRoute } from './agent-hitl/index.cjs';
|
|
14
15
|
export { FakeActionContextOptions, createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './testing/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, R
|
|
|
10
10
|
export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.js';
|
|
11
11
|
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';
|
|
12
12
|
export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.js';
|
|
13
|
+
export { ExecutionAttestation, ExecutionPrincipal, ExternalReconciliation, ExternalResourceOperation, ExternalResourceRef, MutationFootprint, MutationFootprintEntry, MutationGovernanceContext, MutationGovernanceResolutionInput, MutationGovernanceResolver, PolicyObligation, PolicyObligationStatus, ReconciliationStatus, assertMutationGovernanceContext } from './governance/index.js';
|
|
13
14
|
export { AgentActionPolicyContext, AgentActionPolicyDecision, AgentActionPolicyDefinition, AgentActionPolicyEvaluator, AgentActionPolicyRegistry, AgentActionRiskTier, AgentActionRoute } from './agent-hitl/index.js';
|
|
14
15
|
export { FakeActionContextOptions, createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './testing/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
|
|
2
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-35DD3H55.js';
|
|
2
3
|
export { assertObjectType, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './chunk-I35B576X.js';
|
|
3
|
-
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-
|
|
4
|
+
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-6ER62UUN.js';
|
|
4
5
|
export { ANONYMIZATION_POLICY_VERSION, AnonymizationEngine, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './chunk-X7WC4AYC.js';
|
|
5
6
|
export { replayEvents } from './chunk-JSTGOT6P.js';
|
|
6
7
|
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './chunk-T2JLSZN6.js';
|
|
7
8
|
export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-IFMZPLM4.js';
|
|
8
|
-
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-
|
|
9
|
+
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-4SMPJPJ6.js';
|
|
9
10
|
export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-3ZW5USXF.js';
|
|
10
11
|
export { AgentActionPolicyRegistry } from './chunk-OFCCZ27Z.js';
|
|
11
12
|
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './chunk-O5WVBQ7P.js';
|
|
12
13
|
export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-4YQOGV7H.js';
|
|
13
14
|
import './chunk-OZLZHISS.js';
|
|
14
|
-
export {
|
|
15
|
+
export { assertMutationGovernanceContext } from './chunk-WGJBT66A.js';
|
|
15
16
|
//# sourceMappingURL=index.js.map
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
package/dist/modules/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSSYKDXR4_cjs = require('../chunk-SSYKDXR4.cjs');
|
|
4
4
|
require('../chunk-QETQGAXJ.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-NJL3US7H.cjs');
|
|
6
6
|
require('../chunk-UV252FLT.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-BWNPGRRV.cjs');
|
|
8
8
|
require('../chunk-EO4VSB2O.cjs');
|
|
9
9
|
require('../chunk-JAXDEK5Z.cjs');
|
|
10
10
|
|
|
@@ -12,31 +12,31 @@ require('../chunk-JAXDEK5Z.cjs');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkSSYKDXR4_cjs.createModuleRegistry; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkSSYKDXR4_cjs.getEventTypeName; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkSSYKDXR4_cjs.getModuleDependencyNamespace; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkSSYKDXR4_cjs.getObjectTypeName; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkSSYKDXR4_cjs.registerFabricModule; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkSSYKDXR4_cjs.registerFabricModules; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkSSYKDXR4_cjs.validateModuleNamespace; }
|
|
40
40
|
});
|
|
41
41
|
//# sourceMappingURL=index.cjs.map
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
package/dist/modules/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-
|
|
1
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-35DD3H55.js';
|
|
2
2
|
import '../chunk-I35B576X.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-6ER62UUN.js';
|
|
4
4
|
import '../chunk-T2JLSZN6.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-4SMPJPJ6.js';
|
|
6
6
|
import '../chunk-O5WVBQ7P.js';
|
|
7
7
|
import '../chunk-4YQOGV7H.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/policies/index.cjs
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNJL3US7H_cjs = require('../chunk-NJL3US7H.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "aggregatePolicyOutcomes", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkNJL3US7H_cjs.aggregatePolicyOutcomes; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "assertPolicyId", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNJL3US7H_cjs.assertPolicyId; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "evaluatePolicyDefinition", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNJL3US7H_cjs.evaluatePolicyDefinition; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "evaluatePolicyDefinitions", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNJL3US7H_cjs.evaluatePolicyDefinitions; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "evaluateRegisteredPolicies", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNJL3US7H_cjs.evaluateRegisteredPolicies; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getRegisteredPolicyIds", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkNJL3US7H_cjs.getRegisteredPolicyIds; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "registerPolicy", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkNJL3US7H_cjs.registerPolicy; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "registerPolicyIfMissing", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkNJL3US7H_cjs.registerPolicyIfMissing; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "resolvePolicy", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkNJL3US7H_cjs.resolvePolicy; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "validateDataPolicyDefinition", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkNJL3US7H_cjs.validateDataPolicyDefinition; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "validatePolicyGuidance", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkNJL3US7H_cjs.validatePolicyGuidance; }
|
|
50
50
|
});
|
|
51
51
|
//# sourceMappingURL=index.cjs.map
|
|
52
52
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FabricRuntimeServices, ActionId } from '../actions/index.cjs';
|
|
1
|
+
import { ActorType, FabricRuntimeServices, ActionId } from '../actions/index.cjs';
|
|
2
2
|
|
|
3
3
|
type PolicyEvaluationResult = "pass" | "warn" | "block";
|
|
4
4
|
type PolicyKind = "code" | "data" | "hybrid";
|
|
@@ -10,6 +10,9 @@ interface PolicyContext<TDb = unknown> {
|
|
|
10
10
|
spaceId: string;
|
|
11
11
|
actionInvocationId: string;
|
|
12
12
|
actionId: string;
|
|
13
|
+
/** Authenticated actor identity supplied by the host. Omitted only by legacy hosts and previews. */
|
|
14
|
+
actorId?: string;
|
|
15
|
+
actorType?: ActorType;
|
|
13
16
|
parameters: unknown;
|
|
14
17
|
db: TDb;
|
|
15
18
|
now?: Date;
|
package/dist/policies/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FabricRuntimeServices, ActionId } from '../actions/index.js';
|
|
1
|
+
import { ActorType, FabricRuntimeServices, ActionId } from '../actions/index.js';
|
|
2
2
|
|
|
3
3
|
type PolicyEvaluationResult = "pass" | "warn" | "block";
|
|
4
4
|
type PolicyKind = "code" | "data" | "hybrid";
|
|
@@ -10,6 +10,9 @@ interface PolicyContext<TDb = unknown> {
|
|
|
10
10
|
spaceId: string;
|
|
11
11
|
actionInvocationId: string;
|
|
12
12
|
actionId: string;
|
|
13
|
+
/** Authenticated actor identity supplied by the host. Omitted only by legacy hosts and previews. */
|
|
14
|
+
actorId?: string;
|
|
15
|
+
actorType?: ActorType;
|
|
13
16
|
parameters: unknown;
|
|
14
17
|
db: TDb;
|
|
15
18
|
now?: Date;
|
package/dist/policies/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from '../chunk-
|
|
1
|
+
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from '../chunk-6ER62UUN.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|