@fabricorg/platform 0.2.2 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +4 -5
- package/dist/actions/index.cjs +11 -11
- package/dist/actions/index.d.cts +29 -0
- package/dist/actions/index.d.ts +29 -0
- package/dist/actions/index.js +1 -1
- package/dist/{chunk-6FMW4NF6.js → chunk-BJYRMUN2.js} +2 -2
- package/dist/{chunk-6FMW4NF6.js.map → chunk-BJYRMUN2.js.map} +1 -1
- package/dist/{chunk-7KJHGAZY.cjs → chunk-EO4VSB2O.cjs} +3 -3
- package/dist/chunk-EO4VSB2O.cjs.map +1 -0
- package/dist/{chunk-LYX73U3P.cjs → chunk-GLUBIGV2.cjs} +8 -8
- package/dist/chunk-GLUBIGV2.cjs.map +1 -0
- package/dist/{chunk-3F6FKQZA.js → chunk-O5WVBQ7P.js} +2 -2
- package/dist/chunk-O5WVBQ7P.js.map +1 -0
- package/dist/{chunk-PXMKCAQI.js → chunk-PZT7TUG4.js} +5 -5
- package/dist/chunk-PZT7TUG4.js.map +1 -0
- package/dist/{chunk-KQEBNUZI.cjs → chunk-RMI3BIND.cjs} +2 -2
- package/dist/{chunk-KQEBNUZI.cjs.map → chunk-RMI3BIND.cjs.map} +1 -1
- package/dist/{chunk-3A6FU3KV.js → chunk-T2JLSZN6.js} +2 -2
- package/dist/chunk-T2JLSZN6.js.map +1 -0
- package/dist/{chunk-GB2PSZ33.cjs → chunk-UV252FLT.cjs} +2 -2
- package/dist/chunk-UV252FLT.cjs.map +1 -0
- package/dist/displays/index.cjs +5 -5
- package/dist/displays/index.d.cts +1 -1
- package/dist/displays/index.d.ts +1 -1
- package/dist/displays/index.js +1 -1
- package/dist/index.cjs +31 -31
- package/dist/index.js +4 -4
- package/dist/modules/index.cjs +11 -11
- package/dist/modules/index.d.cts +4 -3
- package/dist/modules/index.d.ts +4 -3
- package/dist/modules/index.js +4 -4
- package/dist/state-machines/index.cjs +7 -7
- package/dist/state-machines/index.d.cts +1 -1
- package/dist/state-machines/index.d.ts +1 -1
- package/dist/state-machines/index.js +1 -1
- package/package.json +196 -197
- package/dist/chunk-3A6FU3KV.js.map +0 -1
- package/dist/chunk-3F6FKQZA.js.map +0 -1
- package/dist/chunk-7KJHGAZY.cjs.map +0 -1
- package/dist/chunk-GB2PSZ33.cjs.map +0 -1
- package/dist/chunk-LYX73U3P.cjs.map +0 -1
- package/dist/chunk-PXMKCAQI.js.map +0 -1
|
@@ -15,7 +15,7 @@ interface CachedDisplayDescriptor extends DisplayDescriptor {
|
|
|
15
15
|
generatedAt?: string;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
type DisplayDatabaseClient =
|
|
18
|
+
type DisplayDatabaseClient = unknown;
|
|
19
19
|
interface DisplayContext<TDb = DisplayDatabaseClient> {
|
|
20
20
|
tenantId: string;
|
|
21
21
|
spaceId: string;
|
package/dist/displays/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface CachedDisplayDescriptor extends DisplayDescriptor {
|
|
|
15
15
|
generatedAt?: string;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
type DisplayDatabaseClient =
|
|
18
|
+
type DisplayDatabaseClient = unknown;
|
|
19
19
|
interface DisplayContext<TDb = DisplayDatabaseClient> {
|
|
20
20
|
tenantId: string;
|
|
21
21
|
spaceId: string;
|
package/dist/displays/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from '../chunk-
|
|
1
|
+
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from '../chunk-O5WVBQ7P.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -6,12 +6,12 @@ var chunkYZKUEC2J_cjs = require('./chunk-YZKUEC2J.cjs');
|
|
|
6
6
|
var chunkNPVIFZQV_cjs = require('./chunk-NPVIFZQV.cjs');
|
|
7
7
|
require('./chunk-PG5LYTUX.cjs');
|
|
8
8
|
var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkGLUBIGV2_cjs = require('./chunk-GLUBIGV2.cjs');
|
|
10
10
|
var chunkQETQGAXJ_cjs = require('./chunk-QETQGAXJ.cjs');
|
|
11
11
|
var chunkSDXDHVTV_cjs = require('./chunk-SDXDHVTV.cjs');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var chunkUV252FLT_cjs = require('./chunk-UV252FLT.cjs');
|
|
13
|
+
var chunkRMI3BIND_cjs = require('./chunk-RMI3BIND.cjs');
|
|
14
|
+
var chunkEO4VSB2O_cjs = require('./chunk-EO4VSB2O.cjs');
|
|
15
15
|
var chunkJAXDEK5Z_cjs = require('./chunk-JAXDEK5Z.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
@@ -74,31 +74,31 @@ Object.defineProperty(exports, "parseFabricId", {
|
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkGLUBIGV2_cjs.createModuleRegistry; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkGLUBIGV2_cjs.getEventTypeName; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkGLUBIGV2_cjs.getModuleDependencyNamespace; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkGLUBIGV2_cjs.getObjectTypeName; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkGLUBIGV2_cjs.registerFabricModule; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkGLUBIGV2_cjs.registerFabricModules; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkGLUBIGV2_cjs.validateModuleNamespace; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "assertObjectType", {
|
|
104
104
|
enumerable: true,
|
|
@@ -158,83 +158,83 @@ Object.defineProperty(exports, "validateDataPolicyDefinition", {
|
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "getAllowedTransitions", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkUV252FLT_cjs.getAllowedTransitions; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "getEntityStateClass", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkUV252FLT_cjs.getEntityStateClass; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "registerStateMachine", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkUV252FLT_cjs.registerStateMachine; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "registerStateMachineIfMissing", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkUV252FLT_cjs.registerStateMachineIfMissing; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "resolveStateMachine", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkUV252FLT_cjs.resolveStateMachine; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "validateTransition", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkUV252FLT_cjs.validateTransition; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "ACTOR_TYPES", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkRMI3BIND_cjs.ACTOR_TYPES; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "assertActionId", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkRMI3BIND_cjs.assertActionId; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "assertActorType", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkRMI3BIND_cjs.assertActorType; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "getRegisteredActionIds", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkRMI3BIND_cjs.getRegisteredActionIds; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "isActorType", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkRMI3BIND_cjs.isActorType; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "isRegisteredActionId", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkRMI3BIND_cjs.isRegisteredActionId; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "registerAction", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkRMI3BIND_cjs.registerAction; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "registerActionIfMissing", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkRMI3BIND_cjs.registerActionIfMissing; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "resolveAction", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkRMI3BIND_cjs.resolveAction; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "resolveRegisteredAction", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkRMI3BIND_cjs.resolveRegisteredAction; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "denormalizeDisplaySnapshot", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkEO4VSB2O_cjs.denormalizeDisplaySnapshot; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "registerDisplayRenderer", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkEO4VSB2O_cjs.registerDisplayRenderer; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "renderEventDisplay", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkEO4VSB2O_cjs.renderEventDisplay; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "resolveDisplayRenderer", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkEO4VSB2O_cjs.resolveDisplayRenderer; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "createEventTypeRegistry", {
|
|
240
240
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -4,12 +4,12 @@ export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAd
|
|
|
4
4
|
export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-3ZW5USXF.js';
|
|
5
5
|
import './chunk-OZLZHISS.js';
|
|
6
6
|
export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
|
|
7
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-
|
|
7
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-PZT7TUG4.js';
|
|
8
8
|
export { assertObjectType, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './chunk-I35B576X.js';
|
|
9
9
|
export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition } from './chunk-KOC4A7A4.js';
|
|
10
|
-
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './chunk-
|
|
11
|
-
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-
|
|
12
|
-
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './chunk-
|
|
10
|
+
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './chunk-T2JLSZN6.js';
|
|
11
|
+
export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-BJYRMUN2.js';
|
|
12
|
+
export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './chunk-O5WVBQ7P.js';
|
|
13
13
|
export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-4YQOGV7H.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/modules/index.cjs
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGLUBIGV2_cjs = require('../chunk-GLUBIGV2.cjs');
|
|
4
4
|
require('../chunk-QETQGAXJ.cjs');
|
|
5
5
|
require('../chunk-SDXDHVTV.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-UV252FLT.cjs');
|
|
7
|
+
require('../chunk-RMI3BIND.cjs');
|
|
8
|
+
require('../chunk-EO4VSB2O.cjs');
|
|
9
9
|
require('../chunk-JAXDEK5Z.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "createModuleRegistry", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkGLUBIGV2_cjs.createModuleRegistry; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "getEventTypeName", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkGLUBIGV2_cjs.getEventTypeName; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getModuleDependencyNamespace", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkGLUBIGV2_cjs.getModuleDependencyNamespace; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "getObjectTypeName", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkGLUBIGV2_cjs.getObjectTypeName; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "registerFabricModule", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkGLUBIGV2_cjs.registerFabricModule; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "registerFabricModules", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkGLUBIGV2_cjs.registerFabricModules; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "validateModuleNamespace", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkGLUBIGV2_cjs.validateModuleNamespace; }
|
|
40
40
|
});
|
|
41
41
|
//# sourceMappingURL=index.cjs.map
|
|
42
42
|
//# sourceMappingURL=index.cjs.map
|
package/dist/modules/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActionDefinition } from '../actions/index.cjs';
|
|
2
|
+
import { DisplayRenderer } from '../displays/index.cjs';
|
|
2
3
|
|
|
3
4
|
interface ModuleDependency {
|
|
4
5
|
namespace: string;
|
|
@@ -26,7 +27,7 @@ interface ObjectTypeRegistration {
|
|
|
26
27
|
type ObjectTypeRegistrationInput = string | ObjectTypeRegistration;
|
|
27
28
|
interface ModuleDisplayRendererRegistration {
|
|
28
29
|
eventType: string;
|
|
29
|
-
renderer:
|
|
30
|
+
renderer: DisplayRenderer;
|
|
30
31
|
}
|
|
31
32
|
interface PolicyRegistration {
|
|
32
33
|
id: string;
|
|
@@ -67,7 +68,7 @@ declare function getObjectTypeName(objectType: ObjectTypeRegistrationInput): str
|
|
|
67
68
|
declare function getEventTypeName(eventType: EventTypeRegistrationInput): string;
|
|
68
69
|
declare function validateModuleNamespace(namespace: string): void;
|
|
69
70
|
declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>[]): ModuleRegistry<TDb>;
|
|
70
|
-
declare function registerFabricModule(module: FabricModule<
|
|
71
|
-
declare function registerFabricModules(modules: FabricModule<
|
|
71
|
+
declare function registerFabricModule(module: FabricModule<unknown>): void;
|
|
72
|
+
declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
|
|
72
73
|
|
|
73
74
|
export { type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActionDefinition } from '../actions/index.js';
|
|
2
|
+
import { DisplayRenderer } from '../displays/index.js';
|
|
2
3
|
|
|
3
4
|
interface ModuleDependency {
|
|
4
5
|
namespace: string;
|
|
@@ -26,7 +27,7 @@ interface ObjectTypeRegistration {
|
|
|
26
27
|
type ObjectTypeRegistrationInput = string | ObjectTypeRegistration;
|
|
27
28
|
interface ModuleDisplayRendererRegistration {
|
|
28
29
|
eventType: string;
|
|
29
|
-
renderer:
|
|
30
|
+
renderer: DisplayRenderer;
|
|
30
31
|
}
|
|
31
32
|
interface PolicyRegistration {
|
|
32
33
|
id: string;
|
|
@@ -67,7 +68,7 @@ declare function getObjectTypeName(objectType: ObjectTypeRegistrationInput): str
|
|
|
67
68
|
declare function getEventTypeName(eventType: EventTypeRegistrationInput): string;
|
|
68
69
|
declare function validateModuleNamespace(namespace: string): void;
|
|
69
70
|
declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>[]): ModuleRegistry<TDb>;
|
|
70
|
-
declare function registerFabricModule(module: FabricModule<
|
|
71
|
-
declare function registerFabricModules(modules: FabricModule<
|
|
71
|
+
declare function registerFabricModule(module: FabricModule<unknown>): void;
|
|
72
|
+
declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
|
|
72
73
|
|
|
73
74
|
export { type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
|
package/dist/modules/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-
|
|
1
|
+
export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-PZT7TUG4.js';
|
|
2
2
|
import '../chunk-I35B576X.js';
|
|
3
3
|
import '../chunk-KOC4A7A4.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-T2JLSZN6.js';
|
|
5
|
+
import '../chunk-BJYRMUN2.js';
|
|
6
|
+
import '../chunk-O5WVBQ7P.js';
|
|
7
7
|
import '../chunk-4YQOGV7H.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUV252FLT_cjs = require('../chunk-UV252FLT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getAllowedTransitions", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkUV252FLT_cjs.getAllowedTransitions; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "getEntityStateClass", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUV252FLT_cjs.getEntityStateClass; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "registerStateMachine", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUV252FLT_cjs.registerStateMachine; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "registerStateMachineIfMissing", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkUV252FLT_cjs.registerStateMachineIfMissing; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "resolveStateMachine", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkUV252FLT_cjs.resolveStateMachine; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "validateTransition", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkUV252FLT_cjs.validateTransition; }
|
|
30
30
|
});
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|
|
32
32
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -8,7 +8,7 @@ interface StateMachineDefinition {
|
|
|
8
8
|
guard?: (ctx: TransitionContext) => boolean | Promise<boolean>;
|
|
9
9
|
}>;
|
|
10
10
|
}
|
|
11
|
-
type StateMachineDatabaseClient =
|
|
11
|
+
type StateMachineDatabaseClient = unknown;
|
|
12
12
|
interface TransitionContext<TDb = StateMachineDatabaseClient> {
|
|
13
13
|
entity: Record<string, unknown>;
|
|
14
14
|
actionInvocationId: string;
|
|
@@ -8,7 +8,7 @@ interface StateMachineDefinition {
|
|
|
8
8
|
guard?: (ctx: TransitionContext) => boolean | Promise<boolean>;
|
|
9
9
|
}>;
|
|
10
10
|
}
|
|
11
|
-
type StateMachineDatabaseClient =
|
|
11
|
+
type StateMachineDatabaseClient = unknown;
|
|
12
12
|
interface TransitionContext<TDb = StateMachineDatabaseClient> {
|
|
13
13
|
entity: Record<string, unknown>;
|
|
14
14
|
actionInvocationId: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from '../chunk-
|
|
1
|
+
export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from '../chunk-T2JLSZN6.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|