@futdevpro/nts-dynamo 1.5.77 → 1.5.83
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/LICENSE +2 -2
- package/lib/_constants/dynamo-nts-global-settings.d.ts +2 -2
- package/lib/_constants/dynamo-nts-global-settings.js +17 -17
- package/lib/_constants/index.d.ts +1 -1
- package/lib/_constants/index.js +4 -4
- package/lib/_enums/data-model-type.enum.d.ts +12 -12
- package/lib/_enums/data-model-type.enum.js +16 -16
- package/lib/_enums/data-model-type.enum.js.map +1 -1
- package/lib/_enums/dynamo-nts-data-service-function.enum.d.ts +12 -12
- package/lib/_enums/dynamo-nts-data-service-function.enum.js +18 -18
- package/lib/_enums/dynamo-nts-data-service-function.enum.js.map +1 -1
- package/lib/_enums/dynamo-nts-route-security.enum.d.ts +11 -11
- package/lib/_enums/dynamo-nts-route-security.enum.js +15 -15
- package/lib/_enums/dynamo-nts-route-security.enum.js.map +1 -1
- package/lib/_enums/dynamo-nts-socket-security.enum.d.ts +10 -10
- package/lib/_enums/dynamo-nts-socket-security.enum.js +14 -14
- package/lib/_enums/dynamo-nts-socket-security.enum.js.map +1 -1
- package/lib/_enums/http/http-call-type.enum.d.ts +11 -11
- package/lib/_enums/http/http-call-type.enum.js +15 -15
- package/lib/_enums/http/http-call-type.enum.js.map +1 -1
- package/lib/_enums/http/http-response-type.enum.d.ts +6 -6
- package/lib/_enums/http/http-response-type.enum.js +10 -10
- package/lib/_enums/http/http-response-type.enum.js.map +1 -1
- package/lib/_enums/http/socket-event.enum.d.ts +9 -8
- package/lib/_enums/http/socket-event.enum.d.ts.map +1 -1
- package/lib/_enums/http/socket-event.enum.js +13 -12
- package/lib/_enums/http/socket-event.enum.js.map +1 -1
- package/lib/_enums/index.d.ts +8 -8
- package/lib/_enums/index.js +13 -13
- package/lib/_enums/predefined-data-types.enum.d.ts +10 -10
- package/lib/_enums/predefined-data-types.enum.js +14 -14
- package/lib/_enums/predefined-data-types.enum.js.map +1 -1
- package/lib/_interfaces/certification-settings.interface.d.ts +7 -0
- package/lib/_interfaces/certification-settings.interface.d.ts.map +1 -0
- package/lib/_interfaces/certification-settings.interface.js +3 -0
- package/lib/_interfaces/certification-settings.interface.js.map +1 -0
- package/lib/_interfaces/global-service-settings.interface.d.ts +18 -0
- package/lib/_interfaces/global-service-settings.interface.d.ts.map +1 -0
- package/lib/_interfaces/global-service-settings.interface.js +3 -0
- package/lib/_interfaces/global-service-settings.interface.js.map +1 -0
- package/lib/_interfaces/index.d.ts +1 -0
- package/lib/_interfaces/index.d.ts.map +1 -0
- package/lib/_interfaces/index.js +4 -0
- package/lib/_interfaces/index.js.map +1 -0
- package/lib/_interfaces/port-settings.interface.d.ts +5 -0
- package/lib/_interfaces/port-settings.interface.d.ts.map +1 -0
- package/lib/_interfaces/port-settings.interface.js +3 -0
- package/lib/_interfaces/port-settings.interface.js.map +1 -0
- package/lib/_models/dynamo-nts-api-call-params.d.ts +95 -95
- package/lib/_models/dynamo-nts-api-call-params.js +47 -47
- package/lib/_models/dynamo-nts-app-params.d.ts +49 -49
- package/lib/_models/dynamo-nts-app-params.js +17 -17
- package/lib/_models/dynamo-nts-endpoint-params.d.ts +80 -80
- package/lib/_models/dynamo-nts-endpoint-params.js +139 -139
- package/lib/_models/dynamo-nts-global-settings.d.ts +53 -53
- package/lib/_models/dynamo-nts-global-settings.js +2 -2
- package/lib/_models/dynamo-nts-routing-module-settings.d.ts +19 -19
- package/lib/_models/dynamo-nts-routing-module-settings.js +2 -2
- package/lib/_models/dynamo-nts-socket-event-params.d.ts +32 -30
- package/lib/_models/dynamo-nts-socket-event-params.d.ts.map +1 -1
- package/lib/_models/dynamo-nts-socket-event-params.js +80 -79
- package/lib/_models/dynamo-nts-socket-event-params.js.map +1 -1
- package/lib/_models/dynamo-nts-socket-presence.d.ts +21 -0
- package/lib/_models/dynamo-nts-socket-presence.d.ts.map +1 -0
- package/lib/_models/dynamo-nts-socket-presence.js +45 -0
- package/lib/_models/dynamo-nts-socket-presence.js.map +1 -0
- package/lib/_models/dynamo-nts-socket-service-params.d.ts +18 -18
- package/lib/_models/dynamo-nts-socket-service-params.d.ts.map +1 -1
- package/lib/_models/dynamo-nts-socket-service-params.js +26 -26
- package/lib/_models/dynamo-nts-socket-service-params.js.map +1 -1
- package/lib/_models/index.d.ts +7 -8
- package/lib/_models/index.d.ts.map +1 -1
- package/lib/_models/index.js +12 -12
- package/lib/_models/index.js.map +1 -1
- package/lib/_modules/api-service.index.d.ts +5 -5
- package/lib/_modules/api-service.index.js +11 -11
- package/lib/_modules/app-extended.index.d.ts +15 -12
- package/lib/_modules/app-extended.index.d.ts.map +1 -1
- package/lib/_modules/app-extended.index.js +23 -19
- package/lib/_modules/app-extended.index.js.map +1 -1
- package/lib/_modules/app.index.d.ts +13 -10
- package/lib/_modules/app.index.d.ts.map +1 -1
- package/lib/_modules/app.index.js +21 -17
- package/lib/_modules/app.index.js.map +1 -1
- package/lib/_modules/auth.index.d.ts +3 -3
- package/lib/_modules/auth.index.js +8 -8
- package/lib/_modules/constants.index.d.ts +1 -1
- package/lib/_modules/constants.index.js +4 -4
- package/lib/_modules/controller.index.d.ts +4 -4
- package/lib/_modules/controller.index.js +10 -10
- package/lib/_modules/custom-data/custom-data.controller.d.ts +5 -5
- package/lib/_modules/custom-data/custom-data.controller.js +55 -55
- package/lib/_modules/custom-data/custom-data.service.d.ts +5 -5
- package/lib/_modules/custom-data/custom-data.service.js +11 -11
- package/lib/_modules/custom-data/get-custom-data-routing-module.d.ts +3 -3
- package/lib/_modules/custom-data/get-custom-data-routing-module.js +17 -17
- package/lib/_modules/custom-data/index.d.ts +4 -4
- package/lib/_modules/custom-data/index.js +8 -8
- package/lib/_modules/custom-data-module.index.d.ts +1 -1
- package/lib/_modules/custom-data-module.index.js +4 -4
- package/lib/_modules/data-service.index.d.ts +5 -5
- package/lib/_modules/data-service.index.js +10 -10
- package/lib/_modules/email.index.d.ts +3 -3
- package/lib/_modules/email.index.js +8 -8
- package/lib/_modules/enums.index.d.ts +1 -1
- package/lib/_modules/enums.index.js +4 -4
- package/lib/_modules/models.index.d.ts +1 -1
- package/lib/_modules/models.index.js +4 -4
- package/lib/_modules/services.index.d.ts +1 -1
- package/lib/_modules/services.index.js +4 -4
- package/lib/_modules/test/get-test-routing-module.d.ts +3 -3
- package/lib/_modules/test/get-test-routing-module.js +17 -17
- package/lib/_modules/test/index.d.ts +3 -3
- package/lib/_modules/test/index.js +7 -7
- package/lib/_modules/test/test.controller.d.ts +5 -5
- package/lib/_modules/test/test.controller.js +104 -104
- package/lib/_modules/test-module.index.d.ts +1 -1
- package/lib/_modules/test-module.index.js +4 -4
- package/lib/_modules/usage/get-usage-routing-module.d.ts +3 -3
- package/lib/_modules/usage/get-usage-routing-module.js +17 -17
- package/lib/_modules/usage/index.d.ts +4 -4
- package/lib/_modules/usage/index.js +8 -8
- package/lib/_modules/usage/usage-controller.d.ts +6 -6
- package/lib/_modules/usage/usage-controller.js +88 -88
- package/lib/_modules/usage/usage.service.d.ts +16 -16
- package/lib/_modules/usage/usage.service.js +132 -132
- package/lib/_modules/usage-module.index.d.ts +1 -1
- package/lib/_modules/usage-module.index.js +4 -4
- package/lib/_services/dynamo-nts-api.service.d.ts +34 -34
- package/lib/_services/dynamo-nts-api.service.js +188 -188
- package/lib/_services/dynamo-nts-app-extended.d.ts +128 -128
- package/lib/_services/dynamo-nts-app-extended.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-app-extended.js +212 -212
- package/lib/_services/dynamo-nts-app-extended.js.map +1 -1
- package/lib/_services/dynamo-nts-app.d.ts +270 -278
- package/lib/_services/dynamo-nts-app.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-app.js +371 -371
- package/lib/_services/dynamo-nts-app.js.map +1 -1
- package/lib/_services/dynamo-nts-app.spec.d.ts +1 -0
- package/lib/_services/dynamo-nts-app.spec.d.ts.map +1 -0
- package/lib/_services/dynamo-nts-app.spec.js +10 -0
- package/lib/_services/dynamo-nts-app.spec.js.map +1 -0
- package/lib/_services/dynamo-nts-auth.service.d.ts +127 -127
- package/lib/_services/dynamo-nts-auth.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.js +53 -53
- package/lib/_services/dynamo-nts-auth.service.js.map +1 -1
- package/lib/_services/dynamo-nts-controller.service.d.ts +105 -105
- package/lib/_services/dynamo-nts-controller.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-controller.service.js +57 -57
- package/lib/_services/dynamo-nts-controller.service.js.map +1 -1
- package/lib/_services/dynamo-nts-data.service.d.ts +230 -230
- package/lib/_services/dynamo-nts-data.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-data.service.js +689 -689
- package/lib/_services/dynamo-nts-data.service.js.map +1 -1
- package/lib/_services/dynamo-nts-db-service-collection.service.d.ts +8 -8
- package/lib/_services/dynamo-nts-db-service-collection.service.js +10 -10
- package/lib/_services/dynamo-nts-db.service.d.ts +386 -312
- package/lib/_services/dynamo-nts-db.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-db.service.js +856 -856
- package/lib/_services/dynamo-nts-db.service.js.map +1 -1
- package/lib/_services/dynamo-nts-email-service-collection.service.d.ts +18 -18
- package/lib/_services/dynamo-nts-email-service-collection.service.js +20 -20
- package/lib/_services/dynamo-nts-email.service.d.ts +56 -56
- package/lib/_services/dynamo-nts-email.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-email.service.js +203 -203
- package/lib/_services/dynamo-nts-email.service.js.map +1 -1
- package/lib/_services/dynamo-nts-global.service.d.ts +71 -84
- package/lib/_services/dynamo-nts-global.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-global.service.js +156 -156
- package/lib/_services/dynamo-nts-global.service.js.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.d.ts +76 -76
- package/lib/_services/dynamo-nts-routing-module.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.js +191 -191
- package/lib/_services/dynamo-nts-routing-module.service.js.map +1 -1
- package/lib/_services/dynamo-nts-shared.service.d.ts +31 -31
- package/lib/_services/dynamo-nts-shared.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-shared.service.js +70 -70
- package/lib/_services/dynamo-nts-shared.service.js.map +1 -1
- package/lib/_services/dynamo-nts-shared.service.spec.d.ts +2 -0
- package/lib/_services/dynamo-nts-shared.service.spec.d.ts.map +1 -0
- package/lib/_services/dynamo-nts-shared.service.spec.js +12 -0
- package/lib/_services/dynamo-nts-shared.service.spec.js.map +1 -0
- package/lib/_services/dynamo-nts-singleton.service.d.ts +8 -8
- package/lib/_services/dynamo-nts-singleton.service.js +18 -18
- package/lib/_services/dynamo-nts-singleton.service.js.map +1 -1
- package/lib/_services/dynamo-nts-socket-service-collection.service.d.ts +9 -9
- package/lib/_services/dynamo-nts-socket-service-collection.service.js +13 -13
- package/lib/_services/dynamo-nts-socket.service.d.ts +57 -45
- package/lib/_services/dynamo-nts-socket.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.js +188 -165
- package/lib/_services/dynamo-nts-socket.service.js.map +1 -1
- package/lib/_services/index.d.ts +14 -16
- package/lib/_services/index.d.ts.map +1 -1
- package/lib/_services/index.js +20 -20
- package/lib/_services/index.js.map +1 -1
- package/lib/index.d.ts +6 -6
- package/lib/index.js +14 -14
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package SAVE.json +216 -0
- package/package-NEW with test but not working.json +228 -0
- package/package.json +14 -8
- package/spec/support/jasmine.json +14 -0
- package/src/_enums/http/socket-event.enum.ts +2 -1
- package/src/_interfaces/certification-settings.interface.ts +7 -0
- package/src/_interfaces/global-service-settings.interface.ts +23 -0
- package/src/_interfaces/index.ts +5 -0
- package/src/_interfaces/port-settings.interface.ts +5 -0
- package/src/_models/dynamo-nts-socket-event-params.ts +23 -21
- package/src/_models/{dynamo-nts-socket-dictionary.ts → dynamo-nts-socket-presence.ts} +21 -5
- package/src/_models/dynamo-nts-socket-service-params.ts +1 -0
- package/src/_models/index.ts +2 -2
- package/src/_modules/app-extended.index.ts +7 -2
- package/src/_modules/app.index.ts +5 -0
- package/src/_services/dynamo-nts-app-extended.ts +6 -2
- package/src/_services/dynamo-nts-app.spec.ts +14 -0
- package/src/_services/dynamo-nts-app.ts +8 -14
- package/src/_services/dynamo-nts-auth.service.ts +1 -0
- package/src/_services/dynamo-nts-controller.service.ts +2 -1
- package/src/_services/dynamo-nts-data.service.ts +19 -19
- package/src/_services/dynamo-nts-db.service.ts +195 -115
- package/src/_services/dynamo-nts-email.service.ts +1 -0
- package/src/_services/dynamo-nts-global.service.ts +3 -18
- package/src/_services/dynamo-nts-routing-module.service.ts +1 -0
- package/src/_services/dynamo-nts-shared.service.spec.ts +10 -0
- package/src/_services/dynamo-nts-shared.service.ts +2 -1
- package/src/_services/dynamo-nts-socket.service.ts +80 -41
- package/src/_services/index.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-controller.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-controller.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dynamo-nts-controller.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-controller.service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,8BAAsB,oBAAqB,SAAQ,0BAA0B;IAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,SAAS,EAAE,wBAAwB,EAAE,CAAC;IAEtC,SAAS;IAUT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,QAAQ,CAAC,cAAc,IAAI,IAAI;CAChC"}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoNTS_Controller = void 0;
|
|
4
|
-
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
|
-
const dynamo_nts_singleton_service_1 = require("./dynamo-nts-singleton.service");
|
|
6
|
-
/**
|
|
7
|
-
* Basic controller for endpoint handlings
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* export class UserMatchStatisticsController extends DynamoNTS_Controller {
|
|
11
|
-
*
|
|
12
|
-
* static getInstance(): UserMatchStatisticsController {
|
|
13
|
-
* return UserMatchStatisticsController.getSingletonInstance();
|
|
14
|
-
* }
|
|
15
|
-
*
|
|
16
|
-
* // SERVICES
|
|
17
|
-
* private authService: AuthService;
|
|
18
|
-
*
|
|
19
|
-
* setupEndpoints(): void {
|
|
20
|
-
* this.authService = AuthService.getInstance();
|
|
21
|
-
*
|
|
22
|
-
* this.endpoints = [
|
|
23
|
-
* new DynamoNTS_EndpointParams({
|
|
24
|
-
* name: 'getUserMatchStatistics',
|
|
25
|
-
* type: HttpCallType.get,
|
|
26
|
-
* endpoint: '/get/user-match-statistics/:userId',
|
|
27
|
-
* preProcessess: [ this.authService.authenticateTokenSelf ],
|
|
28
|
-
* tasks: [
|
|
29
|
-
* async (req: Request, res: Response) => {
|
|
30
|
-
* const userMatchStatistics = new UserMatchStatisticsService({
|
|
31
|
-
* data: { userId: req.params.userId }
|
|
32
|
-
* });
|
|
33
|
-
*
|
|
34
|
-
* await userMatchStatistics.getDataByDependencyId();
|
|
35
|
-
*
|
|
36
|
-
* res.send(
|
|
37
|
-
* userMatchStatistics.data
|
|
38
|
-
* );
|
|
39
|
-
* }
|
|
40
|
-
* ]
|
|
41
|
-
* }),
|
|
42
|
-
* ];
|
|
43
|
-
* }
|
|
44
|
-
* }
|
|
45
|
-
*/
|
|
46
|
-
class DynamoNTS_Controller extends dynamo_nts_singleton_service_1.DynamoNTS_SingletonService {
|
|
47
|
-
constructor() {
|
|
48
|
-
super();
|
|
49
|
-
try {
|
|
50
|
-
this.setupEndpoints();
|
|
51
|
-
}
|
|
52
|
-
catch (error) {
|
|
53
|
-
fsm_dynamo_1.Dynamo_Log.error(`DynamoBEController ERROR setup failed:`, error);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.DynamoNTS_Controller = DynamoNTS_Controller;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoNTS_Controller = void 0;
|
|
4
|
+
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
5
|
+
const dynamo_nts_singleton_service_1 = require("./dynamo-nts-singleton.service");
|
|
6
|
+
/**
|
|
7
|
+
* Basic controller for endpoint handlings
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* export class UserMatchStatisticsController extends DynamoNTS_Controller {
|
|
11
|
+
*
|
|
12
|
+
* static getInstance(): UserMatchStatisticsController {
|
|
13
|
+
* return UserMatchStatisticsController.getSingletonInstance();
|
|
14
|
+
* }
|
|
15
|
+
*
|
|
16
|
+
* // SERVICES
|
|
17
|
+
* private authService: AuthService;
|
|
18
|
+
*
|
|
19
|
+
* setupEndpoints(): void {
|
|
20
|
+
* this.authService = AuthService.getInstance();
|
|
21
|
+
*
|
|
22
|
+
* this.endpoints = [
|
|
23
|
+
* new DynamoNTS_EndpointParams({
|
|
24
|
+
* name: 'getUserMatchStatistics',
|
|
25
|
+
* type: HttpCallType.get,
|
|
26
|
+
* endpoint: '/get/user-match-statistics/:userId',
|
|
27
|
+
* preProcessess: [ this.authService.authenticateTokenSelf ],
|
|
28
|
+
* tasks: [
|
|
29
|
+
* async (req: Request, res: Response) => {
|
|
30
|
+
* const userMatchStatistics = new UserMatchStatisticsService({
|
|
31
|
+
* data: { userId: req.params.userId }
|
|
32
|
+
* });
|
|
33
|
+
*
|
|
34
|
+
* await userMatchStatistics.getDataByDependencyId();
|
|
35
|
+
*
|
|
36
|
+
* res.send(
|
|
37
|
+
* userMatchStatistics.data
|
|
38
|
+
* );
|
|
39
|
+
* }
|
|
40
|
+
* ]
|
|
41
|
+
* }),
|
|
42
|
+
* ];
|
|
43
|
+
* }
|
|
44
|
+
* }
|
|
45
|
+
*/
|
|
46
|
+
class DynamoNTS_Controller extends dynamo_nts_singleton_service_1.DynamoNTS_SingletonService {
|
|
47
|
+
constructor() {
|
|
48
|
+
super();
|
|
49
|
+
try {
|
|
50
|
+
this.setupEndpoints();
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
fsm_dynamo_1.Dynamo_Log.error(`DynamoBEController ERROR setup failed:`, error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DynamoNTS_Controller = DynamoNTS_Controller;
|
|
58
58
|
//# sourceMappingURL=dynamo-nts-controller.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-controller.service.js","sourceRoot":"","sources":["../../src/_services/dynamo-nts-controller.service.ts"],"names":[],"mappings":";;;AAEA,sDAAmD;AAEnD,iFAA4E;
|
|
1
|
+
{"version":3,"file":"dynamo-nts-controller.service.js","sourceRoot":"","sources":["../../src/_services/dynamo-nts-controller.service.ts"],"names":[],"mappings":";;;AAEA,sDAAmD;AAEnD,iFAA4E;AAG5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAsB,oBAAqB,SAAQ,yDAA0B;IA+B3E;QACE,KAAK,EAAE,CAAC;QAER,IAAI;YACF,IAAI,CAAC,cAAc,EAAE,CAAC;SACvB;QAAC,OAAO,KAAK,EAAE;YACd,uBAAU,CAAC,KAAK,CAAC,wCAAwC,EAAE,KAAK,CAAC,CAAC;SACnE;IACH,CAAC;CAkCF;AAzED,oDAyEC"}
|
|
@@ -1,231 +1,231 @@
|
|
|
1
|
-
import { Dynamo_Metadata, Dynamo_DataParams } from '@futdevpro/fsm-dynamo';
|
|
2
|
-
import { DynamoNTS_DBService } from './dynamo-nts-db.service';
|
|
3
|
-
/**
|
|
4
|
-
* Basic Data Service that is connected to the relevant DBServices
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* export class UserMatchStatisticsService extends DynamoNTS_DataService<UserMatchStatistics> {
|
|
8
|
-
* constructor(
|
|
9
|
-
* set?: {
|
|
10
|
-
* data?: UserMatchStatistics,
|
|
11
|
-
* issuer?: string,
|
|
12
|
-
* }
|
|
13
|
-
* ) {
|
|
14
|
-
* super(
|
|
15
|
-
* new UserMatchStatistics(set?.data),
|
|
16
|
-
* userMatchStatisticsModelParams
|
|
17
|
-
* );
|
|
18
|
-
* this.issuer = set?.issuer;
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
21
|
-
*/
|
|
22
|
-
export declare class DynamoNTS_DataService<T extends Dynamo_Metadata> {
|
|
23
|
-
dataDBService: DynamoNTS_DBService<T>;
|
|
24
|
-
data: T;
|
|
25
|
-
dataList: T[];
|
|
26
|
-
issuer: string;
|
|
27
|
-
depKey?: string;
|
|
28
|
-
depDBServiceKey?: string;
|
|
29
|
-
depKeyIsUnique?: boolean;
|
|
30
|
-
private depDataDBService;
|
|
31
|
-
dataParams: Dynamo_DataParams;
|
|
32
|
-
defaultErrorUserMsg: string;
|
|
33
|
-
defaultValidationErrorUserMsg: string;
|
|
34
|
-
constructor(
|
|
35
|
-
/**
|
|
36
|
-
* Initial data, this will be used by functions on default
|
|
37
|
-
*/
|
|
38
|
-
data: T,
|
|
39
|
-
/**
|
|
40
|
-
* DB data prams will be used to connect to usable dbService on GlobalService
|
|
41
|
-
*/
|
|
42
|
-
dataParams: Dynamo_DataParams,
|
|
43
|
-
/**
|
|
44
|
-
* Initial set for issuer to be able to follow the issuer's activity
|
|
45
|
-
*/
|
|
46
|
-
issuer: string);
|
|
47
|
-
/**
|
|
48
|
-
* returns all data from database to service dataList
|
|
49
|
-
*/
|
|
50
|
-
getAll(dontSetToService?: boolean): Promise<T[]>;
|
|
51
|
-
/**
|
|
52
|
-
* @description
|
|
53
|
-
* returns data from database by id
|
|
54
|
-
* also if dontSetToService is false or not setted,
|
|
55
|
-
* the data will be saved to the service, even if its not found
|
|
56
|
-
*
|
|
57
|
-
* @remarks
|
|
58
|
-
* If you need to get-save a data, if possible,
|
|
59
|
-
* use db-service update instead.
|
|
60
|
-
*
|
|
61
|
-
* @param {string} id
|
|
62
|
-
* (using id from service.data, if not provided)
|
|
63
|
-
* @param dontSetToService
|
|
64
|
-
*
|
|
65
|
-
* @return {T} data: T
|
|
66
|
-
*/
|
|
67
|
-
getDataById(id?: string, dontSetToService?: boolean): Promise<T>;
|
|
68
|
-
/**
|
|
69
|
-
* returns data from database by dependencyId to the service
|
|
70
|
-
* (using id from service.data, if not provided)
|
|
71
|
-
* @param dependencyId
|
|
72
|
-
*/
|
|
73
|
-
getDataByDependencyId(dependencyId?: string, dontSetToService?: boolean): Promise<T>;
|
|
74
|
-
/**
|
|
75
|
-
* returns dataList from database by dependencyId to the service
|
|
76
|
-
* @param dependencyId
|
|
77
|
-
*/
|
|
78
|
-
getDataListByDependencyId(dependencyId?: string, dontSetToService?: boolean): Promise<T[]>;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* // findOne desc:
|
|
82
|
-
*
|
|
83
|
-
* Find the data first by any of its parameters,
|
|
84
|
-
* also if dontSetToService is false or not setted,
|
|
85
|
-
* the data will be saved to the service, even if non found
|
|
86
|
-
*
|
|
87
|
-
* @param filter if you can, use unique parameters for find!
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* // by email:
|
|
91
|
-
* { email: email }
|
|
92
|
-
* //
|
|
93
|
-
* @example
|
|
94
|
-
* // or by id that is in list:
|
|
95
|
-
* { userIds: { $in: this.userId } }
|
|
96
|
-
* //
|
|
97
|
-
* @example
|
|
98
|
-
* // or by number or Date that is Greater Than AND Less Than:
|
|
99
|
-
* { points: { $gt: 2, $lt: 14 } }
|
|
100
|
-
* // further tools (syntax matches with $gt):
|
|
101
|
-
* $eq: // Matches values that are EQual to a specified value.
|
|
102
|
-
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
103
|
-
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
104
|
-
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
105
|
-
* $nin: // Matches None of the values specified IN an array.
|
|
106
|
-
* //
|
|
107
|
-
* @returns {T} data: T
|
|
108
|
-
*/
|
|
109
|
-
findData(
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* // find desc:
|
|
113
|
-
*
|
|
114
|
-
* Find the data first by any of its parameters,
|
|
115
|
-
* also if dontSetToService is false or not setted,
|
|
116
|
-
* the data will be saved to the service, even if non found
|
|
117
|
-
*
|
|
118
|
-
* @param filter if you can, use unique parameters for find!
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* // by email:
|
|
122
|
-
* { email: email }
|
|
123
|
-
* //
|
|
124
|
-
* @example
|
|
125
|
-
* // or by id that is in list:
|
|
126
|
-
* { userIds: { $in: this.userId } }
|
|
127
|
-
* //
|
|
128
|
-
* @example
|
|
129
|
-
* // or by number or Date that is Greater Than AND Less Than:
|
|
130
|
-
* { points: { $gt: 2, $lt: 14 } }
|
|
131
|
-
* // further tools (syntax matches with $gt):
|
|
132
|
-
* $eq: // Matches values that are EQual to a specified value.
|
|
133
|
-
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
134
|
-
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
135
|
-
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
136
|
-
* $nin: // Matches None of the values specified IN an array.
|
|
137
|
-
* //
|
|
138
|
-
* @returns {T[]} dataList: T[]
|
|
139
|
-
*/
|
|
140
|
-
findDatas(
|
|
141
|
-
/**
|
|
142
|
-
* This function uses the dataDBService.updateOne function.
|
|
143
|
-
* This uses updateBy if setted, or data._id if its setted or this.data[this.dependencyKey]
|
|
144
|
-
* @param set
|
|
145
|
-
*
|
|
146
|
-
* // updateOne desc:
|
|
147
|
-
*
|
|
148
|
-
* Find the data first by any of its parameters, throws error if not found
|
|
149
|
-
* @param filter This uses the basic Mongoose updateOne.
|
|
150
|
-
* If you can, use unique parameters for find!
|
|
151
|
-
* @example
|
|
152
|
-
* // by email:
|
|
153
|
-
* { email: email }
|
|
154
|
-
* //
|
|
155
|
-
* @example
|
|
156
|
-
* // or by id that is in list:
|
|
157
|
-
* { userIds: { $in: this.userId } }
|
|
158
|
-
* //
|
|
159
|
-
* @example
|
|
160
|
-
* // or by number or Date that is Greater Than AND Less Than:
|
|
161
|
-
* { points: { $gt: 2, $lt: 14 } }
|
|
162
|
-
* // further tools (syntax matches with $gt):
|
|
163
|
-
* $eq: // Matches values that are EQual to a specified value.
|
|
164
|
-
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
165
|
-
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
166
|
-
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
167
|
-
* $nin: // Matches None of the values specified IN an array.
|
|
168
|
-
* //
|
|
169
|
-
*
|
|
170
|
-
* @param update this uses the basic Mongoose updateOne
|
|
171
|
-
* @example
|
|
172
|
-
* // increase a specific value (here by 15):
|
|
173
|
-
* { $inc: { popularity: 15 } }
|
|
174
|
-
* //
|
|
175
|
-
* @example
|
|
176
|
-
* // or add element to a list:
|
|
177
|
-
* { $push: { reactions: this.newReaction }
|
|
178
|
-
* // or add multiple elements to a list
|
|
179
|
-
* { $push: { schedule: {$each: [ monday, tuesday, wednesday ] } } }
|
|
180
|
-
* //
|
|
181
|
-
* @example
|
|
182
|
-
* // or all at once
|
|
183
|
-
* {
|
|
184
|
-
* $inc: { popularity: this.newVote.amount },
|
|
185
|
-
* emailVerified: true,
|
|
186
|
-
* $push: { reactions: this.newReaction }
|
|
187
|
-
* }
|
|
188
|
-
* // further tools (syntax matches with $inc):
|
|
189
|
-
* $currentDate: // Sets the value of a field to current date, either as a Date or a Timestamp.
|
|
190
|
-
* $min: // Only updates the field if the specified value is less than the existing field value.
|
|
191
|
-
* $max: // Only updates the field if the specified value is greater than the existing field value.
|
|
192
|
-
* $mul: // Multiplies the value of the field by the specified amount.
|
|
193
|
-
* $rename: // Renames a field.
|
|
194
|
-
* $unset: // Removes the specified field from a document. (set: "" to value)
|
|
195
|
-
* //
|
|
196
|
-
*/
|
|
197
|
-
updateData(set: {
|
|
198
|
-
|
|
199
|
-
update:
|
|
200
|
-
}): Promise<void>;
|
|
201
|
-
/**
|
|
202
|
-
* modifies data if the data have ID and already exists in the DB,
|
|
203
|
-
* creates new if the ID is not present or cant find in DB,
|
|
204
|
-
* and if dependency data setted up, will check before creation,
|
|
205
|
-
*
|
|
206
|
-
* @warning
|
|
207
|
-
* but the proper way to update data, if you use update method instead,
|
|
208
|
-
* this way, you can avoid data override errors
|
|
209
|
-
* (when you simultaneously trying to change the same data's
|
|
210
|
-
* different values from different flows)
|
|
211
|
-
*/
|
|
212
|
-
saveData(): Promise<void>;
|
|
213
|
-
/**
|
|
214
|
-
* permanently deletes data from database by data._id
|
|
215
|
-
*/
|
|
216
|
-
deleteData(): Promise<void>;
|
|
217
|
-
/**
|
|
218
|
-
* validation of data, for modify and create, by the ModelParams
|
|
219
|
-
*/
|
|
220
|
-
validateForSave(): Promise<void>;
|
|
221
|
-
/**
|
|
222
|
-
* setting up dependency dataHook by DynamoBEDataModelParams
|
|
223
|
-
*/
|
|
224
|
-
private lookForDependencyDataSettings;
|
|
225
|
-
/**
|
|
226
|
-
*
|
|
227
|
-
* @returns
|
|
228
|
-
*/
|
|
229
|
-
getDependencyDataDBService(): DynamoNTS_DBService<any>;
|
|
230
|
-
}
|
|
1
|
+
import { Dynamo_Metadata, Dynamo_DataParams } from '@futdevpro/fsm-dynamo';
|
|
2
|
+
import { DynamoNTS_DBFilter, DynamoNTS_DBService, DynamoNTS_DBUpdate } from './dynamo-nts-db.service';
|
|
3
|
+
/**
|
|
4
|
+
* Basic Data Service that is connected to the relevant DBServices
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* export class UserMatchStatisticsService extends DynamoNTS_DataService<UserMatchStatistics> {
|
|
8
|
+
* constructor(
|
|
9
|
+
* set?: {
|
|
10
|
+
* data?: UserMatchStatistics,
|
|
11
|
+
* issuer?: string,
|
|
12
|
+
* }
|
|
13
|
+
* ) {
|
|
14
|
+
* super(
|
|
15
|
+
* new UserMatchStatistics(set?.data),
|
|
16
|
+
* userMatchStatisticsModelParams
|
|
17
|
+
* );
|
|
18
|
+
* this.issuer = set?.issuer;
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
export declare class DynamoNTS_DataService<T extends Dynamo_Metadata> {
|
|
23
|
+
dataDBService: DynamoNTS_DBService<T>;
|
|
24
|
+
data: T;
|
|
25
|
+
dataList: T[];
|
|
26
|
+
issuer: string;
|
|
27
|
+
depKey?: string;
|
|
28
|
+
depDBServiceKey?: string;
|
|
29
|
+
depKeyIsUnique?: boolean;
|
|
30
|
+
private depDataDBService;
|
|
31
|
+
dataParams: Dynamo_DataParams;
|
|
32
|
+
defaultErrorUserMsg: string;
|
|
33
|
+
defaultValidationErrorUserMsg: string;
|
|
34
|
+
constructor(
|
|
35
|
+
/**
|
|
36
|
+
* Initial data, this will be used by functions on default
|
|
37
|
+
*/
|
|
38
|
+
data: T,
|
|
39
|
+
/**
|
|
40
|
+
* DB data prams will be used to connect to usable dbService on GlobalService
|
|
41
|
+
*/
|
|
42
|
+
dataParams: Dynamo_DataParams,
|
|
43
|
+
/**
|
|
44
|
+
* Initial set for issuer to be able to follow the issuer's activity
|
|
45
|
+
*/
|
|
46
|
+
issuer: string);
|
|
47
|
+
/**
|
|
48
|
+
* returns all data from database to service dataList
|
|
49
|
+
*/
|
|
50
|
+
getAll(dontSetToService?: boolean): Promise<T[]>;
|
|
51
|
+
/**
|
|
52
|
+
* @description
|
|
53
|
+
* returns data from database by id
|
|
54
|
+
* also if dontSetToService is false or not setted,
|
|
55
|
+
* the data will be saved to the service, even if its not found
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* If you need to get-save a data, if possible,
|
|
59
|
+
* use db-service update instead.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} id
|
|
62
|
+
* (using id from service.data, if not provided)
|
|
63
|
+
* @param dontSetToService
|
|
64
|
+
*
|
|
65
|
+
* @return {T} data: T
|
|
66
|
+
*/
|
|
67
|
+
getDataById(id?: string, dontSetToService?: boolean): Promise<T>;
|
|
68
|
+
/**
|
|
69
|
+
* returns data from database by dependencyId to the service
|
|
70
|
+
* (using id from service.data, if not provided)
|
|
71
|
+
* @param dependencyId
|
|
72
|
+
*/
|
|
73
|
+
getDataByDependencyId(dependencyId?: string, dontSetToService?: boolean): Promise<T>;
|
|
74
|
+
/**
|
|
75
|
+
* returns dataList from database by dependencyId to the service
|
|
76
|
+
* @param dependencyId
|
|
77
|
+
*/
|
|
78
|
+
getDataListByDependencyId(dependencyId?: string, dontSetToService?: boolean): Promise<T[]>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* // findOne desc:
|
|
82
|
+
*
|
|
83
|
+
* Find the data first by any of its parameters,
|
|
84
|
+
* also if dontSetToService is false or not setted,
|
|
85
|
+
* the data will be saved to the service, even if non found
|
|
86
|
+
*
|
|
87
|
+
* @param filter if you can, use unique parameters for find!
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* // by email:
|
|
91
|
+
* { email: email }
|
|
92
|
+
* //
|
|
93
|
+
* @example
|
|
94
|
+
* // or by id that is in list:
|
|
95
|
+
* { userIds: { $in: this.userId } }
|
|
96
|
+
* //
|
|
97
|
+
* @example
|
|
98
|
+
* // or by number or Date that is Greater Than AND Less Than:
|
|
99
|
+
* { points: { $gt: 2, $lt: 14 } }
|
|
100
|
+
* // further tools (syntax matches with $gt):
|
|
101
|
+
* $eq: // Matches values that are EQual to a specified value.
|
|
102
|
+
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
103
|
+
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
104
|
+
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
105
|
+
* $nin: // Matches None of the values specified IN an array.
|
|
106
|
+
* //
|
|
107
|
+
* @returns {T} data: T
|
|
108
|
+
*/
|
|
109
|
+
findData(filterBy: DynamoNTS_DBFilter<T>, dontSetToService?: boolean): Promise<T>;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* // find desc:
|
|
113
|
+
*
|
|
114
|
+
* Find the data first by any of its parameters,
|
|
115
|
+
* also if dontSetToService is false or not setted,
|
|
116
|
+
* the data will be saved to the service, even if non found
|
|
117
|
+
*
|
|
118
|
+
* @param filter if you can, use unique parameters for find!
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* // by email:
|
|
122
|
+
* { email: email }
|
|
123
|
+
* //
|
|
124
|
+
* @example
|
|
125
|
+
* // or by id that is in list:
|
|
126
|
+
* { userIds: { $in: this.userId } }
|
|
127
|
+
* //
|
|
128
|
+
* @example
|
|
129
|
+
* // or by number or Date that is Greater Than AND Less Than:
|
|
130
|
+
* { points: { $gt: 2, $lt: 14 } }
|
|
131
|
+
* // further tools (syntax matches with $gt):
|
|
132
|
+
* $eq: // Matches values that are EQual to a specified value.
|
|
133
|
+
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
134
|
+
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
135
|
+
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
136
|
+
* $nin: // Matches None of the values specified IN an array.
|
|
137
|
+
* //
|
|
138
|
+
* @returns {T[]} dataList: T[]
|
|
139
|
+
*/
|
|
140
|
+
findDatas(filterBy: DynamoNTS_DBFilter<T>, dontSetToService?: boolean): Promise<T[]>;
|
|
141
|
+
/**
|
|
142
|
+
* This function uses the dataDBService.updateOne function.
|
|
143
|
+
* This uses updateBy if setted, or data._id if its setted or this.data[this.dependencyKey]
|
|
144
|
+
* @param set
|
|
145
|
+
*
|
|
146
|
+
* // updateOne desc:
|
|
147
|
+
*
|
|
148
|
+
* Find the data first by any of its parameters, throws error if not found
|
|
149
|
+
* @param filter This uses the basic Mongoose updateOne.
|
|
150
|
+
* If you can, use unique parameters for find!
|
|
151
|
+
* @example
|
|
152
|
+
* // by email:
|
|
153
|
+
* { email: email }
|
|
154
|
+
* //
|
|
155
|
+
* @example
|
|
156
|
+
* // or by id that is in list:
|
|
157
|
+
* { userIds: { $in: this.userId } }
|
|
158
|
+
* //
|
|
159
|
+
* @example
|
|
160
|
+
* // or by number or Date that is Greater Than AND Less Than:
|
|
161
|
+
* { points: { $gt: 2, $lt: 14 } }
|
|
162
|
+
* // further tools (syntax matches with $gt):
|
|
163
|
+
* $eq: // Matches values that are EQual to a specified value.
|
|
164
|
+
* $gte: // Matches values that are Greater Than OR Equal to a specified value.
|
|
165
|
+
* $lte: // Matches values that are Less Than or Equal to a specified value.
|
|
166
|
+
* $ne: // Matches all values that are Not Equal to a specified value.
|
|
167
|
+
* $nin: // Matches None of the values specified IN an array.
|
|
168
|
+
* //
|
|
169
|
+
*
|
|
170
|
+
* @param update this uses the basic Mongoose updateOne
|
|
171
|
+
* @example
|
|
172
|
+
* // increase a specific value (here by 15):
|
|
173
|
+
* { $inc: { popularity: 15 } }
|
|
174
|
+
* //
|
|
175
|
+
* @example
|
|
176
|
+
* // or add element to a list:
|
|
177
|
+
* { $push: { reactions: this.newReaction }
|
|
178
|
+
* // or add multiple elements to a list
|
|
179
|
+
* { $push: { schedule: {$each: [ monday, tuesday, wednesday ] } } }
|
|
180
|
+
* //
|
|
181
|
+
* @example
|
|
182
|
+
* // or all at once
|
|
183
|
+
* {
|
|
184
|
+
* $inc: { popularity: this.newVote.amount },
|
|
185
|
+
* emailVerified: true,
|
|
186
|
+
* $push: { reactions: this.newReaction }
|
|
187
|
+
* }
|
|
188
|
+
* // further tools (syntax matches with $inc):
|
|
189
|
+
* $currentDate: // Sets the value of a field to current date, either as a Date or a Timestamp.
|
|
190
|
+
* $min: // Only updates the field if the specified value is less than the existing field value.
|
|
191
|
+
* $max: // Only updates the field if the specified value is greater than the existing field value.
|
|
192
|
+
* $mul: // Multiplies the value of the field by the specified amount.
|
|
193
|
+
* $rename: // Renames a field.
|
|
194
|
+
* $unset: // Removes the specified field from a document. (set: "" to value)
|
|
195
|
+
* //
|
|
196
|
+
*/
|
|
197
|
+
updateData(set: {
|
|
198
|
+
filterBy?: DynamoNTS_DBFilter<T>;
|
|
199
|
+
update: DynamoNTS_DBUpdate<T>;
|
|
200
|
+
}): Promise<void>;
|
|
201
|
+
/**
|
|
202
|
+
* modifies data if the data have ID and already exists in the DB,
|
|
203
|
+
* creates new if the ID is not present or cant find in DB,
|
|
204
|
+
* and if dependency data setted up, will check before creation,
|
|
205
|
+
*
|
|
206
|
+
* @warning
|
|
207
|
+
* but the proper way to update data, if you use update method instead,
|
|
208
|
+
* this way, you can avoid data override errors
|
|
209
|
+
* (when you simultaneously trying to change the same data's
|
|
210
|
+
* different values from different flows)
|
|
211
|
+
*/
|
|
212
|
+
saveData(): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* permanently deletes data from database by data._id
|
|
215
|
+
*/
|
|
216
|
+
deleteData(): Promise<void>;
|
|
217
|
+
/**
|
|
218
|
+
* validation of data, for modify and create, by the ModelParams
|
|
219
|
+
*/
|
|
220
|
+
validateForSave(): Promise<void>;
|
|
221
|
+
/**
|
|
222
|
+
* setting up dependency dataHook by DynamoBEDataModelParams
|
|
223
|
+
*/
|
|
224
|
+
private lookForDependencyDataSettings;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @returns
|
|
228
|
+
*/
|
|
229
|
+
getDependencyDataDBService(): DynamoNTS_DBService<any>;
|
|
230
|
+
}
|
|
231
231
|
//# sourceMappingURL=dynamo-nts-data.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-data.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAuD,MAAM,uBAAuB,CAAC;AAEhI,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"dynamo-nts-data.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAuD,MAAM,uBAAuB,CAAC;AAEhI,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGtG;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,qBAAqB,CAAC,CAAC,SAAS,eAAe;IAC1D,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACtC,IAAI,EAAE,CAAC,CAAC;IACR,QAAQ,EAAE,CAAC,EAAE,CAAM;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,gBAAgB,CAA2B;IAEnD,UAAU,EAAE,iBAAiB,CAAC;IAE9B,mBAAmB,SAEoC;IACvD,6BAA6B,SAE0B;;IAGrD;;OAEG;IACH,IAAI,EAAE,CAAC;IACP;;OAEG;IACH,UAAU,EAAE,iBAAiB;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM;IAShB;;OAEG;IACG,MAAM,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IA2BtD;;;;;;;;;;;;;;;OAeG;IACG,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAkCtE;;;;OAIG;IACG,qBAAqB,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAmD1F;;;OAGG;IACG,yBAAyB,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAmDhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IA2BvF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,SAAS,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IA2B1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACG,UAAU,CAAC,GAAG,EAAE;QAAE,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;QAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCzG;;;;;;;;;;OAUG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IA2F/B;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IA6BjC;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IA4DtC;;OAEG;IACH,OAAO,CAAC,6BAA6B;IAerC;;;OAGG;IACH,0BAA0B,IAAI,mBAAmB,CAAC,GAAG,CAAC;CAkBvD"}
|