@twin.org/engine-core 0.0.3-next.32 → 0.0.3-next.34
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/dist/es/engineCore.js +16 -0
- package/dist/es/engineCore.js.map +1 -1
- package/dist/types/engineCore.d.ts +17 -1
- package/docs/changelog.md +238 -210
- package/docs/reference/classes/EngineCore.md +50 -0
- package/package.json +2 -2
|
@@ -536,6 +536,56 @@ The instance type matching the criteria if one is registered.
|
|
|
536
536
|
|
|
537
537
|
***
|
|
538
538
|
|
|
539
|
+
### getRegisteredComponents() {#getregisteredcomponents}
|
|
540
|
+
|
|
541
|
+
> **getRegisteredComponents**(): `Promise`\<`object`[]\>
|
|
542
|
+
|
|
543
|
+
Get the registered components.
|
|
544
|
+
|
|
545
|
+
#### Returns
|
|
546
|
+
|
|
547
|
+
`Promise`\<`object`[]\>
|
|
548
|
+
|
|
549
|
+
The registered components.
|
|
550
|
+
|
|
551
|
+
#### Implementation of
|
|
552
|
+
|
|
553
|
+
`IEngineCore.getRegisteredComponents`
|
|
554
|
+
|
|
555
|
+
***
|
|
556
|
+
|
|
557
|
+
### addRegisteredComponent() {#addregisteredcomponent}
|
|
558
|
+
|
|
559
|
+
> **addRegisteredComponent**(`instanceType`, `component`): `Promise`\<`void`\>
|
|
560
|
+
|
|
561
|
+
Add a registered component to the engine.
|
|
562
|
+
|
|
563
|
+
#### Parameters
|
|
564
|
+
|
|
565
|
+
##### instanceType
|
|
566
|
+
|
|
567
|
+
`string`
|
|
568
|
+
|
|
569
|
+
The instance type to register the component under.
|
|
570
|
+
|
|
571
|
+
##### component
|
|
572
|
+
|
|
573
|
+
`IComponent`
|
|
574
|
+
|
|
575
|
+
The component to register.
|
|
576
|
+
|
|
577
|
+
#### Returns
|
|
578
|
+
|
|
579
|
+
`Promise`\<`void`\>
|
|
580
|
+
|
|
581
|
+
Nothing.
|
|
582
|
+
|
|
583
|
+
#### Implementation of
|
|
584
|
+
|
|
585
|
+
`IEngineCore.addRegisteredComponent`
|
|
586
|
+
|
|
587
|
+
***
|
|
588
|
+
|
|
539
589
|
### getCloneData() {#getclonedata}
|
|
540
590
|
|
|
541
591
|
> **getCloneData**(): `IEngineCoreClone`\<`C`, `S`\>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-core",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.34",
|
|
4
4
|
"description": "Core runtime lifecycle and state orchestration for engine instances.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/crypto": "next",
|
|
20
20
|
"@twin.org/data-core": "next",
|
|
21
|
-
"@twin.org/engine-models": "0.0.3-next.
|
|
21
|
+
"@twin.org/engine-models": "0.0.3-next.34",
|
|
22
22
|
"@twin.org/entity": "next",
|
|
23
23
|
"@twin.org/logging-connector-console": "next",
|
|
24
24
|
"@twin.org/logging-models": "next",
|