@futdevpro/nts-dynamo 1.5.51 → 1.5.53
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-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 +78 -5
- package/lib/_services/dynamo-nts-auth.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.js.map +1 -1
- package/lib/_services/dynamo-nts-data.service.d.ts +28 -1
- package/lib/_services/dynamo-nts-data.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-data.service.js +109 -75
- package/lib/_services/dynamo-nts-data.service.js.map +1 -1
- package/lib/_services/dynamo-nts-db.service.d.ts +165 -115
- package/lib/_services/dynamo-nts-db.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-db.service.js +301 -277
- package/lib/_services/dynamo-nts-db.service.js.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.d.ts +39 -0
- package/lib/_services/dynamo-nts-routing-module.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.js +39 -0
- package/lib/_services/dynamo-nts-routing-module.service.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -12
- package/src/_models/dynamo-nts-endpoint-params.ts +2 -2
- 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 +79 -5
- package/src/_services/dynamo-nts-data.service.ts +110 -73
- package/src/_services/dynamo-nts-db.service.ts +323 -279
- package/src/_services/dynamo-nts-routing-module.service.ts +39 -0
|
@@ -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
|
|