@twin.org/engine-server 0.0.2-next.2 → 0.0.2-next.21
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/cjs/index.cjs +260 -148
- package/dist/esm/index.mjs +260 -148
- package/dist/types/engineServer.d.ts +4 -6
- package/dist/types/utils/engineServerConfigHelper.d.ts +1 -1
- package/docs/changelog.md +342 -0
- package/docs/reference/classes/EngineServer.md +3 -15
- package/docs/reference/functions/addDefaultRestPaths.md +1 -1
- package/package.json +12 -4
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,347 @@
|
|
|
1
1
|
# @twin.org/engine-server - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.21](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.20...engine-server-v0.0.2-next.21) (2025-10-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use peer dependencies ([69dd744](https://github.com/twinfoundation/engine/commit/69dd7449010b8e6f5f35e7fad201ad4c1cab400c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-core bumped from 0.0.2-next.20 to 0.0.2-next.21
|
|
16
|
+
* @twin.org/engine-models bumped from 0.0.2-next.20 to 0.0.2-next.21
|
|
17
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.20 to 0.0.2-next.21
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @twin.org/engine bumped from 0.0.2-next.20 to 0.0.2-next.21
|
|
20
|
+
|
|
21
|
+
## [0.0.2-next.20](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.19...engine-server-v0.0.2-next.20) (2025-10-06)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* standardised engine logging naming ([0dbf857](https://github.com/twinfoundation/engine/commit/0dbf857587641f86ddf010143519d0e8333489ff))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/engine-core bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
34
|
+
* @twin.org/engine-models bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
35
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
36
|
+
* devDependencies
|
|
37
|
+
* @twin.org/engine bumped from 0.0.2-next.19 to 0.0.2-next.20
|
|
38
|
+
|
|
39
|
+
## [0.0.2-next.19](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.18...engine-server-v0.0.2-next.19) (2025-10-02)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* simplify config building ([732c871](https://github.com/twinfoundation/engine/commit/732c871c5aca236759168f4bc15aeffd98a330a8))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Dependencies
|
|
48
|
+
|
|
49
|
+
* The following workspace dependencies were updated
|
|
50
|
+
* dependencies
|
|
51
|
+
* @twin.org/engine-core bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
52
|
+
* @twin.org/engine-models bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
53
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
54
|
+
* devDependencies
|
|
55
|
+
* @twin.org/engine bumped from 0.0.2-next.18 to 0.0.2-next.19
|
|
56
|
+
|
|
57
|
+
## [0.0.2-next.18](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.17...engine-server-v0.0.2-next.18) (2025-09-29)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Features
|
|
61
|
+
|
|
62
|
+
* upgrade framework components ([efd52e8](https://github.com/twinfoundation/engine/commit/efd52e80564fff29c3897bfa09b6305b3a322812))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Dependencies
|
|
66
|
+
|
|
67
|
+
* The following workspace dependencies were updated
|
|
68
|
+
* dependencies
|
|
69
|
+
* @twin.org/engine-core bumped from 0.0.2-next.17 to 0.0.2-next.18
|
|
70
|
+
* @twin.org/engine-models bumped from 0.0.2-next.17 to 0.0.2-next.18
|
|
71
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.17 to 0.0.2-next.18
|
|
72
|
+
* devDependencies
|
|
73
|
+
* @twin.org/engine bumped from 0.0.2-next.17 to 0.0.2-next.18
|
|
74
|
+
|
|
75
|
+
## [0.0.2-next.17](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.16...engine-server-v0.0.2-next.17) (2025-09-26)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* add REST options for route construction ([4adf0af](https://github.com/twinfoundation/engine/commit/4adf0af8a03689a4dbdf67e8527d6db0d2c5d59d))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
* The following workspace dependencies were updated
|
|
86
|
+
* dependencies
|
|
87
|
+
* @twin.org/engine-core bumped from 0.0.2-next.16 to 0.0.2-next.17
|
|
88
|
+
* @twin.org/engine-models bumped from 0.0.2-next.16 to 0.0.2-next.17
|
|
89
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.16 to 0.0.2-next.17
|
|
90
|
+
* devDependencies
|
|
91
|
+
* @twin.org/engine bumped from 0.0.2-next.16 to 0.0.2-next.17
|
|
92
|
+
|
|
93
|
+
## [0.0.2-next.16](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.15...engine-server-v0.0.2-next.16) (2025-09-25)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Miscellaneous Chores
|
|
97
|
+
|
|
98
|
+
* **engine-server:** Synchronize repo versions
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Dependencies
|
|
102
|
+
|
|
103
|
+
* The following workspace dependencies were updated
|
|
104
|
+
* dependencies
|
|
105
|
+
* @twin.org/engine-core bumped from 0.0.2-next.15 to 0.0.2-next.16
|
|
106
|
+
* @twin.org/engine-models bumped from 0.0.2-next.15 to 0.0.2-next.16
|
|
107
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.15 to 0.0.2-next.16
|
|
108
|
+
* devDependencies
|
|
109
|
+
* @twin.org/engine bumped from 0.0.2-next.15 to 0.0.2-next.16
|
|
110
|
+
|
|
111
|
+
## [0.0.2-next.15](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.14...engine-server-v0.0.2-next.15) (2025-09-24)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
### Features
|
|
115
|
+
|
|
116
|
+
* update rights management and add authentication generators ([f728a1e](https://github.com/twinfoundation/engine/commit/f728a1efea15ada8d10cfbe17cafe7e2b252f527))
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Dependencies
|
|
120
|
+
|
|
121
|
+
* The following workspace dependencies were updated
|
|
122
|
+
* dependencies
|
|
123
|
+
* @twin.org/engine-core bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
124
|
+
* @twin.org/engine-models bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
125
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
126
|
+
* devDependencies
|
|
127
|
+
* @twin.org/engine bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
128
|
+
|
|
129
|
+
## [0.0.2-next.14](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.13...engine-server-v0.0.2-next.14) (2025-09-19)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
* add latest rights management components ([2d305c8](https://github.com/twinfoundation/engine/commit/2d305c8c85c77bb4f5694c76422db4a11efc1a40))
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Dependencies
|
|
138
|
+
|
|
139
|
+
* The following workspace dependencies were updated
|
|
140
|
+
* dependencies
|
|
141
|
+
* @twin.org/engine-core bumped from 0.0.2-next.13 to 0.0.2-next.14
|
|
142
|
+
* @twin.org/engine-models bumped from 0.0.2-next.13 to 0.0.2-next.14
|
|
143
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.13 to 0.0.2-next.14
|
|
144
|
+
* devDependencies
|
|
145
|
+
* @twin.org/engine bumped from 0.0.2-next.13 to 0.0.2-next.14
|
|
146
|
+
|
|
147
|
+
## [0.0.2-next.13](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.12...engine-server-v0.0.2-next.13) (2025-09-08)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
### Features
|
|
151
|
+
|
|
152
|
+
* update rights management dependencies ([14d06fb](https://github.com/twinfoundation/engine/commit/14d06fb6604ad04e4094da7b51b61a01a0280b8b))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### Dependencies
|
|
156
|
+
|
|
157
|
+
* The following workspace dependencies were updated
|
|
158
|
+
* dependencies
|
|
159
|
+
* @twin.org/engine-core bumped from 0.0.2-next.12 to 0.0.2-next.13
|
|
160
|
+
* @twin.org/engine-models bumped from 0.0.2-next.12 to 0.0.2-next.13
|
|
161
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.12 to 0.0.2-next.13
|
|
162
|
+
* devDependencies
|
|
163
|
+
* @twin.org/engine bumped from 0.0.2-next.12 to 0.0.2-next.13
|
|
164
|
+
|
|
165
|
+
## [0.0.2-next.12](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.11...engine-server-v0.0.2-next.12) (2025-09-05)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Features
|
|
169
|
+
|
|
170
|
+
* add rights management negotiation ([84ef46b](https://github.com/twinfoundation/engine/commit/84ef46bff110611a19512793425c8c873ee2a590))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Dependencies
|
|
174
|
+
|
|
175
|
+
* The following workspace dependencies were updated
|
|
176
|
+
* dependencies
|
|
177
|
+
* @twin.org/engine-core bumped from 0.0.2-next.11 to 0.0.2-next.12
|
|
178
|
+
* @twin.org/engine-models bumped from 0.0.2-next.11 to 0.0.2-next.12
|
|
179
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.11 to 0.0.2-next.12
|
|
180
|
+
* devDependencies
|
|
181
|
+
* @twin.org/engine bumped from 0.0.2-next.11 to 0.0.2-next.12
|
|
182
|
+
|
|
183
|
+
## [0.0.2-next.11](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.10...engine-server-v0.0.2-next.11) (2025-08-29)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
### Features
|
|
187
|
+
|
|
188
|
+
* eslint migration to flat config ([6b978da](https://github.com/twinfoundation/engine/commit/6b978daf777a615d7758b63c3df57d5a376f6dfb))
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
### Dependencies
|
|
192
|
+
|
|
193
|
+
* The following workspace dependencies were updated
|
|
194
|
+
* dependencies
|
|
195
|
+
* @twin.org/engine-core bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
196
|
+
* @twin.org/engine-models bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
197
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
198
|
+
* devDependencies
|
|
199
|
+
* @twin.org/engine bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
200
|
+
|
|
201
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.9...engine-server-v0.0.2-next.10) (2025-08-26)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Features
|
|
205
|
+
|
|
206
|
+
* add data space connector ([a824d99](https://github.com/twinfoundation/engine/commit/a824d9931faeaa8115e01f8e7545b802d0e7ac70))
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Dependencies
|
|
210
|
+
|
|
211
|
+
* The following workspace dependencies were updated
|
|
212
|
+
* dependencies
|
|
213
|
+
* @twin.org/engine-core bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
214
|
+
* @twin.org/engine-models bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
215
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
216
|
+
* devDependencies
|
|
217
|
+
* @twin.org/engine bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
218
|
+
|
|
219
|
+
## [0.0.2-next.9](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.8...engine-server-v0.0.2-next.9) (2025-08-25)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
### Features
|
|
223
|
+
|
|
224
|
+
* add isPrimary and isClone methods ([a7c63e9](https://github.com/twinfoundation/engine/commit/a7c63e97f54c95b104cc81e66d3fa42c6607bdc1))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Dependencies
|
|
228
|
+
|
|
229
|
+
* The following workspace dependencies were updated
|
|
230
|
+
* dependencies
|
|
231
|
+
* @twin.org/engine-core bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
232
|
+
* @twin.org/engine-models bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
233
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
234
|
+
* devDependencies
|
|
235
|
+
* @twin.org/engine bumped from 0.0.2-next.8 to 0.0.2-next.9
|
|
236
|
+
|
|
237
|
+
## [0.0.2-next.8](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.7...engine-server-v0.0.2-next.8) (2025-08-22)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Features
|
|
241
|
+
|
|
242
|
+
* add rights management modules ([e02cadc](https://github.com/twinfoundation/engine/commit/e02cadc840d242fe16a73ab41ba61376c7467e50))
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Dependencies
|
|
246
|
+
|
|
247
|
+
* The following workspace dependencies were updated
|
|
248
|
+
* dependencies
|
|
249
|
+
* @twin.org/engine-core bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
250
|
+
* @twin.org/engine-models bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
251
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
252
|
+
* devDependencies
|
|
253
|
+
* @twin.org/engine bumped from 0.0.2-next.7 to 0.0.2-next.8
|
|
254
|
+
|
|
255
|
+
## [0.0.2-next.7](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.6...engine-server-v0.0.2-next.7) (2025-08-22)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### Miscellaneous Chores
|
|
259
|
+
|
|
260
|
+
* **engine-server:** Synchronize repo versions
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Dependencies
|
|
264
|
+
|
|
265
|
+
* The following workspace dependencies were updated
|
|
266
|
+
* dependencies
|
|
267
|
+
* @twin.org/engine-core bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
268
|
+
* @twin.org/engine-models bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
269
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
270
|
+
* devDependencies
|
|
271
|
+
* @twin.org/engine bumped from 0.0.2-next.6 to 0.0.2-next.7
|
|
272
|
+
|
|
273
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.5...engine-server-v0.0.2-next.6) (2025-08-21)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
### Features
|
|
277
|
+
|
|
278
|
+
* update framework core ([acc0f8d](https://github.com/twinfoundation/engine/commit/acc0f8d455a4b8ec47f1da643139fa0f07775fa6))
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
### Dependencies
|
|
282
|
+
|
|
283
|
+
* The following workspace dependencies were updated
|
|
284
|
+
* dependencies
|
|
285
|
+
* @twin.org/engine-core bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
286
|
+
* @twin.org/engine-models bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
287
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
288
|
+
* devDependencies
|
|
289
|
+
* @twin.org/engine bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
290
|
+
|
|
291
|
+
## [0.0.2-next.5](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.4...engine-server-v0.0.2-next.5) (2025-08-14)
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Features
|
|
295
|
+
|
|
296
|
+
* add synchronised storage support ([5142e34](https://github.com/twinfoundation/engine/commit/5142e3488f09195cf9f48a9c6c6d1014231a4c2c))
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
### Dependencies
|
|
300
|
+
|
|
301
|
+
* The following workspace dependencies were updated
|
|
302
|
+
* dependencies
|
|
303
|
+
* @twin.org/engine-core bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
304
|
+
* @twin.org/engine-models bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
305
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
306
|
+
* devDependencies
|
|
307
|
+
* @twin.org/engine bumped from 0.0.2-next.4 to 0.0.2-next.5
|
|
308
|
+
|
|
309
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.3...engine-server-v0.0.2-next.4) (2025-07-25)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### Features
|
|
313
|
+
|
|
314
|
+
* add default logging component for web server ([8ad94f0](https://github.com/twinfoundation/engine/commit/8ad94f0d2d9a5241a8854b1e59fb9a55ce310142))
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### Dependencies
|
|
318
|
+
|
|
319
|
+
* The following workspace dependencies were updated
|
|
320
|
+
* dependencies
|
|
321
|
+
* @twin.org/engine-core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
322
|
+
* @twin.org/engine-models bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
323
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
324
|
+
* devDependencies
|
|
325
|
+
* @twin.org/engine bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
326
|
+
|
|
327
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.2...engine-server-v0.0.2-next.3) (2025-07-24)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### Features
|
|
331
|
+
|
|
332
|
+
* update includeUserIdentity usage ([d34f597](https://github.com/twinfoundation/engine/commit/d34f597a61f9645a029411d2911bbda20ddc9eb9))
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Dependencies
|
|
336
|
+
|
|
337
|
+
* The following workspace dependencies were updated
|
|
338
|
+
* dependencies
|
|
339
|
+
* @twin.org/engine-core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
340
|
+
* @twin.org/engine-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
341
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
342
|
+
* devDependencies
|
|
343
|
+
* @twin.org/engine bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
344
|
+
|
|
3
345
|
## [0.0.2-next.2](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.1...engine-server-v0.0.2-next.2) (2025-07-21)
|
|
4
346
|
|
|
5
347
|
|
|
@@ -40,7 +40,7 @@ The engine core to serve from.
|
|
|
40
40
|
|
|
41
41
|
### CLASS\_NAME
|
|
42
42
|
|
|
43
|
-
> `readonly` **CLASS\_NAME**: `string`
|
|
43
|
+
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
44
44
|
|
|
45
45
|
Runtime name for the class.
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Runtime name for the class.
|
|
|
48
48
|
|
|
49
49
|
### addRestRouteGenerator()
|
|
50
50
|
|
|
51
|
-
> **addRestRouteGenerator**(`type`, `
|
|
51
|
+
> **addRestRouteGenerator**(`type`, `module`, `method`): `void`
|
|
52
52
|
|
|
53
53
|
Add a REST route generator.
|
|
54
54
|
|
|
@@ -60,12 +60,6 @@ Add a REST route generator.
|
|
|
60
60
|
|
|
61
61
|
The type to add the generator for.
|
|
62
62
|
|
|
63
|
-
##### typeConfig
|
|
64
|
-
|
|
65
|
-
The type config.
|
|
66
|
-
|
|
67
|
-
`undefined` | `IEngineCoreTypeConfig`[]
|
|
68
|
-
|
|
69
63
|
##### module
|
|
70
64
|
|
|
71
65
|
`string`
|
|
@@ -90,7 +84,7 @@ The method to call on the module.
|
|
|
90
84
|
|
|
91
85
|
### addSocketRouteGenerator()
|
|
92
86
|
|
|
93
|
-
> **addSocketRouteGenerator**(`type`, `
|
|
87
|
+
> **addSocketRouteGenerator**(`type`, `module`, `method`): `void`
|
|
94
88
|
|
|
95
89
|
Add a socket route generator.
|
|
96
90
|
|
|
@@ -102,12 +96,6 @@ Add a socket route generator.
|
|
|
102
96
|
|
|
103
97
|
The type to add the generator for.
|
|
104
98
|
|
|
105
|
-
##### typeConfig
|
|
106
|
-
|
|
107
|
-
The type config.
|
|
108
|
-
|
|
109
|
-
`undefined` | `IEngineCoreTypeConfig`[]
|
|
110
|
-
|
|
111
99
|
##### module
|
|
112
100
|
|
|
113
101
|
`string`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-server",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.21",
|
|
4
4
|
"description": "Engine implementation for a server.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
18
|
"@twin.org/api-server-fastify": "next",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
|
-
"@twin.org/engine-core": "0.0.2-next.
|
|
21
|
-
"@twin.org/engine-models": "0.0.2-next.
|
|
22
|
-
"@twin.org/engine-server-types": "0.0.2-next.
|
|
20
|
+
"@twin.org/engine-core": "0.0.2-next.21",
|
|
21
|
+
"@twin.org/engine-models": "0.0.2-next.21",
|
|
22
|
+
"@twin.org/engine-server-types": "0.0.2-next.21",
|
|
23
23
|
"@twin.org/modules": "next",
|
|
24
24
|
"@twin.org/nameof": "next"
|
|
25
25
|
},
|
|
@@ -40,5 +40,13 @@
|
|
|
40
40
|
"dist/types",
|
|
41
41
|
"locales",
|
|
42
42
|
"docs"
|
|
43
|
+
],
|
|
44
|
+
"keywords": [
|
|
45
|
+
"twin",
|
|
46
|
+
"trade",
|
|
47
|
+
"iota",
|
|
48
|
+
"framework",
|
|
49
|
+
"blockchain",
|
|
50
|
+
"engine"
|
|
43
51
|
]
|
|
44
52
|
}
|