@twin.org/engine-models 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.
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/engine-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.26](https://github.com/twinfoundation/engine/compare/engine-models-v0.0.3-next.25...engine-models-v0.0.3-next.26) (2026-03-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **engine-models:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.25](https://github.com/twinfoundation/engine/compare/engine-models-v0.0.3-next.24...engine-models-v0.0.3-next.25) (2026-03-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **engine-models:** Synchronize repo versions
|
|
16
|
+
|
|
3
17
|
## [0.0.3-next.24](https://github.com/twinfoundation/engine/compare/engine-models-v0.0.3-next.23...engine-models-v0.0.3-next.24) (2026-02-26)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -48,7 +48,7 @@ The name of the method to call.
|
|
|
48
48
|
|
|
49
49
|
### getTypeConfig()
|
|
50
50
|
|
|
51
|
-
> **getTypeConfig**(`type`):
|
|
51
|
+
> **getTypeConfig**(`type`): [`IEngineCoreTypeConfig`](../type-aliases/IEngineCoreTypeConfig.md)[] \| `undefined`
|
|
52
52
|
|
|
53
53
|
Get the type config for a specific type.
|
|
54
54
|
|
|
@@ -62,7 +62,7 @@ The type to get the config for.
|
|
|
62
62
|
|
|
63
63
|
#### Returns
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
[`IEngineCoreTypeConfig`](../type-aliases/IEngineCoreTypeConfig.md)[] \| `undefined`
|
|
66
66
|
|
|
67
67
|
The type config or undefined if not found.
|
|
68
68
|
|
|
@@ -136,13 +136,13 @@ The context ID value.
|
|
|
136
136
|
|
|
137
137
|
### getContextIds()
|
|
138
138
|
|
|
139
|
-
> **getContextIds**(): `
|
|
139
|
+
> **getContextIds**(): `IContextIds` \| `undefined`
|
|
140
140
|
|
|
141
141
|
Get the context IDs for the engine.
|
|
142
142
|
|
|
143
143
|
#### Returns
|
|
144
144
|
|
|
145
|
-
`
|
|
145
|
+
`IContextIds` \| `undefined`
|
|
146
146
|
|
|
147
147
|
The context IDs or undefined if none are set.
|
|
148
148
|
|
|
@@ -354,7 +354,7 @@ If a matching instance was not found.
|
|
|
354
354
|
|
|
355
355
|
### getRegisteredInstanceTypeOptional()
|
|
356
356
|
|
|
357
|
-
> **getRegisteredInstanceTypeOptional**(`componentConnectorType`, `features?`): `
|
|
357
|
+
> **getRegisteredInstanceTypeOptional**(`componentConnectorType`, `features?`): `string` \| `undefined`
|
|
358
358
|
|
|
359
359
|
Get the registered instance type for the component/connector.
|
|
360
360
|
|
|
@@ -374,7 +374,7 @@ The requested features of the component, if not specified the default entry will
|
|
|
374
374
|
|
|
375
375
|
#### Returns
|
|
376
376
|
|
|
377
|
-
`
|
|
377
|
+
`string` \| `undefined`
|
|
378
378
|
|
|
379
379
|
The instance type matching the criteria if one is registered.
|
|
380
380
|
|
|
@@ -40,4 +40,4 @@ The types to initialise in the engine.
|
|
|
40
40
|
|
|
41
41
|
#### Index Signature
|
|
42
42
|
|
|
43
|
-
\[`type`: `string`\]:
|
|
43
|
+
\[`type`: `string`\]: [`IEngineCoreTypeConfig`](../type-aliases/IEngineCoreTypeConfig.md)[] \| `undefined`
|
|
@@ -12,7 +12,7 @@ Definition of state storage for engine.
|
|
|
12
12
|
|
|
13
13
|
### load()
|
|
14
14
|
|
|
15
|
-
> **load**(`engineCore`): `Promise`\<`
|
|
15
|
+
> **load**(`engineCore`): `Promise`\<`S` \| `undefined`\>
|
|
16
16
|
|
|
17
17
|
Method for loading the state.
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ The engine core to load the state for.
|
|
|
26
26
|
|
|
27
27
|
#### Returns
|
|
28
28
|
|
|
29
|
-
`Promise`\<`
|
|
29
|
+
`Promise`\<`S` \| `undefined`\>
|
|
30
30
|
|
|
31
31
|
The state of the engine or undefined if it doesn't exist.
|
|
32
32
|
|