@futdevpro/nts-dynamo 1.5.50 → 1.5.52
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/_models/dynamo-nts-endpoint-params.js +3 -2
- package/lib/_models/dynamo-nts-endpoint-params.js.map +1 -1
- package/lib/_services/dynamo-nts-api.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-api.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-api.service.js +6 -5
- package/lib/_services/dynamo-nts-api.service.js.map +1 -1
- package/lib/_services/dynamo-nts-app-extended.d.ts +87 -7
- package/lib/_services/dynamo-nts-app-extended.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-app-extended.js +87 -7
- package/lib/_services/dynamo-nts-app-extended.js.map +1 -1
- package/lib/_services/dynamo-nts-app.d.ts +131 -22
- package/lib/_services/dynamo-nts-app.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-app.js +104 -1
- package/lib/_services/dynamo-nts-app.js.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.d.ts +79 -5
- package/lib/_services/dynamo-nts-auth.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.js +3 -2
- package/lib/_services/dynamo-nts-auth.service.js.map +1 -1
- package/lib/_services/dynamo-nts-data.service.d.ts +25 -1
- package/lib/_services/dynamo-nts-data.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-data.service.js +98 -70
- package/lib/_services/dynamo-nts-data.service.js.map +1 -1
- package/lib/_services/dynamo-nts-db.service.d.ts +165 -119
- package/lib/_services/dynamo-nts-db.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-db.service.js +348 -293
- package/lib/_services/dynamo-nts-db.service.js.map +1 -1
- package/lib/_services/dynamo-nts-email.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-email.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-email.service.js +5 -4
- package/lib/_services/dynamo-nts-email.service.js.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.d.ts +40 -0
- package/lib/_services/dynamo-nts-routing-module.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.js +43 -3
- package/lib/_services/dynamo-nts-routing-module.service.js.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-socket.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.js +6 -2
- package/lib/_services/dynamo-nts-socket.service.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -12
- package/src/_models/dynamo-nts-endpoint-params.ts +2 -2
- package/src/_services/dynamo-nts-api.service.ts +7 -5
- package/src/_services/dynamo-nts-app-extended.ts +87 -7
- package/src/_services/dynamo-nts-app.ts +131 -22
- package/src/_services/dynamo-nts-auth.service.ts +83 -7
- package/src/_services/dynamo-nts-data.service.ts +100 -71
- package/src/_services/dynamo-nts-db.service.ts +377 -297
- package/src/_services/dynamo-nts-email.service.ts +6 -4
- package/src/_services/dynamo-nts-routing-module.service.ts +44 -3
- package/src/_services/dynamo-nts-socket.service.ts +13 -7
- package/futdevpro-nts-dynamo-01.05.40.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.41.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.42.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.43.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.44.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.45.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.47.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.49.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.50.tgz +0 -0
- package/lib/_constants/dynamo-nts-global.settings.d.ts +0 -3
- package/lib/_constants/dynamo-nts-global.settings.d.ts.map +0 -1
- package/lib/_constants/dynamo-nts-global.settings.js +0 -18
- package/lib/_constants/dynamo-nts-global.settings.js.map +0 -1
- package/lib/_constants/dynamobe-global.settings.d.ts +0 -3
- package/lib/_constants/dynamobe-global.settings.d.ts.map +0 -1
- package/lib/_constants/dynamobe-global.settings.js +0 -13
- package/lib/_constants/dynamobe-global.settings.js.map +0 -1
- package/lib/_enums/dynamobe-data-service-function.enum.d.ts +0 -8
- package/lib/_enums/dynamobe-data-service-function.enum.d.ts.map +0 -1
- package/lib/_enums/dynamobe-data-service-function.enum.js +0 -15
- package/lib/_enums/dynamobe-data-service-function.enum.js.map +0 -1
- package/lib/_enums/dynamobe-route-security.enum.d.ts +0 -6
- package/lib/_enums/dynamobe-route-security.enum.d.ts.map +0 -1
- package/lib/_enums/dynamobe-route-security.enum.js +0 -10
- package/lib/_enums/dynamobe-route-security.enum.js.map +0 -1
- package/lib/_enums/log-style.enum.d.ts +0 -26
- package/lib/_enums/log-style.enum.d.ts.map +0 -1
- package/lib/_enums/log-style.enum.js +0 -30
- package/lib/_enums/log-style.enum.js.map +0 -1
- package/lib/_models/dynamo-module-settings.d.ts +0 -4
- package/lib/_models/dynamo-module-settings.d.ts.map +0 -1
- package/lib/_models/dynamo-module-settings.js +0 -10
- package/lib/_models/dynamo-module-settings.js.map +0 -1
- package/lib/_models/dynamo-nts-socket-module-settings.d.ts +0 -19
- package/lib/_models/dynamo-nts-socket-module-settings.d.ts.map +0 -1
- package/lib/_models/dynamo-nts-socket-module-settings.js +0 -27
- package/lib/_models/dynamo-nts-socket-module-settings.js.map +0 -1
- package/lib/_models/dynamobe-api-call-params.d.ts +0 -37
- package/lib/_models/dynamobe-api-call-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-api-call-params.js +0 -29
- package/lib/_models/dynamobe-api-call-params.js.map +0 -1
- package/lib/_models/dynamobe-app-params.d.ts +0 -18
- package/lib/_models/dynamobe-app-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-app-params.js +0 -17
- package/lib/_models/dynamobe-app-params.js.map +0 -1
- package/lib/_models/dynamobe-data-model-params.d.ts +0 -1
- package/lib/_models/dynamobe-data-model-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-data-model-params.js +0 -25
- package/lib/_models/dynamobe-data-model-params.js.map +0 -1
- package/lib/_models/dynamobe-endpoint-params.d.ts +0 -46
- package/lib/_models/dynamobe-endpoint-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-endpoint-params.js +0 -117
- package/lib/_models/dynamobe-endpoint-params.js.map +0 -1
- package/lib/_models/dynamobe-global-settings.d.ts +0 -13
- package/lib/_models/dynamobe-global-settings.d.ts.map +0 -1
- package/lib/_models/dynamobe-global-settings.js +0 -3
- package/lib/_models/dynamobe-global-settings.js.map +0 -1
- package/lib/_modules/data-models.index.d.ts +0 -3
- package/lib/_modules/data-models.index.d.ts.map +0 -1
- package/lib/_modules/data-models.index.js +0 -6
- package/lib/_modules/data-models.index.js.map +0 -1
- package/lib/_services/dynamobe-api.service.d.ts +0 -19
- package/lib/_services/dynamobe-api.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-api.service.js +0 -167
- package/lib/_services/dynamobe-api.service.js.map +0 -1
- package/lib/_services/dynamobe-app.d.ts +0 -129
- package/lib/_services/dynamobe-app.d.ts.map +0 -1
- package/lib/_services/dynamobe-app.js +0 -238
- package/lib/_services/dynamobe-app.js.map +0 -1
- package/lib/_services/dynamobe-auth.service.d.ts +0 -54
- package/lib/_services/dynamobe-auth.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-auth.service.js +0 -46
- package/lib/_services/dynamobe-auth.service.js.map +0 -1
- package/lib/_services/dynamobe-controller.service.d.ts +0 -14
- package/lib/_services/dynamobe-controller.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-controller.service.js +0 -21
- package/lib/_services/dynamobe-controller.service.js.map +0 -1
- package/lib/_services/dynamobe-data.service.d.ts +0 -54
- package/lib/_services/dynamobe-data.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-data.service.js +0 -301
- package/lib/_services/dynamobe-data.service.js.map +0 -1
- package/lib/_services/dynamobe-db-service-collection.service.d.ts +0 -9
- package/lib/_services/dynamobe-db-service-collection.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-db-service-collection.service.js +0 -11
- package/lib/_services/dynamobe-db-service-collection.service.js.map +0 -1
- package/lib/_services/dynamobe-db.service.d.ts +0 -244
- package/lib/_services/dynamobe-db.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-db.service.js +0 -759
- package/lib/_services/dynamobe-db.service.js.map +0 -1
- package/lib/_services/dynamobe-email-service-collection.service.d.ts +0 -19
- package/lib/_services/dynamobe-email-service-collection.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-email-service-collection.service.js +0 -21
- package/lib/_services/dynamobe-email-service-collection.service.js.map +0 -1
- package/lib/_services/dynamobe-email.service.d.ts +0 -56
- package/lib/_services/dynamobe-email.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-email.service.js +0 -194
- package/lib/_services/dynamobe-email.service.js.map +0 -1
- package/lib/_services/dynamobe-global.service.d.ts +0 -62
- package/lib/_services/dynamobe-global.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-global.service.js +0 -107
- package/lib/_services/dynamobe-global.service.js.map +0 -1
- package/lib/_services/dynamobe-routing-module.service.d.ts +0 -42
- package/lib/_services/dynamobe-routing-module.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-routing-module.service.js +0 -146
- package/lib/_services/dynamobe-routing-module.service.js.map +0 -1
- package/lib/_services/dynamobe-shared-be.service.d.ts +0 -8
- package/lib/_services/dynamobe-shared-be.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-shared-be.service.js +0 -45
- package/lib/_services/dynamobe-shared-be.service.js.map +0 -1
- package/lib/_services/dynamobe-shared.service.d.ts +0 -26
- package/lib/_services/dynamobe-shared.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-shared.service.js +0 -63
- package/lib/_services/dynamobe-shared.service.js.map +0 -1
- package/lib/_services/dynamobe-singleton.service.d.ts +0 -9
- package/lib/_services/dynamobe-singleton.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-singleton.service.js +0 -19
- package/lib/_services/dynamobe-singleton.service.js.map +0 -1
|
@@ -21,6 +21,8 @@ export class DynamoNTS_EmailService {
|
|
|
21
21
|
[templateName: string]: string[]
|
|
22
22
|
} = {};
|
|
23
23
|
private templateLoadingInProgressCounter = 0;
|
|
24
|
+
|
|
25
|
+
defaultErrorUserMsg = 'We encountered an uncought BackEnd Email Service Error, please contact the responsible development team.'
|
|
24
26
|
|
|
25
27
|
constructor (
|
|
26
28
|
set: {
|
|
@@ -91,7 +93,7 @@ export class DynamoNTS_EmailService {
|
|
|
91
93
|
errorCode: 'NTS-ES4-101',
|
|
92
94
|
addECToUserMsg: true,
|
|
93
95
|
message: `No email template found with this parameter! (${set.useTemplate})`,
|
|
94
|
-
userMessage:
|
|
96
|
+
userMessage: this.defaultErrorUserMsg
|
|
95
97
|
});
|
|
96
98
|
}
|
|
97
99
|
content = this.templates[set.useTemplate];
|
|
@@ -107,7 +109,7 @@ export class DynamoNTS_EmailService {
|
|
|
107
109
|
errorCode: 'NTS-ES4-102',
|
|
108
110
|
addECToUserMsg: true,
|
|
109
111
|
message: `TemplateProperties missing! properties needed: ${props}`,
|
|
110
|
-
userMessage:
|
|
112
|
+
userMessage: this.defaultErrorUserMsg
|
|
111
113
|
});
|
|
112
114
|
}
|
|
113
115
|
this.templatePropertyKeys[set.useTemplate].forEach((propertyKey: string) => {
|
|
@@ -123,7 +125,7 @@ export class DynamoNTS_EmailService {
|
|
|
123
125
|
errorCode: 'NTS-ES4-100',
|
|
124
126
|
addECToUserMsg: true,
|
|
125
127
|
message: 'No content setting passsed to emailSending!',
|
|
126
|
-
userMessage:
|
|
128
|
+
userMessage: this.defaultErrorUserMsg,
|
|
127
129
|
});
|
|
128
130
|
}
|
|
129
131
|
|
|
@@ -202,7 +204,7 @@ export class DynamoNTS_EmailService {
|
|
|
202
204
|
errorCode: 'NTS-ES4-200',
|
|
203
205
|
addECToUserMsg: true,
|
|
204
206
|
message: `ERROR, missing closing tag from email template! (${propertyOpenTagIndex} -)`,
|
|
205
|
-
userMessage:
|
|
207
|
+
userMessage: this.defaultErrorUserMsg
|
|
206
208
|
});
|
|
207
209
|
}
|
|
208
210
|
const newKey: string = template.substring(propertyOpenTagIndex + 2, propertyCloseTagIndex);
|
|
@@ -11,7 +11,46 @@ import { DynamoNTS_Shared } from './dynamo-nts-shared.service';
|
|
|
11
11
|
import { DynamoNTS_RoutingModuleSettings } from '../_models/dynamo-nts-routing-module-settings';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
+
* Routing Module
|
|
15
|
+
* Handling route setup and control
|
|
14
16
|
*
|
|
17
|
+
* You can add routes and controllers for them
|
|
18
|
+
* @example
|
|
19
|
+
* // Setting up Routes
|
|
20
|
+
* setupRoutingModules(): void {
|
|
21
|
+
* this.httpPort = env.port;
|
|
22
|
+
|
|
23
|
+
* this.routingModules = [
|
|
24
|
+
* new DynamoNTS_RoutingModule({
|
|
25
|
+
* route: '/user',
|
|
26
|
+
* controllers: [
|
|
27
|
+
* UserController.getInstance(),
|
|
28
|
+
* UserDataController.getInstance(),
|
|
29
|
+
* UserOptionsController.getInstance(),
|
|
30
|
+
* UserStatisticsController.getInstance(),
|
|
31
|
+
* UserAchievementsController.getInstance(),
|
|
32
|
+
* UserNotificationsController.getInstance()
|
|
33
|
+
* ]
|
|
34
|
+
* }),
|
|
35
|
+
* new DynamoNTS_RoutingModule({
|
|
36
|
+
* route: '/match',
|
|
37
|
+
* controllers: [
|
|
38
|
+
* MatchController.getInstance(),
|
|
39
|
+
* MatchDistributionController.getInstance(),
|
|
40
|
+
* MatchStatisticsController.getInstance(),
|
|
41
|
+
* ]
|
|
42
|
+
* }),
|
|
43
|
+
* new DynamoNTS_RoutingModule({
|
|
44
|
+
* route: '/server',
|
|
45
|
+
* controllers: [
|
|
46
|
+
* ServerController.getInstance(),
|
|
47
|
+
* ]
|
|
48
|
+
* }),
|
|
49
|
+
|
|
50
|
+
* getTestRoutingModule(),
|
|
51
|
+
* getUsageRoutingModule()
|
|
52
|
+
* ];
|
|
53
|
+
* }
|
|
15
54
|
*/
|
|
16
55
|
export class DynamoNTS_RoutingModule {
|
|
17
56
|
|
|
@@ -26,6 +65,8 @@ export class DynamoNTS_RoutingModule {
|
|
|
26
65
|
|
|
27
66
|
protected log: boolean = dynamoNTS_GlobalSettings.logSetup;
|
|
28
67
|
|
|
68
|
+
defaultErrorUserMsg = 'We encountered an uncought BackEnd Build Error, please contact the responsible development team.';
|
|
69
|
+
|
|
29
70
|
constructor(
|
|
30
71
|
set: DynamoNTS_RoutingModuleSettings
|
|
31
72
|
){
|
|
@@ -93,7 +134,7 @@ export class DynamoNTS_RoutingModule {
|
|
|
93
134
|
errorCode: 'NTS-RM9-100',
|
|
94
135
|
addECToUserMsg: true,
|
|
95
136
|
message: `DYNAMO-NTS ERROR: Failed to mount routes.`,
|
|
96
|
-
userMessage:
|
|
137
|
+
userMessage: this.defaultErrorUserMsg,
|
|
97
138
|
error
|
|
98
139
|
})
|
|
99
140
|
}
|
|
@@ -131,7 +172,7 @@ export class DynamoNTS_RoutingModule {
|
|
|
131
172
|
errorCode: 'NTS-RM9-200',
|
|
132
173
|
addECToUserMsg: true,
|
|
133
174
|
message: `DYNAMO-NTS ERROR: INVALID route type: ${endpointParams.type} - ${endpointParams.name}` ,
|
|
134
|
-
userMessage:
|
|
175
|
+
userMessage: this.defaultErrorUserMsg,
|
|
135
176
|
error: new Error()
|
|
136
177
|
})
|
|
137
178
|
}
|
|
@@ -168,7 +209,7 @@ export class DynamoNTS_RoutingModule {
|
|
|
168
209
|
errorCode: 'NTS-RM9-300',
|
|
169
210
|
addECToUserMsg: true,
|
|
170
211
|
message: `DYNAMO-NTS ERROR: INVALID route type: ${endpointParams.type} - ${endpointParams.name}`,
|
|
171
|
-
userMessage:
|
|
212
|
+
userMessage: this.defaultErrorUserMsg,
|
|
172
213
|
error: new Error()
|
|
173
214
|
})
|
|
174
215
|
}
|
|
@@ -32,6 +32,8 @@ export abstract class DynamoNTS_SocketService<T extends DynamoNTS_SocketDictiona
|
|
|
32
32
|
|
|
33
33
|
protected log: boolean = dynamoNTS_GlobalSettings.logSetup;
|
|
34
34
|
|
|
35
|
+
defaultErrorUserMsg = 'We encountered an unhandled Socket Error, please contact the responsible development team.';
|
|
36
|
+
|
|
35
37
|
constructor(){
|
|
36
38
|
super();
|
|
37
39
|
|
|
@@ -88,7 +90,7 @@ export abstract class DynamoNTS_SocketService<T extends DynamoNTS_SocketDictiona
|
|
|
88
90
|
this.removeSubscriptionOnDisconnect
|
|
89
91
|
]
|
|
90
92
|
}));
|
|
91
|
-
}
|
|
93
|
+
}
|
|
92
94
|
|
|
93
95
|
this.subscriptionEvent.socketName = this.params.name;
|
|
94
96
|
}
|
|
@@ -167,12 +169,16 @@ export abstract class DynamoNTS_SocketService<T extends DynamoNTS_SocketDictiona
|
|
|
167
169
|
if (dic) {
|
|
168
170
|
dic.emitEvent(event, content);
|
|
169
171
|
} else {
|
|
170
|
-
if (error)
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
if (error) {
|
|
173
|
+
|
|
174
|
+
throw new Dynamo_Error({
|
|
175
|
+
status: 404,
|
|
176
|
+
errorCode: 'NTS-S99-001',
|
|
177
|
+
addECToUserMsg: true,
|
|
178
|
+
message: `No active socket whit this specific ID: ${id}`,
|
|
179
|
+
userMessage: this.defaultErrorUserMsg
|
|
180
|
+
});
|
|
181
|
+
}
|
|
176
182
|
}
|
|
177
183
|
}
|
|
178
184
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-global.settings.d.ts","sourceRoot":"","sources":["../../src/_constants/dynamo-nts-global.settings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,eAAO,MAAM,wBAAwB,EAAE,wBActC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dynamoNTS_GlobalSettings = void 0;
|
|
4
|
-
const dynamo_nts_route_security_enum_1 = require("../_enums/dynamo-nts-route-security.enum");
|
|
5
|
-
const dynamo_nts_socket_security_enum_1 = require("../_enums/dynamo-nts-socket-security.enum");
|
|
6
|
-
exports.dynamoNTS_GlobalSettings = {
|
|
7
|
-
baseUrl: '/api',
|
|
8
|
-
defaultRouteSecurity: dynamo_nts_route_security_enum_1.DynamoNTS_RouteSecurity.open,
|
|
9
|
-
defaultSocketSecurity: dynamo_nts_socket_security_enum_1.DynamoNTS_SocketSecurity.open,
|
|
10
|
-
logSetup: false,
|
|
11
|
-
logRequest: true,
|
|
12
|
-
logRequestsContent: true,
|
|
13
|
-
logResponseContent: false,
|
|
14
|
-
logMainSocketEvent: true,
|
|
15
|
-
logAllSocketEvent: false,
|
|
16
|
-
logEventContent: false,
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=dynamo-nts-global.settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-global.settings.js","sourceRoot":"","sources":["../../src/_constants/dynamo-nts-global.settings.ts"],"names":[],"mappings":";;;AACA,6FAAmF;AACnF,+FAAqF;AAGxE,QAAA,wBAAwB,GAA6B;IAChE,OAAO,EAAE,MAAM;IACf,oBAAoB,EAAE,wDAAuB,CAAC,IAAI;IAClD,qBAAqB,EAAE,0DAAwB,CAAC,IAAI;IAEpD,QAAQ,EAAE,KAAK;IAEf,UAAU,EAAE,IAAI;IAChB,kBAAkB,EAAE,IAAI;IACxB,kBAAkB,EAAE,KAAK;IAEzB,kBAAkB,EAAE,IAAI;IACxB,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;CACvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-global.settings.d.ts","sourceRoot":"","sources":["../../src/_constants/dynamobe-global.settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,EAAE,sBAOpC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dynamoBEGlobalSettings = void 0;
|
|
4
|
-
const dynamobe_route_security_enum_1 = require("../_enums/dynamobe-route-security.enum");
|
|
5
|
-
exports.dynamoBEGlobalSettings = {
|
|
6
|
-
baseUrl: '/api',
|
|
7
|
-
defaultRouteSecurity: dynamobe_route_security_enum_1.DynamoBERouteSecurity.open,
|
|
8
|
-
logSetup: false,
|
|
9
|
-
logRequests: true,
|
|
10
|
-
logRequestsContent: true,
|
|
11
|
-
logResponseContent: false,
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=dynamobe-global.settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-global.settings.js","sourceRoot":"","sources":["../../src/_constants/dynamobe-global.settings.ts"],"names":[],"mappings":";;;AACA,yFAA+E;AAGlE,QAAA,sBAAsB,GAA2B;IAC5D,OAAO,EAAE,MAAM;IACf,oBAAoB,EAAE,oDAAqB,CAAC,IAAI;IAChD,QAAQ,EAAE,KAAK;IACf,WAAW,EAAE,IAAI;IACjB,kBAAkB,EAAE,IAAI;IACxB,kBAAkB,EAAE,KAAK;CAC1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-data-service-function.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/dynamobe-data-service-function.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAG3B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,eAAe,oBAAoB;CACpC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoBEDSF = void 0;
|
|
4
|
-
/* DataServiceFunction */
|
|
5
|
-
var DynamoBEDSF;
|
|
6
|
-
(function (DynamoBEDSF) {
|
|
7
|
-
DynamoBEDSF["getAll"] = "getAll";
|
|
8
|
-
DynamoBEDSF["getDataById"] = "getDataById";
|
|
9
|
-
/* checkIfDataExists = 'checkIfDataExists',
|
|
10
|
-
createData = 'createNewData', */
|
|
11
|
-
DynamoBEDSF["modifyData"] = "modifyData";
|
|
12
|
-
DynamoBEDSF["deleteData"] = "deleteData";
|
|
13
|
-
DynamoBEDSF["getProvidedData"] = "getProvidedData";
|
|
14
|
-
})(DynamoBEDSF = exports.DynamoBEDSF || (exports.DynamoBEDSF = {}));
|
|
15
|
-
//# sourceMappingURL=dynamobe-data-service-function.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-data-service-function.enum.js","sourceRoot":"","sources":["../../src/_enums/dynamobe-data-service-function.enum.ts"],"names":[],"mappings":";;;AACA,yBAAyB;AACzB,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,0CAA2B,CAAA;IAC3B;oCACgC;IAChC,wCAAyB,CAAA;IACzB,wCAAyB,CAAA;IACzB,kDAAmC,CAAA;AACrC,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-route-security.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/dynamobe-route-security.enum.ts"],"names":[],"mappings":"AACA,oBAAY,qBAAqB;IAC/B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoBERouteSecurity = void 0;
|
|
4
|
-
var DynamoBERouteSecurity;
|
|
5
|
-
(function (DynamoBERouteSecurity) {
|
|
6
|
-
DynamoBERouteSecurity["open"] = "open";
|
|
7
|
-
DynamoBERouteSecurity["secure"] = "secure";
|
|
8
|
-
DynamoBERouteSecurity["both"] = "both";
|
|
9
|
-
})(DynamoBERouteSecurity = exports.DynamoBERouteSecurity || (exports.DynamoBERouteSecurity = {}));
|
|
10
|
-
//# sourceMappingURL=dynamobe-route-security.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-route-security.enum.js","sourceRoot":"","sources":["../../src/_enums/dynamobe-route-security.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare enum LogStyle {
|
|
2
|
-
reset = "\u001B[0m",
|
|
3
|
-
bright = "\u001B[1m",
|
|
4
|
-
dim = "\u001B[2m",
|
|
5
|
-
underline = "\u001B[4m",
|
|
6
|
-
blink = "\u001B[5m",
|
|
7
|
-
reverse = "\u001B[7m",
|
|
8
|
-
hidden = "\u001B[8m",
|
|
9
|
-
black = "\u001B[30m",
|
|
10
|
-
red = "\u001B[31m",
|
|
11
|
-
green = "\u001B[32m",
|
|
12
|
-
yellow = "\u001B[33m",
|
|
13
|
-
blue = "\u001B[34m",
|
|
14
|
-
magenta = "\u001B[35m",
|
|
15
|
-
cyan = "\u001B[36m",
|
|
16
|
-
white = "\u001B[37m",
|
|
17
|
-
BgBlack = "\u001B[40m",
|
|
18
|
-
BgRed = "\u001B[41m",
|
|
19
|
-
BgGreen = "\u001B[42m",
|
|
20
|
-
BgYellow = "\u001B[43m",
|
|
21
|
-
BgBlue = "\u001B[44m",
|
|
22
|
-
BgMagenta = "\u001B[45m",
|
|
23
|
-
BgCyan = "\u001B[46m",
|
|
24
|
-
BgWhite = "\u001B[47m"
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=log-style.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-style.enum.d.ts","sourceRoot":"","sources":["../../src/_enums/log-style.enum.ts"],"names":[],"mappings":"AAEA,oBAAY,QAAQ;IAClB,KAAK,cAAY;IAEjB,MAAM,cAAY;IAClB,GAAG,cAAY;IACf,SAAS,cAAY;IACrB,KAAK,cAAY;IACjB,OAAO,cAAY;IACnB,MAAM,cAAY;IAElB,KAAK,eAAa;IAClB,GAAG,eAAa;IAChB,KAAK,eAAa;IAClB,MAAM,eAAa;IACnB,IAAI,eAAa;IACjB,OAAO,eAAa;IACpB,IAAI,eAAa;IACjB,KAAK,eAAa;IAElB,OAAO,eAAa;IACpB,KAAK,eAAa;IAClB,OAAO,eAAa;IACpB,QAAQ,eAAa;IACrB,MAAM,eAAa;IACnB,SAAS,eAAa;IACtB,MAAM,eAAa;IACnB,OAAO,eAAa;CACrB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogStyle = void 0;
|
|
4
|
-
var LogStyle;
|
|
5
|
-
(function (LogStyle) {
|
|
6
|
-
LogStyle["reset"] = "\u001B[0m";
|
|
7
|
-
LogStyle["bright"] = "\u001B[1m";
|
|
8
|
-
LogStyle["dim"] = "\u001B[2m";
|
|
9
|
-
LogStyle["underline"] = "\u001B[4m";
|
|
10
|
-
LogStyle["blink"] = "\u001B[5m";
|
|
11
|
-
LogStyle["reverse"] = "\u001B[7m";
|
|
12
|
-
LogStyle["hidden"] = "\u001B[8m";
|
|
13
|
-
LogStyle["black"] = "\u001B[30m";
|
|
14
|
-
LogStyle["red"] = "\u001B[31m";
|
|
15
|
-
LogStyle["green"] = "\u001B[32m";
|
|
16
|
-
LogStyle["yellow"] = "\u001B[33m";
|
|
17
|
-
LogStyle["blue"] = "\u001B[34m";
|
|
18
|
-
LogStyle["magenta"] = "\u001B[35m";
|
|
19
|
-
LogStyle["cyan"] = "\u001B[36m";
|
|
20
|
-
LogStyle["white"] = "\u001B[37m";
|
|
21
|
-
LogStyle["BgBlack"] = "\u001B[40m";
|
|
22
|
-
LogStyle["BgRed"] = "\u001B[41m";
|
|
23
|
-
LogStyle["BgGreen"] = "\u001B[42m";
|
|
24
|
-
LogStyle["BgYellow"] = "\u001B[43m";
|
|
25
|
-
LogStyle["BgBlue"] = "\u001B[44m";
|
|
26
|
-
LogStyle["BgMagenta"] = "\u001B[45m";
|
|
27
|
-
LogStyle["BgCyan"] = "\u001B[46m";
|
|
28
|
-
LogStyle["BgWhite"] = "\u001B[47m";
|
|
29
|
-
})(LogStyle = exports.LogStyle || (exports.LogStyle = {}));
|
|
30
|
-
//# sourceMappingURL=log-style.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log-style.enum.js","sourceRoot":"","sources":["../../src/_enums/log-style.enum.ts"],"names":[],"mappings":";;;AAEA,IAAY,QA2BX;AA3BD,WAAY,QAAQ;IAClB,+BAAiB,CAAA;IAEjB,gCAAkB,CAAA;IAClB,6BAAe,CAAA;IACf,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,gCAAkB,CAAA;IAElB,gCAAkB,CAAA;IAClB,8BAAgB,CAAA;IAChB,gCAAkB,CAAA;IAClB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,kCAAoB,CAAA;IACpB,+BAAiB,CAAA;IACjB,gCAAkB,CAAA;IAElB,kCAAoB,CAAA;IACpB,gCAAkB,CAAA;IAClB,kCAAoB,CAAA;IACpB,mCAAqB,CAAA;IACrB,iCAAmB,CAAA;IACnB,oCAAsB,CAAA;IACtB,iCAAmB,CAAA;IACnB,kCAAoB,CAAA;AACtB,CAAC,EA3BW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA2BnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-module-settings.d.ts","sourceRoot":"","sources":["../../src/_models/dynamo-module-settings.ts"],"names":[],"mappings":"AACA;;GAEG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-module-settings.js","sourceRoot":"","sources":["../../src/_models/dynamo-module-settings.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;;;;IAKI"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DynamoNTS_SocketSecurity } from '../_enums/dynamo-nts-socket-security.enum';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export declare class DynamoNTS_SocketServiceSettings {
|
|
6
|
-
name: string;
|
|
7
|
-
port: number;
|
|
8
|
-
security?: DynamoNTS_SocketSecurity;
|
|
9
|
-
groupActiveSocketsBy?: string;
|
|
10
|
-
getIdFromSubscrioption?: (content: any) => string;
|
|
11
|
-
constructor(set: {
|
|
12
|
-
name: string;
|
|
13
|
-
port: number;
|
|
14
|
-
security?: DynamoNTS_SocketSecurity;
|
|
15
|
-
groupActiveSocketsBy?: string;
|
|
16
|
-
getIdFromSubscrioption?: (content: any) => string;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=dynamo-nts-socket-module-settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-socket-module-settings.d.ts","sourceRoot":"","sources":["../../src/_models/dynamo-nts-socket-module-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAGrF;;GAEG;AACH,qBAAa,+BAA+B;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,MAAM,CAAC;gBAGhD,GAAG,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,wBAAwB,CAAC;QACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAE9B,sBAAsB,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,MAAM,CAAC;KACnD;CAiBJ"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoNTS_SocketServiceSettings = void 0;
|
|
4
|
-
const _constants_1 = require("../_constants");
|
|
5
|
-
const _services_1 = require("../_services");
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
class DynamoNTS_SocketServiceSettings {
|
|
10
|
-
constructor(set) {
|
|
11
|
-
this.name = set.name;
|
|
12
|
-
this.port = set.port;
|
|
13
|
-
this.security = set.security ? set.security : _constants_1.dynamoNTS_GlobalSettings.defaultSocketSecurity;
|
|
14
|
-
if (set.getIdFromSubscrioption) {
|
|
15
|
-
this.getIdFromSubscrioption = set.getIdFromSubscrioption;
|
|
16
|
-
if (set.groupActiveSocketsBy) {
|
|
17
|
-
_services_1.DynamoNTS_Shared.logError(`setting groupActiveSocketsBy on DynamoNTS_SocketService (${this.name}) won't take effect, ` +
|
|
18
|
-
`since getIdFromSubscrioption is also setted, so it will be used instead`);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
else if (set.groupActiveSocketsBy) {
|
|
22
|
-
this.getIdFromSubscrioption = content => content[set.groupActiveSocketsBy];
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.DynamoNTS_SocketServiceSettings = DynamoNTS_SocketServiceSettings;
|
|
27
|
-
//# sourceMappingURL=dynamo-nts-socket-module-settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-socket-module-settings.js","sourceRoot":"","sources":["../../src/_models/dynamo-nts-socket-module-settings.ts"],"names":[],"mappings":";;;AACA,8CAAyD;AAEzD,4CAAgD;AAEhD;;GAEG;AACH,MAAa,+BAA+B;IAQ1C,YACE,GAOC;QAED,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,qCAAwB,CAAC,qBAAqB,CAAC;QAE7F,IAAI,GAAG,CAAC,sBAAsB,EAAE;YAC9B,IAAI,CAAC,sBAAsB,GAAG,GAAG,CAAC,sBAAsB,CAAC;YACzD,IAAI,GAAG,CAAC,oBAAoB,EAAE;gBAC5B,4BAAgB,CAAC,QAAQ,CACvB,4DAA4D,IAAI,CAAC,IAAI,uBAAuB;oBAC5F,yEAAyE,CAAC,CAAA;aAC7E;SACF;aAAM,IAAI,GAAG,CAAC,oBAAoB,EAAE;YACnC,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;SAC5E;IACH,CAAC;CACF;AAjCD,0EAiCC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { HttpCallType } from "../_enums/http/http-call-type.enum";
|
|
2
|
-
import { HttpResponseType } from "../_enums/http/http-response-type.enum";
|
|
3
|
-
export declare class DynamoBEApiCallParams {
|
|
4
|
-
name: string;
|
|
5
|
-
type: HttpCallType;
|
|
6
|
-
baseUrl: string;
|
|
7
|
-
endPoint: string;
|
|
8
|
-
getFullResponse: boolean;
|
|
9
|
-
httpOptions: any;
|
|
10
|
-
constructor(set: {
|
|
11
|
-
name: string;
|
|
12
|
-
type: HttpCallType;
|
|
13
|
-
endPoint: string;
|
|
14
|
-
baseUrl: string;
|
|
15
|
-
getFullResponse?: boolean;
|
|
16
|
-
httpOptions?: HttpOptions;
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export declare class HttpOptions {
|
|
20
|
-
responseType?: HttpResponseType;
|
|
21
|
-
headers?: {
|
|
22
|
-
[header: string]: string | string[];
|
|
23
|
-
};
|
|
24
|
-
observe?: 'body';
|
|
25
|
-
reportProgress?: boolean;
|
|
26
|
-
withCredentials?: boolean;
|
|
27
|
-
constructor(options: {
|
|
28
|
-
responseType?: HttpResponseType;
|
|
29
|
-
headers?: {
|
|
30
|
-
[header: string]: string | string[];
|
|
31
|
-
};
|
|
32
|
-
observe?: 'body';
|
|
33
|
-
reportProgress?: boolean;
|
|
34
|
-
withCredentials?: boolean;
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=dynamobe-api-call-params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-api-call-params.d.ts","sourceRoot":"","sources":["../../src/_models/dynamobe-api-call-params.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,qBAAa,qBAAqB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAEjB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,GAAG,CAAC;gBAGf,GAAG,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,YAAY,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B;CAaJ;AAED,qBAAa,WAAW;IACtB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,OAAO,CAAC,EAAE;QACR,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;gBAEd,OAAO,EAAE;QACnB,YAAY,CAAC,EAAE,gBAAgB,CAAC;QAChC,OAAO,CAAC,EAAE;YACR,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;SACrC,CAAC;QACF,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,eAAe,CAAC,EAAE,OAAO,CAAA;KAC1B;CAOF"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpOptions = exports.DynamoBEApiCallParams = void 0;
|
|
4
|
-
class DynamoBEApiCallParams {
|
|
5
|
-
constructor(set) {
|
|
6
|
-
this.name = set.name;
|
|
7
|
-
this.type = set.type;
|
|
8
|
-
if (set.endPoint.includes('{')) {
|
|
9
|
-
console.log('using {param} bracets in endpoint definitions will be deprecated... use :param instead ({pathparam} --> :pathparam)');
|
|
10
|
-
set.endPoint.replace(/{/g, ':').replace(/}/g, '');
|
|
11
|
-
}
|
|
12
|
-
this.endPoint = set.endPoint;
|
|
13
|
-
this.baseUrl = set.baseUrl;
|
|
14
|
-
this.getFullResponse = !!set.getFullResponse;
|
|
15
|
-
this.httpOptions = set.httpOptions ? set.httpOptions : {};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.DynamoBEApiCallParams = DynamoBEApiCallParams;
|
|
19
|
-
class HttpOptions {
|
|
20
|
-
constructor(options) {
|
|
21
|
-
this.responseType = options.responseType;
|
|
22
|
-
this.headers = options.headers;
|
|
23
|
-
this.observe = options.observe;
|
|
24
|
-
this.reportProgress = options.reportProgress;
|
|
25
|
-
this.withCredentials = options.withCredentials;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.HttpOptions = HttpOptions;
|
|
29
|
-
//# sourceMappingURL=dynamobe-api-call-params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-api-call-params.js","sourceRoot":"","sources":["../../src/_models/dynamobe-api-call-params.ts"],"names":[],"mappings":";;;AAIA,MAAa,qBAAqB;IAShC,YACE,GAOC;QAED,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,OAAO,CAAC,GAAG,CAAC,qHAAqH,CAAC,CAAC;YACnI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;SACnD;QACD,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC3B,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC;QAC7C,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5D,CAAC;CACF;AA9BD,sDA8BC;AAED,MAAa,WAAW;IAStB,YAAY,OAQX;QACC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;QAC7C,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IACjD,CAAC;CACF;AAxBD,kCAwBC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export declare class DynamoBEAppParams {
|
|
5
|
-
name: string;
|
|
6
|
-
title: string;
|
|
7
|
-
version: string;
|
|
8
|
-
dbUri: string;
|
|
9
|
-
dbName: string;
|
|
10
|
-
constructor(set: {
|
|
11
|
-
name: string;
|
|
12
|
-
title?: string;
|
|
13
|
-
version: string;
|
|
14
|
-
dbName: string;
|
|
15
|
-
dbUri?: string;
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=dynamobe-app-params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-app-params.d.ts","sourceRoot":"","sources":["../../src/_models/dynamobe-app-params.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;gBAGb,GAAG,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CAQJ"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoBEAppParams = void 0;
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
class DynamoBEAppParams {
|
|
8
|
-
constructor(set) {
|
|
9
|
-
this.name = set.name;
|
|
10
|
-
this.title = set.title ? set.title : '';
|
|
11
|
-
this.version = set.version;
|
|
12
|
-
this.dbName = set.dbName;
|
|
13
|
-
this.dbUri = set.dbUri ? set.dbUri : `mongodb://localhost:27017/${this.dbName}`;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.DynamoBEAppParams = DynamoBEAppParams;
|
|
17
|
-
//# sourceMappingURL=dynamobe-app-params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-app-params.js","sourceRoot":"","sources":["../../src/_models/dynamobe-app-params.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,iBAAiB;IAO5B,YACE,GAMC;QAED,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,6BAA6B,IAAI,CAAC,MAAM,EAAE,CAAC;IAClF,CAAC;CACF;AAtBD,8CAsBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=dynamobe-data-model-params.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-data-model-params.d.ts","sourceRoot":"","sources":["../../src/_models/dynamobe-data-model-params.ts"],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
export { DynamoBEDataPropertyParams } from '@futdevpro/fsm-dynamo';
|
|
3
|
-
import { DataModelType } from '../_enums/data-model-type.enum';
|
|
4
|
-
|
|
5
|
-
export class DynamoBEDataModelParams {
|
|
6
|
-
dataName: string;
|
|
7
|
-
type: DataModelType;
|
|
8
|
-
properties: DynamoBEDataPropertyParams[] = [];
|
|
9
|
-
|
|
10
|
-
constructor(
|
|
11
|
-
set?: {
|
|
12
|
-
dataName: string,
|
|
13
|
-
type: DataModelType,
|
|
14
|
-
properties: DynamoBEDataPropertyParams[],
|
|
15
|
-
}
|
|
16
|
-
) {
|
|
17
|
-
if (set) {
|
|
18
|
-
this.dataName = set.dataName;
|
|
19
|
-
this.type = set.type;
|
|
20
|
-
this.properties = set.properties ? set.properties : [];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
*/
|
|
25
|
-
//# sourceMappingURL=dynamobe-data-model-params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamobe-data-model-params.js","sourceRoot":"","sources":["../../src/_models/dynamobe-data-model-params.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG"}
|