@futdevpro/nts-dynamo 1.5.36 → 1.5.37
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/_constants/dynamo-nts-global-settings.d.ts +3 -0
- package/lib/_constants/dynamo-nts-global-settings.d.ts.map +1 -0
- package/lib/_constants/dynamo-nts-global-settings.js +18 -0
- package/lib/_constants/dynamo-nts-global-settings.js.map +1 -0
- package/lib/_constants/index.d.ts +1 -1
- package/lib/_constants/index.js +1 -1
- package/lib/_models/dynamo-nts-socket-service-params.d.ts +19 -0
- package/lib/_models/dynamo-nts-socket-service-params.d.ts.map +1 -0
- package/lib/_models/dynamo-nts-socket-service-params.js +27 -0
- package/lib/_models/dynamo-nts-socket-service-params.js.map +1 -0
- package/lib/_models/index.d.ts +1 -1
- package/lib/_models/index.d.ts.map +1 -1
- package/lib/_models/index.js +1 -1
- package/lib/_models/index.js.map +1 -1
- package/lib/_modules/app-extended.index.d.ts +1 -1
- package/lib/_modules/app-extended.index.js +1 -1
- package/lib/_modules/app.index.d.ts +1 -1
- package/lib/_modules/app.index.js +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.js +1 -1
- package/lib/_services/dynamo-nts-socket.service.d.ts +2 -2
- package/lib/_services/dynamo-nts-socket.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.js +1 -1
- package/lib/tsconfig.tsbuildinfo +33 -33
- package/package.json +1 -1
- package/src/_constants/index.ts +1 -1
- package/src/_models/dynamo-nts-socket-event-params.ts +1 -1
- package/src/_models/{dynamo-nts-socket-module-settings.ts → dynamo-nts-socket-service-params.ts} +1 -1
- package/src/_models/index.ts +1 -1
- package/src/_modules/app-extended.index.ts +1 -1
- package/src/_modules/app.index.ts +1 -1
- package/src/_services/dynamo-nts-routing-module.service.ts +1 -1
- package/src/_services/dynamo-nts-socket.service.ts +3 -3
- /package/src/_constants/{dynamo-nts-global.settings.ts → dynamo-nts-global-settings.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export * from './dynamo-nts-global
|
|
1
|
+
export * from './dynamo-nts-global-settings';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/_constants/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./dynamo-nts-global
|
|
4
|
+
tslib_1.__exportStar(require("./dynamo-nts-global-settings"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DynamoNTS_SocketSecurity } from '../_enums/dynamo-nts-socket-security.enum';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export declare class DynamoNTS_SocketServiceParams {
|
|
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-service-params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamo-nts-socket-service-params.d.ts","sourceRoot":"","sources":["../../src/_models/dynamo-nts-socket-service-params.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAGrF;;GAEG;AACH,qBAAa,6BAA6B;IACxC,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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoNTS_SocketServiceParams = void 0;
|
|
4
|
+
const _constants_1 = require("../_constants");
|
|
5
|
+
const _services_1 = require("../_services");
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
class DynamoNTS_SocketServiceParams {
|
|
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_SocketServiceParams = DynamoNTS_SocketServiceParams;
|
|
27
|
+
//# sourceMappingURL=dynamo-nts-socket-service-params.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamo-nts-socket-service-params.js","sourceRoot":"","sources":["../../src/_models/dynamo-nts-socket-service-params.ts"],"names":[],"mappings":";;;AACA,8CAAyD;AAEzD,4CAAgD;AAEhD;;GAEG;AACH,MAAa,6BAA6B;IAQxC,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,sEAiCC"}
|
package/lib/_models/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export * from './dynamo-nts-endpoint-params';
|
|
|
4
4
|
export * from './dynamo-nts-global-settings';
|
|
5
5
|
export * from './dynamo-nts-routing-module-settings';
|
|
6
6
|
export * from './dynamo-nts-socket-event-params';
|
|
7
|
-
export * from './dynamo-nts-socket-
|
|
7
|
+
export * from './dynamo-nts-socket-service-params';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/_models/index.ts"],"names":[],"mappings":"AAGA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/_models/index.ts"],"names":[],"mappings":"AAGA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC"}
|
package/lib/_models/index.js
CHANGED
|
@@ -8,5 +8,5 @@ tslib_1.__exportStar(require("./dynamo-nts-endpoint-params"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./dynamo-nts-global-settings"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./dynamo-nts-routing-module-settings"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./dynamo-nts-socket-event-params"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./dynamo-nts-socket-
|
|
11
|
+
tslib_1.__exportStar(require("./dynamo-nts-socket-service-params"), exports);
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
package/lib/_models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/_models/index.ts"],"names":[],"mappings":";;;AAEA,SAAS;AACT,uEAA6C;AAC7C,kEAAwC;AACxC,uEAA6C;AAC7C,uEAA6C;AAC7C,+EAAqD;AACrD,2EAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/_models/index.ts"],"names":[],"mappings":";;;AAEA,SAAS;AACT,uEAA6C;AAC7C,kEAAwC;AACxC,uEAA6C;AAC7C,uEAA6C;AAC7C,+EAAqD;AACrD,2EAAiD;AACjD,6EAAmD"}
|
|
@@ -8,5 +8,5 @@ export * from '../_models/dynamo-nts-endpoint-params';
|
|
|
8
8
|
export * from '../_models/dynamo-nts-global-settings';
|
|
9
9
|
export * from '../_models/dynamo-nts-routing-module-settings';
|
|
10
10
|
export * from '../_enums/dynamo-nts-route-security.enum';
|
|
11
|
-
export * from '../_constants/dynamo-nts-global
|
|
11
|
+
export * from '../_constants/dynamo-nts-global-settings';
|
|
12
12
|
//# sourceMappingURL=app-extended.index.d.ts.map
|
|
@@ -15,5 +15,5 @@ tslib_1.__exportStar(require("../_models/dynamo-nts-routing-module-settings"), e
|
|
|
15
15
|
// ENUMS
|
|
16
16
|
tslib_1.__exportStar(require("../_enums/dynamo-nts-route-security.enum"), exports);
|
|
17
17
|
// CONSTANTS
|
|
18
|
-
tslib_1.__exportStar(require("../_constants/dynamo-nts-global
|
|
18
|
+
tslib_1.__exportStar(require("../_constants/dynamo-nts-global-settings"), exports);
|
|
19
19
|
//# sourceMappingURL=app-extended.index.js.map
|
|
@@ -7,5 +7,5 @@ export * from '../_models/dynamo-nts-endpoint-params';
|
|
|
7
7
|
export * from '../_models/dynamo-nts-global-settings';
|
|
8
8
|
export * from '../_models/dynamo-nts-routing-module-settings';
|
|
9
9
|
export * from '../_enums/dynamo-nts-route-security.enum';
|
|
10
|
-
export * from '../_constants/dynamo-nts-global
|
|
10
|
+
export * from '../_constants/dynamo-nts-global-settings';
|
|
11
11
|
//# sourceMappingURL=app.index.d.ts.map
|
|
@@ -14,5 +14,5 @@ tslib_1.__exportStar(require("../_models/dynamo-nts-routing-module-settings"), e
|
|
|
14
14
|
// ENUMS
|
|
15
15
|
tslib_1.__exportStar(require("../_enums/dynamo-nts-route-security.enum"), exports);
|
|
16
16
|
// CONSTANTS
|
|
17
|
-
tslib_1.__exportStar(require("../_constants/dynamo-nts-global
|
|
17
|
+
tslib_1.__exportStar(require("../_constants/dynamo-nts-global-settings"), exports);
|
|
18
18
|
//# sourceMappingURL=app.index.js.map
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DynamoNTS_RoutingModule = void 0;
|
|
4
4
|
const express_1 = require("express");
|
|
5
5
|
const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
|
|
6
|
-
const dynamo_nts_global_settings_1 = require("../_constants/dynamo-nts-global
|
|
6
|
+
const dynamo_nts_global_settings_1 = require("../_constants/dynamo-nts-global-settings");
|
|
7
7
|
const dynamo_nts_route_security_enum_1 = require("../_enums/dynamo-nts-route-security.enum");
|
|
8
8
|
const http_call_type_enum_1 = require("../_enums/http/http-call-type.enum");
|
|
9
9
|
const dynamo_nts_shared_service_1 = require("./dynamo-nts-shared.service");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as SocketIO from 'socket.io';
|
|
2
|
-
import {
|
|
2
|
+
import { DynamoNTS_SocketServiceParams } from '../_models';
|
|
3
3
|
import { DynamoNTS_SingletonService } from './dynamo-nts-singleton.service';
|
|
4
4
|
import { DynamoNTS_SocketEventParams } from '../_models/dynamo-nts-socket-event-params';
|
|
5
5
|
import { DynamoNTS_SocketSecurity } from '../_enums';
|
|
@@ -11,7 +11,7 @@ export interface DynamoNTS_SocketDictionary {
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
export declare abstract class DynamoNTS_SocketService extends DynamoNTS_SingletonService {
|
|
14
|
-
protected params:
|
|
14
|
+
protected params: DynamoNTS_SocketServiceParams;
|
|
15
15
|
get name(): string;
|
|
16
16
|
get security(): DynamoNTS_SocketSecurity;
|
|
17
17
|
get port(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamo-nts-socket.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-socket.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAItC,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"dynamo-nts-socket.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-socket.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAItC,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAIxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,MAAM,WAAW,0BAA0B;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC;CAC5B;AAED;;GAEG;AACH,8BAAsB,uBAAwB,SAAQ,0BAA0B;IAC9E,SAAS,CAAC,MAAM,EAAE,6BAA6B,CAAC;IAChD,IAAI,IAAI,IAAI,MAAM,CAEjB;IACD,IAAI,QAAQ,IAAI,wBAAwB,CAEvC;IACD,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,SAAS,CAAC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC;IAExC,OAAO,CAAC,YAAY,CAA+C;IACnE,SAAS,CAAC,MAAM,EAAE,2BAA2B,CAAC,GAAG,CAAC,EAAE,CAAC;IAErD,OAAO,CAAC,iBAAiB,CAAmC;IAC5D,OAAO,CAAC,sBAAsB,CAAC,CAA4B;IAC3D,OAAO,CAAC,aAAa,CAAoC;IAEzD,SAAS,CAAC,GAAG,EAAE,OAAO,CAAqC;;IAkB3D,OAAO,CAAC,wBAAwB;IAIhC;;OAEG;IACH,OAAO,CAAC,aAAa;IAoCrB,iBAAiB,CAAC,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,IAAI;YAkC3C,kBAAkB;YASlB,8BAA8B;IAW5C,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI;IAI5C,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,IAAI;IAW7D;;;OAGG;IACF,QAAQ,CAAC,kBAAkB,IAAI,IAAI;IAEpC;;OAEG;IACH,QAAQ,CAAC,WAAW,IAAI,IAAI;CAC7B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoNTS_SocketService = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const dynamo_nts_global_settings_1 = require("../_constants/dynamo-nts-global
|
|
5
|
+
const dynamo_nts_global_settings_1 = require("../_constants/dynamo-nts-global-settings");
|
|
6
6
|
const dynamo_nts_shared_service_1 = require("./dynamo-nts-shared.service");
|
|
7
7
|
const dynamo_nts_singleton_service_1 = require("./dynamo-nts-singleton.service");
|
|
8
8
|
const dynamo_nts_socket_event_params_1 = require("../_models/dynamo-nts-socket-event-params");
|
package/lib/tsconfig.tsbuildinfo
CHANGED
|
@@ -206,14 +206,14 @@
|
|
|
206
206
|
"signature": "22504be590e4cb0a5bac375e0e1cfd4ab2dd556ba51545ed1005254303fef36c",
|
|
207
207
|
"affectsGlobalScope": false
|
|
208
208
|
},
|
|
209
|
-
"../src/_constants/dynamo-nts-global
|
|
209
|
+
"../src/_constants/dynamo-nts-global-settings.ts": {
|
|
210
210
|
"version": "a77c2b2a5389a5b46aa011f7c7b5e62fe5e8dab9e2ccd9fd9317714cfd4e4cc1",
|
|
211
|
-
"signature": "
|
|
211
|
+
"signature": "202d3393bb587dbb48b9f339f135b0850d61165d6c6f921749e7deb029061fa3",
|
|
212
212
|
"affectsGlobalScope": false
|
|
213
213
|
},
|
|
214
214
|
"../src/_constants/index.ts": {
|
|
215
|
-
"version": "
|
|
216
|
-
"signature": "
|
|
215
|
+
"version": "380cbb6e008163d3c686fc8e12edaded3e053a8bd49d51d95d8acbcdb8726ccc",
|
|
216
|
+
"signature": "c04161dccd211703423bf317d2cf58cdc6eebe2d8a2754f41c6d354f84d5ac3c",
|
|
217
217
|
"affectsGlobalScope": false
|
|
218
218
|
},
|
|
219
219
|
"../src/_enums/data-model-type.enum.ts": {
|
|
@@ -922,13 +922,13 @@
|
|
|
922
922
|
"affectsGlobalScope": false
|
|
923
923
|
},
|
|
924
924
|
"../src/_models/dynamo-nts-socket-event-params.ts": {
|
|
925
|
-
"version": "
|
|
925
|
+
"version": "75c455048cbffd820cb46b8625e6f0325ad4f9a58ec2a99be8534ccb65fdb798",
|
|
926
926
|
"signature": "1a66eada99ca632394f2e845305a5a9982ddd8c93a78f99f66b13b3a35b1e6ff",
|
|
927
927
|
"affectsGlobalScope": false
|
|
928
928
|
},
|
|
929
929
|
"../src/_services/dynamo-nts-socket.service.ts": {
|
|
930
|
-
"version": "
|
|
931
|
-
"signature": "
|
|
930
|
+
"version": "f466950cdcc661fae010ae2ae41478b348f9d39dab3aeaf9b9d2735f97a35700",
|
|
931
|
+
"signature": "b810f6d6d77055747cfcba8bfcddfd26723e44e817ea60c66ce15c50dda87606",
|
|
932
932
|
"affectsGlobalScope": false
|
|
933
933
|
},
|
|
934
934
|
"../src/_services/dynamo-nts-socket-service-collection.service.ts": {
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
"affectsGlobalScope": false
|
|
963
963
|
},
|
|
964
964
|
"../src/_services/dynamo-nts-routing-module.service.ts": {
|
|
965
|
-
"version": "
|
|
965
|
+
"version": "e6f1e4920394921c808d902d5c51d869b1ed10f0877d519411247a342d91745d",
|
|
966
966
|
"signature": "3f4d1bf6c6c5f1b68e538c341bb8c60cbf5d8898bc606ce451d142b88bce8814",
|
|
967
967
|
"affectsGlobalScope": false
|
|
968
968
|
},
|
|
@@ -991,14 +991,14 @@
|
|
|
991
991
|
"signature": "27b03d2e7459022c9bf22b5aae1f7d6db9a9ca1dfc75d07450a682088336fad2",
|
|
992
992
|
"affectsGlobalScope": false
|
|
993
993
|
},
|
|
994
|
-
"../src/_models/dynamo-nts-socket-
|
|
995
|
-
"version": "
|
|
996
|
-
"signature": "
|
|
994
|
+
"../src/_models/dynamo-nts-socket-service-params.ts": {
|
|
995
|
+
"version": "3be5464df66664cd8d28ea3d1faba12158c9d957925cb780c85ff4e544f4c457",
|
|
996
|
+
"signature": "36f5ec4937cb5152a84d6afb828e92909b917362cf0f8fe8f1312d7ab6461652",
|
|
997
997
|
"affectsGlobalScope": false
|
|
998
998
|
},
|
|
999
999
|
"../src/_models/index.ts": {
|
|
1000
|
-
"version": "
|
|
1001
|
-
"signature": "
|
|
1000
|
+
"version": "c220ae9795d2136ba0fce39a4f12034e09e1a0f7d1deba4480f43582948f3c6f",
|
|
1001
|
+
"signature": "c4c57a1eb4f400216cbee95f1d222d52894b58bbfc91bd60e86fb9e8df5a674f",
|
|
1002
1002
|
"affectsGlobalScope": false
|
|
1003
1003
|
},
|
|
1004
1004
|
"../node_modules/@futdevpro/fsm-dynamo/lib/_modules/test-module.index.d.ts": {
|
|
@@ -1067,13 +1067,13 @@
|
|
|
1067
1067
|
"affectsGlobalScope": false
|
|
1068
1068
|
},
|
|
1069
1069
|
"../src/_modules/app-extended.index.ts": {
|
|
1070
|
-
"version": "
|
|
1071
|
-
"signature": "
|
|
1070
|
+
"version": "28191aaf1a437479ae2a5e5488340ba88dc1abdce6574ad1a914dc48da8b4c6a",
|
|
1071
|
+
"signature": "a06ba6f9f5cf3973d58944f6f15440e7ca8b379903f88e78ca946baae11eac78",
|
|
1072
1072
|
"affectsGlobalScope": false
|
|
1073
1073
|
},
|
|
1074
1074
|
"../src/_modules/app.index.ts": {
|
|
1075
|
-
"version": "
|
|
1076
|
-
"signature": "
|
|
1075
|
+
"version": "ed8350eac7e826b9b38a2de9752c8f77b8941fe9ec78b441b15fb92f5c092686",
|
|
1076
|
+
"signature": "b0f97b8643fc193eb40e12b1d71ae58dd9d4591397c7ef2f8892a491674956c3",
|
|
1077
1077
|
"affectsGlobalScope": false
|
|
1078
1078
|
},
|
|
1079
1079
|
"../src/_modules/auth.index.ts": {
|
|
@@ -2792,7 +2792,7 @@
|
|
|
2792
2792
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
2793
2793
|
"../node_modules/@types/node/util.d.ts"
|
|
2794
2794
|
],
|
|
2795
|
-
"../src/_constants/dynamo-nts-global
|
|
2795
|
+
"../src/_constants/dynamo-nts-global-settings.ts": [
|
|
2796
2796
|
"../node_modules/@types/node/fs.d.ts",
|
|
2797
2797
|
"../node_modules/@types/node/process.d.ts",
|
|
2798
2798
|
"../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
@@ -2810,7 +2810,7 @@
|
|
|
2810
2810
|
"../node_modules/@types/node/ts3.2/process.d.ts",
|
|
2811
2811
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
2812
2812
|
"../node_modules/@types/node/util.d.ts",
|
|
2813
|
-
"../src/_constants/dynamo-nts-global
|
|
2813
|
+
"../src/_constants/dynamo-nts-global-settings.ts"
|
|
2814
2814
|
],
|
|
2815
2815
|
"../src/_enums/data-model-type.enum.ts": [
|
|
2816
2816
|
"../node_modules/@types/node/fs.d.ts",
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
"../src/_enums/http/socket-event.enum.ts",
|
|
2956
2956
|
"../src/_services/dynamo-nts-shared.service.ts"
|
|
2957
2957
|
],
|
|
2958
|
-
"../src/_models/dynamo-nts-socket-
|
|
2958
|
+
"../src/_models/dynamo-nts-socket-service-params.ts": [
|
|
2959
2959
|
"../node_modules/@types/node/fs.d.ts",
|
|
2960
2960
|
"../node_modules/@types/node/process.d.ts",
|
|
2961
2961
|
"../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
@@ -2979,7 +2979,7 @@
|
|
|
2979
2979
|
"../src/_models/dynamo-nts-global-settings.ts",
|
|
2980
2980
|
"../src/_models/dynamo-nts-routing-module-settings.ts",
|
|
2981
2981
|
"../src/_models/dynamo-nts-socket-event-params.ts",
|
|
2982
|
-
"../src/_models/dynamo-nts-socket-
|
|
2982
|
+
"../src/_models/dynamo-nts-socket-service-params.ts"
|
|
2983
2983
|
],
|
|
2984
2984
|
"../src/_modules/api-service.index.ts": [
|
|
2985
2985
|
"../node_modules/@futdevpro/fsm-dynamo/lib/_modules/error-module.index.d.ts",
|
|
@@ -3001,7 +3001,7 @@
|
|
|
3001
3001
|
"../node_modules/@types/node/ts3.2/process.d.ts",
|
|
3002
3002
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3003
3003
|
"../node_modules/@types/node/util.d.ts",
|
|
3004
|
-
"../src/_constants/dynamo-nts-global
|
|
3004
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
3005
3005
|
"../src/_enums/dynamo-nts-route-security.enum.ts",
|
|
3006
3006
|
"../src/_models/dynamo-nts-app-params.ts",
|
|
3007
3007
|
"../src/_models/dynamo-nts-endpoint-params.ts",
|
|
@@ -3020,7 +3020,7 @@
|
|
|
3020
3020
|
"../node_modules/@types/node/ts3.2/process.d.ts",
|
|
3021
3021
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3022
3022
|
"../node_modules/@types/node/util.d.ts",
|
|
3023
|
-
"../src/_constants/dynamo-nts-global
|
|
3023
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
3024
3024
|
"../src/_enums/dynamo-nts-route-security.enum.ts",
|
|
3025
3025
|
"../src/_models/dynamo-nts-app-params.ts",
|
|
3026
3026
|
"../src/_models/dynamo-nts-endpoint-params.ts",
|
|
@@ -3331,7 +3331,7 @@
|
|
|
3331
3331
|
"../node_modules/@types/node/ts3.2/process.d.ts",
|
|
3332
3332
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3333
3333
|
"../node_modules/@types/node/util.d.ts",
|
|
3334
|
-
"../src/_constants/dynamo-nts-global
|
|
3334
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
3335
3335
|
"../src/_enums/dynamo-nts-route-security.enum.ts",
|
|
3336
3336
|
"../src/_enums/http/http-call-type.enum.ts",
|
|
3337
3337
|
"../src/_models/dynamo-nts-endpoint-params.ts",
|
|
@@ -3378,7 +3378,7 @@
|
|
|
3378
3378
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
3379
3379
|
"../node_modules/@types/node/util.d.ts",
|
|
3380
3380
|
"../node_modules/socket.io/dist/index.d.ts",
|
|
3381
|
-
"../src/_constants/dynamo-nts-global
|
|
3381
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
3382
3382
|
"../src/_enums/http/socket-event.enum.ts",
|
|
3383
3383
|
"../src/_enums/index.ts",
|
|
3384
3384
|
"../src/_models/dynamo-nts-socket-event-params.ts",
|
|
@@ -5098,11 +5098,11 @@
|
|
|
5098
5098
|
"../node_modules/@types/node/ts3.2/util.d.ts",
|
|
5099
5099
|
"../node_modules/@types/node/util.d.ts"
|
|
5100
5100
|
],
|
|
5101
|
-
"../src/_constants/dynamo-nts-global
|
|
5101
|
+
"../src/_constants/dynamo-nts-global-settings.ts": [
|
|
5102
5102
|
"../src/_models/dynamo-nts-global-settings.ts"
|
|
5103
5103
|
],
|
|
5104
5104
|
"../src/_constants/index.ts": [
|
|
5105
|
-
"../src/_constants/dynamo-nts-global
|
|
5105
|
+
"../src/_constants/dynamo-nts-global-settings.ts"
|
|
5106
5106
|
],
|
|
5107
5107
|
"../src/_enums/index.ts": [
|
|
5108
5108
|
"../src/_enums/data-model-type.enum.ts",
|
|
@@ -5134,7 +5134,7 @@
|
|
|
5134
5134
|
"../src/_models/dynamo-nts-socket-event-params.ts": [
|
|
5135
5135
|
"../src/_enums/http/socket-event.enum.ts"
|
|
5136
5136
|
],
|
|
5137
|
-
"../src/_models/dynamo-nts-socket-
|
|
5137
|
+
"../src/_models/dynamo-nts-socket-service-params.ts": [
|
|
5138
5138
|
"../src/_enums/dynamo-nts-socket-security.enum.ts"
|
|
5139
5139
|
],
|
|
5140
5140
|
"../src/_models/index.ts": [
|
|
@@ -5144,7 +5144,7 @@
|
|
|
5144
5144
|
"../src/_models/dynamo-nts-global-settings.ts",
|
|
5145
5145
|
"../src/_models/dynamo-nts-routing-module-settings.ts",
|
|
5146
5146
|
"../src/_models/dynamo-nts-socket-event-params.ts",
|
|
5147
|
-
"../src/_models/dynamo-nts-socket-
|
|
5147
|
+
"../src/_models/dynamo-nts-socket-service-params.ts"
|
|
5148
5148
|
],
|
|
5149
5149
|
"../src/_modules/api-service.index.ts": [
|
|
5150
5150
|
"../node_modules/@futdevpro/fsm-dynamo/lib/_modules/error-module.index.d.ts",
|
|
@@ -5154,7 +5154,7 @@
|
|
|
5154
5154
|
"../src/_services/dynamo-nts-singleton.service.ts"
|
|
5155
5155
|
],
|
|
5156
5156
|
"../src/_modules/app-extended.index.ts": [
|
|
5157
|
-
"../src/_constants/dynamo-nts-global
|
|
5157
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
5158
5158
|
"../src/_enums/dynamo-nts-route-security.enum.ts",
|
|
5159
5159
|
"../src/_models/dynamo-nts-app-params.ts",
|
|
5160
5160
|
"../src/_models/dynamo-nts-endpoint-params.ts",
|
|
@@ -5167,7 +5167,7 @@
|
|
|
5167
5167
|
"../src/_services/dynamo-nts-shared.service.ts"
|
|
5168
5168
|
],
|
|
5169
5169
|
"../src/_modules/app.index.ts": [
|
|
5170
|
-
"../src/_constants/dynamo-nts-global
|
|
5170
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
5171
5171
|
"../src/_enums/dynamo-nts-route-security.enum.ts",
|
|
5172
5172
|
"../src/_models/dynamo-nts-app-params.ts",
|
|
5173
5173
|
"../src/_models/dynamo-nts-endpoint-params.ts",
|
|
@@ -5506,7 +5506,7 @@
|
|
|
5506
5506
|
"../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts",
|
|
5507
5507
|
"../node_modules/typescript/lib/lib.es5.d.ts",
|
|
5508
5508
|
"../node_modules/typescript/lib/lib.esnext.intl.d.ts",
|
|
5509
|
-
"../src/_constants/dynamo-nts-global
|
|
5509
|
+
"../src/_constants/dynamo-nts-global-settings.ts",
|
|
5510
5510
|
"../src/_constants/index.ts",
|
|
5511
5511
|
"../src/_enums/data-model-type.enum.ts",
|
|
5512
5512
|
"../src/_enums/dynamo-nts-data-service-function.enum.ts",
|
|
@@ -5523,7 +5523,7 @@
|
|
|
5523
5523
|
"../src/_models/dynamo-nts-global-settings.ts",
|
|
5524
5524
|
"../src/_models/dynamo-nts-routing-module-settings.ts",
|
|
5525
5525
|
"../src/_models/dynamo-nts-socket-event-params.ts",
|
|
5526
|
-
"../src/_models/dynamo-nts-socket-
|
|
5526
|
+
"../src/_models/dynamo-nts-socket-service-params.ts",
|
|
5527
5527
|
"../src/_models/index.ts",
|
|
5528
5528
|
"../src/_modules/api-service.index.ts",
|
|
5529
5529
|
"../src/_modules/app-extended.index.ts",
|
package/package.json
CHANGED
package/src/_constants/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export * from './dynamo-nts-global
|
|
2
|
+
export * from './dynamo-nts-global-settings';
|
package/src/_models/index.ts
CHANGED
|
@@ -7,5 +7,5 @@ export * from './dynamo-nts-endpoint-params';
|
|
|
7
7
|
export * from './dynamo-nts-global-settings';
|
|
8
8
|
export * from './dynamo-nts-routing-module-settings';
|
|
9
9
|
export * from './dynamo-nts-socket-event-params';
|
|
10
|
-
export * from './dynamo-nts-socket-
|
|
10
|
+
export * from './dynamo-nts-socket-service-params';
|
|
11
11
|
|
|
@@ -16,5 +16,5 @@ export * from '../_models/dynamo-nts-routing-module-settings';
|
|
|
16
16
|
export * from '../_enums/dynamo-nts-route-security.enum';
|
|
17
17
|
|
|
18
18
|
// CONSTANTS
|
|
19
|
-
export * from '../_constants/dynamo-nts-global
|
|
19
|
+
export * from '../_constants/dynamo-nts-global-settings';
|
|
20
20
|
|
|
@@ -15,5 +15,5 @@ export * from '../_models/dynamo-nts-routing-module-settings';
|
|
|
15
15
|
export * from '../_enums/dynamo-nts-route-security.enum';
|
|
16
16
|
|
|
17
17
|
// CONSTANTS
|
|
18
|
-
export * from '../_constants/dynamo-nts-global
|
|
18
|
+
export * from '../_constants/dynamo-nts-global-settings';
|
|
19
19
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Router } from 'express';
|
|
3
3
|
import { DynamoNTS_Error } from '@futdevpro/fsm-dynamo';
|
|
4
4
|
|
|
5
|
-
import { dynamoNTS_GlobalSettings } from '../_constants/dynamo-nts-global
|
|
5
|
+
import { dynamoNTS_GlobalSettings } from '../_constants/dynamo-nts-global-settings';
|
|
6
6
|
import { DynamoNTS_RouteSecurity } from '../_enums/dynamo-nts-route-security.enum';
|
|
7
7
|
import { HttpCallType } from '../_enums/http/http-call-type.enum';
|
|
8
8
|
import { DynamoNTS_EndpointParams } from '../_models/dynamo-nts-endpoint-params';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import * as SocketIO from 'socket.io';
|
|
3
3
|
|
|
4
|
-
import { dynamoNTS_GlobalSettings } from '../_constants/dynamo-nts-global
|
|
4
|
+
import { dynamoNTS_GlobalSettings } from '../_constants/dynamo-nts-global-settings';
|
|
5
5
|
import { DynamoNTS_Shared } from './dynamo-nts-shared.service';
|
|
6
|
-
import {
|
|
6
|
+
import { DynamoNTS_SocketServiceParams } from '../_models';
|
|
7
7
|
import { DynamoNTS_SingletonService } from './dynamo-nts-singleton.service';
|
|
8
8
|
import { DynamoNTS_SocketEventParams } from '../_models/dynamo-nts-socket-event-params';
|
|
9
9
|
import { DynamoNTS_SocketEvent } from '../_enums/http/socket-event.enum';
|
|
@@ -20,7 +20,7 @@ export interface DynamoNTS_SocketDictionary {
|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
export abstract class DynamoNTS_SocketService extends DynamoNTS_SingletonService {
|
|
23
|
-
protected params:
|
|
23
|
+
protected params: DynamoNTS_SocketServiceParams;
|
|
24
24
|
get name(): string {
|
|
25
25
|
return this.params.name;
|
|
26
26
|
}
|
|
File without changes
|