@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.
- package/lib/_collections/dynamo-shared.service.d.ts +1 -1
- package/lib/_collections/dynamo-shared.service.d.ts.map +1 -1
- package/lib/_collections/dynamo-shared.service.js +5 -5
- package/lib/_collections/dynamo-shared.service.js.map +1 -1
- package/lib/_models/control-models/dynamo-nts-data-params.d.ts +14 -0
- package/lib/_models/control-models/dynamo-nts-data-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-params.js +19 -0
- package/lib/_models/control-models/dynamo-nts-data-params.js.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts +28 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.js +57 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.js.map +1 -0
- package/lib/_models/control-models/dynamo-nts-error.d.ts +19 -0
- package/lib/_models/control-models/dynamo-nts-error.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-error.js +190 -0
- package/lib/_models/control-models/dynamo-nts-error.js.map +1 -0
- package/lib/_models/data-models/custom-data.d.ts +2 -2
- package/lib/_models/data-models/custom-data.d.ts.map +1 -1
- package/lib/_models/data-models/custom-data.js +2 -2
- package/lib/_models/data-models/custom-data.js.map +1 -1
- package/lib/_models/data-models/metadata.js +6 -6
- package/lib/_models/data-models/metadata.js.map +1 -1
- package/lib/_models/data-models/usage-session.d.ts +2 -2
- package/lib/_models/data-models/usage-session.d.ts.map +1 -1
- package/lib/_models/data-models/usage-session.js +2 -2
- package/lib/_models/data-models/usage-session.js.map +1 -1
- package/lib/_models/index.d.ts +3 -3
- package/lib/_models/index.d.ts.map +1 -1
- package/lib/_models/index.js +3 -3
- package/lib/_models/index.js.map +1 -1
- package/lib/_modules/data-modules.index.d.ts +3 -3
- package/lib/_modules/data-modules.index.d.ts.map +1 -1
- package/lib/_modules/data-modules.index.js +3 -3
- package/lib/_modules/data-modules.index.js.map +1 -1
- package/lib/_modules/error-module.index.d.ts +1 -1
- package/lib/_modules/error-module.index.d.ts.map +1 -1
- package/lib/_modules/error-module.index.js +1 -1
- package/lib/_modules/error-module.index.js.map +1 -1
- package/lib/_modules/shared-service.index.d.ts +1 -1
- package/lib/_modules/shared-service.index.d.ts.map +1 -1
- package/lib/_modules/shared-service.index.js +1 -1
- package/lib/_modules/shared-service.index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +54 -54
- package/package.json +1 -1
- package/src/_collections/dynamo-shared.service.ts +3 -3
- package/src/_models/control-models/{dynamobe-data-params.ts → dynamo-nts-data-params.ts} +4 -4
- package/src/_models/control-models/{dynamobe-data-property-params.ts → dynamo-nts-data-property-params.ts} +3 -3
- package/src/_models/control-models/{dynamobe-error.ts → dynamo-nts-error.ts} +7 -5
- package/src/_models/data-models/custom-data.ts +2 -2
- package/src/_models/data-models/metadata.ts +6 -6
- package/src/_models/data-models/usage-session.ts +2 -2
- package/src/_models/index.ts +3 -3
- package/src/_modules/data-modules.index.ts +3 -3
- package/src/_modules/error-module.index.ts +1 -1
- 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,
|
|
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/
|
|
7
|
-
tslib_1.__exportStar(require("../_models/control-models/
|
|
8
|
-
tslib_1.__exportStar(require("../_models/control-models/
|
|
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,
|
|
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/
|
|
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,
|
|
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/
|
|
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,
|
|
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/
|
|
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,
|
|
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/
|
|
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,
|
|
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"}
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -201,9 +201,9 @@
|
|
|
201
201
|
"signature": "c26555c149dcd8b1647cce3f4bc4fbf2e14a0cdc63151dbb2cba5355c7409979",
|
|
202
202
|
"affectsGlobalScope": false
|
|
203
203
|
},
|
|
204
|
-
"../src/_models/control-models/
|
|
205
|
-
"version": "
|
|
206
|
-
"signature": "
|
|
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": "
|
|
216
|
-
"signature": "
|
|
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": "
|
|
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/
|
|
275
|
-
"version": "
|
|
276
|
-
"signature": "
|
|
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/
|
|
280
|
-
"version": "
|
|
281
|
-
"signature": "
|
|
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": "
|
|
286
|
-
"signature": "
|
|
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": "
|
|
296
|
-
"signature": "
|
|
295
|
+
"version": "733f05874ca7f8516043613457810d057d83547b5ac108cb68cf2d784044e1f8",
|
|
296
|
+
"signature": "37cdff3bdf6f7f08e0547f7e503ac79563686cf8d4090495dd5ccbe8b9982cb2",
|
|
297
297
|
"affectsGlobalScope": false
|
|
298
298
|
},
|
|
299
299
|
"../src/_models/index.ts": {
|
|
300
|
-
"version": "
|
|
301
|
-
"signature": "
|
|
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": "
|
|
311
|
-
"signature": "
|
|
310
|
+
"version": "82f6d333de9be888adcc26c2c26577c3c393d00968eaca6444967de6c5c66fd6",
|
|
311
|
+
"signature": "507551bdc86b07cd4f8ac316d1bde89dc27447175f48a27dd14e49c9e03ed84d",
|
|
312
312
|
"affectsGlobalScope": false
|
|
313
313
|
},
|
|
314
314
|
"../src/_modules/error-module.index.ts": {
|
|
315
|
-
"version": "
|
|
316
|
-
"signature": "
|
|
315
|
+
"version": "7c6ad6baf91c9ad846d4d29fd6cbdc0ce52e5b7512d5c12112b16fe3501fdb8c",
|
|
316
|
+
"signature": "03403501bc2718d697a9a1322702f90eeb555a774d62f7ca9d42bf451d5e667c",
|
|
317
317
|
"affectsGlobalScope": false
|
|
318
318
|
},
|
|
319
319
|
"../src/_modules/shared-service.index.ts": {
|
|
320
|
-
"version": "
|
|
321
|
-
"signature": "
|
|
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/
|
|
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/
|
|
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/
|
|
1542
|
+
"../src/_models/control-models/dynamo-nts-data-property-params.ts"
|
|
1543
1543
|
],
|
|
1544
|
-
"../src/_models/control-models/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
1632
|
-
"../src/_models/control-models/
|
|
1633
|
-
"../src/_models/control-models/
|
|
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/
|
|
1651
|
-
"../src/_models/control-models/
|
|
1652
|
-
"../src/_models/control-models/
|
|
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/
|
|
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/
|
|
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/
|
|
2554
|
+
"../src/_models/control-models/dynamo-nts-data-params.ts": [
|
|
2555
2555
|
"../src/_enums/index.ts",
|
|
2556
|
-
"../src/_models/control-models/
|
|
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/
|
|
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/
|
|
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/
|
|
2574
|
-
"../src/_models/control-models/
|
|
2575
|
-
"../src/_models/control-models/
|
|
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/
|
|
2587
|
-
"../src/_models/control-models/
|
|
2588
|
-
"../src/_models/control-models/
|
|
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/
|
|
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/
|
|
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/
|
|
2723
|
-
"../src/_models/control-models/
|
|
2724
|
-
"../src/_models/control-models/
|
|
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.
|
|
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 {
|
|
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
|
|
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
|
|
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 {
|
|
3
|
+
import { DynamoNTS_DataPropertyParams } from './dynamo-nts-data-property-params';
|
|
4
4
|
|
|
5
|
-
export class
|
|
5
|
+
export class DynamoNTS_DataParams {
|
|
6
6
|
dataName: string;
|
|
7
7
|
modelType?: DataModelType;
|
|
8
8
|
dbName: string;
|
|
9
|
-
modelParams:
|
|
9
|
+
modelParams: DynamoNTS_DataPropertyParams[];
|
|
10
10
|
|
|
11
11
|
constructor(
|
|
12
12
|
set: {
|
|
13
13
|
dataName: string,
|
|
14
14
|
modelType?: DataModelType,
|
|
15
|
-
modelParams:
|
|
15
|
+
modelParams: DynamoNTS_DataPropertyParams[],
|
|
16
16
|
}
|
|
17
17
|
) {
|
|
18
18
|
this.dataName = set.dataName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
export class
|
|
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?:
|
|
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?:
|
|
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
|
|
4
|
-
flag = 'DYNAMO-
|
|
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
|
|
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
|
-
|
|
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.
|
|
67
|
+
console.error(this);
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
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
|
|
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 :
|
|
23
|
-
this.__created = set.__created ? set.__created :
|
|
24
|
-
this.__createdBy = set.__createdBy ? set.__createdBy :
|
|
25
|
-
this.__lastModified = set.__lastModified ? set.__lastModified :
|
|
26
|
-
this.__lastModifiedBy = set.__lastModifiedBy ? set.__lastModifiedBy :
|
|
27
|
-
this.__v = set.__v ? set.__v :
|
|
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 {
|
|
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
|
|
68
|
+
export const usageSessionModelParams = new DynamoNTS_DataParams({
|
|
69
69
|
dataName: 'usageSession',
|
|
70
70
|
modelParams: [
|
|
71
71
|
{ key: 'date', type: 'string',
|
package/src/_models/index.ts
CHANGED
|
@@ -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/
|
|
6
|
-
export * from './control-models/
|
|
7
|
-
export * from './control-models/
|
|
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/
|
|
5
|
-
export * from '../_models/control-models/
|
|
6
|
-
export * from '../_models/control-models/
|
|
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
|
|
|
@@ -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/
|
|
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';
|