@thzero/library_server 0.17.6 → 0.17.8
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/boot/index.js +15 -1
- package/package.json +3 -3
package/boot/index.js
CHANGED
|
@@ -59,6 +59,12 @@ class BootMain {
|
|
|
59
59
|
const idGeneratorOverride = this._initIdGenerator();
|
|
60
60
|
if (idGeneratorOverride)
|
|
61
61
|
LibraryCommonUtility.setIdGenerator(idGeneratorOverride);
|
|
62
|
+
const idGeneratorLengthLong = this._initIdGeneratorLengthLong();
|
|
63
|
+
if (idGeneratorLengthLong)
|
|
64
|
+
LibraryCommonUtility.setIdGeneratorLengthLong(idGeneratorLengthLong);
|
|
65
|
+
const idGeneratorLengthShort = this._initIdGeneratorLengthShort();
|
|
66
|
+
if (idGeneratorLengthShort)
|
|
67
|
+
LibraryCommonUtility.setIdGeneratorLengthShort(idGeneratorLengthShort);
|
|
62
68
|
|
|
63
69
|
this._injector = injector;
|
|
64
70
|
|
|
@@ -207,7 +213,15 @@ class BootMain {
|
|
|
207
213
|
async _initAppPost(app, args) {
|
|
208
214
|
}
|
|
209
215
|
|
|
210
|
-
|
|
216
|
+
_initIdGenerator() {
|
|
217
|
+
return null;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
_initIdGeneratorLengthLong() {
|
|
221
|
+
return null;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
_initIdGeneratorLengthShort() {
|
|
211
225
|
return null;
|
|
212
226
|
}
|
|
213
227
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.8",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 17,
|
|
7
|
-
"version_patch":
|
|
8
|
-
"version_date": "03/
|
|
7
|
+
"version_patch": 8,
|
|
8
|
+
"version_date": "03/20/2023",
|
|
9
9
|
"description": "An opinionated library of common functionality to bootstrap an API using either Fastify or Koa as the web server.",
|
|
10
10
|
"author": "thZero",
|
|
11
11
|
"license": "MIT",
|