@thzero/library_server 0.17.7 → 0.17.9

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.
Files changed (2) hide show
  1. package/boot/index.js +21 -0
  2. package/package.json +3 -3
package/boot/index.js CHANGED
@@ -59,6 +59,15 @@ class BootMain {
59
59
  const idGeneratorOverride = this._initIdGenerator();
60
60
  if (idGeneratorOverride)
61
61
  LibraryCommonUtility.setIdGenerator(idGeneratorOverride);
62
+ const idGeneratorAlphabet = this._initIdGeneratorAlphabet();
63
+ if (idGeneratorAlphabet)
64
+ LibraryCommonUtility.setIdGeneratorAlphabet(idGeneratorAlphabet);
65
+ const idGeneratorLengthLong = this._initIdGeneratorLengthLong();
66
+ if (idGeneratorLengthLong)
67
+ LibraryCommonUtility.setIdGeneratorLengthLong(idGeneratorLengthLong);
68
+ const idGeneratorLengthShort = this._initIdGeneratorLengthShort();
69
+ if (idGeneratorLengthShort)
70
+ LibraryCommonUtility.setIdGeneratorLengthShort(idGeneratorLengthShort);
62
71
 
63
72
  this._injector = injector;
64
73
 
@@ -211,6 +220,18 @@ class BootMain {
211
220
  return null;
212
221
  }
213
222
 
223
+ _initIdGeneratorAlphabet() {
224
+ return null;
225
+ }
226
+
227
+ _initIdGeneratorLengthLong() {
228
+ return null;
229
+ }
230
+
231
+ _initIdGeneratorLengthShort() {
232
+ return null;
233
+ }
234
+
214
235
  async _initPlugins(plugins) {
215
236
  try {
216
237
  injector.addSingleton(LibraryCommonServiceConstants.InjectorKeys.SERVICE_CONFIG, this._appConfig);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.17.7",
4
+ "version": "0.17.9",
5
5
  "version_major": 0,
6
6
  "version_minor": 17,
7
- "version_patch": 7,
8
- "version_date": "03/19/2023",
7
+ "version_patch": 9,
8
+ "version_date": "03/22/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",