@futdevpro/nts-dynamo 1.9.12 → 1.9.15
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/.eslintrc.json +1 -1
- package/build/_constants/mocks/auth-service.mock.d.ts +1 -1
- package/build/_constants/mocks/auth-service.mock.d.ts.map +1 -1
- package/build/_constants/mocks/auth-service.mock.js +1 -1
- package/build/_constants/mocks/auth-service.mock.js.map +1 -1
- package/build/_models/control-models/endpoint-params.control-model.js +7 -7
- package/build/_models/control-models/endpoint-params.control-model.js.map +1 -1
- package/build/_modules/usage/usage.controller.js +1 -1
- package/build/_modules/usage/usage.controller.js.map +1 -1
- package/build/_services/base/db.service.js +3 -3
- package/build/_services/base/db.service.js.map +1 -1
- package/build/_services/core/api.service.d.ts.map +1 -1
- package/build/_services/core/api.service.js +14 -12
- package/build/_services/core/api.service.js.map +1 -1
- package/build/_services/core/auth.service.d.ts +3 -3
- package/build/_services/core/auth.service.d.ts.map +1 -1
- package/build/_services/core/email.service.d.ts +1 -1
- package/build/_services/core/email.service.d.ts.map +1 -1
- package/build/_services/route/controller.service.d.ts +3 -3
- package/build/_services/route/controller.service.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/_constants/mocks/auth-service.mock.ts +1 -1
- package/src/_models/control-models/endpoint-params.control-model.ts +7 -7
- package/src/_modules/usage/usage.controller.ts +1 -1
- package/src/_services/base/db.service.ts +3 -3
- package/src/_services/core/api.service.ts +17 -13
- package/src/_services/core/auth.service.ts +3 -3
- package/src/_services/core/email.service.ts +1 -1
- package/src/_services/route/controller.service.ts +3 -3
- package/tsconfig.json +7 -11
- package/src/_enums/http/http-call-type.enum.d.ts +0 -12
- package/src/_enums/http/http-call-type.enum.d.ts.map +0 -1
- package/src/_enums/http/http-call-type.enum.js +0 -16
- package/src/_enums/http/http-call-type.enum.js.map +0 -1
- package/src/_enums/http/http-response-type.enum.d.ts +0 -7
- package/src/_enums/http/http-response-type.enum.d.ts.map +0 -1
- package/src/_enums/http/http-response-type.enum.js +0 -11
- package/src/_enums/http/http-response-type.enum.js.map +0 -1
- package/src/_enums/http/socket-event-type.enum.d.ts +0 -15
- package/src/_enums/http/socket-event-type.enum.d.ts.map +0 -1
- package/src/_enums/http/socket-event-type.enum.js +0 -19
- package/src/_enums/http/socket-event-type.enum.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/nts-dynamo",
|
|
3
|
-
"version": "01.09.
|
|
3
|
+
"version": "01.09.15",
|
|
4
4
|
"description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Program Ltd.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prep": "npm i rimraf nodemon -g",
|
|
@@ -209,13 +209,13 @@
|
|
|
209
209
|
"geoip-lite": "^1.4.7",
|
|
210
210
|
"mongoose": "^5.13.20",
|
|
211
211
|
"nodemailer": "^6.9.4",
|
|
212
|
-
"rxjs": "^7.8.
|
|
212
|
+
"rxjs": "^7.8.1",
|
|
213
213
|
"ts-node": "^10.9.1",
|
|
214
214
|
"body-parser": "^1.20.2"
|
|
215
215
|
},
|
|
216
216
|
"peerDevDependencies": {
|
|
217
217
|
"tslib": "^2.6.2",
|
|
218
|
-
"typescript": "^5.
|
|
218
|
+
"typescript": "^5.3.3"
|
|
219
219
|
},
|
|
220
220
|
"devDependencies": {
|
|
221
221
|
"@types/jasmine": "^4.3.5",
|
|
@@ -14,7 +14,7 @@ export class AuthService_Mock extends DynamoNTS_AuthService {
|
|
|
14
14
|
|
|
15
15
|
authenticate_tokenSelf = async (req: Request, res: Response): Promise<void> => {};
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
authenticate_tokenPerm_accUsageData = async (req: Request, res: Response): Promise<void> => {};
|
|
18
18
|
|
|
19
19
|
getIssuerFromRequest(req: Request): string {
|
|
20
20
|
return 'accountId_mock';
|
|
@@ -137,7 +137,7 @@ export class DynamoNTS_Endpoint_Params {
|
|
|
137
137
|
private async preLog(req: Request, res: Response, issuer: string): Promise<void> {
|
|
138
138
|
try {
|
|
139
139
|
if (this.logRequest) {
|
|
140
|
-
let msg: string =
|
|
140
|
+
let msg: string = `\n===>>> incoming '${this.name}' request... (issuer: ${issuer})`;
|
|
141
141
|
|
|
142
142
|
if (this.logRequestsParams) {
|
|
143
143
|
const params = this.getPathParamsLogContent(req);
|
|
@@ -188,10 +188,10 @@ export class DynamoNTS_Endpoint_Params {
|
|
|
188
188
|
|
|
189
189
|
if (this.logRequest) {
|
|
190
190
|
if (this.logResponseContent) {
|
|
191
|
-
DynamoFM_Log.success(` <<<===== ${this.name} result sent.`);
|
|
191
|
+
DynamoFM_Log.success(` <<<===== '${this.name}' result sent.`);
|
|
192
192
|
DynamoFM_Log.warn('sorry, the logResponseContent is not implemented yet.');
|
|
193
193
|
} else {
|
|
194
|
-
DynamoFM_Log.success(` <<<===== ${this.name} result sent.`);
|
|
194
|
+
DynamoFM_Log.success(` <<<===== '${this.name}' result sent.`);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
} catch (error) {
|
|
@@ -212,7 +212,7 @@ export class DynamoNTS_Endpoint_Params {
|
|
|
212
212
|
issuer: string
|
|
213
213
|
): Promise<void> {
|
|
214
214
|
try {
|
|
215
|
-
let msg: string = `Endpoint catched an error. ${this.name} (${this.endpoint})`;
|
|
215
|
+
let msg: string = `Endpoint catched an error. '${this.name}' (${this.endpoint})`;
|
|
216
216
|
|
|
217
217
|
msg += this.getPathParamsLogContent(req);
|
|
218
218
|
|
|
@@ -260,14 +260,14 @@ export class DynamoNTS_Endpoint_Params {
|
|
|
260
260
|
if (this.logRequest) {
|
|
261
261
|
if (this.logResponseContent) {
|
|
262
262
|
DynamoFM_Log.error(
|
|
263
|
-
` <<<===== ${this.name} error sent: ${(error as DynamoFM_Error)?._message ?? ''}`
|
|
263
|
+
` <<<===== '${this.name}' error sent: ${(error as DynamoFM_Error)?._message ?? ''}`
|
|
264
264
|
);
|
|
265
265
|
DynamoFM_Log.error(
|
|
266
266
|
'sorry, the logResponseContent is not implemented yet.'
|
|
267
267
|
);
|
|
268
268
|
} else {
|
|
269
269
|
DynamoFM_Log.error(
|
|
270
|
-
` <<<===== ${this.name} error sent: ${(error as DynamoFM_Error)?._message ?? ''}`
|
|
270
|
+
` <<<===== '${this.name}' error sent: ${(error as DynamoFM_Error)?._message ?? ''}`
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -278,7 +278,7 @@ export class DynamoNTS_Endpoint_Params {
|
|
|
278
278
|
DynamoFM_Log.H_error(
|
|
279
279
|
`\n\nDYNAMO MULTILEVEL ERROR:DynamoNTS_EndpointParams: error: ` +
|
|
280
280
|
`(${this.name}, ${this.endpoint})` +
|
|
281
|
-
`\n(DYNAMO MULTILEVEL ERROR means, that the
|
|
281
|
+
`\n(DYNAMO MULTILEVEL ERROR means, that the ERROR HANDLING is ALSO FAILED, ` +
|
|
282
282
|
`and the error message was not sent.)` +
|
|
283
283
|
`\nERROR:`, error,
|
|
284
284
|
'\n'
|
|
@@ -99,7 +99,7 @@ export class DynamoNTS_Usage_Controller extends DynamoNTS_Controller {
|
|
|
99
99
|
name: 'getUsageData',
|
|
100
100
|
type: DynamoNTS_HttpCallType.get,
|
|
101
101
|
endpoint: DynamoFM_usageModule_settings.endPoints.getUsageData,
|
|
102
|
-
preProcesses: [ this.authService.
|
|
102
|
+
preProcesses: [ this.authService.authenticate_tokenPerm_accUsageData ],
|
|
103
103
|
tasks: [
|
|
104
104
|
async (req: Request, res: Response): Promise<void> => {
|
|
105
105
|
const range: DynamoFM_RelativeDate = req.params.range as DynamoFM_RelativeDate;
|
|
@@ -1006,7 +1006,7 @@ export class DynamoNTS_DBService<T extends DynamoFM_Metadata> {
|
|
|
1006
1006
|
private getBEType(
|
|
1007
1007
|
type: string
|
|
1008
1008
|
): String | Number | Boolean | Object | Function | Array<any> | Date {
|
|
1009
|
-
switch (type) {
|
|
1009
|
+
switch (type.toLocaleLowerCase()) {
|
|
1010
1010
|
|
|
1011
1011
|
case 'string':
|
|
1012
1012
|
return String;
|
|
@@ -1017,14 +1017,14 @@ export class DynamoNTS_DBService<T extends DynamoFM_Metadata> {
|
|
|
1017
1017
|
case 'boolean':
|
|
1018
1018
|
return Boolean;
|
|
1019
1019
|
|
|
1020
|
-
case '
|
|
1020
|
+
case 'date':
|
|
1021
1021
|
return Date;
|
|
1022
1022
|
|
|
1023
1023
|
case 'object':
|
|
1024
1024
|
return Object;
|
|
1025
1025
|
|
|
1026
1026
|
default:
|
|
1027
|
-
if (type.includes('[]')) {
|
|
1027
|
+
if (type.includes('[]') || type.includes('array')) {
|
|
1028
1028
|
return Array;
|
|
1029
1029
|
} else if (type.includes('=>') || type.includes('function')) {
|
|
1030
1030
|
return Function;
|
|
@@ -168,10 +168,10 @@ export class DynamoNTS_ApiService {
|
|
|
168
168
|
}
|
|
169
169
|
): void {
|
|
170
170
|
DynamoFM_Log.error(
|
|
171
|
-
`\n
|
|
171
|
+
`\n---> API ERROR: '${callParams?.name}' failed...` +
|
|
172
172
|
`\n${callParams?.baseUrl}${callParams?.endPoint}`
|
|
173
173
|
);
|
|
174
|
-
|
|
174
|
+
|
|
175
175
|
if (DynamoNTS_globalSettings.logDetailedErrors) {
|
|
176
176
|
DynamoFM_Log.error(`\ncallParams:`, callParams);
|
|
177
177
|
}
|
|
@@ -181,7 +181,7 @@ export class DynamoNTS_ApiService {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
if ((error?.response?.data as DynamoFM_Error)?.flag?.includes('DYNAMO')) {
|
|
184
|
-
DynamoFM_Log.error(`\n${callParams.name} was UNSUCCESSFUL` /* , new Error() */);
|
|
184
|
+
DynamoFM_Log.error(`\n'${callParams.name}' was UNSUCCESSFUL` /* , new Error() */);
|
|
185
185
|
|
|
186
186
|
throw new DynamoFM_Error({
|
|
187
187
|
...this._getDefaultErrorSettings(
|
|
@@ -198,7 +198,7 @@ export class DynamoNTS_ApiService {
|
|
|
198
198
|
});
|
|
199
199
|
|
|
200
200
|
} else if (error.code === 'ENOTFOUND') {
|
|
201
|
-
DynamoFM_Log.error(`\n${callParams.name} was UNSUCCESSFUL` /* , new Error() */);
|
|
201
|
+
DynamoFM_Log.error(`\n'${callParams.name}' was UNSUCCESSFUL` /* , new Error() */);
|
|
202
202
|
|
|
203
203
|
throw new DynamoFM_Error({
|
|
204
204
|
...this._getDefaultErrorSettings(
|
|
@@ -216,7 +216,7 @@ export class DynamoNTS_ApiService {
|
|
|
216
216
|
});
|
|
217
217
|
|
|
218
218
|
} else if (error.code === 'ECONNREFUSED') {
|
|
219
|
-
DynamoFM_Log.error(`\n${callParams.name} was UNSUCCESSFUL` /* , new Error() */);
|
|
219
|
+
DynamoFM_Log.error(`\n'${callParams.name}' was UNSUCCESSFUL` /* , new Error() */);
|
|
220
220
|
|
|
221
221
|
throw new DynamoFM_Error({
|
|
222
222
|
...this._getDefaultErrorSettings(
|
|
@@ -271,10 +271,10 @@ export class DynamoNTS_ApiService {
|
|
|
271
271
|
).then((res: Axios.AxiosResponse): T_Response => {
|
|
272
272
|
if (DynamoNTS_globalSettings.logApiEvents) {
|
|
273
273
|
if (DynamoNTS_globalSettings.logApiResponseContents) {
|
|
274
|
-
DynamoFM_Log.success(
|
|
274
|
+
DynamoFM_Log.success(`---> '${callParams.name}' api call was successful`, res.data);
|
|
275
275
|
|
|
276
276
|
} else {
|
|
277
|
-
DynamoFM_Log.success(
|
|
277
|
+
DynamoFM_Log.success(`---> '${callParams.name}' api call was successful`);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -295,9 +295,9 @@ export class DynamoNTS_ApiService {
|
|
|
295
295
|
(res: Axios.AxiosResponse): T_Response => {
|
|
296
296
|
if (DynamoNTS_globalSettings.logApiEvents) {
|
|
297
297
|
if (DynamoNTS_globalSettings.logApiResponseContents) {
|
|
298
|
-
DynamoFM_Log.success(
|
|
298
|
+
DynamoFM_Log.success(`'${callParams.name}' was successful`, res.data);
|
|
299
299
|
} else {
|
|
300
|
-
DynamoFM_Log.success(
|
|
300
|
+
DynamoFM_Log.success(`'${callParams.name}' was successful`);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
|
@@ -317,9 +317,9 @@ export class DynamoNTS_ApiService {
|
|
|
317
317
|
(res: Axios.AxiosResponse): T_Response => {
|
|
318
318
|
if (DynamoNTS_globalSettings.logApiEvents) {
|
|
319
319
|
if (DynamoNTS_globalSettings.logApiResponseContents) {
|
|
320
|
-
DynamoFM_Log.success(
|
|
320
|
+
DynamoFM_Log.success(`'${callParams.name}' was successful`, res.data);
|
|
321
321
|
} else {
|
|
322
|
-
DynamoFM_Log.success(
|
|
322
|
+
DynamoFM_Log.success(`'${callParams.name}' was successful`);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
|
|
@@ -338,10 +338,14 @@ export class DynamoNTS_ApiService {
|
|
|
338
338
|
callParams: DynamoNTS_ApiCall_Params
|
|
339
339
|
): void {
|
|
340
340
|
if (DynamoNTS_globalSettings.logApiRequestContents) {
|
|
341
|
-
DynamoFM_Log.log(
|
|
341
|
+
DynamoFM_Log.log(
|
|
342
|
+
`<--- outgoing API call: '${callParams?.name}' ` +
|
|
343
|
+
`\n(${url})` +
|
|
344
|
+
`\nbody:`, inputParams?.body
|
|
345
|
+
);
|
|
342
346
|
|
|
343
347
|
} else {
|
|
344
|
-
DynamoFM_Log.log(
|
|
348
|
+
DynamoFM_Log.log(`<--- outgoing API call: '${callParams?.name}'`);
|
|
345
349
|
}
|
|
346
350
|
|
|
347
351
|
if (DynamoNTS_globalSettings.logApiRequestSettings) {
|
|
@@ -106,7 +106,7 @@ export abstract class DynamoNTS_AuthService extends DynamoNTS_SingletonService {
|
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
*
|
|
109
|
-
* async
|
|
109
|
+
* async authenticate_tokenSelf(req: Request, res: Response, next: NextFunction): Promise<void> {
|
|
110
110
|
* try {
|
|
111
111
|
* let token = AuthService.getTokenFromRequest(req);
|
|
112
112
|
* token = await AuthService.verifyTokenSelf(token, req?.params?.userId);
|
|
@@ -117,7 +117,7 @@ export abstract class DynamoNTS_AuthService extends DynamoNTS_SingletonService {
|
|
|
117
117
|
* } catch (error) {
|
|
118
118
|
* error = new DynamoFM_Error({
|
|
119
119
|
* status: 401,
|
|
120
|
-
* message: `
|
|
120
|
+
* message: `authenticate_tokenSelf (WB-ERROR)`,
|
|
121
121
|
* addECToUserMsg: true,
|
|
122
122
|
* userMessage: `Authorization failed.`,
|
|
123
123
|
* error
|
|
@@ -146,7 +146,7 @@ export abstract class DynamoNTS_AuthService extends DynamoNTS_SingletonService {
|
|
|
146
146
|
* AuthService.authTokenAndPerm(req, res, next, Permission.accessUsageData);
|
|
147
147
|
* }
|
|
148
148
|
*/
|
|
149
|
-
abstract
|
|
149
|
+
abstract authenticate_tokenPerm_accUsageData: (req: Request, res: Response) => Promise<void>;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* The DynamoBE System is using this to get issuer, that will be set on DBServices
|
|
@@ -47,7 +47,7 @@ export interface DynamoNTS_SendEmail_Settings<T = { [propertyKey: string]: strin
|
|
|
47
47
|
/** direct email content, if provided, this will be used */
|
|
48
48
|
content?: string;
|
|
49
49
|
|
|
50
|
-
templateComponentName
|
|
50
|
+
templateComponentName?: string;
|
|
51
51
|
templateProperties?: T;
|
|
52
52
|
|
|
53
53
|
attachments?: Attachment[];
|
|
@@ -28,7 +28,7 @@ import { DynamoNTS_SingletonService } from '../base/singleton.service';
|
|
|
28
28
|
* name: 'getUserMatchStatistics',
|
|
29
29
|
* type: DynamoNX_HttpCallType.get,
|
|
30
30
|
* endpoint: '/get/user-match-statistics/:userId',
|
|
31
|
-
* preProcesses: [ this.authService.
|
|
31
|
+
* preProcesses: [ this.authService.authenticate_tokenSelf ],
|
|
32
32
|
* tasks: [
|
|
33
33
|
* async (req: Request, res: Response) => {
|
|
34
34
|
* const userMatchStatistics = new UserMatchStatisticsService({
|
|
@@ -59,7 +59,7 @@ export abstract class DynamoNTS_Controller extends DynamoNTS_SingletonService {
|
|
|
59
59
|
* name: 'getUserMatchStatistics',
|
|
60
60
|
* type: DynamoNX_HttpCallType.get,
|
|
61
61
|
* endpoint: '/get/user-match-statistics/:userId',
|
|
62
|
-
* preProcesses: [ this.authService.
|
|
62
|
+
* preProcesses: [ this.authService.authenticate_tokenSelf ],
|
|
63
63
|
* tasks: [
|
|
64
64
|
* async (req: Request, res: Response) => {
|
|
65
65
|
* const userMatchStatistics = new UserMatchStatisticsService({
|
|
@@ -107,7 +107,7 @@ export abstract class DynamoNTS_Controller extends DynamoNTS_SingletonService {
|
|
|
107
107
|
* name: 'getUserMatchStatistics',
|
|
108
108
|
* type: DynamoNX_HttpCallType.get,
|
|
109
109
|
* endpoint: '/get/user-match-statistics/:userId',
|
|
110
|
-
* preProcesses: [ this.authService.
|
|
110
|
+
* preProcesses: [ this.authService.authenticate_tokenSelf ],
|
|
111
111
|
* tasks: [
|
|
112
112
|
* async (req: Request, res: Response) => {
|
|
113
113
|
* const userMatchStatistics = new UserMatchStatisticsService({
|
package/tsconfig.json
CHANGED
|
@@ -24,22 +24,18 @@
|
|
|
24
24
|
"resolveJsonModule": true,
|
|
25
25
|
"paths": {
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"include": [
|
|
31
|
-
"src"
|
|
32
|
-
],
|
|
33
|
-
"DISABLED": {
|
|
34
|
-
|
|
27
|
+
/*
|
|
35
28
|
"@futdevpro/fsm-dynamo": [
|
|
36
29
|
"../dynamo-fsm/src/index.ts",
|
|
37
30
|
],
|
|
38
31
|
"@futdevpro/fsm-dynamo/*": [
|
|
39
32
|
"../dynamo-fsm/src/_modules/*.index.ts",
|
|
40
|
-
],
|
|
33
|
+
], */
|
|
41
34
|
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"include": [
|
|
39
|
+
"src"
|
|
40
|
+
]
|
|
45
41
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* basic Http Call Types such as;
|
|
3
|
-
* get, post, put, patch, delete
|
|
4
|
-
*/
|
|
5
|
-
export declare enum DynamoNTS_HttpCallType {
|
|
6
|
-
get = "get",
|
|
7
|
-
post = "post",
|
|
8
|
-
put = "put",
|
|
9
|
-
patch = "patch",
|
|
10
|
-
delete = "delete"
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=http-call-type.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http-call-type.enum.d.ts","sourceRoot":"","sources":["http-call-type.enum.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,oBAAY,sBAAsB;IAChC,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoNTS_HttpCallType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* basic Http Call Types such as;
|
|
6
|
-
* get, post, put, patch, delete
|
|
7
|
-
*/
|
|
8
|
-
var DynamoNTS_HttpCallType;
|
|
9
|
-
(function (DynamoNTS_HttpCallType) {
|
|
10
|
-
DynamoNTS_HttpCallType["get"] = "get";
|
|
11
|
-
DynamoNTS_HttpCallType["post"] = "post";
|
|
12
|
-
DynamoNTS_HttpCallType["put"] = "put";
|
|
13
|
-
DynamoNTS_HttpCallType["patch"] = "patch";
|
|
14
|
-
DynamoNTS_HttpCallType["delete"] = "delete";
|
|
15
|
-
})(DynamoNTS_HttpCallType || (exports.DynamoNTS_HttpCallType = DynamoNTS_HttpCallType = {}));
|
|
16
|
-
//# sourceMappingURL=http-call-type.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http-call-type.enum.js","sourceRoot":"","sources":["http-call-type.enum.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,qCAAW,CAAA;IACX,uCAAa,CAAA;IACb,qCAAW,CAAA;IACX,yCAAe,CAAA;IACf,2CAAiB,CAAA;AACnB,CAAC,EANW,sBAAsB,sCAAtB,sBAAsB,QAMjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http-response-type.enum.d.ts","sourceRoot":"","sources":["http-response-type.enum.ts"],"names":[],"mappings":"AACA,oBAAY,0BAA0B;IACpC,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoNTS_HttpResponseType = void 0;
|
|
4
|
-
var DynamoNTS_HttpResponseType;
|
|
5
|
-
(function (DynamoNTS_HttpResponseType) {
|
|
6
|
-
DynamoNTS_HttpResponseType["arraybuffer"] = "arraybuffer";
|
|
7
|
-
DynamoNTS_HttpResponseType["blob"] = "blob";
|
|
8
|
-
DynamoNTS_HttpResponseType["json"] = "json";
|
|
9
|
-
DynamoNTS_HttpResponseType["text"] = "text";
|
|
10
|
-
})(DynamoNTS_HttpResponseType || (exports.DynamoNTS_HttpResponseType = DynamoNTS_HttpResponseType = {}));
|
|
11
|
-
//# sourceMappingURL=http-response-type.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http-response-type.enum.js","sourceRoot":"","sources":["http-response-type.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,yDAA2B,CAAA;IAC3B,2CAAa,CAAA;IACb,2CAAa,CAAA;IACb,2CAAa,CAAA;AACf,CAAC,EALW,0BAA0B,0CAA1B,0BAA0B,QAKrC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum DynamoNTS_SocketEventKey {
|
|
2
|
-
/** incoming connection */
|
|
3
|
-
connection = "connection",
|
|
4
|
-
/** outgoing connection */
|
|
5
|
-
connect = "connect",
|
|
6
|
-
subscribe = "subscribe",
|
|
7
|
-
subscriptionSuccessful = "subscriptionSuccessful",
|
|
8
|
-
unsubscribe = "unsubscribe",
|
|
9
|
-
unsubscribeSuccessful = "unsubscribeSuccessful",
|
|
10
|
-
disconnect = "disconnection",
|
|
11
|
-
ping = "ping",
|
|
12
|
-
event = "event",
|
|
13
|
-
error = "error"
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=socket-event-type.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"socket-event-type.enum.d.ts","sourceRoot":"","sources":["socket-event-type.enum.ts"],"names":[],"mappings":"AACA,oBAAY,wBAAwB;IAClC,0BAA0B;IAC1B,UAAU,eAAe;IACzB,0BAA0B;IAC1B,OAAO,YAAY;IAEnB,SAAS,cAAc;IACvB,sBAAsB,2BAA2B;IACjD,WAAW,gBAAgB;IAC3B,qBAAqB,0BAA0B;IAC/C,UAAU,kBAAkB;IAE5B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoNTS_SocketEventKey = void 0;
|
|
4
|
-
var DynamoNTS_SocketEventKey;
|
|
5
|
-
(function (DynamoNTS_SocketEventKey) {
|
|
6
|
-
/** incoming connection */
|
|
7
|
-
DynamoNTS_SocketEventKey["connection"] = "connection";
|
|
8
|
-
/** outgoing connection */
|
|
9
|
-
DynamoNTS_SocketEventKey["connect"] = "connect";
|
|
10
|
-
DynamoNTS_SocketEventKey["subscribe"] = "subscribe";
|
|
11
|
-
DynamoNTS_SocketEventKey["subscriptionSuccessful"] = "subscriptionSuccessful";
|
|
12
|
-
DynamoNTS_SocketEventKey["unsubscribe"] = "unsubscribe";
|
|
13
|
-
DynamoNTS_SocketEventKey["unsubscribeSuccessful"] = "unsubscribeSuccessful";
|
|
14
|
-
DynamoNTS_SocketEventKey["disconnect"] = "disconnection";
|
|
15
|
-
DynamoNTS_SocketEventKey["ping"] = "ping";
|
|
16
|
-
DynamoNTS_SocketEventKey["event"] = "event";
|
|
17
|
-
DynamoNTS_SocketEventKey["error"] = "error";
|
|
18
|
-
})(DynamoNTS_SocketEventKey || (exports.DynamoNTS_SocketEventKey = DynamoNTS_SocketEventKey = {}));
|
|
19
|
-
//# sourceMappingURL=socket-event-type.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"socket-event-type.enum.js","sourceRoot":"","sources":["socket-event-type.enum.ts"],"names":[],"mappings":";;;AACA,IAAY,wBAeX;AAfD,WAAY,wBAAwB;IAClC,0BAA0B;IAC1B,qDAAyB,CAAA;IACzB,0BAA0B;IAC1B,+CAAmB,CAAA;IAEnB,mDAAuB,CAAA;IACvB,6EAAiD,CAAA;IACjD,uDAA2B,CAAA;IAC3B,2EAA+C,CAAA;IAC/C,wDAA4B,CAAA;IAE5B,yCAAa,CAAA;IACb,2CAAe,CAAA;IACf,2CAAe,CAAA;AACjB,CAAC,EAfW,wBAAwB,wCAAxB,wBAAwB,QAenC"}
|