@twin.org/engine-core 0.0.1-next.67 → 0.0.1-next.68

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-core - Changelog
2
2
 
3
+ ## [0.0.1-next.68](https://github.com/twinfoundation/engine/compare/engine-core-v0.0.1-next.67...engine-core-v0.0.1-next.68) (2025-04-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * use shared store mechanism ([#2](https://github.com/twinfoundation/engine/issues/2)) ([9eed8d7](https://github.com/twinfoundation/engine/commit/9eed8d7766388479b42f03e2542fe761f2156408))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/engine-models bumped from 0.0.1-next.67 to 0.0.1-next.68
16
+
3
17
  ## [0.0.1-next.67](https://github.com/twinfoundation/engine/compare/engine-core-v0.0.1-next.66...engine-core-v0.0.1-next.67) (2025-03-28)
4
18
 
5
19
 
@@ -4,9 +4,13 @@ Core for the engine.
4
4
 
5
5
  ## Type Parameters
6
6
 
7
- **C** *extends* `IEngineCoreConfig` = `IEngineCoreConfig`
7
+ ### C
8
8
 
9
- **S** *extends* `IEngineState` = `IEngineState`
9
+ `C` *extends* `IEngineCoreConfig` = `IEngineCoreConfig`
10
+
11
+ ### S
12
+
13
+ `S` *extends* `IEngineState` = `IEngineState`
10
14
 
11
15
  ## Implements
12
16
 
@@ -14,9 +18,9 @@ Core for the engine.
14
18
 
15
19
  ## Constructors
16
20
 
17
- ### new EngineCore()
21
+ ### Constructor
18
22
 
19
- > **new EngineCore**\<`C`, `S`\>(`options`?): [`EngineCore`](EngineCore.md)\<`C`, `S`\>
23
+ > **new EngineCore**\<`C`, `S`\>(`options?`): `EngineCore`\<`C`, `S`\>
20
24
 
21
25
  Create a new instance of EngineCore.
22
26
 
@@ -30,7 +34,7 @@ The options for the engine.
30
34
 
31
35
  #### Returns
32
36
 
33
- [`EngineCore`](EngineCore.md)\<`C`, `S`\>
37
+ `EngineCore`\<`C`, `S`\>
34
38
 
35
39
  ## Properties
36
40
 
@@ -258,7 +262,7 @@ The clone data.
258
262
 
259
263
  ### populateClone()
260
264
 
261
- > **populateClone**(`cloneData`, `silent`?): `void`
265
+ > **populateClone**(`cloneData`, `silent?`): `void`
262
266
 
263
267
  Populate the engine from the clone data.
264
268
 
@@ -4,7 +4,9 @@ Store state in a file.
4
4
 
5
5
  ## Type Parameters
6
6
 
7
- **S** *extends* `IEngineState` = `IEngineState`
7
+ ### S
8
+
9
+ `S` *extends* `IEngineState` = `IEngineState`
8
10
 
9
11
  ## Implements
10
12
 
@@ -12,9 +14,9 @@ Store state in a file.
12
14
 
13
15
  ## Constructors
14
16
 
15
- ### new FileStateStorage()
17
+ ### Constructor
16
18
 
17
- > **new FileStateStorage**\<`S`\>(`filename`, `readonlyMode`): [`FileStateStorage`](FileStateStorage.md)\<`S`\>
19
+ > **new FileStateStorage**\<`S`\>(`filename`, `readonlyMode`): `FileStateStorage`\<`S`\>
18
20
 
19
21
  Create a new instance of FileStateStorage.
20
22
 
@@ -34,7 +36,7 @@ Whether the file is in read-only mode.
34
36
 
35
37
  #### Returns
36
38
 
37
- [`FileStateStorage`](FileStateStorage.md)\<`S`\>
39
+ `FileStateStorage`\<`S`\>
38
40
 
39
41
  ## Properties
40
42
 
@@ -4,7 +4,9 @@ Store state in memory.
4
4
 
5
5
  ## Type Parameters
6
6
 
7
- **S** *extends* `IEngineState` = `IEngineState`
7
+ ### S
8
+
9
+ `S` *extends* `IEngineState` = `IEngineState`
8
10
 
9
11
  ## Implements
10
12
 
@@ -12,9 +14,9 @@ Store state in memory.
12
14
 
13
15
  ## Constructors
14
16
 
15
- ### new MemoryStateStorage()
17
+ ### Constructor
16
18
 
17
- > **new MemoryStateStorage**\<`S`\>(`readonlyMode`, `state`?): [`MemoryStateStorage`](MemoryStateStorage.md)\<`S`\>
19
+ > **new MemoryStateStorage**\<`S`\>(`readonlyMode`, `state?`): `MemoryStateStorage`\<`S`\>
18
20
 
19
21
  Create a new instance of MemoryStateStorage.
20
22
 
@@ -34,7 +36,7 @@ The initial state.
34
36
 
35
37
  #### Returns
36
38
 
37
- [`MemoryStateStorage`](MemoryStateStorage.md)\<`S`\>
39
+ `MemoryStateStorage`\<`S`\>
38
40
 
39
41
  ## Properties
40
42
 
@@ -4,9 +4,13 @@ The options for creating engine core.
4
4
 
5
5
  ## Type Parameters
6
6
 
7
- **C** *extends* `IEngineCoreConfig` = `IEngineCoreConfig`
7
+ ### C
8
8
 
9
- **S** *extends* `IEngineState` = `IEngineState`
9
+ `C` *extends* `IEngineCoreConfig` = `IEngineCoreConfig`
10
+
11
+ ### S
12
+
13
+ `S` *extends* `IEngineState` = `IEngineState`
10
14
 
11
15
  ## Properties
12
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-core",
3
- "version": "0.0.1-next.67",
3
+ "version": "0.0.1-next.68",
4
4
  "description": "Engine core.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/crypto": "next",
19
19
  "@twin.org/data-core": "next",
20
- "@twin.org/engine-models": "0.0.1-next.67",
20
+ "@twin.org/engine-models": "0.0.1-next.68",
21
21
  "@twin.org/entity": "next",
22
22
  "@twin.org/logging-connector-console": "next",
23
23
  "@twin.org/logging-models": "next",