@twin.org/engine 0.0.3-next.32 → 0.0.3-next.33
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/docs/changelog.md +307 -291
- package/docs/reference/classes/Engine.md +50 -0
- package/package.json +4 -4
|
@@ -564,6 +564,56 @@ The instance type matching the criteria if one is registered.
|
|
|
564
564
|
|
|
565
565
|
***
|
|
566
566
|
|
|
567
|
+
### getRegisteredComponents() {#getregisteredcomponents}
|
|
568
|
+
|
|
569
|
+
> **getRegisteredComponents**(): `Promise`\<`object`[]\>
|
|
570
|
+
|
|
571
|
+
Get the registered components.
|
|
572
|
+
|
|
573
|
+
#### Returns
|
|
574
|
+
|
|
575
|
+
`Promise`\<`object`[]\>
|
|
576
|
+
|
|
577
|
+
The registered components.
|
|
578
|
+
|
|
579
|
+
#### Inherited from
|
|
580
|
+
|
|
581
|
+
`EngineCore.getRegisteredComponents`
|
|
582
|
+
|
|
583
|
+
***
|
|
584
|
+
|
|
585
|
+
### addRegisteredComponent() {#addregisteredcomponent}
|
|
586
|
+
|
|
587
|
+
> **addRegisteredComponent**(`instanceType`, `component`): `Promise`\<`void`\>
|
|
588
|
+
|
|
589
|
+
Add a registered component to the engine.
|
|
590
|
+
|
|
591
|
+
#### Parameters
|
|
592
|
+
|
|
593
|
+
##### instanceType
|
|
594
|
+
|
|
595
|
+
`string`
|
|
596
|
+
|
|
597
|
+
The instance type to register the component under.
|
|
598
|
+
|
|
599
|
+
##### component
|
|
600
|
+
|
|
601
|
+
`IComponent`
|
|
602
|
+
|
|
603
|
+
The component to register.
|
|
604
|
+
|
|
605
|
+
#### Returns
|
|
606
|
+
|
|
607
|
+
`Promise`\<`void`\>
|
|
608
|
+
|
|
609
|
+
Nothing.
|
|
610
|
+
|
|
611
|
+
#### Inherited from
|
|
612
|
+
|
|
613
|
+
`EngineCore.addRegisteredComponent`
|
|
614
|
+
|
|
615
|
+
***
|
|
616
|
+
|
|
567
617
|
### getCloneData() {#getclonedata}
|
|
568
618
|
|
|
569
619
|
> **getCloneData**(): `IEngineCoreClone`\<`C`, `S`\>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.33",
|
|
4
4
|
"description": "Ready-to-use engine runtime that preloads built-in type initialisers.",
|
|
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.
|
|
20
|
-
"@twin.org/engine-models": "0.0.3-next.
|
|
21
|
-
"@twin.org/engine-types": "0.0.3-next.
|
|
19
|
+
"@twin.org/engine-core": "0.0.3-next.33",
|
|
20
|
+
"@twin.org/engine-models": "0.0.3-next.33",
|
|
21
|
+
"@twin.org/engine-types": "0.0.3-next.33",
|
|
22
22
|
"@twin.org/entity": "next",
|
|
23
23
|
"@twin.org/nameof": "next"
|
|
24
24
|
},
|