@twin.org/engine-server 0.0.2-next.9 → 0.0.3-next.2

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.
@@ -1,6 +1,6 @@
1
1
  import type { IEngineServerConfig } from "@twin.org/engine-server-types";
2
2
  /**
3
- * Adds the rest paths to the server config.
3
+ * Adds the rest paths to the server config if not already set.
4
4
  * @param serverConfig The server config.
5
5
  */
6
6
  export declare function addDefaultRestPaths(serverConfig: IEngineServerConfig): void;
package/docs/changelog.md CHANGED
@@ -1,5 +1,384 @@
1
1
  # @twin.org/engine-server - Changelog
2
2
 
3
+ ## [0.0.3-next.2](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.3-next.1...engine-server-v0.0.3-next.2) (2025-11-13)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **engine-server:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/engine-core bumped from 0.0.3-next.1 to 0.0.3-next.2
16
+ * @twin.org/engine-models bumped from 0.0.3-next.1 to 0.0.3-next.2
17
+ * @twin.org/engine-server-types bumped from 0.0.3-next.1 to 0.0.3-next.2
18
+ * devDependencies
19
+ * @twin.org/engine bumped from 0.0.3-next.1 to 0.0.3-next.2
20
+
21
+ ## [0.0.3-next.1](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.3-next.0...engine-server-v0.0.3-next.1) (2025-11-13)
22
+
23
+
24
+ ### Features
25
+
26
+ * add auth admin component ([201cd06](https://github.com/twinfoundation/engine/commit/201cd061be83afccb5a6b06856ffe7cf8db7d6b3))
27
+ * add context id features ([#51](https://github.com/twinfoundation/engine/issues/51)) ([eaef180](https://github.com/twinfoundation/engine/commit/eaef1807397a907bc7655ef1545a151a710ca2f1))
28
+ * add data space connector ([a824d99](https://github.com/twinfoundation/engine/commit/a824d9931faeaa8115e01f8e7545b802d0e7ac70))
29
+ * add default logging component for web server ([8ad94f0](https://github.com/twinfoundation/engine/commit/8ad94f0d2d9a5241a8854b1e59fb9a55ce310142))
30
+ * add federated catalogue ([1b15dd0](https://github.com/twinfoundation/engine/commit/1b15dd059a11446457651c411a73145fab37f025))
31
+ * add isPrimary and isClone methods ([a7c63e9](https://github.com/twinfoundation/engine/commit/a7c63e97f54c95b104cc81e66d3fa42c6607bdc1))
32
+ * add latest rights management components ([2d305c8](https://github.com/twinfoundation/engine/commit/2d305c8c85c77bb4f5694c76422db4a11efc1a40))
33
+ * add mimeTypeProcessors and disableNodeIdentity ([bb7e81e](https://github.com/twinfoundation/engine/commit/bb7e81e2036fe042068a5645ec59b22e20d33aad))
34
+ * add rest clients as components ([c6f956a](https://github.com/twinfoundation/engine/commit/c6f956afe4fc22cd552174539c92a109448dc242))
35
+ * add REST options for route construction ([4adf0af](https://github.com/twinfoundation/engine/commit/4adf0af8a03689a4dbdf67e8527d6db0d2c5d59d))
36
+ * add rights management modules ([e02cadc](https://github.com/twinfoundation/engine/commit/e02cadc840d242fe16a73ab41ba61376c7467e50))
37
+ * add rights management negotiation ([84ef46b](https://github.com/twinfoundation/engine/commit/84ef46bff110611a19512793425c8c873ee2a590))
38
+ * add synchronised storage support ([5142e34](https://github.com/twinfoundation/engine/commit/5142e3488f09195cf9f48a9c6c6d1014231a4c2c))
39
+ * add task scheduler ([0951107](https://github.com/twinfoundation/engine/commit/09511073ad042194a45206303f0ef31d8d6af5db))
40
+ * add validate-locales ([b92ea09](https://github.com/twinfoundation/engine/commit/b92ea09dbcfe35225271a51f24d231f59e2d363e))
41
+ * eslint migration to flat config ([6b978da](https://github.com/twinfoundation/engine/commit/6b978daf777a615d7758b63c3df57d5a376f6dfb))
42
+ * expose default rest and socket path creation ([e6c6e26](https://github.com/twinfoundation/engine/commit/e6c6e266c8017212a74d4997e2e335347457a2bc))
43
+ * iota rebased release ([474d92b](https://github.com/twinfoundation/engine/commit/474d92b352f4ccc431a4f138afee2ee89824664d))
44
+ * modifying the engine to run the new services ([#10](https://github.com/twinfoundation/engine/issues/10)) ([6f7141f](https://github.com/twinfoundation/engine/commit/6f7141fe0a6d05c725066b274bcc18b5490e580b))
45
+ * move environment variable processing to node level ([2223c12](https://github.com/twinfoundation/engine/commit/2223c12f49f3d34051ecec9687351aa5dd094e54))
46
+ * override type initialisers with new registrations ([5b4ff56](https://github.com/twinfoundation/engine/commit/5b4ff561d06b6513c870a72bb20ba23c0653cfe8))
47
+ * simplify config building ([732c871](https://github.com/twinfoundation/engine/commit/732c871c5aca236759168f4bc15aeffd98a330a8))
48
+ * standardised engine logging naming ([0dbf857](https://github.com/twinfoundation/engine/commit/0dbf857587641f86ddf010143519d0e8333489ff))
49
+ * update dependencies ([97c9f64](https://github.com/twinfoundation/engine/commit/97c9f64b6ef096963bcc5de338a2a9e99bdc1a11))
50
+ * update framework core ([acc0f8d](https://github.com/twinfoundation/engine/commit/acc0f8d455a4b8ec47f1da643139fa0f07775fa6))
51
+ * update includeUserIdentity usage ([d34f597](https://github.com/twinfoundation/engine/commit/d34f597a61f9645a029411d2911bbda20ddc9eb9))
52
+ * update rights management and add authentication generators ([f728a1e](https://github.com/twinfoundation/engine/commit/f728a1efea15ada8d10cfbe17cafe7e2b252f527))
53
+ * update rights management dependencies ([14d06fb](https://github.com/twinfoundation/engine/commit/14d06fb6604ad04e4094da7b51b61a01a0280b8b))
54
+ * upgrade framework components ([efd52e8](https://github.com/twinfoundation/engine/commit/efd52e80564fff29c3897bfa09b6305b3a322812))
55
+ * use peer dependencies ([69dd744](https://github.com/twinfoundation/engine/commit/69dd7449010b8e6f5f35e7fad201ad4c1cab400c))
56
+ * use shared store mechanism ([#2](https://github.com/twinfoundation/engine/issues/2)) ([9eed8d7](https://github.com/twinfoundation/engine/commit/9eed8d7766388479b42f03e2542fe761f2156408))
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * import path ([8e3c186](https://github.com/twinfoundation/engine/commit/8e3c186bd26c84b2a45290efd8e7924c2b75a484))
62
+ * method docs ([fb3d73f](https://github.com/twinfoundation/engine/commit/fb3d73fa9e71ab392378fe7bad7a3677e5e7b132))
63
+ * use abbreviated docs path ([9258a72](https://github.com/twinfoundation/engine/commit/9258a72adf266ddcc4f98002a07a7a162755f24b))
64
+
65
+
66
+ ### Dependencies
67
+
68
+ * The following workspace dependencies were updated
69
+ * dependencies
70
+ * @twin.org/engine-core bumped from 0.0.3-next.0 to 0.0.3-next.1
71
+ * @twin.org/engine-models bumped from 0.0.3-next.0 to 0.0.3-next.1
72
+ * @twin.org/engine-server-types bumped from 0.0.3-next.0 to 0.0.3-next.1
73
+ * devDependencies
74
+ * @twin.org/engine bumped from 0.0.3-next.0 to 0.0.3-next.1
75
+
76
+ ## [0.0.2-next.26](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.25...engine-server-v0.0.2-next.26) (2025-10-09)
77
+
78
+
79
+ ### Miscellaneous Chores
80
+
81
+ * **engine-server:** Synchronize repo versions
82
+
83
+
84
+ ### Dependencies
85
+
86
+ * The following workspace dependencies were updated
87
+ * dependencies
88
+ * @twin.org/engine-core bumped from 0.0.2-next.25 to 0.0.2-next.26
89
+ * @twin.org/engine-models bumped from 0.0.2-next.25 to 0.0.2-next.26
90
+ * @twin.org/engine-server-types bumped from 0.0.2-next.25 to 0.0.2-next.26
91
+ * devDependencies
92
+ * @twin.org/engine bumped from 0.0.2-next.25 to 0.0.2-next.26
93
+
94
+ ## [0.0.2-next.25](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.24...engine-server-v0.0.2-next.25) (2025-10-09)
95
+
96
+
97
+ ### Features
98
+
99
+ * add validate-locales ([b92ea09](https://github.com/twinfoundation/engine/commit/b92ea09dbcfe35225271a51f24d231f59e2d363e))
100
+
101
+
102
+ ### Dependencies
103
+
104
+ * The following workspace dependencies were updated
105
+ * dependencies
106
+ * @twin.org/engine-core bumped from 0.0.2-next.24 to 0.0.2-next.25
107
+ * @twin.org/engine-models bumped from 0.0.2-next.24 to 0.0.2-next.25
108
+ * @twin.org/engine-server-types bumped from 0.0.2-next.24 to 0.0.2-next.25
109
+ * devDependencies
110
+ * @twin.org/engine bumped from 0.0.2-next.24 to 0.0.2-next.25
111
+
112
+ ## [0.0.2-next.24](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.23...engine-server-v0.0.2-next.24) (2025-10-08)
113
+
114
+
115
+ ### Miscellaneous Chores
116
+
117
+ * **engine-server:** Synchronize repo versions
118
+
119
+
120
+ ### Dependencies
121
+
122
+ * The following workspace dependencies were updated
123
+ * dependencies
124
+ * @twin.org/engine-core bumped from 0.0.2-next.23 to 0.0.2-next.24
125
+ * @twin.org/engine-models bumped from 0.0.2-next.23 to 0.0.2-next.24
126
+ * @twin.org/engine-server-types bumped from 0.0.2-next.23 to 0.0.2-next.24
127
+ * devDependencies
128
+ * @twin.org/engine bumped from 0.0.2-next.23 to 0.0.2-next.24
129
+
130
+ ## [0.0.2-next.23](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.22...engine-server-v0.0.2-next.23) (2025-10-07)
131
+
132
+
133
+ ### Features
134
+
135
+ * override type initialisers with new registrations ([5b4ff56](https://github.com/twinfoundation/engine/commit/5b4ff561d06b6513c870a72bb20ba23c0653cfe8))
136
+
137
+
138
+ ### Dependencies
139
+
140
+ * The following workspace dependencies were updated
141
+ * dependencies
142
+ * @twin.org/engine-core bumped from 0.0.2-next.22 to 0.0.2-next.23
143
+ * @twin.org/engine-models bumped from 0.0.2-next.22 to 0.0.2-next.23
144
+ * @twin.org/engine-server-types bumped from 0.0.2-next.22 to 0.0.2-next.23
145
+ * devDependencies
146
+ * @twin.org/engine bumped from 0.0.2-next.22 to 0.0.2-next.23
147
+
148
+ ## [0.0.2-next.22](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.21...engine-server-v0.0.2-next.22) (2025-10-07)
149
+
150
+
151
+ ### Miscellaneous Chores
152
+
153
+ * **engine-server:** Synchronize repo versions
154
+
155
+
156
+ ### Dependencies
157
+
158
+ * The following workspace dependencies were updated
159
+ * dependencies
160
+ * @twin.org/engine-core bumped from 0.0.2-next.21 to 0.0.2-next.22
161
+ * @twin.org/engine-models bumped from 0.0.2-next.21 to 0.0.2-next.22
162
+ * @twin.org/engine-server-types bumped from 0.0.2-next.21 to 0.0.2-next.22
163
+ * devDependencies
164
+ * @twin.org/engine bumped from 0.0.2-next.21 to 0.0.2-next.22
165
+
166
+ ## [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)
167
+
168
+
169
+ ### Features
170
+
171
+ * use peer dependencies ([69dd744](https://github.com/twinfoundation/engine/commit/69dd7449010b8e6f5f35e7fad201ad4c1cab400c))
172
+
173
+
174
+ ### Dependencies
175
+
176
+ * The following workspace dependencies were updated
177
+ * dependencies
178
+ * @twin.org/engine-core bumped from 0.0.2-next.20 to 0.0.2-next.21
179
+ * @twin.org/engine-models bumped from 0.0.2-next.20 to 0.0.2-next.21
180
+ * @twin.org/engine-server-types bumped from 0.0.2-next.20 to 0.0.2-next.21
181
+ * devDependencies
182
+ * @twin.org/engine bumped from 0.0.2-next.20 to 0.0.2-next.21
183
+
184
+ ## [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)
185
+
186
+
187
+ ### Features
188
+
189
+ * standardised engine logging naming ([0dbf857](https://github.com/twinfoundation/engine/commit/0dbf857587641f86ddf010143519d0e8333489ff))
190
+
191
+
192
+ ### Dependencies
193
+
194
+ * The following workspace dependencies were updated
195
+ * dependencies
196
+ * @twin.org/engine-core bumped from 0.0.2-next.19 to 0.0.2-next.20
197
+ * @twin.org/engine-models bumped from 0.0.2-next.19 to 0.0.2-next.20
198
+ * @twin.org/engine-server-types bumped from 0.0.2-next.19 to 0.0.2-next.20
199
+ * devDependencies
200
+ * @twin.org/engine bumped from 0.0.2-next.19 to 0.0.2-next.20
201
+
202
+ ## [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)
203
+
204
+
205
+ ### Features
206
+
207
+ * simplify config building ([732c871](https://github.com/twinfoundation/engine/commit/732c871c5aca236759168f4bc15aeffd98a330a8))
208
+
209
+
210
+ ### Dependencies
211
+
212
+ * The following workspace dependencies were updated
213
+ * dependencies
214
+ * @twin.org/engine-core bumped from 0.0.2-next.18 to 0.0.2-next.19
215
+ * @twin.org/engine-models bumped from 0.0.2-next.18 to 0.0.2-next.19
216
+ * @twin.org/engine-server-types bumped from 0.0.2-next.18 to 0.0.2-next.19
217
+ * devDependencies
218
+ * @twin.org/engine bumped from 0.0.2-next.18 to 0.0.2-next.19
219
+
220
+ ## [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)
221
+
222
+
223
+ ### Features
224
+
225
+ * upgrade framework components ([efd52e8](https://github.com/twinfoundation/engine/commit/efd52e80564fff29c3897bfa09b6305b3a322812))
226
+
227
+
228
+ ### Dependencies
229
+
230
+ * The following workspace dependencies were updated
231
+ * dependencies
232
+ * @twin.org/engine-core bumped from 0.0.2-next.17 to 0.0.2-next.18
233
+ * @twin.org/engine-models bumped from 0.0.2-next.17 to 0.0.2-next.18
234
+ * @twin.org/engine-server-types bumped from 0.0.2-next.17 to 0.0.2-next.18
235
+ * devDependencies
236
+ * @twin.org/engine bumped from 0.0.2-next.17 to 0.0.2-next.18
237
+
238
+ ## [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)
239
+
240
+
241
+ ### Features
242
+
243
+ * add REST options for route construction ([4adf0af](https://github.com/twinfoundation/engine/commit/4adf0af8a03689a4dbdf67e8527d6db0d2c5d59d))
244
+
245
+
246
+ ### Dependencies
247
+
248
+ * The following workspace dependencies were updated
249
+ * dependencies
250
+ * @twin.org/engine-core bumped from 0.0.2-next.16 to 0.0.2-next.17
251
+ * @twin.org/engine-models bumped from 0.0.2-next.16 to 0.0.2-next.17
252
+ * @twin.org/engine-server-types bumped from 0.0.2-next.16 to 0.0.2-next.17
253
+ * devDependencies
254
+ * @twin.org/engine bumped from 0.0.2-next.16 to 0.0.2-next.17
255
+
256
+ ## [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)
257
+
258
+
259
+ ### Miscellaneous Chores
260
+
261
+ * **engine-server:** Synchronize repo versions
262
+
263
+
264
+ ### Dependencies
265
+
266
+ * The following workspace dependencies were updated
267
+ * dependencies
268
+ * @twin.org/engine-core bumped from 0.0.2-next.15 to 0.0.2-next.16
269
+ * @twin.org/engine-models bumped from 0.0.2-next.15 to 0.0.2-next.16
270
+ * @twin.org/engine-server-types bumped from 0.0.2-next.15 to 0.0.2-next.16
271
+ * devDependencies
272
+ * @twin.org/engine bumped from 0.0.2-next.15 to 0.0.2-next.16
273
+
274
+ ## [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)
275
+
276
+
277
+ ### Features
278
+
279
+ * update rights management and add authentication generators ([f728a1e](https://github.com/twinfoundation/engine/commit/f728a1efea15ada8d10cfbe17cafe7e2b252f527))
280
+
281
+
282
+ ### Dependencies
283
+
284
+ * The following workspace dependencies were updated
285
+ * dependencies
286
+ * @twin.org/engine-core bumped from 0.0.2-next.14 to 0.0.2-next.15
287
+ * @twin.org/engine-models bumped from 0.0.2-next.14 to 0.0.2-next.15
288
+ * @twin.org/engine-server-types bumped from 0.0.2-next.14 to 0.0.2-next.15
289
+ * devDependencies
290
+ * @twin.org/engine bumped from 0.0.2-next.14 to 0.0.2-next.15
291
+
292
+ ## [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)
293
+
294
+
295
+ ### Features
296
+
297
+ * add latest rights management components ([2d305c8](https://github.com/twinfoundation/engine/commit/2d305c8c85c77bb4f5694c76422db4a11efc1a40))
298
+
299
+
300
+ ### Dependencies
301
+
302
+ * The following workspace dependencies were updated
303
+ * dependencies
304
+ * @twin.org/engine-core bumped from 0.0.2-next.13 to 0.0.2-next.14
305
+ * @twin.org/engine-models bumped from 0.0.2-next.13 to 0.0.2-next.14
306
+ * @twin.org/engine-server-types bumped from 0.0.2-next.13 to 0.0.2-next.14
307
+ * devDependencies
308
+ * @twin.org/engine bumped from 0.0.2-next.13 to 0.0.2-next.14
309
+
310
+ ## [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)
311
+
312
+
313
+ ### Features
314
+
315
+ * update rights management dependencies ([14d06fb](https://github.com/twinfoundation/engine/commit/14d06fb6604ad04e4094da7b51b61a01a0280b8b))
316
+
317
+
318
+ ### Dependencies
319
+
320
+ * The following workspace dependencies were updated
321
+ * dependencies
322
+ * @twin.org/engine-core bumped from 0.0.2-next.12 to 0.0.2-next.13
323
+ * @twin.org/engine-models bumped from 0.0.2-next.12 to 0.0.2-next.13
324
+ * @twin.org/engine-server-types bumped from 0.0.2-next.12 to 0.0.2-next.13
325
+ * devDependencies
326
+ * @twin.org/engine bumped from 0.0.2-next.12 to 0.0.2-next.13
327
+
328
+ ## [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)
329
+
330
+
331
+ ### Features
332
+
333
+ * add rights management negotiation ([84ef46b](https://github.com/twinfoundation/engine/commit/84ef46bff110611a19512793425c8c873ee2a590))
334
+
335
+
336
+ ### Dependencies
337
+
338
+ * The following workspace dependencies were updated
339
+ * dependencies
340
+ * @twin.org/engine-core bumped from 0.0.2-next.11 to 0.0.2-next.12
341
+ * @twin.org/engine-models bumped from 0.0.2-next.11 to 0.0.2-next.12
342
+ * @twin.org/engine-server-types bumped from 0.0.2-next.11 to 0.0.2-next.12
343
+ * devDependencies
344
+ * @twin.org/engine bumped from 0.0.2-next.11 to 0.0.2-next.12
345
+
346
+ ## [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)
347
+
348
+
349
+ ### Features
350
+
351
+ * eslint migration to flat config ([6b978da](https://github.com/twinfoundation/engine/commit/6b978daf777a615d7758b63c3df57d5a376f6dfb))
352
+
353
+
354
+ ### Dependencies
355
+
356
+ * The following workspace dependencies were updated
357
+ * dependencies
358
+ * @twin.org/engine-core bumped from 0.0.2-next.10 to 0.0.2-next.11
359
+ * @twin.org/engine-models bumped from 0.0.2-next.10 to 0.0.2-next.11
360
+ * @twin.org/engine-server-types bumped from 0.0.2-next.10 to 0.0.2-next.11
361
+ * devDependencies
362
+ * @twin.org/engine bumped from 0.0.2-next.10 to 0.0.2-next.11
363
+
364
+ ## [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)
365
+
366
+
367
+ ### Features
368
+
369
+ * add data space connector ([a824d99](https://github.com/twinfoundation/engine/commit/a824d9931faeaa8115e01f8e7545b802d0e7ac70))
370
+
371
+
372
+ ### Dependencies
373
+
374
+ * The following workspace dependencies were updated
375
+ * dependencies
376
+ * @twin.org/engine-core bumped from 0.0.2-next.9 to 0.0.2-next.10
377
+ * @twin.org/engine-models bumped from 0.0.2-next.9 to 0.0.2-next.10
378
+ * @twin.org/engine-server-types bumped from 0.0.2-next.9 to 0.0.2-next.10
379
+ * devDependencies
380
+ * @twin.org/engine bumped from 0.0.2-next.9 to 0.0.2-next.10
381
+
3
382
  ## [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)
4
383
 
5
384
 
@@ -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`, `typeConfig`, `module`, `method`): `void`
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`, `typeConfig`, `module`, `method`): `void`
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`
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **addDefaultRestPaths**(`serverConfig`): `void`
4
4
 
5
- Adds the rest paths to the server config.
5
+ Adds the rest paths to the server config if not already set.
6
6
 
7
7
  ## Parameters
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-server",
3
- "version": "0.0.2-next.9",
3
+ "version": "0.0.3-next.2",
4
4
  "description": "Engine implementation for a server.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,29 +16,40 @@
16
16
  "dependencies": {
17
17
  "@twin.org/api-models": "next",
18
18
  "@twin.org/api-server-fastify": "next",
19
+ "@twin.org/context": "next",
19
20
  "@twin.org/core": "next",
20
- "@twin.org/engine-core": "0.0.2-next.9",
21
- "@twin.org/engine-models": "0.0.2-next.9",
22
- "@twin.org/engine-server-types": "0.0.2-next.9",
21
+ "@twin.org/engine-core": "0.0.3-next.2",
22
+ "@twin.org/engine-models": "0.0.3-next.2",
23
+ "@twin.org/engine-server-types": "0.0.3-next.2",
23
24
  "@twin.org/modules": "next",
24
25
  "@twin.org/nameof": "next"
25
26
  },
26
- "main": "./dist/cjs/index.cjs",
27
- "module": "./dist/esm/index.mjs",
27
+ "main": "./dist/es/index.js",
28
28
  "types": "./dist/types/index.d.ts",
29
29
  "exports": {
30
30
  ".": {
31
31
  "types": "./dist/types/index.d.ts",
32
- "require": "./dist/cjs/index.cjs",
33
- "import": "./dist/esm/index.mjs"
32
+ "import": "./dist/es/index.js",
33
+ "default": "./dist/es/index.js"
34
34
  },
35
35
  "./locales/*.json": "./locales/*.json"
36
36
  },
37
37
  "files": [
38
- "dist/cjs",
39
- "dist/esm",
38
+ "dist/es",
40
39
  "dist/types",
41
40
  "locales",
42
41
  "docs"
43
- ]
42
+ ],
43
+ "keywords": [
44
+ "twin",
45
+ "trade",
46
+ "iota",
47
+ "framework",
48
+ "blockchain",
49
+ "engine"
50
+ ],
51
+ "bugs": {
52
+ "url": "git+https://github.com/twinfoundation/engine/issues"
53
+ },
54
+ "homepage": "https://twindev.org"
44
55
  }