@futdevpro/nts-dynamo 1.9.15 → 1.9.16
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/.copilot/patterns.json +7 -7
- package/.github/workflows/main.yml +206 -0
- package/HOWTO.md +15 -15
- package/README.md +140 -140
- package/build/_models/control-models/endpoint-params.control-model.d.ts.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +2 -0
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_models/control-models/socket-event.control-model.js +1 -1
- package/build/_services/core/global.service.d.ts.map +1 -1
- package/build/_services/core/global.service.js +1 -0
- package/build/_services/core/global.service.js.map +1 -1
- package/build/_services/route/routing-module.service.d.ts +1 -0
- package/build/_services/route/routing-module.service.d.ts.map +1 -1
- package/build/_services/route/routing-module.service.js +17 -23
- package/build/_services/route/routing-module.service.js.map +1 -1
- package/build/_services/server/app.server.d.ts.map +1 -1
- package/build/_services/server/app.server.js +4 -1
- package/build/_services/server/app.server.js.map +1 -1
- package/build/_services/socket/socket-client.service.d.ts.map +1 -1
- package/build/_services/socket/socket-client.service.js +1 -0
- package/build/_services/socket/socket-client.service.js.map +1 -1
- package/nodemon.json +17 -15
- package/package.json +5 -5
- package/src/_constants/global-settings.const.ts +27 -27
- package/src/_constants/index.ts +2 -2
- package/src/_constants/mocks/app-extended-server.mock.ts +198 -198
- package/src/_constants/mocks/app-params.mock.ts +9 -9
- package/src/_constants/mocks/app-server.mock.ts +185 -185
- package/src/_constants/mocks/auth-service.mock.ts +28 -28
- package/src/_constants/mocks/controller.mock.ts +16 -16
- package/src/_constants/mocks/data-model.mock.ts +83 -83
- package/src/_constants/mocks/email-service-collection.mock.ts +13 -13
- package/src/_constants/mocks/email-service.mock.ts +19 -19
- package/src/_constants/mocks/email-template.mock.html +14 -14
- package/src/_constants/mocks/endpoint.mock.ts +90 -90
- package/src/_constants/mocks/socket-client.mock.ts +43 -43
- package/src/_constants/mocks/socket-server.mock.ts +43 -43
- package/src/_enums/data-model-type.enum.ts +14 -14
- package/src/_enums/data-service-function.enum.ts +15 -15
- package/src/_enums/http/http-call-type.enum.ts +12 -12
- package/src/_enums/http/http-response-type.enum.ts +7 -7
- package/src/_enums/http/socket-event-type.enum.ts +18 -18
- package/src/_enums/index.ts +13 -13
- package/src/_enums/predefined-data-types.enum.ts +27 -27
- package/src/_enums/route-security.enum.ts +12 -12
- package/src/_enums/socket-security.enum.ts +11 -11
- package/src/_models/control-models/api-call-params.control-model.ts +126 -126
- package/src/_models/control-models/app-ext-system-controls.control-model.ts +9 -9
- package/src/_models/control-models/app-params.control-model.ts +45 -45
- package/src/_models/control-models/app-system-controls.control-model.ts +9 -9
- package/src/_models/control-models/endpoint-params.control-model.ts +309 -307
- package/src/_models/control-models/http-settings.control-model.ts +29 -29
- package/src/_models/control-models/index.ts +13 -13
- package/src/_models/control-models/socket-client-service-params.control-model.ts +28 -28
- package/src/_models/control-models/socket-event.control-model.ts +150 -150
- package/src/_models/control-models/socket-presence.control-model.ts +207 -207
- package/src/_models/control-models/socket-server-service-params.control-model.ts +20 -20
- package/src/_models/control-models/system-control.control-model.ts +12 -12
- package/src/_models/index.ts +9 -9
- package/src/_models/interfaces/certification-settings.interface.ts +7 -7
- package/src/_models/interfaces/global-service-settings.interface.ts +45 -45
- package/src/_models/interfaces/global-settings.interface.ts +83 -83
- package/src/_models/interfaces/index.ts +7 -7
- package/src/_models/interfaces/routing-module-settings.interface.ts +20 -20
- package/src/_models/types/db-filter.type.ts +108 -108
- package/src/_models/types/db-update.type.ts +100 -100
- package/src/_models/types/index.ts +5 -5
- package/src/_modules/api-service.index.ts +12 -12
- package/src/_modules/app-extended.index.ts +28 -28
- package/src/_modules/app.index.ts +24 -24
- package/src/_modules/auth.index.ts +7 -7
- package/src/_modules/constants.index.ts +2 -2
- package/src/_modules/controller.index.ts +10 -10
- package/src/_modules/custom-data/custom-data.controller.ts +69 -69
- package/src/_modules/custom-data/custom-data.data-service.ts +20 -20
- package/src/_modules/custom-data/get-custom-data-routing-module.util.ts +23 -23
- package/src/_modules/custom-data/index.ts +6 -6
- package/src/_modules/custom-data-module.index.ts +2 -2
- package/src/_modules/data-service.index.ts +9 -9
- package/src/_modules/email.index.ts +8 -8
- package/src/_modules/enums.index.ts +2 -2
- package/src/_modules/extended.index.ts +8 -8
- package/src/_modules/models.index.ts +2 -2
- package/src/_modules/services.index.ts +2 -2
- package/src/_modules/test/get-test-routing-module.util.ts +23 -23
- package/src/_modules/test/index.ts +5 -5
- package/src/_modules/test/test.controller.ts +115 -115
- package/src/_modules/test-module.index.ts +2 -2
- package/src/_modules/usage/get-usage-routing-module.util.ts +22 -22
- package/src/_modules/usage/index.ts +7 -7
- package/src/_modules/usage/usage.controller.ts +120 -120
- package/src/_modules/usage/usage.data-service.ts +172 -172
- package/src/_modules/usage-module.index.ts +2 -2
- package/src/_services/base/data.service.ts +921 -921
- package/src/_services/base/db.service.spec.ts +32 -32
- package/src/_services/base/db.service.ts +1063 -1063
- package/src/_services/base/singleton.service.ts +21 -21
- package/src/_services/core/api.service.ts +453 -453
- package/src/_services/core/auth.service.ts +172 -172
- package/src/_services/core/email.service.ts +678 -678
- package/src/_services/core/global.service.ts +270 -269
- package/src/_services/core/service-collection.service.ts +5 -5
- package/src/_services/index.ts +23 -23
- package/src/_services/route/controller.service.ts +129 -129
- package/src/_services/route/routing-module.service.ts +293 -273
- package/src/_services/server/app-extended.server.spec.ts +76 -76
- package/src/_services/server/app-extended.server.ts +520 -520
- package/src/_services/server/app.server.spec.ts +67 -67
- package/src/_services/server/app.server.ts +1181 -1179
- package/src/_services/shared.service.spec.ts +19 -19
- package/src/_services/shared.static-service.ts +73 -73
- package/src/_services/socket/socket-client.service.ts +236 -235
- package/src/_services/socket/socket-server.service.spec.ts +11 -11
- package/src/_services/socket/socket-server.service.ts +761 -761
- package/src/index.ts +18 -18
- package/tsconfig.json +41 -41
- package/build/tsconfig.tsbuildinfo +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/core/api.service';
|
|
4
|
-
export * from '../_services/base/singleton.service';
|
|
5
|
-
|
|
6
|
-
// MODELS
|
|
7
|
-
export * from '../_models/control-models/api-call-params.control-model';
|
|
8
|
-
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
9
|
-
|
|
10
|
-
// ENUMS
|
|
11
|
-
export * from '../_enums/http/http-call-type.enum';
|
|
12
|
-
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/core/api.service';
|
|
4
|
+
export * from '../_services/base/singleton.service';
|
|
5
|
+
|
|
6
|
+
// MODELS
|
|
7
|
+
export * from '../_models/control-models/api-call-params.control-model';
|
|
8
|
+
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
9
|
+
|
|
10
|
+
// ENUMS
|
|
11
|
+
export * from '../_enums/http/http-call-type.enum';
|
|
12
|
+
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/server/app-extended.server';
|
|
4
|
-
export * from '../_services/core/global.service';
|
|
5
|
-
export * from '../_services/route/routing-module.service';
|
|
6
|
-
export * from '../_services/shared.static-service';
|
|
7
|
-
export * from '../_services/socket/socket-client.service';
|
|
8
|
-
export * from '../_services/socket/socket-server.service';
|
|
9
|
-
|
|
10
|
-
// INTERFACES
|
|
11
|
-
export * from '../_models/interfaces/global-service-settings.interface';
|
|
12
|
-
export * from '../_models/control-models/http-settings.control-model';
|
|
13
|
-
export * from '../_models/interfaces/certification-settings.interface';
|
|
14
|
-
export * from '../_models/interfaces/global-settings.interface';
|
|
15
|
-
export * from '../_models/interfaces/routing-module-settings.interface';
|
|
16
|
-
|
|
17
|
-
// CONTROL MODELS
|
|
18
|
-
export * from '../_models/control-models/app-params.control-model';
|
|
19
|
-
export * from '../_models/control-models/endpoint-params.control-model';
|
|
20
|
-
export * from '../_models/control-models/socket-client-service-params.control-model';
|
|
21
|
-
export * from '../_models/control-models/socket-presence.control-model';
|
|
22
|
-
|
|
23
|
-
// ENUMS
|
|
24
|
-
export * from '../_enums/route-security.enum';
|
|
25
|
-
|
|
26
|
-
// CONSTANTS
|
|
27
|
-
export * from '../_constants/global-settings.const';
|
|
28
|
-
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/server/app-extended.server';
|
|
4
|
+
export * from '../_services/core/global.service';
|
|
5
|
+
export * from '../_services/route/routing-module.service';
|
|
6
|
+
export * from '../_services/shared.static-service';
|
|
7
|
+
export * from '../_services/socket/socket-client.service';
|
|
8
|
+
export * from '../_services/socket/socket-server.service';
|
|
9
|
+
|
|
10
|
+
// INTERFACES
|
|
11
|
+
export * from '../_models/interfaces/global-service-settings.interface';
|
|
12
|
+
export * from '../_models/control-models/http-settings.control-model';
|
|
13
|
+
export * from '../_models/interfaces/certification-settings.interface';
|
|
14
|
+
export * from '../_models/interfaces/global-settings.interface';
|
|
15
|
+
export * from '../_models/interfaces/routing-module-settings.interface';
|
|
16
|
+
|
|
17
|
+
// CONTROL MODELS
|
|
18
|
+
export * from '../_models/control-models/app-params.control-model';
|
|
19
|
+
export * from '../_models/control-models/endpoint-params.control-model';
|
|
20
|
+
export * from '../_models/control-models/socket-client-service-params.control-model';
|
|
21
|
+
export * from '../_models/control-models/socket-presence.control-model';
|
|
22
|
+
|
|
23
|
+
// ENUMS
|
|
24
|
+
export * from '../_enums/route-security.enum';
|
|
25
|
+
|
|
26
|
+
// CONSTANTS
|
|
27
|
+
export * from '../_constants/global-settings.const';
|
|
28
|
+
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/server/app.server';
|
|
4
|
-
export * from '../_services/core/global.service';
|
|
5
|
-
export * from '../_services/route/routing-module.service';
|
|
6
|
-
export * from '../_services/shared.static-service';
|
|
7
|
-
|
|
8
|
-
// INTERFACES
|
|
9
|
-
export * from '../_models/interfaces/global-service-settings.interface';
|
|
10
|
-
export * from '../_models/control-models/http-settings.control-model';
|
|
11
|
-
export * from '../_models/interfaces/certification-settings.interface';
|
|
12
|
-
export * from '../_models/interfaces/global-settings.interface';
|
|
13
|
-
export * from '../_models/interfaces/routing-module-settings.interface';
|
|
14
|
-
|
|
15
|
-
// CONTROL MODELS
|
|
16
|
-
export * from '../_models/control-models/app-params.control-model';
|
|
17
|
-
export * from '../_models/control-models/endpoint-params.control-model';
|
|
18
|
-
|
|
19
|
-
// ENUMS
|
|
20
|
-
export * from '../_enums/route-security.enum';
|
|
21
|
-
|
|
22
|
-
// CONSTANTS
|
|
23
|
-
export * from '../_constants/global-settings.const';
|
|
24
|
-
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/server/app.server';
|
|
4
|
+
export * from '../_services/core/global.service';
|
|
5
|
+
export * from '../_services/route/routing-module.service';
|
|
6
|
+
export * from '../_services/shared.static-service';
|
|
7
|
+
|
|
8
|
+
// INTERFACES
|
|
9
|
+
export * from '../_models/interfaces/global-service-settings.interface';
|
|
10
|
+
export * from '../_models/control-models/http-settings.control-model';
|
|
11
|
+
export * from '../_models/interfaces/certification-settings.interface';
|
|
12
|
+
export * from '../_models/interfaces/global-settings.interface';
|
|
13
|
+
export * from '../_models/interfaces/routing-module-settings.interface';
|
|
14
|
+
|
|
15
|
+
// CONTROL MODELS
|
|
16
|
+
export * from '../_models/control-models/app-params.control-model';
|
|
17
|
+
export * from '../_models/control-models/endpoint-params.control-model';
|
|
18
|
+
|
|
19
|
+
// ENUMS
|
|
20
|
+
export * from '../_enums/route-security.enum';
|
|
21
|
+
|
|
22
|
+
// CONSTANTS
|
|
23
|
+
export * from '../_constants/global-settings.const';
|
|
24
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/core/auth.service';
|
|
4
|
-
export * from '../_services/shared.static-service';
|
|
5
|
-
|
|
6
|
-
// MODELS
|
|
7
|
-
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/core/auth.service';
|
|
4
|
+
export * from '../_services/shared.static-service';
|
|
5
|
+
|
|
6
|
+
// MODELS
|
|
7
|
+
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from '../_constants';
|
|
1
|
+
|
|
2
|
+
export * from '../_constants';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/route/controller.service';
|
|
4
|
-
|
|
5
|
-
// CONTROL MODELS
|
|
6
|
-
export * from '../_models/control-models/endpoint-params.control-model';
|
|
7
|
-
|
|
8
|
-
// ENUMS
|
|
9
|
-
export * from '../_enums/route-security.enum';
|
|
10
|
-
export * from '../_enums/http/http-call-type.enum';
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/route/controller.service';
|
|
4
|
+
|
|
5
|
+
// CONTROL MODELS
|
|
6
|
+
export * from '../_models/control-models/endpoint-params.control-model';
|
|
7
|
+
|
|
8
|
+
// ENUMS
|
|
9
|
+
export * from '../_enums/route-security.enum';
|
|
10
|
+
export * from '../_enums/http/http-call-type.enum';
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
import { Request, Response } from 'express';
|
|
3
|
-
|
|
4
|
-
import { DynamoFM_customDataModule_settings } from '@futdevpro/fsm-dynamo';
|
|
5
|
-
|
|
6
|
-
import { DynamoNTS_HttpCallType } from '../../_enums/http/http-call-type.enum';
|
|
7
|
-
import { DynamoNTS_Controller } from '../../_services/route/controller.service';
|
|
8
|
-
import { DynamoFM_CustomData_DataService } from './custom-data.data-service';
|
|
9
|
-
import {
|
|
10
|
-
DynamoNTS_Endpoint_Params
|
|
11
|
-
} from '../../_models/control-models/endpoint-params.control-model';
|
|
12
|
-
|
|
13
|
-
export class DynamoNTS_CustomData_Controller extends DynamoNTS_Controller {
|
|
14
|
-
|
|
15
|
-
static getInstance(): DynamoNTS_CustomData_Controller {
|
|
16
|
-
return DynamoNTS_CustomData_Controller.getSingletonInstance();
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
setupEndpoints(): void {
|
|
20
|
-
this.endpoints = [
|
|
21
|
-
// CUSTOM DATA
|
|
22
|
-
new DynamoNTS_Endpoint_Params({
|
|
23
|
-
name: 'getCustomData',
|
|
24
|
-
type: DynamoNTS_HttpCallType.get,
|
|
25
|
-
endpoint: DynamoFM_customDataModule_settings.endPoints.getCustomData,
|
|
26
|
-
tasks: [
|
|
27
|
-
async (req: Request, res: Response): Promise<void> => {
|
|
28
|
-
const customDataService = new DynamoFM_CustomData_DataService({
|
|
29
|
-
_id: req.params.customId,
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
await customDataService.getDataById();
|
|
33
|
-
|
|
34
|
-
res.send({
|
|
35
|
-
url: req.url,
|
|
36
|
-
result: 'get custom call was successful!',
|
|
37
|
-
response: customDataService.data,
|
|
38
|
-
request: `.../custom/get/${req.params.customId}`,
|
|
39
|
-
});
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
}),
|
|
43
|
-
|
|
44
|
-
new DynamoNTS_Endpoint_Params({
|
|
45
|
-
name: 'modifyCustomData',
|
|
46
|
-
type: DynamoNTS_HttpCallType.post,
|
|
47
|
-
endpoint: DynamoFM_customDataModule_settings.endPoints.modifyCustomData,
|
|
48
|
-
tasks: [
|
|
49
|
-
async (req: Request, res: Response, issuer: string): Promise<void> => {
|
|
50
|
-
const customDataService = new DynamoFM_CustomData_DataService(req.body, issuer);
|
|
51
|
-
|
|
52
|
-
await customDataService.saveData();
|
|
53
|
-
|
|
54
|
-
res.send({
|
|
55
|
-
url: req.url,
|
|
56
|
-
result: 'post custom call was successful!',
|
|
57
|
-
response: customDataService.data,
|
|
58
|
-
warning:
|
|
59
|
-
'keep in mind that this is a playground DB, ' +
|
|
60
|
-
'and it will be cleared out from time to time',
|
|
61
|
-
request: req.body,
|
|
62
|
-
});
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
}),
|
|
66
|
-
];
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
1
|
+
|
|
2
|
+
import { Request, Response } from 'express';
|
|
3
|
+
|
|
4
|
+
import { DynamoFM_customDataModule_settings } from '@futdevpro/fsm-dynamo';
|
|
5
|
+
|
|
6
|
+
import { DynamoNTS_HttpCallType } from '../../_enums/http/http-call-type.enum';
|
|
7
|
+
import { DynamoNTS_Controller } from '../../_services/route/controller.service';
|
|
8
|
+
import { DynamoFM_CustomData_DataService } from './custom-data.data-service';
|
|
9
|
+
import {
|
|
10
|
+
DynamoNTS_Endpoint_Params
|
|
11
|
+
} from '../../_models/control-models/endpoint-params.control-model';
|
|
12
|
+
|
|
13
|
+
export class DynamoNTS_CustomData_Controller extends DynamoNTS_Controller {
|
|
14
|
+
|
|
15
|
+
static getInstance(): DynamoNTS_CustomData_Controller {
|
|
16
|
+
return DynamoNTS_CustomData_Controller.getSingletonInstance();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
setupEndpoints(): void {
|
|
20
|
+
this.endpoints = [
|
|
21
|
+
// CUSTOM DATA
|
|
22
|
+
new DynamoNTS_Endpoint_Params({
|
|
23
|
+
name: 'getCustomData',
|
|
24
|
+
type: DynamoNTS_HttpCallType.get,
|
|
25
|
+
endpoint: DynamoFM_customDataModule_settings.endPoints.getCustomData,
|
|
26
|
+
tasks: [
|
|
27
|
+
async (req: Request, res: Response): Promise<void> => {
|
|
28
|
+
const customDataService = new DynamoFM_CustomData_DataService({
|
|
29
|
+
_id: req.params.customId,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
await customDataService.getDataById();
|
|
33
|
+
|
|
34
|
+
res.send({
|
|
35
|
+
url: req.url,
|
|
36
|
+
result: 'get custom call was successful!',
|
|
37
|
+
response: customDataService.data,
|
|
38
|
+
request: `.../custom/get/${req.params.customId}`,
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
}),
|
|
43
|
+
|
|
44
|
+
new DynamoNTS_Endpoint_Params({
|
|
45
|
+
name: 'modifyCustomData',
|
|
46
|
+
type: DynamoNTS_HttpCallType.post,
|
|
47
|
+
endpoint: DynamoFM_customDataModule_settings.endPoints.modifyCustomData,
|
|
48
|
+
tasks: [
|
|
49
|
+
async (req: Request, res: Response, issuer: string): Promise<void> => {
|
|
50
|
+
const customDataService = new DynamoFM_CustomData_DataService(req.body, issuer);
|
|
51
|
+
|
|
52
|
+
await customDataService.saveData();
|
|
53
|
+
|
|
54
|
+
res.send({
|
|
55
|
+
url: req.url,
|
|
56
|
+
result: 'post custom call was successful!',
|
|
57
|
+
response: customDataService.data,
|
|
58
|
+
warning:
|
|
59
|
+
'keep in mind that this is a playground DB, ' +
|
|
60
|
+
'and it will be cleared out from time to time',
|
|
61
|
+
request: req.body,
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
}),
|
|
66
|
+
];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
DynamoFM_customDataModel_params, DynamoFM_CustomData
|
|
6
|
-
} from '@futdevpro/fsm-dynamo/custom-data-module';
|
|
7
|
-
import { DynamoNTS_DataService } from '../../_services/base/data.service';
|
|
8
|
-
|
|
9
|
-
export class DynamoFM_CustomData_DataService extends DynamoNTS_DataService<DynamoFM_CustomData> {
|
|
10
|
-
|
|
11
|
-
constructor(
|
|
12
|
-
customData?: DynamoFM_CustomData,
|
|
13
|
-
issuer?: string
|
|
14
|
-
) {
|
|
15
|
-
super(
|
|
16
|
-
new DynamoFM_CustomData(customData),
|
|
17
|
-
DynamoFM_customDataModel_params,
|
|
18
|
-
issuer
|
|
19
|
-
);
|
|
20
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
DynamoFM_customDataModel_params, DynamoFM_CustomData
|
|
6
|
+
} from '@futdevpro/fsm-dynamo/custom-data-module';
|
|
7
|
+
import { DynamoNTS_DataService } from '../../_services/base/data.service';
|
|
8
|
+
|
|
9
|
+
export class DynamoFM_CustomData_DataService extends DynamoNTS_DataService<DynamoFM_CustomData> {
|
|
10
|
+
|
|
11
|
+
constructor(
|
|
12
|
+
customData?: DynamoFM_CustomData,
|
|
13
|
+
issuer?: string
|
|
14
|
+
) {
|
|
15
|
+
super(
|
|
16
|
+
new DynamoFM_CustomData(customData),
|
|
17
|
+
DynamoFM_customDataModel_params,
|
|
18
|
+
issuer
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
21
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
import { DynamoFM_customDataModule_settings } from '@futdevpro/fsm-dynamo';
|
|
3
|
-
import { DynamoNTS_RouteSecurity } from '../../_enums/route-security.enum';
|
|
4
|
-
import {
|
|
5
|
-
DynamoNTS_RoutingModule_Settings
|
|
6
|
-
} from '../../_models/interfaces/routing-module-settings.interface';
|
|
7
|
-
import { DynamoNTS_RoutingModule } from '../../_services/route/routing-module.service';
|
|
8
|
-
import { DynamoNTS_CustomData_Controller } from './custom-data.controller';
|
|
9
|
-
|
|
10
|
-
export function DynamoNTS_getCustomDataRoutingModule(
|
|
11
|
-
securityOverride?: DynamoNTS_RouteSecurity
|
|
12
|
-
): DynamoNTS_RoutingModule {
|
|
13
|
-
const set: DynamoNTS_RoutingModule_Settings = {
|
|
14
|
-
route: DynamoFM_customDataModule_settings.mainRoute,
|
|
15
|
-
controllers: [ DynamoNTS_CustomData_Controller.getInstance() ],
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
if (securityOverride) {
|
|
19
|
-
set.securityOverride = securityOverride;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return new DynamoNTS_RoutingModule(set);
|
|
23
|
-
}
|
|
1
|
+
|
|
2
|
+
import { DynamoFM_customDataModule_settings } from '@futdevpro/fsm-dynamo';
|
|
3
|
+
import { DynamoNTS_RouteSecurity } from '../../_enums/route-security.enum';
|
|
4
|
+
import {
|
|
5
|
+
DynamoNTS_RoutingModule_Settings
|
|
6
|
+
} from '../../_models/interfaces/routing-module-settings.interface';
|
|
7
|
+
import { DynamoNTS_RoutingModule } from '../../_services/route/routing-module.service';
|
|
8
|
+
import { DynamoNTS_CustomData_Controller } from './custom-data.controller';
|
|
9
|
+
|
|
10
|
+
export function DynamoNTS_getCustomDataRoutingModule(
|
|
11
|
+
securityOverride?: DynamoNTS_RouteSecurity
|
|
12
|
+
): DynamoNTS_RoutingModule {
|
|
13
|
+
const set: DynamoNTS_RoutingModule_Settings = {
|
|
14
|
+
route: DynamoFM_customDataModule_settings.mainRoute,
|
|
15
|
+
controllers: [ DynamoNTS_CustomData_Controller.getInstance() ],
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
if (securityOverride) {
|
|
19
|
+
set.securityOverride = securityOverride;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return new DynamoNTS_RoutingModule(set);
|
|
23
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
// CUSTOM-DATA MODULE
|
|
3
|
-
export * from './custom-data.data-service';
|
|
4
|
-
export * from './get-custom-data-routing-module.util';
|
|
5
|
-
export * from './custom-data.controller';
|
|
6
|
-
export * from '@futdevpro/fsm-dynamo/custom-data-module';
|
|
1
|
+
|
|
2
|
+
// CUSTOM-DATA MODULE
|
|
3
|
+
export * from './custom-data.data-service';
|
|
4
|
+
export * from './get-custom-data-routing-module.util';
|
|
5
|
+
export * from './custom-data.controller';
|
|
6
|
+
export * from '@futdevpro/fsm-dynamo/custom-data-module';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './custom-data';
|
|
1
|
+
|
|
2
|
+
export * from './custom-data';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/base/data.service';
|
|
4
|
-
export * from '../_services/base/db.service';
|
|
5
|
-
export * from '../_services/core/global.service';
|
|
6
|
-
export * from '../_services/shared.static-service';
|
|
7
|
-
|
|
8
|
-
// MODELS
|
|
9
|
-
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/base/data.service';
|
|
4
|
+
export * from '../_services/base/db.service';
|
|
5
|
+
export * from '../_services/core/global.service';
|
|
6
|
+
export * from '../_services/shared.static-service';
|
|
7
|
+
|
|
8
|
+
// MODELS
|
|
9
|
+
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/core/email.service';
|
|
4
|
-
/* export * from '../_services/email-service-collection.service'; */
|
|
5
|
-
export * from '../_services/core/service-collection.service';
|
|
6
|
-
|
|
7
|
-
// MODELS
|
|
8
|
-
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/core/email.service';
|
|
4
|
+
/* export * from '../_services/email-service-collection.service'; */
|
|
5
|
+
export * from '../_services/core/service-collection.service';
|
|
6
|
+
|
|
7
|
+
// MODELS
|
|
8
|
+
export * from '@futdevpro/fsm-dynamo/error-module';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from '../_enums';
|
|
1
|
+
|
|
2
|
+
export * from '../_enums';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
// SERVICES
|
|
3
|
-
export * from '../_services/socket/socket-client.service';
|
|
4
|
-
export * from '../_services/socket/socket-server.service';
|
|
5
|
-
|
|
6
|
-
// CONTROL MODELS
|
|
7
|
-
export * from '../_models/control-models/socket-client-service-params.control-model';
|
|
8
|
-
export * from '../_models/control-models/socket-server-service-params.control-model';
|
|
1
|
+
|
|
2
|
+
// SERVICES
|
|
3
|
+
export * from '../_services/socket/socket-client.service';
|
|
4
|
+
export * from '../_services/socket/socket-server.service';
|
|
5
|
+
|
|
6
|
+
// CONTROL MODELS
|
|
7
|
+
export * from '../_models/control-models/socket-client-service-params.control-model';
|
|
8
|
+
export * from '../_models/control-models/socket-server-service-params.control-model';
|
|
9
9
|
export * from '../_models/control-models/socket-presence.control-model';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from '../_models';
|
|
1
|
+
|
|
2
|
+
export * from '../_models';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export * from '../_services';
|
|
1
|
+
|
|
2
|
+
export * from '../_services';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
import { DynamoFM_testModule_settings } from '@futdevpro/fsm-dynamo/test-module';
|
|
3
|
-
import { DynamoNTS_RouteSecurity } from '../../_enums/route-security.enum';
|
|
4
|
-
import {
|
|
5
|
-
DynamoNTS_RoutingModule_Settings
|
|
6
|
-
} from '../../_models/interfaces/routing-module-settings.interface';
|
|
7
|
-
import { DynamoNTS_RoutingModule } from '../../_services/route/routing-module.service';
|
|
8
|
-
import { DynamoNTS_Test_Controller } from './test.controller';
|
|
9
|
-
|
|
10
|
-
export function DynamoNTS_getTestRoutingModule(
|
|
11
|
-
securityOverride?: DynamoNTS_RouteSecurity
|
|
12
|
-
): DynamoNTS_RoutingModule {
|
|
13
|
-
const set: DynamoNTS_RoutingModule_Settings = {
|
|
14
|
-
route: DynamoFM_testModule_settings.mainRoute,
|
|
15
|
-
controllers: [ DynamoNTS_Test_Controller.getInstance() ],
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
if (securityOverride) {
|
|
19
|
-
set.securityOverride = securityOverride;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return new DynamoNTS_RoutingModule(set);
|
|
23
|
-
}
|
|
1
|
+
|
|
2
|
+
import { DynamoFM_testModule_settings } from '@futdevpro/fsm-dynamo/test-module';
|
|
3
|
+
import { DynamoNTS_RouteSecurity } from '../../_enums/route-security.enum';
|
|
4
|
+
import {
|
|
5
|
+
DynamoNTS_RoutingModule_Settings
|
|
6
|
+
} from '../../_models/interfaces/routing-module-settings.interface';
|
|
7
|
+
import { DynamoNTS_RoutingModule } from '../../_services/route/routing-module.service';
|
|
8
|
+
import { DynamoNTS_Test_Controller } from './test.controller';
|
|
9
|
+
|
|
10
|
+
export function DynamoNTS_getTestRoutingModule(
|
|
11
|
+
securityOverride?: DynamoNTS_RouteSecurity
|
|
12
|
+
): DynamoNTS_RoutingModule {
|
|
13
|
+
const set: DynamoNTS_RoutingModule_Settings = {
|
|
14
|
+
route: DynamoFM_testModule_settings.mainRoute,
|
|
15
|
+
controllers: [ DynamoNTS_Test_Controller.getInstance() ],
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
if (securityOverride) {
|
|
19
|
+
set.securityOverride = securityOverride;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return new DynamoNTS_RoutingModule(set);
|
|
23
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
// TEST MODULE
|
|
3
|
-
export * from './test.controller';
|
|
4
|
-
export * from './get-test-routing-module.util';
|
|
5
|
-
export * from '@futdevpro/fsm-dynamo/test-module';
|
|
1
|
+
|
|
2
|
+
// TEST MODULE
|
|
3
|
+
export * from './test.controller';
|
|
4
|
+
export * from './get-test-routing-module.util';
|
|
5
|
+
export * from '@futdevpro/fsm-dynamo/test-module';
|