@twin.org/engine 0.0.3-next.24 → 0.0.3-next.26

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.
@@ -274,6 +274,11 @@
274
274
  "module": "@twin.org/engine-types",
275
275
  "method": "initialiseRightsManagementPolicyNegotiatorComponent"
276
276
  },
277
+ {
278
+ "type": "rightsManagementPolicyObligationEnforcerComponent",
279
+ "module": "@twin.org/engine-types",
280
+ "method": "initialiseRightsManagementPolicyObligationEnforcerComponent"
281
+ },
277
282
  {
278
283
  "type": "rightsManagementPolicyRequesterComponent",
279
284
  "module": "@twin.org/engine-types",
@@ -295,9 +300,14 @@
295
300
  "method": "initialiseFederatedCatalogueFilterComponent"
296
301
  },
297
302
  {
298
- "type": "dataSpaceConnectorComponent",
303
+ "type": "dataspaceControlPlaneComponent",
304
+ "module": "@twin.org/engine-types",
305
+ "method": "initialiseDataspaceControlPlaneComponent"
306
+ },
307
+ {
308
+ "type": "dataspaceDataPlaneComponent",
299
309
  "module": "@twin.org/engine-types",
300
- "method": "initialiseDataSpaceConnectorComponent"
310
+ "method": "initialiseDataspaceDataPlaneComponent"
301
311
  },
302
312
  {
303
313
  "type": "tenantAdminComponent",
package/docs/changelog.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @twin.org/engine - Changelog
2
2
 
3
+ ## [0.0.3-next.26](https://github.com/twinfoundation/engine/compare/engine-v0.0.3-next.25...engine-v0.0.3-next.26) (2026-03-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * use custom instance type for entity storage registration ([#90](https://github.com/twinfoundation/engine/issues/90)) ([2c23995](https://github.com/twinfoundation/engine/commit/2c239953dab4510a4cf97063ee90d048210bf4a6))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/engine-core bumped from 0.0.3-next.25 to 0.0.3-next.26
16
+ * @twin.org/engine-models bumped from 0.0.3-next.25 to 0.0.3-next.26
17
+ * @twin.org/engine-types bumped from 0.0.3-next.25 to 0.0.3-next.26
18
+
19
+ ## [0.0.3-next.25](https://github.com/twinfoundation/engine/compare/engine-v0.0.3-next.24...engine-v0.0.3-next.25) (2026-03-02)
20
+
21
+
22
+ ### Features
23
+
24
+ * replace unified data space connector with control plane and data plane components ([#78](https://github.com/twinfoundation/engine/issues/78)) ([a6ebace](https://github.com/twinfoundation/engine/commit/a6ebace389dafe754a3ca0827999966b5a101a59))
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * The following workspace dependencies were updated
30
+ * dependencies
31
+ * @twin.org/engine-core bumped from 0.0.3-next.24 to 0.0.3-next.25
32
+ * @twin.org/engine-models bumped from 0.0.3-next.24 to 0.0.3-next.25
33
+ * @twin.org/engine-types bumped from 0.0.3-next.24 to 0.0.3-next.25
34
+
3
35
  ## [0.0.3-next.24](https://github.com/twinfoundation/engine/compare/engine-v0.0.3-next.23...engine-v0.0.3-next.24) (2026-02-26)
4
36
 
5
37
 
@@ -51,3 +51,567 @@ Runtime name for the class.
51
51
  #### Overrides
52
52
 
53
53
  `EngineCore.CLASS_NAME`
54
+
55
+ ***
56
+
57
+ ### LOGGING\_COMPONENT\_TYPE\_NAME
58
+
59
+ > `readonly` `static` **LOGGING\_COMPONENT\_TYPE\_NAME**: `string`
60
+
61
+ Name for the engine logger component, used for direct console logging.
62
+
63
+ #### Inherited from
64
+
65
+ `EngineCore.LOGGING_COMPONENT_TYPE_NAME`
66
+
67
+ ***
68
+
69
+ ### LOGGING\_CONNECTOR\_TYPE\_NAME
70
+
71
+ > `readonly` `static` **LOGGING\_CONNECTOR\_TYPE\_NAME**: `string`
72
+
73
+ Name for the engine logger connector, used for direct console logging.
74
+
75
+ #### Inherited from
76
+
77
+ `EngineCore.LOGGING_CONNECTOR_TYPE_NAME`
78
+
79
+ ***
80
+
81
+ ### \_context
82
+
83
+ > `protected` **\_context**: `IEngineCoreContext`\<`C`, `S`\>
84
+
85
+ The core context.
86
+
87
+ #### Inherited from
88
+
89
+ `EngineCore._context`
90
+
91
+ ***
92
+
93
+ ### \_contextIdKeys
94
+
95
+ > `protected` `readonly` **\_contextIdKeys**: `object`[]
96
+
97
+ The context ID keys.
98
+
99
+ #### key
100
+
101
+ > **key**: `string`
102
+
103
+ #### componentFeatures
104
+
105
+ > **componentFeatures**: `string`[]
106
+
107
+ #### Inherited from
108
+
109
+ `EngineCore._contextIdKeys`
110
+
111
+ ***
112
+
113
+ ### \_contextIds?
114
+
115
+ > `protected` `optional` **\_contextIds**: `IContextIds`
116
+
117
+ The context IDs.
118
+
119
+ #### Inherited from
120
+
121
+ `EngineCore._contextIds`
122
+
123
+ ## Methods
124
+
125
+ ### addTypeInitialiser()
126
+
127
+ > **addTypeInitialiser**(`type`, `module`, `method`): `void`
128
+
129
+ Add a type initialiser.
130
+
131
+ #### Parameters
132
+
133
+ ##### type
134
+
135
+ `string`
136
+
137
+ The type to add the initialiser for.
138
+
139
+ ##### module
140
+
141
+ `string`
142
+
143
+ The name of the module which contains the initialiser method.
144
+
145
+ ##### method
146
+
147
+ `string`
148
+
149
+ The name of the method to call.
150
+
151
+ #### Returns
152
+
153
+ `void`
154
+
155
+ #### Inherited from
156
+
157
+ `EngineCore.addTypeInitialiser`
158
+
159
+ ***
160
+
161
+ ### getTypeConfig()
162
+
163
+ > **getTypeConfig**(`type`): `IEngineCoreTypeConfig`[] \| `undefined`
164
+
165
+ Get the type config for a specific type.
166
+
167
+ #### Parameters
168
+
169
+ ##### type
170
+
171
+ `string`
172
+
173
+ The type to get the config for.
174
+
175
+ #### Returns
176
+
177
+ `IEngineCoreTypeConfig`[] \| `undefined`
178
+
179
+ The type config or undefined if not found.
180
+
181
+ #### Inherited from
182
+
183
+ `EngineCore.getTypeConfig`
184
+
185
+ ***
186
+
187
+ ### addContextIdKey()
188
+
189
+ > **addContextIdKey**(`key`, `componentFeatures`): `void`
190
+
191
+ Add a context ID key to the engine.
192
+
193
+ #### Parameters
194
+
195
+ ##### key
196
+
197
+ `string`
198
+
199
+ The context ID key.
200
+
201
+ ##### componentFeatures
202
+
203
+ `string`[]
204
+
205
+ The component features for the context ID handler.
206
+
207
+ #### Returns
208
+
209
+ `void`
210
+
211
+ #### Inherited from
212
+
213
+ `EngineCore.addContextIdKey`
214
+
215
+ ***
216
+
217
+ ### getContextIdKeys()
218
+
219
+ > **getContextIdKeys**(): `string`[]
220
+
221
+ Get the context ID keys for the engine.
222
+
223
+ #### Returns
224
+
225
+ `string`[]
226
+
227
+ The context IDs keys.
228
+
229
+ #### Inherited from
230
+
231
+ `EngineCore.getContextIdKeys`
232
+
233
+ ***
234
+
235
+ ### addContextId()
236
+
237
+ > **addContextId**(`key`, `value`): `void`
238
+
239
+ Add a context ID to the engine.
240
+
241
+ #### Parameters
242
+
243
+ ##### key
244
+
245
+ `string`
246
+
247
+ The context ID key.
248
+
249
+ ##### value
250
+
251
+ `string`
252
+
253
+ The context ID value.
254
+
255
+ #### Returns
256
+
257
+ `void`
258
+
259
+ #### Inherited from
260
+
261
+ `EngineCore.addContextId`
262
+
263
+ ***
264
+
265
+ ### getContextIds()
266
+
267
+ > **getContextIds**(): `IContextIds` \| `undefined`
268
+
269
+ Get the context IDs for the engine.
270
+
271
+ #### Returns
272
+
273
+ `IContextIds` \| `undefined`
274
+
275
+ The context IDs or undefined if none are set.
276
+
277
+ #### Inherited from
278
+
279
+ `EngineCore.getContextIds`
280
+
281
+ ***
282
+
283
+ ### start()
284
+
285
+ > **start**(`skipComponentStart?`): `Promise`\<`void`\>
286
+
287
+ Start the engine core.
288
+
289
+ #### Parameters
290
+
291
+ ##### skipComponentStart?
292
+
293
+ `boolean`
294
+
295
+ Should the component start be skipped.
296
+
297
+ #### Returns
298
+
299
+ `Promise`\<`void`\>
300
+
301
+ Nothing.
302
+
303
+ #### Inherited from
304
+
305
+ `EngineCore.start`
306
+
307
+ ***
308
+
309
+ ### stop()
310
+
311
+ > **stop**(): `Promise`\<`void`\>
312
+
313
+ Stop the engine core.
314
+
315
+ #### Returns
316
+
317
+ `Promise`\<`void`\>
318
+
319
+ Nothing.
320
+
321
+ #### Inherited from
322
+
323
+ `EngineCore.stop`
324
+
325
+ ***
326
+
327
+ ### isStarted()
328
+
329
+ > **isStarted**(): `boolean`
330
+
331
+ Is the engine started.
332
+
333
+ #### Returns
334
+
335
+ `boolean`
336
+
337
+ True if the engine is started.
338
+
339
+ #### Inherited from
340
+
341
+ `EngineCore.isStarted`
342
+
343
+ ***
344
+
345
+ ### isPrimary()
346
+
347
+ > **isPrimary**(): `boolean`
348
+
349
+ Is this the primary engine instance.
350
+
351
+ #### Returns
352
+
353
+ `boolean`
354
+
355
+ True if the engine is the primary instance.
356
+
357
+ #### Inherited from
358
+
359
+ `EngineCore.isPrimary`
360
+
361
+ ***
362
+
363
+ ### isClone()
364
+
365
+ > **isClone**(): `boolean`
366
+
367
+ Is this engine instance a clone.
368
+
369
+ #### Returns
370
+
371
+ `boolean`
372
+
373
+ True if the engine instance is a clone.
374
+
375
+ #### Inherited from
376
+
377
+ `EngineCore.isClone`
378
+
379
+ ***
380
+
381
+ ### logInfo()
382
+
383
+ > **logInfo**(`message`): `Promise`\<`void`\>
384
+
385
+ Log info.
386
+
387
+ #### Parameters
388
+
389
+ ##### message
390
+
391
+ `string`
392
+
393
+ The message to log.
394
+
395
+ #### Returns
396
+
397
+ `Promise`\<`void`\>
398
+
399
+ #### Inherited from
400
+
401
+ `EngineCore.logInfo`
402
+
403
+ ***
404
+
405
+ ### logError()
406
+
407
+ > **logError**(`error`): `Promise`\<`void`\>
408
+
409
+ Log error.
410
+
411
+ #### Parameters
412
+
413
+ ##### error
414
+
415
+ `IError`
416
+
417
+ The error to log.
418
+
419
+ #### Returns
420
+
421
+ `Promise`\<`void`\>
422
+
423
+ #### Inherited from
424
+
425
+ `EngineCore.logError`
426
+
427
+ ***
428
+
429
+ ### getConfig()
430
+
431
+ > **getConfig**(): `C`
432
+
433
+ Get the config for the engine.
434
+
435
+ #### Returns
436
+
437
+ `C`
438
+
439
+ The config for the engine.
440
+
441
+ #### Inherited from
442
+
443
+ `EngineCore.getConfig`
444
+
445
+ ***
446
+
447
+ ### getState()
448
+
449
+ > **getState**(): `S`
450
+
451
+ Get the state of the engine.
452
+
453
+ #### Returns
454
+
455
+ `S`
456
+
457
+ The state of the engine.
458
+
459
+ #### Inherited from
460
+
461
+ `EngineCore.getState`
462
+
463
+ ***
464
+
465
+ ### setStateDirty()
466
+
467
+ > **setStateDirty**(): `void`
468
+
469
+ Set the state to dirty so it gets saved.
470
+
471
+ #### Returns
472
+
473
+ `void`
474
+
475
+ #### Inherited from
476
+
477
+ `EngineCore.setStateDirty`
478
+
479
+ ***
480
+
481
+ ### getRegisteredInstances()
482
+
483
+ > **getRegisteredInstances**(): `object`
484
+
485
+ Get all the registered instances.
486
+
487
+ #### Returns
488
+
489
+ `object`
490
+
491
+ The registered instances.
492
+
493
+ #### Inherited from
494
+
495
+ `EngineCore.getRegisteredInstances`
496
+
497
+ ***
498
+
499
+ ### getRegisteredInstanceType()
500
+
501
+ > **getRegisteredInstanceType**(`componentConnectorType`, `features?`): `string`
502
+
503
+ Get the registered instance type for the component/connector.
504
+
505
+ #### Parameters
506
+
507
+ ##### componentConnectorType
508
+
509
+ `string`
510
+
511
+ The type of the component/connector.
512
+
513
+ ##### features?
514
+
515
+ `string`[]
516
+
517
+ The requested features of the component, if not specified the default entry will be retrieved.
518
+
519
+ #### Returns
520
+
521
+ `string`
522
+
523
+ The instance type matching the criteria if one is registered.
524
+
525
+ #### Throws
526
+
527
+ If a matching instance was not found.
528
+
529
+ #### Inherited from
530
+
531
+ `EngineCore.getRegisteredInstanceType`
532
+
533
+ ***
534
+
535
+ ### getRegisteredInstanceTypeOptional()
536
+
537
+ > **getRegisteredInstanceTypeOptional**(`componentConnectorType`, `features?`): `string` \| `undefined`
538
+
539
+ Get the registered instance type for the component/connector if it exists.
540
+
541
+ #### Parameters
542
+
543
+ ##### componentConnectorType
544
+
545
+ `string`
546
+
547
+ The type of the component/connector.
548
+
549
+ ##### features?
550
+
551
+ `string`[]
552
+
553
+ The requested features of the component, if not specified the default entry will be retrieved.
554
+
555
+ #### Returns
556
+
557
+ `string` \| `undefined`
558
+
559
+ The instance type matching the criteria if one is registered.
560
+
561
+ #### Inherited from
562
+
563
+ `EngineCore.getRegisteredInstanceTypeOptional`
564
+
565
+ ***
566
+
567
+ ### getCloneData()
568
+
569
+ > **getCloneData**(): `IEngineCoreClone`\<`C`, `S`\>
570
+
571
+ Get the data required to create a clone of the engine.
572
+
573
+ #### Returns
574
+
575
+ `IEngineCoreClone`\<`C`, `S`\>
576
+
577
+ The clone data.
578
+
579
+ #### Inherited from
580
+
581
+ `EngineCore.getCloneData`
582
+
583
+ ***
584
+
585
+ ### populateClone()
586
+
587
+ > **populateClone**(`cloneData`, `contextIds?`, `silent?`): `void`
588
+
589
+ Populate the engine from the clone data.
590
+
591
+ #### Parameters
592
+
593
+ ##### cloneData
594
+
595
+ `IEngineCoreClone`\<`C`, `S`\>
596
+
597
+ The clone data to populate from.
598
+
599
+ ##### contextIds?
600
+
601
+ `IContextIds`
602
+
603
+ The context IDs to use for the clone.
604
+
605
+ ##### silent?
606
+
607
+ `boolean`
608
+
609
+ Should the clone be silent.
610
+
611
+ #### Returns
612
+
613
+ `void`
614
+
615
+ #### Inherited from
616
+
617
+ `EngineCore.populateClone`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine",
3
- "version": "0.0.3-next.24",
3
+ "version": "0.0.3-next.26",
4
4
  "description": "Engine implementation.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,9 +16,9 @@
16
16
  "dependencies": {
17
17
  "@twin.org/context": "next",
18
18
  "@twin.org/core": "next",
19
- "@twin.org/engine-core": "0.0.3-next.24",
20
- "@twin.org/engine-models": "0.0.3-next.24",
21
- "@twin.org/engine-types": "0.0.3-next.24",
19
+ "@twin.org/engine-core": "0.0.3-next.26",
20
+ "@twin.org/engine-models": "0.0.3-next.26",
21
+ "@twin.org/engine-types": "0.0.3-next.26",
22
22
  "@twin.org/entity": "next",
23
23
  "@twin.org/nameof": "next"
24
24
  },