@futdevpro/fsm-dynamo 1.5.22 → 1.5.24

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 (55) hide show
  1. package/lib/_collections/dynamo-shared.service.d.ts +1 -1
  2. package/lib/_collections/dynamo-shared.service.d.ts.map +1 -1
  3. package/lib/_collections/dynamo-shared.service.js +5 -5
  4. package/lib/_collections/dynamo-shared.service.js.map +1 -1
  5. package/lib/_models/control-models/dynamo-nts-data-params.d.ts +14 -0
  6. package/lib/_models/control-models/dynamo-nts-data-params.d.ts.map +1 -0
  7. package/lib/_models/control-models/dynamo-nts-data-params.js +19 -0
  8. package/lib/_models/control-models/dynamo-nts-data-params.js.map +1 -0
  9. package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts +28 -0
  10. package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts.map +1 -0
  11. package/lib/_models/control-models/dynamo-nts-data-property-params.js +57 -0
  12. package/lib/_models/control-models/dynamo-nts-data-property-params.js.map +1 -0
  13. package/lib/_models/control-models/dynamo-nts-error.d.ts +19 -0
  14. package/lib/_models/control-models/dynamo-nts-error.d.ts.map +1 -0
  15. package/lib/_models/control-models/dynamo-nts-error.js +190 -0
  16. package/lib/_models/control-models/dynamo-nts-error.js.map +1 -0
  17. package/lib/_models/data-models/custom-data.d.ts +2 -2
  18. package/lib/_models/data-models/custom-data.d.ts.map +1 -1
  19. package/lib/_models/data-models/custom-data.js +2 -2
  20. package/lib/_models/data-models/custom-data.js.map +1 -1
  21. package/lib/_models/data-models/metadata.js +6 -6
  22. package/lib/_models/data-models/metadata.js.map +1 -1
  23. package/lib/_models/data-models/usage-session.d.ts +2 -2
  24. package/lib/_models/data-models/usage-session.d.ts.map +1 -1
  25. package/lib/_models/data-models/usage-session.js +2 -2
  26. package/lib/_models/data-models/usage-session.js.map +1 -1
  27. package/lib/_models/index.d.ts +3 -3
  28. package/lib/_models/index.d.ts.map +1 -1
  29. package/lib/_models/index.js +3 -3
  30. package/lib/_models/index.js.map +1 -1
  31. package/lib/_modules/data-modules.index.d.ts +3 -3
  32. package/lib/_modules/data-modules.index.d.ts.map +1 -1
  33. package/lib/_modules/data-modules.index.js +3 -3
  34. package/lib/_modules/data-modules.index.js.map +1 -1
  35. package/lib/_modules/error-module.index.d.ts +1 -1
  36. package/lib/_modules/error-module.index.d.ts.map +1 -1
  37. package/lib/_modules/error-module.index.js +1 -1
  38. package/lib/_modules/error-module.index.js.map +1 -1
  39. package/lib/_modules/shared-service.index.d.ts +1 -1
  40. package/lib/_modules/shared-service.index.d.ts.map +1 -1
  41. package/lib/_modules/shared-service.index.js +1 -1
  42. package/lib/_modules/shared-service.index.js.map +1 -1
  43. package/lib/tsconfig.tsbuildinfo +54 -54
  44. package/package.json +1 -1
  45. package/src/_collections/dynamo-shared.service.ts +3 -3
  46. package/src/_models/control-models/{dynamobe-data-params.ts → dynamo-nts-data-params.ts} +4 -4
  47. package/src/_models/control-models/{dynamobe-data-property-params.ts → dynamo-nts-data-property-params.ts} +3 -3
  48. package/src/_models/control-models/{dynamobe-error.ts → dynamo-nts-error.ts} +7 -5
  49. package/src/_models/data-models/custom-data.ts +2 -2
  50. package/src/_models/data-models/metadata.ts +6 -6
  51. package/src/_models/data-models/usage-session.ts +2 -2
  52. package/src/_models/index.ts +3 -3
  53. package/src/_modules/data-modules.index.ts +3 -3
  54. package/src/_modules/error-module.index.ts +1 -1
  55. package/src/_modules/shared-service.index.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"data-modules.index.d.ts","sourceRoot":"","sources":["../../src/_modules/data-modules.index.ts"],"names":[],"mappings":"AAEA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC"}
1
+ {"version":3,"file":"data-modules.index.d.ts","sourceRoot":"","sources":["../../src/_modules/data-modules.index.ts"],"names":[],"mappings":"AAEA,cAAc,iCAAiC,CAAC;AAChD,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC"}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  // DATA MODULE
5
5
  tslib_1.__exportStar(require("../_models/data-models/metadata"), exports);
6
- tslib_1.__exportStar(require("../_models/control-models/dynamobe-data-params"), exports);
7
- tslib_1.__exportStar(require("../_models/control-models/dynamobe-data-property-params"), exports);
8
- tslib_1.__exportStar(require("../_models/control-models/dynamobe-error"), exports);
6
+ tslib_1.__exportStar(require("../_models/control-models/dynamo-nts-data-params"), exports);
7
+ tslib_1.__exportStar(require("../_models/control-models/dynamo-nts-data-property-params"), exports);
8
+ tslib_1.__exportStar(require("../_models/control-models/dynamo-nts-error"), exports);
9
9
  tslib_1.__exportStar(require("../_enums/data-model-type.enum"), exports);
10
10
  //# sourceMappingURL=data-modules.index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-modules.index.js","sourceRoot":"","sources":["../../src/_modules/data-modules.index.ts"],"names":[],"mappings":";;;AACA,cAAc;AACd,0EAAgD;AAChD,yFAA+D;AAC/D,kGAAwE;AACxE,mFAAyD;AACzD,yEAA+C"}
1
+ {"version":3,"file":"data-modules.index.js","sourceRoot":"","sources":["../../src/_modules/data-modules.index.ts"],"names":[],"mappings":";;;AACA,cAAc;AACd,0EAAgD;AAChD,2FAAiE;AACjE,oGAA0E;AAC1E,qFAA2D;AAC3D,yEAA+C"}
@@ -1,2 +1,2 @@
1
- export * from '../_models/control-models/dynamobe-error';
1
+ export * from '../_models/control-models/dynamo-nts-error';
2
2
  //# sourceMappingURL=error-module.index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-module.index.d.ts","sourceRoot":"","sources":["../../src/_modules/error-module.index.ts"],"names":[],"mappings":"AAEA,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"error-module.index.d.ts","sourceRoot":"","sources":["../../src/_modules/error-module.index.ts"],"names":[],"mappings":"AAEA,cAAc,4CAA4C,CAAC"}
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  // ERROR MODULE
5
- tslib_1.__exportStar(require("../_models/control-models/dynamobe-error"), exports);
5
+ tslib_1.__exportStar(require("../_models/control-models/dynamo-nts-error"), exports);
6
6
  //# sourceMappingURL=error-module.index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-module.index.js","sourceRoot":"","sources":["../../src/_modules/error-module.index.ts"],"names":[],"mappings":";;;AACA,eAAe;AACf,mFAAyD"}
1
+ {"version":3,"file":"error-module.index.js","sourceRoot":"","sources":["../../src/_modules/error-module.index.ts"],"names":[],"mappings":";;;AACA,eAAe;AACf,qFAA2D"}
@@ -1,7 +1,7 @@
1
1
  export * from '../_collections/dynamo-shared.service';
2
2
  export * from '../_constants/times';
3
3
  export * from '../_enums/log-style.enum';
4
- export * from '../_models/control-models/dynamobe-error';
4
+ export * from '../_models/control-models/dynamo-nts-error';
5
5
  export * from '../_models/control-models/location-coordinates';
6
6
  export * from '../_models/control-models/geo-ip-location';
7
7
  //# sourceMappingURL=shared-service.index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared-service.index.d.ts","sourceRoot":"","sources":["../../src/_modules/shared-service.index.ts"],"names":[],"mappings":"AAEA,cAAc,uCAAuC,CAAC;AACtD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC"}
1
+ {"version":3,"file":"shared-service.index.d.ts","sourceRoot":"","sources":["../../src/_modules/shared-service.index.ts"],"names":[],"mappings":"AAEA,cAAc,uCAAuC,CAAC;AACtD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC"}
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("../_collections/dynamo-shared.service"), exports);
6
6
  tslib_1.__exportStar(require("../_constants/times"), exports);
7
7
  tslib_1.__exportStar(require("../_enums/log-style.enum"), exports);
8
- tslib_1.__exportStar(require("../_models/control-models/dynamobe-error"), exports);
8
+ tslib_1.__exportStar(require("../_models/control-models/dynamo-nts-error"), exports);
9
9
  tslib_1.__exportStar(require("../_models/control-models/location-coordinates"), exports);
10
10
  tslib_1.__exportStar(require("../_models/control-models/geo-ip-location"), exports);
11
11
  //# sourceMappingURL=shared-service.index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared-service.index.js","sourceRoot":"","sources":["../../src/_modules/shared-service.index.ts"],"names":[],"mappings":";;;AACA,wBAAwB;AACxB,gFAAsD;AACtD,8DAAoC;AACpC,mEAAyC;AACzC,mFAAyD;AACzD,yFAA+D;AAC/D,oFAA0D"}
1
+ {"version":3,"file":"shared-service.index.js","sourceRoot":"","sources":["../../src/_modules/shared-service.index.ts"],"names":[],"mappings":";;;AACA,wBAAwB;AACxB,gFAAsD;AACtD,8DAAoC;AACpC,mEAAyC;AACzC,qFAA2D;AAC3D,yFAA+D;AAC/D,oFAA0D"}
@@ -201,9 +201,9 @@
201
201
  "signature": "c26555c149dcd8b1647cce3f4bc4fbf2e14a0cdc63151dbb2cba5355c7409979",
202
202
  "affectsGlobalScope": false
203
203
  },
204
- "../src/_models/control-models/dynamobe-error.ts": {
205
- "version": "c00e2a11553aa7589bfba4b3ba33b9b812c542e726903f79fb8c356822c39da6",
206
- "signature": "f28694141d3063a88c9fc291fc7f939c413ce8bcdb08f4414fd19383e885c2c8",
204
+ "../src/_models/control-models/dynamo-nts-error.ts": {
205
+ "version": "a6a0b515c508cb33967b212f3b68e8485255fe6c37ff465ae862c5d3134d28f1",
206
+ "signature": "9335598e7e860d102ab2b2e48df464b5921d1c337db1fcb405611990f65f50a2",
207
207
  "affectsGlobalScope": false
208
208
  },
209
209
  "../src/_models/control-models/location-coordinates.ts": {
@@ -212,8 +212,8 @@
212
212
  "affectsGlobalScope": false
213
213
  },
214
214
  "../src/_collections/dynamo-shared.service.ts": {
215
- "version": "15c4a1afe3e93f2f7e12dafbbbde9b70a4707f122ad0feb80261d2a8b1d5823a",
216
- "signature": "80bcae9ea0d69d4dcfdcdc949d8167ab18605fbef4f634b525126a2e1e9bedd7",
215
+ "version": "65031d34e3243574983f4cfb23e2a0d0fe12f2c3733db0d940a133c836d087a0",
216
+ "signature": "7aeca062f8a61097cd3dfc9aa999c801b942bf05f1bfcf178a3bd0fd0ef65490",
217
217
  "affectsGlobalScope": false
218
218
  },
219
219
  "../src/_collections/index.ts": {
@@ -257,7 +257,7 @@
257
257
  "affectsGlobalScope": false
258
258
  },
259
259
  "../src/_models/data-models/metadata.ts": {
260
- "version": "5eb7999258ae4eca256f2ba01437f8aefd308714cf0810903df82c78ec94687d",
260
+ "version": "284dbdf5b7ba8dbf4ca1d446fb94c9337172842b2cf831001dedd12498e42b52",
261
261
  "signature": "3a6ad5b0efc28eef16cc0568bce7fb02abb8231bb6430fbe40c1c6252e6ab910",
262
262
  "affectsGlobalScope": false
263
263
  },
@@ -271,19 +271,19 @@
271
271
  "signature": "aeff79d75f92b9be69e35cc640830b27ed8323789b13839e7f80bb503ac45f32",
272
272
  "affectsGlobalScope": false
273
273
  },
274
- "../src/_models/control-models/dynamobe-data-property-params.ts": {
275
- "version": "1faedcb3c5ac8129cece0f6eea4f8cfacc7425850143eb12c7768e1b9e21cf44",
276
- "signature": "df9c1f50654e34f0e4255c8f880dfde3af6531db086c70755382840a0011b8d4",
274
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts": {
275
+ "version": "083bf41b1791f87a28ed3928b56caaa4e2317001805f8e6cf386f4b640a7eacf",
276
+ "signature": "af2fb6793736a4c781b0df94e64ff95546ac212c8b6c5a14a6ddf83fca3eccfa",
277
277
  "affectsGlobalScope": false
278
278
  },
279
- "../src/_models/control-models/dynamobe-data-params.ts": {
280
- "version": "150e3ec06fdc7683f245471cca330b70638711e24b0a11ed0dac67b513c1fa45",
281
- "signature": "fb88e041be319d03f5ab3932936a76ce2057736d4648300d0e8739b15928f619",
279
+ "../src/_models/control-models/dynamo-nts-data-params.ts": {
280
+ "version": "07aeedf9df9e6437b6788d4117d6ec5f202ee23123e5c5996533e4b9f6967e0e",
281
+ "signature": "202153fe2fd0e80041e39b4536397b78c3de0cc187354805f6b07efe70076db7",
282
282
  "affectsGlobalScope": false
283
283
  },
284
284
  "../src/_models/data-models/usage-session.ts": {
285
- "version": "8cd50fa8903f15c40f8cccbadf3a4bc197366ea7e9cf80ed4fea0fbdfc55c6a7",
286
- "signature": "c16a6dd5d48f6cb7b3de76cbcd34c24e992beaaa91679b6b9a3e99189d0659e4",
285
+ "version": "6a88889944004d01d6c0863b8fcff1c8dbc53e7e8230de7577107e56db28d67c",
286
+ "signature": "c17c5e21740af97e6b20be9fd23ef58051921880c660e6356930a7e60e6feb6d",
287
287
  "affectsGlobalScope": false
288
288
  },
289
289
  "../src/_models/control-models/daily-usage-data.ts": {
@@ -292,13 +292,13 @@
292
292
  "affectsGlobalScope": false
293
293
  },
294
294
  "../src/_models/data-models/custom-data.ts": {
295
- "version": "a9c7842a3b4b85d98aec9690e2fe6eb76e7614513fef85cbf0a83908628fd917",
296
- "signature": "71f8fa5a038bec8bc0890a45542391059a73b0020522d443081e3f188bc88880",
295
+ "version": "733f05874ca7f8516043613457810d057d83547b5ac108cb68cf2d784044e1f8",
296
+ "signature": "37cdff3bdf6f7f08e0547f7e503ac79563686cf8d4090495dd5ccbe8b9982cb2",
297
297
  "affectsGlobalScope": false
298
298
  },
299
299
  "../src/_models/index.ts": {
300
- "version": "9224ce03f09c9203da258f550d0b29fcf622df361bdc74caaec2c8c3ed6e5adb",
301
- "signature": "4587b9b4790f277dfac95307df69b4957357f29b50051db0887a56fb0eb5a388",
300
+ "version": "3615bab1689e7419cd9ebd4d24ee65c109c71f925b6545ae2df6cb20fb44a419",
301
+ "signature": "96335bde5016beff41bb110ea6816e8a6af27fcf672170c2a05a20a5b660b0fc",
302
302
  "affectsGlobalScope": false
303
303
  },
304
304
  "../src/index.ts": {
@@ -307,18 +307,18 @@
307
307
  "affectsGlobalScope": false
308
308
  },
309
309
  "../src/_modules/data-modules.index.ts": {
310
- "version": "6aff425cace475b36a58753b77940e52ec12ab5f9f0b09b12f06ab4ea6ae775e",
311
- "signature": "4209f348e66139765ecbef652f6da67ddf99c945fe387787c8716f3419cd3c96",
310
+ "version": "82f6d333de9be888adcc26c2c26577c3c393d00968eaca6444967de6c5c66fd6",
311
+ "signature": "507551bdc86b07cd4f8ac316d1bde89dc27447175f48a27dd14e49c9e03ed84d",
312
312
  "affectsGlobalScope": false
313
313
  },
314
314
  "../src/_modules/error-module.index.ts": {
315
- "version": "d3330f4bdc936bb18d297e47e6dc41b85450c838a11f5850d0036651d0802e85",
316
- "signature": "876fb39cb6baca43743217e0e7f3ee8327de8b659b4b28cab982afaa40b25768",
315
+ "version": "7c6ad6baf91c9ad846d4d29fd6cbdc0ce52e5b7512d5c12112b16fe3501fdb8c",
316
+ "signature": "03403501bc2718d697a9a1322702f90eeb555a774d62f7ca9d42bf451d5e667c",
317
317
  "affectsGlobalScope": false
318
318
  },
319
319
  "../src/_modules/shared-service.index.ts": {
320
- "version": "e92eb068c6e1944013a903ec8d3aab3777a65ae7581b330da34063334884f500",
321
- "signature": "784c93b9ebee5cd60b29f3e91c18d22d60834485db930422c8a2e8751be35b4b",
320
+ "version": "329bcabfdb45234564776d7a60750bfa88ed8a73a8f0737022c12231ccc93fd9",
321
+ "signature": "9c94a05f87e4edf244d5912e92267e17b9aa1f0b4a68d1039aa1cb8a1b72d96a",
322
322
  "affectsGlobalScope": false
323
323
  },
324
324
  "../src/_modules/test-module.index.ts": {
@@ -1439,7 +1439,7 @@
1439
1439
  "../node_modules/@types/node/util.d.ts",
1440
1440
  "../src/_constants/times.ts",
1441
1441
  "../src/_enums/log-style.enum.ts",
1442
- "../src/_models/control-models/dynamobe-error.ts",
1442
+ "../src/_models/control-models/dynamo-nts-error.ts",
1443
1443
  "../src/_models/control-models/location-coordinates.ts"
1444
1444
  ],
1445
1445
  "../src/_collections/index.ts": [
@@ -1531,7 +1531,7 @@
1531
1531
  "../node_modules/@types/node/ts3.2/util.d.ts",
1532
1532
  "../node_modules/@types/node/util.d.ts"
1533
1533
  ],
1534
- "../src/_models/control-models/dynamobe-data-params.ts": [
1534
+ "../src/_models/control-models/dynamo-nts-data-params.ts": [
1535
1535
  "../node_modules/@types/node/fs.d.ts",
1536
1536
  "../node_modules/@types/node/process.d.ts",
1537
1537
  "../node_modules/@types/node/ts3.2/fs.d.ts",
@@ -1539,9 +1539,9 @@
1539
1539
  "../node_modules/@types/node/ts3.2/util.d.ts",
1540
1540
  "../node_modules/@types/node/util.d.ts",
1541
1541
  "../src/_enums/index.ts",
1542
- "../src/_models/control-models/dynamobe-data-property-params.ts"
1542
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts"
1543
1543
  ],
1544
- "../src/_models/control-models/dynamobe-data-property-params.ts": [
1544
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts": [
1545
1545
  "../node_modules/@types/node/fs.d.ts",
1546
1546
  "../node_modules/@types/node/process.d.ts",
1547
1547
  "../node_modules/@types/node/ts3.2/fs.d.ts",
@@ -1549,7 +1549,7 @@
1549
1549
  "../node_modules/@types/node/ts3.2/util.d.ts",
1550
1550
  "../node_modules/@types/node/util.d.ts"
1551
1551
  ],
1552
- "../src/_models/control-models/dynamobe-error.ts": [
1552
+ "../src/_models/control-models/dynamo-nts-error.ts": [
1553
1553
  "../node_modules/@types/node/fs.d.ts",
1554
1554
  "../node_modules/@types/node/process.d.ts",
1555
1555
  "../node_modules/@types/node/ts3.2/fs.d.ts",
@@ -1597,7 +1597,7 @@
1597
1597
  "../node_modules/@types/node/ts3.2/process.d.ts",
1598
1598
  "../node_modules/@types/node/ts3.2/util.d.ts",
1599
1599
  "../node_modules/@types/node/util.d.ts",
1600
- "../src/_models/control-models/dynamobe-data-params.ts",
1600
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
1601
1601
  "../src/_models/data-models/metadata.ts"
1602
1602
  ],
1603
1603
  "../src/_models/data-models/metadata.ts": [
@@ -1615,7 +1615,7 @@
1615
1615
  "../node_modules/@types/node/ts3.2/process.d.ts",
1616
1616
  "../node_modules/@types/node/ts3.2/util.d.ts",
1617
1617
  "../node_modules/@types/node/util.d.ts",
1618
- "../src/_models/control-models/dynamobe-data-params.ts",
1618
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
1619
1619
  "../src/_models/control-models/geo-ip-location.ts",
1620
1620
  "../src/_models/control-models/usage-data.ts",
1621
1621
  "../src/_models/data-models/metadata.ts"
@@ -1628,9 +1628,9 @@
1628
1628
  "../node_modules/@types/node/ts3.2/util.d.ts",
1629
1629
  "../node_modules/@types/node/util.d.ts",
1630
1630
  "../src/_models/control-models/daily-usage-data.ts",
1631
- "../src/_models/control-models/dynamobe-data-params.ts",
1632
- "../src/_models/control-models/dynamobe-data-property-params.ts",
1633
- "../src/_models/control-models/dynamobe-error.ts",
1631
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
1632
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts",
1633
+ "../src/_models/control-models/dynamo-nts-error.ts",
1634
1634
  "../src/_models/control-models/geo-ip-location.ts",
1635
1635
  "../src/_models/control-models/location-coordinates.ts",
1636
1636
  "../src/_models/control-models/usage-action.ts",
@@ -1647,9 +1647,9 @@
1647
1647
  "../node_modules/@types/node/ts3.2/util.d.ts",
1648
1648
  "../node_modules/@types/node/util.d.ts",
1649
1649
  "../src/_enums/data-model-type.enum.ts",
1650
- "../src/_models/control-models/dynamobe-data-params.ts",
1651
- "../src/_models/control-models/dynamobe-data-property-params.ts",
1652
- "../src/_models/control-models/dynamobe-error.ts",
1650
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
1651
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts",
1652
+ "../src/_models/control-models/dynamo-nts-error.ts",
1653
1653
  "../src/_models/data-models/metadata.ts"
1654
1654
  ],
1655
1655
  "../src/_modules/error-module.index.ts": [
@@ -1659,7 +1659,7 @@
1659
1659
  "../node_modules/@types/node/ts3.2/process.d.ts",
1660
1660
  "../node_modules/@types/node/ts3.2/util.d.ts",
1661
1661
  "../node_modules/@types/node/util.d.ts",
1662
- "../src/_models/control-models/dynamobe-error.ts"
1662
+ "../src/_models/control-models/dynamo-nts-error.ts"
1663
1663
  ],
1664
1664
  "../src/_modules/shared-service.index.ts": [
1665
1665
  "../node_modules/@types/node/fs.d.ts",
@@ -1671,7 +1671,7 @@
1671
1671
  "../src/_collections/dynamo-shared.service.ts",
1672
1672
  "../src/_constants/times.ts",
1673
1673
  "../src/_enums/log-style.enum.ts",
1674
- "../src/_models/control-models/dynamobe-error.ts",
1674
+ "../src/_models/control-models/dynamo-nts-error.ts",
1675
1675
  "../src/_models/control-models/geo-ip-location.ts",
1676
1676
  "../src/_models/control-models/location-coordinates.ts"
1677
1677
  ],
@@ -2551,28 +2551,28 @@
2551
2551
  "../src/_models/control-models/daily-usage-data.ts": [
2552
2552
  "../src/_models/data-models/usage-session.ts"
2553
2553
  ],
2554
- "../src/_models/control-models/dynamobe-data-params.ts": [
2554
+ "../src/_models/control-models/dynamo-nts-data-params.ts": [
2555
2555
  "../src/_enums/index.ts",
2556
- "../src/_models/control-models/dynamobe-data-property-params.ts"
2556
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts"
2557
2557
  ],
2558
2558
  "../src/_models/control-models/usage-data.ts": [
2559
2559
  "../src/_models/control-models/usage-action.ts"
2560
2560
  ],
2561
2561
  "../src/_models/data-models/custom-data.ts": [
2562
- "../src/_models/control-models/dynamobe-data-params.ts",
2562
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
2563
2563
  "../src/_models/data-models/metadata.ts"
2564
2564
  ],
2565
2565
  "../src/_models/data-models/usage-session.ts": [
2566
- "../src/_models/control-models/dynamobe-data-params.ts",
2566
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
2567
2567
  "../src/_models/control-models/geo-ip-location.ts",
2568
2568
  "../src/_models/control-models/usage-data.ts",
2569
2569
  "../src/_models/data-models/metadata.ts"
2570
2570
  ],
2571
2571
  "../src/_models/index.ts": [
2572
2572
  "../src/_models/control-models/daily-usage-data.ts",
2573
- "../src/_models/control-models/dynamobe-data-params.ts",
2574
- "../src/_models/control-models/dynamobe-data-property-params.ts",
2575
- "../src/_models/control-models/dynamobe-error.ts",
2573
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
2574
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts",
2575
+ "../src/_models/control-models/dynamo-nts-error.ts",
2576
2576
  "../src/_models/control-models/geo-ip-location.ts",
2577
2577
  "../src/_models/control-models/location-coordinates.ts",
2578
2578
  "../src/_models/control-models/usage-action.ts",
@@ -2583,19 +2583,19 @@
2583
2583
  ],
2584
2584
  "../src/_modules/data-modules.index.ts": [
2585
2585
  "../src/_enums/data-model-type.enum.ts",
2586
- "../src/_models/control-models/dynamobe-data-params.ts",
2587
- "../src/_models/control-models/dynamobe-data-property-params.ts",
2588
- "../src/_models/control-models/dynamobe-error.ts",
2586
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
2587
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts",
2588
+ "../src/_models/control-models/dynamo-nts-error.ts",
2589
2589
  "../src/_models/data-models/metadata.ts"
2590
2590
  ],
2591
2591
  "../src/_modules/error-module.index.ts": [
2592
- "../src/_models/control-models/dynamobe-error.ts"
2592
+ "../src/_models/control-models/dynamo-nts-error.ts"
2593
2593
  ],
2594
2594
  "../src/_modules/shared-service.index.ts": [
2595
2595
  "../src/_collections/dynamo-shared.service.ts",
2596
2596
  "../src/_constants/times.ts",
2597
2597
  "../src/_enums/log-style.enum.ts",
2598
- "../src/_models/control-models/dynamobe-error.ts",
2598
+ "../src/_models/control-models/dynamo-nts-error.ts",
2599
2599
  "../src/_models/control-models/geo-ip-location.ts",
2600
2600
  "../src/_models/control-models/location-coordinates.ts"
2601
2601
  ],
@@ -2719,9 +2719,9 @@
2719
2719
  "../src/_enums/log-style.enum.ts",
2720
2720
  "../src/_models/control-models/daily-usage-data.ts",
2721
2721
  "../src/_models/control-models/dynamo-module-settings.ts",
2722
- "../src/_models/control-models/dynamobe-data-params.ts",
2723
- "../src/_models/control-models/dynamobe-data-property-params.ts",
2724
- "../src/_models/control-models/dynamobe-error.ts",
2722
+ "../src/_models/control-models/dynamo-nts-data-params.ts",
2723
+ "../src/_models/control-models/dynamo-nts-data-property-params.ts",
2724
+ "../src/_models/control-models/dynamo-nts-error.ts",
2725
2725
  "../src/_models/control-models/geo-ip-location.ts",
2726
2726
  "../src/_models/control-models/location-coordinates.ts",
2727
2727
  "../src/_models/control-models/usage-action.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futdevpro/fsm-dynamo",
3
- "version": "01.05.22",
3
+ "version": "01.05.24",
4
4
  "description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Ltd.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -1,10 +1,10 @@
1
1
 
2
2
  import { day, hour, month, week, year } from '../_constants/times';
3
3
  import { LogStyle } from '../_enums/log-style.enum';
4
- import { DynamoBEError } from '../_models/control-models/dynamobe-error';
4
+ import { DynamoNTS_Error } from '../_models/control-models/dynamo-nts-error';
5
5
  import { LocationCoordinates } from '../_models/control-models/location-coordinates';
6
6
 
7
- export class D_Shared {
7
+ export class Dynamo_Shared {
8
8
 
9
9
  /**
10
10
  * returns remapped object list by path list
@@ -185,7 +185,7 @@ export class D_Shared {
185
185
  if (latitude) {
186
186
  return distanceInKm / (Math.cos(this.toRadians(latitude)) * 111.320);
187
187
  } else {
188
- throw new DynamoBEError({ status: 417, message: 'When using getLocationDegByKilometers for longitude, you need to give latitude!' });
188
+ throw new DynamoNTS_Error({ status: 417, message: 'When using getLocationDegByKilometers for longitude, you need to give latitude!' });
189
189
  }
190
190
  }
191
191
  }
@@ -1,18 +1,18 @@
1
1
 
2
2
  import { DataModelType } from '../../_enums';
3
- import { DynamoBEDataPropertyParams } from './dynamobe-data-property-params';
3
+ import { DynamoNTS_DataPropertyParams } from './dynamo-nts-data-property-params';
4
4
 
5
- export class DynamoBEDataParams {
5
+ export class DynamoNTS_DataParams {
6
6
  dataName: string;
7
7
  modelType?: DataModelType;
8
8
  dbName: string;
9
- modelParams: DynamoBEDataPropertyParams[];
9
+ modelParams: DynamoNTS_DataPropertyParams[];
10
10
 
11
11
  constructor(
12
12
  set: {
13
13
  dataName: string,
14
14
  modelType?: DataModelType,
15
- modelParams: DynamoBEDataPropertyParams[],
15
+ modelParams: DynamoNTS_DataPropertyParams[],
16
16
  }
17
17
  ) {
18
18
  this.dataName = set.dataName;
@@ -1,5 +1,5 @@
1
1
 
2
- export class DynamoBEDataPropertyParams {
2
+ export class DynamoNTS_DataPropertyParams {
3
3
  key?: string;
4
4
  type?: 'string' | 'number' | 'boolean' | 'Date' | 'object' | string;
5
5
 
@@ -13,7 +13,7 @@ export class DynamoBEDataPropertyParams {
13
13
  minlength?: number;
14
14
  maxlength?: number;
15
15
 
16
- subObjectParams?: DynamoBEDataPropertyParams[] = [];
16
+ subObjectParams?: DynamoNTS_DataPropertyParams[] = [];
17
17
 
18
18
  additionalValidators?: ((data: any) => void)[];
19
19
 
@@ -32,7 +32,7 @@ export class DynamoBEDataPropertyParams {
32
32
  minlength?: number,
33
33
  maxlength?: number,
34
34
 
35
- subObjectParams?: DynamoBEDataPropertyParams[],
35
+ subObjectParams?: DynamoNTS_DataPropertyParams[],
36
36
 
37
37
  additionalValidators?: ((data: any) => void)[],
38
38
  }
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
- export class DynamoBEError {
4
- flag = 'DYNAMO-BE ERROR OBJECT';
3
+ export class DynamoNTS_Error {
4
+ flag = 'DYNAMO-NTS ERROR OBJECT';
5
5
  handled: boolean;
6
6
  status: number;
7
7
  errors: any[] = [];
@@ -37,13 +37,15 @@ export class DynamoBEError {
37
37
  }
38
38
 
39
39
  if (set.error) {
40
- if (set.error instanceof DynamoBEError) {
40
+ if (set.error instanceof DynamoNTS_Error) {
41
41
  this.errors.push(set.error.error);
42
42
  } else {
43
43
  if (set.error.error) {
44
44
  this.errors.push(set.error.error);
45
45
  }
46
- this.errors.push(set.error);
46
+ if (set.error) {
47
+ this.errors.push(set.error);
48
+ }
47
49
  }
48
50
  if (set.error.message) {
49
51
  this.messages.push(set.error.message);
@@ -62,7 +64,7 @@ export class DynamoBEError {
62
64
  this.userMessages.push(set.userMessage)
63
65
  }
64
66
  if (set.consoleLog) {
65
- console.log(this);
67
+ console.error(this);
66
68
  }
67
69
  }
68
70
  }
@@ -1,5 +1,5 @@
1
1
 
2
- import { DynamoBEDataParams } from '../control-models/dynamobe-data-params';
2
+ import { DynamoNTS_DataParams } from '../control-models/dynamo-nts-data-params';
3
3
  import { Metadata } from './metadata';
4
4
 
5
5
  export class CustomData extends Metadata {
@@ -32,7 +32,7 @@ export class CustomData extends Metadata {
32
32
  }
33
33
  }
34
34
 
35
- export const customDataModelParams = new DynamoBEDataParams({
35
+ export const customDataModelParams = new DynamoNTS_DataParams({
36
36
  dataName: 'customData',
37
37
  modelParams: [
38
38
  { key: 'data', type: 'string', required: true },
@@ -19,12 +19,12 @@ export class Metadata {
19
19
  } | Metadata
20
20
  ){
21
21
  if (set) {
22
- this._id = set._id ? set._id : null;
23
- this.__created = set.__created ? set.__created : null;
24
- this.__createdBy = set.__createdBy ? set.__createdBy : null;
25
- this.__lastModified = set.__lastModified ? set.__lastModified : null;
26
- this.__lastModifiedBy = set.__lastModifiedBy ? set.__lastModifiedBy : null;
27
- this.__v = set.__v ? set.__v : null;
22
+ this._id = set._id ? set._id : undefined;
23
+ this.__created = set.__created ? set.__created : undefined;
24
+ this.__createdBy = set.__createdBy ? set.__createdBy : undefined;
25
+ this.__lastModified = set.__lastModified ? set.__lastModified : undefined;
26
+ this.__lastModifiedBy = set.__lastModifiedBy ? set.__lastModifiedBy : undefined;
27
+ this.__v = set.__v ? set.__v : undefined;
28
28
  }
29
29
  }
30
30
  }
@@ -2,7 +2,7 @@
2
2
  import { GeoIpLocation } from '../control-models/geo-ip-location';
3
3
  import { Metadata } from './metadata';
4
4
  import { DynamoUsageData } from '../control-models/usage-data';
5
- import { DynamoBEDataParams } from '../control-models/dynamobe-data-params';
5
+ import { DynamoNTS_DataParams } from '../control-models/dynamo-nts-data-params';
6
6
 
7
7
  export class DynamoUsageSession extends Metadata {
8
8
  date?: string;
@@ -65,7 +65,7 @@ export class DynamoUsageSession extends Metadata {
65
65
  }
66
66
  }
67
67
 
68
- export const usageSessionModelParams = new DynamoBEDataParams({
68
+ export const usageSessionModelParams = new DynamoNTS_DataParams({
69
69
  dataName: 'usageSession',
70
70
  modelParams: [
71
71
  { key: 'date', type: 'string',
@@ -2,9 +2,9 @@
2
2
  // MODELS
3
3
  // Control models
4
4
  export * from './control-models/daily-usage-data';
5
- export * from './control-models/dynamobe-data-params';
6
- export * from './control-models/dynamobe-data-property-params';
7
- export * from './control-models/dynamobe-error';
5
+ export * from './control-models/dynamo-nts-data-params';
6
+ export * from './control-models/dynamo-nts-data-property-params';
7
+ export * from './control-models/dynamo-nts-error';
8
8
  export * from './control-models/geo-ip-location';
9
9
  export * from './control-models/location-coordinates';
10
10
  export * from './control-models/usage-action';
@@ -1,9 +1,9 @@
1
1
 
2
2
  // DATA MODULE
3
3
  export * from '../_models/data-models/metadata';
4
- export * from '../_models/control-models/dynamobe-data-params';
5
- export * from '../_models/control-models/dynamobe-data-property-params';
6
- export * from '../_models/control-models/dynamobe-error';
4
+ export * from '../_models/control-models/dynamo-nts-data-params';
5
+ export * from '../_models/control-models/dynamo-nts-data-property-params';
6
+ export * from '../_models/control-models/dynamo-nts-error';
7
7
  export * from '../_enums/data-model-type.enum';
8
8
 
9
9
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  // ERROR MODULE
3
- export * from '../_models/control-models/dynamobe-error';
3
+ export * from '../_models/control-models/dynamo-nts-error';
4
4
 
5
5
 
@@ -3,6 +3,6 @@
3
3
  export * from '../_collections/dynamo-shared.service';
4
4
  export * from '../_constants/times';
5
5
  export * from '../_enums/log-style.enum';
6
- export * from '../_models/control-models/dynamobe-error';
6
+ export * from '../_models/control-models/dynamo-nts-error';
7
7
  export * from '../_models/control-models/location-coordinates';
8
8
  export * from '../_models/control-models/geo-ip-location';