@futdevpro/nts-dynamo 1.5.30 → 1.5.32

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.
Files changed (198) hide show
  1. package/lib/_constants/dynamo-nts-global.settings.d.ts +3 -0
  2. package/lib/_constants/dynamo-nts-global.settings.d.ts.map +1 -0
  3. package/lib/_constants/dynamo-nts-global.settings.js +13 -0
  4. package/lib/_constants/dynamo-nts-global.settings.js.map +1 -0
  5. package/lib/_constants/index.d.ts +1 -1
  6. package/lib/_constants/index.d.ts.map +1 -1
  7. package/lib/_constants/index.js +1 -1
  8. package/lib/_constants/index.js.map +1 -1
  9. package/lib/_enums/dynamo-nts-data-service-function.enum.d.ts +8 -0
  10. package/lib/_enums/dynamo-nts-data-service-function.enum.d.ts.map +1 -0
  11. package/lib/_enums/dynamo-nts-data-service-function.enum.js +15 -0
  12. package/lib/_enums/dynamo-nts-data-service-function.enum.js.map +1 -0
  13. package/lib/_enums/dynamo-nts-route-security.enum.d.ts +6 -0
  14. package/lib/_enums/dynamo-nts-route-security.enum.d.ts.map +1 -0
  15. package/lib/_enums/dynamo-nts-route-security.enum.js +10 -0
  16. package/lib/_enums/dynamo-nts-route-security.enum.js.map +1 -0
  17. package/lib/_enums/index.d.ts +2 -2
  18. package/lib/_enums/index.d.ts.map +1 -1
  19. package/lib/_enums/index.js +2 -2
  20. package/lib/_enums/index.js.map +1 -1
  21. package/lib/_models/dynamo-module-settings.d.ts +0 -6
  22. package/lib/_models/dynamo-module-settings.d.ts.map +1 -1
  23. package/lib/_models/dynamo-module-settings.js +9 -2
  24. package/lib/_models/dynamo-module-settings.js.map +1 -1
  25. package/lib/_models/dynamo-nts-api-call-params.d.ts +37 -0
  26. package/lib/_models/dynamo-nts-api-call-params.d.ts.map +1 -0
  27. package/lib/_models/dynamo-nts-api-call-params.js +29 -0
  28. package/lib/_models/dynamo-nts-api-call-params.js.map +1 -0
  29. package/lib/_models/dynamo-nts-app-params.d.ts +18 -0
  30. package/lib/_models/dynamo-nts-app-params.d.ts.map +1 -0
  31. package/lib/_models/dynamo-nts-app-params.js +17 -0
  32. package/lib/_models/dynamo-nts-app-params.js.map +1 -0
  33. package/lib/_models/dynamo-nts-endpoint-params.d.ts +46 -0
  34. package/lib/_models/dynamo-nts-endpoint-params.d.ts.map +1 -0
  35. package/lib/_models/dynamo-nts-endpoint-params.js +117 -0
  36. package/lib/_models/dynamo-nts-endpoint-params.js.map +1 -0
  37. package/lib/_models/dynamo-nts-global-settings.d.ts +13 -0
  38. package/lib/_models/dynamo-nts-global-settings.d.ts.map +1 -0
  39. package/lib/_models/dynamo-nts-global-settings.js +3 -0
  40. package/lib/_models/dynamo-nts-global-settings.js.map +1 -0
  41. package/lib/_models/index.d.ts +4 -4
  42. package/lib/_models/index.d.ts.map +1 -1
  43. package/lib/_models/index.js +4 -5
  44. package/lib/_models/index.js.map +1 -1
  45. package/lib/_modules/api-service.index.d.ts +3 -3
  46. package/lib/_modules/api-service.index.d.ts.map +1 -1
  47. package/lib/_modules/api-service.index.js +3 -3
  48. package/lib/_modules/api-service.index.js.map +1 -1
  49. package/lib/_modules/app.index.d.ts +9 -9
  50. package/lib/_modules/app.index.d.ts.map +1 -1
  51. package/lib/_modules/app.index.js +9 -9
  52. package/lib/_modules/app.index.js.map +1 -1
  53. package/lib/_modules/auth.index.d.ts +2 -2
  54. package/lib/_modules/auth.index.d.ts.map +1 -1
  55. package/lib/_modules/auth.index.js +2 -2
  56. package/lib/_modules/auth.index.js.map +1 -1
  57. package/lib/_modules/controller.index.d.ts +3 -3
  58. package/lib/_modules/controller.index.d.ts.map +1 -1
  59. package/lib/_modules/controller.index.js +3 -3
  60. package/lib/_modules/controller.index.js.map +1 -1
  61. package/lib/_modules/data-service.index.d.ts +4 -4
  62. package/lib/_modules/data-service.index.d.ts.map +1 -1
  63. package/lib/_modules/data-service.index.js +4 -4
  64. package/lib/_modules/data-service.index.js.map +1 -1
  65. package/lib/_modules/email.index.d.ts +2 -2
  66. package/lib/_modules/email.index.d.ts.map +1 -1
  67. package/lib/_modules/email.index.js +2 -2
  68. package/lib/_modules/email.index.js.map +1 -1
  69. package/lib/_modules/test/custom-data.service.d.ts +2 -2
  70. package/lib/_modules/test/custom-data.service.d.ts.map +1 -1
  71. package/lib/_modules/test/custom-data.service.js +2 -2
  72. package/lib/_modules/test/custom-data.service.js.map +1 -1
  73. package/lib/_modules/test/get-test-routing-module.d.ts +3 -3
  74. package/lib/_modules/test/get-test-routing-module.d.ts.map +1 -1
  75. package/lib/_modules/test/get-test-routing-module.js +2 -2
  76. package/lib/_modules/test/get-test-routing-module.js.map +1 -1
  77. package/lib/_modules/test/test-controller.d.ts +2 -2
  78. package/lib/_modules/test/test-controller.d.ts.map +1 -1
  79. package/lib/_modules/test/test-controller.js +10 -10
  80. package/lib/_modules/test/test-controller.js.map +1 -1
  81. package/lib/_modules/usage/get-usage-routing-module.d.ts +3 -3
  82. package/lib/_modules/usage/get-usage-routing-module.d.ts.map +1 -1
  83. package/lib/_modules/usage/get-usage-routing-module.js +2 -2
  84. package/lib/_modules/usage/get-usage-routing-module.js.map +1 -1
  85. package/lib/_modules/usage/usage-controller.d.ts +2 -2
  86. package/lib/_modules/usage/usage-controller.d.ts.map +1 -1
  87. package/lib/_modules/usage/usage-controller.js +10 -10
  88. package/lib/_modules/usage/usage-controller.js.map +1 -1
  89. package/lib/_modules/usage/usage.service.d.ts +2 -2
  90. package/lib/_modules/usage/usage.service.d.ts.map +1 -1
  91. package/lib/_modules/usage/usage.service.js +10 -10
  92. package/lib/_modules/usage/usage.service.js.map +1 -1
  93. package/lib/_services/dynamo-nts-api.service.d.ts +19 -0
  94. package/lib/_services/dynamo-nts-api.service.d.ts.map +1 -0
  95. package/lib/_services/dynamo-nts-api.service.js +167 -0
  96. package/lib/_services/dynamo-nts-api.service.js.map +1 -0
  97. package/lib/_services/dynamo-nts-app-extended.d.ts +23 -0
  98. package/lib/_services/dynamo-nts-app-extended.d.ts.map +1 -0
  99. package/lib/_services/dynamo-nts-app-extended.js +92 -0
  100. package/lib/_services/dynamo-nts-app-extended.js.map +1 -0
  101. package/lib/_services/dynamo-nts-app.d.ts +130 -0
  102. package/lib/_services/dynamo-nts-app.d.ts.map +1 -0
  103. package/lib/_services/dynamo-nts-app.js +238 -0
  104. package/lib/_services/dynamo-nts-app.js.map +1 -0
  105. package/lib/_services/dynamo-nts-auth.service.d.ts +54 -0
  106. package/lib/_services/dynamo-nts-auth.service.d.ts.map +1 -0
  107. package/lib/_services/dynamo-nts-auth.service.js +46 -0
  108. package/lib/_services/dynamo-nts-auth.service.js.map +1 -0
  109. package/lib/_services/dynamo-nts-controller.service.d.ts +14 -0
  110. package/lib/_services/dynamo-nts-controller.service.d.ts.map +1 -0
  111. package/lib/_services/dynamo-nts-controller.service.js +21 -0
  112. package/lib/_services/dynamo-nts-controller.service.js.map +1 -0
  113. package/lib/_services/dynamo-nts-data.service.d.ts +54 -0
  114. package/lib/_services/dynamo-nts-data.service.d.ts.map +1 -0
  115. package/lib/_services/dynamo-nts-data.service.js +301 -0
  116. package/lib/_services/dynamo-nts-data.service.js.map +1 -0
  117. package/lib/_services/dynamo-nts-db-service-collection.service.d.ts +9 -0
  118. package/lib/_services/dynamo-nts-db-service-collection.service.d.ts.map +1 -0
  119. package/lib/_services/dynamo-nts-db-service-collection.service.js +11 -0
  120. package/lib/_services/dynamo-nts-db-service-collection.service.js.map +1 -0
  121. package/lib/_services/dynamo-nts-db.service.d.ts +244 -0
  122. package/lib/_services/dynamo-nts-db.service.d.ts.map +1 -0
  123. package/lib/_services/dynamo-nts-db.service.js +759 -0
  124. package/lib/_services/dynamo-nts-db.service.js.map +1 -0
  125. package/lib/_services/dynamo-nts-email-service-collection.service.d.ts +19 -0
  126. package/lib/_services/dynamo-nts-email-service-collection.service.d.ts.map +1 -0
  127. package/lib/_services/dynamo-nts-email-service-collection.service.js +21 -0
  128. package/lib/_services/dynamo-nts-email-service-collection.service.js.map +1 -0
  129. package/lib/_services/dynamo-nts-email.service.d.ts +56 -0
  130. package/lib/_services/dynamo-nts-email.service.d.ts.map +1 -0
  131. package/lib/_services/dynamo-nts-email.service.js +194 -0
  132. package/lib/_services/dynamo-nts-email.service.js.map +1 -0
  133. package/lib/_services/dynamo-nts-global.service.d.ts +62 -0
  134. package/lib/_services/dynamo-nts-global.service.d.ts.map +1 -0
  135. package/lib/_services/dynamo-nts-global.service.js +107 -0
  136. package/lib/_services/dynamo-nts-global.service.js.map +1 -0
  137. package/lib/_services/dynamo-nts-routing-module.service.d.ts +42 -0
  138. package/lib/_services/dynamo-nts-routing-module.service.d.ts.map +1 -0
  139. package/lib/_services/dynamo-nts-routing-module.service.js +146 -0
  140. package/lib/_services/dynamo-nts-routing-module.service.js.map +1 -0
  141. package/lib/_services/dynamo-nts-shared.service.d.ts +26 -0
  142. package/lib/_services/dynamo-nts-shared.service.d.ts.map +1 -0
  143. package/lib/_services/dynamo-nts-shared.service.js +63 -0
  144. package/lib/_services/dynamo-nts-shared.service.js.map +1 -0
  145. package/lib/_services/dynamo-nts-singleton.service.d.ts +9 -0
  146. package/lib/_services/dynamo-nts-singleton.service.d.ts.map +1 -0
  147. package/lib/_services/dynamo-nts-singleton.service.js +19 -0
  148. package/lib/_services/dynamo-nts-singleton.service.js.map +1 -0
  149. package/lib/_services/dynamobe-db.service.js +1 -1
  150. package/lib/_services/dynamobe-email.service.js +1 -1
  151. package/lib/_services/index.d.ts +13 -13
  152. package/lib/_services/index.d.ts.map +1 -1
  153. package/lib/_services/index.js +13 -13
  154. package/lib/_services/index.js.map +1 -1
  155. package/lib/tsconfig.tsbuildinfo +1041 -365
  156. package/package.json +4 -7
  157. package/src/_constants/dynamo-nts-global.settings.ts +12 -0
  158. package/src/_constants/index.ts +1 -1
  159. package/src/_enums/{dynamobe-data-service-function.enum.ts → dynamo-nts-data-service-function.enum.ts} +1 -1
  160. package/src/_enums/{dynamobe-route-security.enum.ts → dynamo-nts-route-security.enum.ts} +1 -1
  161. package/src/_enums/index.ts +2 -2
  162. package/src/_models/dynamo-module-settings.ts +2 -2
  163. package/src/_models/{dynamobe-api-call-params.ts → dynamo-nts-api-call-params.ts} +1 -1
  164. package/src/_models/{dynamobe-app-params.ts → dynamo-nts-app-params.ts} +1 -1
  165. package/src/_models/{dynamobe-endpoint-params.ts → dynamo-nts-endpoint-params.ts} +20 -20
  166. package/src/_models/dynamo-nts-global-settings.ts +13 -0
  167. package/src/_models/index.ts +4 -5
  168. package/src/_modules/api-service.index.ts +3 -3
  169. package/src/_modules/app.index.ts +9 -9
  170. package/src/_modules/auth.index.ts +2 -2
  171. package/src/_modules/controller.index.ts +3 -3
  172. package/src/_modules/data-service.index.ts +4 -4
  173. package/src/_modules/email.index.ts +2 -2
  174. package/src/_modules/test/custom-data.service.ts +2 -2
  175. package/src/_modules/test/get-test-routing-module.ts +5 -5
  176. package/src/_modules/test/test-controller.ts +10 -10
  177. package/src/_modules/usage/get-usage-routing-module.ts +5 -5
  178. package/src/_modules/usage/usage-controller.ts +12 -12
  179. package/src/_modules/usage/usage.service.ts +11 -11
  180. package/src/_services/{dynamobe-api.service.ts → dynamo-nts-api.service.ts} +16 -16
  181. package/src/_services/dynamo-nts-app-extended.ts +124 -0
  182. package/src/_services/{dynamobe-app.ts → dynamo-nts-app.ts} +49 -49
  183. package/src/_services/{dynamobe-auth.service.ts → dynamo-nts-auth.service.ts} +5 -5
  184. package/src/_services/dynamo-nts-controller.service.ts +28 -0
  185. package/src/_services/{dynamobe-data.service.ts → dynamo-nts-data.service.ts} +29 -29
  186. package/src/_services/dynamo-nts-db-service-collection.service.ts +12 -0
  187. package/src/_services/{dynamobe-db.service.ts → dynamo-nts-db.service.ts} +33 -33
  188. package/src/_services/{dynamobe-email-service-collection.service.ts → dynamo-nts-email-service-collection.service.ts} +4 -4
  189. package/src/_services/{dynamobe-email.service.ts → dynamo-nts-email.service.ts} +16 -16
  190. package/src/_services/{dynamobe-global.service.ts → dynamo-nts-global.service.ts} +27 -27
  191. package/src/_services/{dynamobe-routing-module.service.ts → dynamo-nts-routing-module.service.ts} +30 -30
  192. package/src/_services/{dynamobe-shared.service.ts → dynamo-nts-shared.service.ts} +2 -2
  193. package/src/_services/{dynamobe-singleton.service.ts → dynamo-nts-singleton.service.ts} +1 -1
  194. package/src/_services/index.ts +13 -13
  195. package/src/_constants/dynamobe-global.settings.ts +0 -12
  196. package/src/_models/dynamobe-global-settings.ts +0 -13
  197. package/src/_services/dynamobe-controller.service.ts +0 -28
  198. package/src/_services/dynamobe-db-service-collection.service.ts +0 -12
@@ -0,0 +1,146 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoNTS_RoutingModule = void 0;
4
+ const express_1 = require("express");
5
+ const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
6
+ const dynamo_nts_global_settings_1 = require("../_constants/dynamo-nts-global.settings");
7
+ const dynamo_nts_route_security_enum_1 = require("../_enums/dynamo-nts-route-security.enum");
8
+ const http_call_type_enum_1 = require("../_enums/http/http-call-type.enum");
9
+ const dynamo_nts_shared_service_1 = require("./dynamo-nts-shared.service");
10
+ /**
11
+ *
12
+ */
13
+ class DynamoNTS_RoutingModule {
14
+ constructor(set) {
15
+ this.endpoints = [];
16
+ this.openRouter = express_1.Router();
17
+ this.secureRouter = express_1.Router();
18
+ this.log = dynamo_nts_global_settings_1.dynamoNTS_GlobalSettings.logSetup;
19
+ try {
20
+ this.route = dynamo_nts_global_settings_1.dynamoNTS_GlobalSettings.baseUrl + set.route;
21
+ this.controllers = set.controllers;
22
+ this.setupRoutes();
23
+ this.mountRoutes(set.securityOverride);
24
+ if (this.log)
25
+ console.log(`routing module setup done: ${this.route} serurity: ${this.security}\n`);
26
+ }
27
+ catch (error) {
28
+ dynamo_nts_shared_service_1.DynamoNTS_Shared.logError(`Routing module setup failed (${this.route})`, error);
29
+ }
30
+ }
31
+ /**
32
+ * You must setup endpoints and required services in this function
33
+ */
34
+ setupRoutes() {
35
+ this.controllers.forEach((controller) => {
36
+ this.endpoints.push(...controller.endpoints);
37
+ });
38
+ }
39
+ /**
40
+ *
41
+ * @param securityOverride
42
+ */
43
+ mountRoutes(securityOverride) {
44
+ if (securityOverride) {
45
+ this.security = securityOverride;
46
+ }
47
+ this.endpoints.forEach((endpoint) => {
48
+ if (securityOverride) {
49
+ endpoint.security = securityOverride;
50
+ }
51
+ else {
52
+ if (!this.security) {
53
+ this.security = endpoint.security;
54
+ }
55
+ else if (this.security !== endpoint.security) {
56
+ this.security = dynamo_nts_route_security_enum_1.DynamoNTS_RouteSecurity.both;
57
+ }
58
+ }
59
+ if (this.log)
60
+ console.log(`endpoint mount (${endpoint.security}): ${this.route}${endpoint.endpoint}`);
61
+ const existingEndPoints = this.endpoints.filter((ep) => ep.endpoint === endpoint.endpoint);
62
+ if (1 < existingEndPoints.length) {
63
+ let error = new Error(`ENDPOINT DUPLICATION: ${endpoint.endpoint}`);
64
+ let errorStack = error.stack.split('\n');
65
+ errorStack.splice(1, 4);
66
+ error.stack = errorStack.join('\n');
67
+ throw error;
68
+ }
69
+ try {
70
+ if (endpoint.security !== dynamo_nts_route_security_enum_1.DynamoNTS_RouteSecurity.secure) {
71
+ this.mountOpenRoute(endpoint);
72
+ }
73
+ if (endpoint.security !== dynamo_nts_route_security_enum_1.DynamoNTS_RouteSecurity.open) {
74
+ this.mountSecureRoute(endpoint);
75
+ }
76
+ }
77
+ catch (error) {
78
+ throw new fsm_dynamo_1.DynamoNTS_Error({
79
+ message: `DYNAMOBEERROR: Failed to mount routes.`,
80
+ userMessage: `We encountered an uncought BackEnd Build Error, please contact the responsible development team. errorcode: 900-456-100`,
81
+ error
82
+ });
83
+ }
84
+ });
85
+ }
86
+ /**
87
+ *
88
+ * @param endpointParams
89
+ */
90
+ mountOpenRoute(endpointParams) {
91
+ switch (endpointParams.type) {
92
+ case http_call_type_enum_1.HttpCallType.get:
93
+ this.openRouter.get(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
94
+ break;
95
+ case http_call_type_enum_1.HttpCallType.post:
96
+ this.openRouter.post(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
97
+ break;
98
+ case http_call_type_enum_1.HttpCallType.put:
99
+ this.openRouter.put(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
100
+ break;
101
+ case http_call_type_enum_1.HttpCallType.patch:
102
+ this.openRouter.patch(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
103
+ break;
104
+ case http_call_type_enum_1.HttpCallType.delete:
105
+ this.openRouter.delete(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
106
+ break;
107
+ default:
108
+ throw new fsm_dynamo_1.DynamoNTS_Error({
109
+ message: `DYNAMOBEERROR: INVALID route type: ${endpointParams.type} - ${endpointParams.name}`,
110
+ userMessage: `We encountered an uncought BackEnd Build Error, please contact the responsible development team. errorcode: 900-456-200`,
111
+ error: new Error()
112
+ });
113
+ }
114
+ }
115
+ /**
116
+ *
117
+ * @param endpointParams
118
+ */
119
+ mountSecureRoute(endpointParams) {
120
+ switch (endpointParams.type) {
121
+ case http_call_type_enum_1.HttpCallType.get:
122
+ this.secureRouter.get(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
123
+ break;
124
+ case http_call_type_enum_1.HttpCallType.post:
125
+ this.secureRouter.post(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
126
+ break;
127
+ case http_call_type_enum_1.HttpCallType.put:
128
+ this.secureRouter.put(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
129
+ break;
130
+ case http_call_type_enum_1.HttpCallType.patch:
131
+ this.secureRouter.patch(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
132
+ break;
133
+ case http_call_type_enum_1.HttpCallType.delete:
134
+ this.secureRouter.delete(endpointParams.endpoint, endpointParams.preProcessess, endpointParams.getTasksExecution());
135
+ break;
136
+ default:
137
+ throw new fsm_dynamo_1.DynamoNTS_Error({
138
+ message: `DYNAMOBEERROR: INVALID route type: ${endpointParams.type} - ${endpointParams.name}`,
139
+ userMessage: `We encountered an uncought BackEnd Build Error, please contact the responsible development team. errorcode: 900-456-300`,
140
+ error: new Error()
141
+ });
142
+ }
143
+ }
144
+ }
145
+ exports.DynamoNTS_RoutingModule = DynamoNTS_RoutingModule;
146
+ //# sourceMappingURL=dynamo-nts-routing-module.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-nts-routing-module.service.js","sourceRoot":"","sources":["../../src/_services/dynamo-nts-routing-module.service.ts"],"names":[],"mappings":";;;AACA,qCAAiC;AACjC,sDAAwD;AAExD,yFAAoF;AACpF,6FAAmF;AACnF,4EAAkE;AAGlE,2EAA+D;AAQ/D;;GAEG;AACH,MAAa,uBAAuB;IAalC,YACE,GAAoC;QARtC,cAAS,GAA+B,EAAE,CAAC;QAE3C,eAAU,GAAW,gBAAM,EAAE,CAAC;QAC9B,iBAAY,GAAW,gBAAM,EAAE,CAAC;QAEtB,QAAG,GAAY,qDAAwB,CAAC,QAAQ,CAAC;QAKzD,IAAI;YACF,IAAI,CAAC,KAAK,GAAG,qDAAwB,CAAC,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC;YAC1D,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;YACnC,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;YAEvC,IAAI,IAAI,CAAC,GAAG;gBAAE,OAAO,CAAC,GAAG,CAAC,8BAA8B,IAAI,CAAC,KAAK,cAAc,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;SACpG;QAAC,OAAO,KAAK,EAAE;YACd,4CAAgB,CAAC,QAAQ,CAAC,gCAAgC,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,CAAC,CAAC;SACjF;IACH,CAAC;IAED;;OAEG;IACK,WAAW;QACjB,I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QAAQ,EAC7C,cAAc,CAAC,aAAa,EAAE,cAAc,CAAC,iBAAiB,EAAE,CAAC,CAAC;gBACpE,MAAM;YACR,KAAK,kCAAY,CAAC,MAAM;gBACtB,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,QAAQ,EAC9C,cAAc,CAAC,aAAa,EAAE,cAAc,CAAC,iBAAiB,EAAE,CAAC,CAAC;gBACpE,MAAM;YACR;gBACE,MAAM,IAAI,4BAAe,CAAC;oBACxB,OAAO,EAAE,sCAAsC,cAAc,CAAC,IAAI,MAAM,cAAc,CAAC,IAAI,EAAE;oBAC7F,WAAW,EAAE,yHAAyH;oBACtI,KAAK,EAAE,IAAI,KAAK,EAAE;iBACnB,CAAC,CAAA;SACL;IACH,CAAC;CACF;AA1JD,0DA0JC"}
@@ -0,0 +1,26 @@
1
+ import { Request } from 'express';
2
+ import { GeoIpLocation, Dynamo_Shared } from '@futdevpro/fsm-dynamo/shared-service';
3
+ /**
4
+ *
5
+ */
6
+ export declare class DynamoNTS_Shared extends Dynamo_Shared {
7
+ /**
8
+ *
9
+ * @param request
10
+ * @returns
11
+ */
12
+ static getIpFromRequest(request: Request): string;
13
+ /**
14
+ *
15
+ * @param request
16
+ * @returns
17
+ */
18
+ static getLocationDataByRequest(request: Request): GeoIpLocation;
19
+ /**
20
+ *
21
+ * @param question
22
+ * @returns
23
+ */
24
+ static prompt(question: string): Promise<string>;
25
+ }
26
+ //# sourceMappingURL=dynamo-nts-shared.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-nts-shared.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-shared.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEpF;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IAEjD;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM;IAYjD;;;;OAIG;IACH,MAAM,CAAC,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa;IAIhE;;;;OAIG;WACU,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAiBvD"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoNTS_Shared = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const ReadLine = tslib_1.__importStar(require("readline"));
6
+ const GeoIp = tslib_1.__importStar(require("geoip-lite"));
7
+ const shared_service_1 = require("@futdevpro/fsm-dynamo/shared-service");
8
+ /**
9
+ *
10
+ */
11
+ class DynamoNTS_Shared extends shared_service_1.Dynamo_Shared {
12
+ /**
13
+ *
14
+ * @param request
15
+ * @returns
16
+ */
17
+ static getIpFromRequest(request) {
18
+ let ip;
19
+ if (request.headers['x-forwarded-for']) {
20
+ const route = request.headers['x-forwarded-for'].split(', ');
21
+ console.log('TESTTTT route:', route);
22
+ ip = route[route.length - 1];
23
+ }
24
+ else {
25
+ ip = request.socket.remoteAddress;
26
+ }
27
+ return ip;
28
+ }
29
+ /**
30
+ *
31
+ * @param request
32
+ * @returns
33
+ */
34
+ static getLocationDataByRequest(request) {
35
+ return GeoIp.lookup(this.getIpFromRequest(request));
36
+ }
37
+ /**
38
+ *
39
+ * @param question
40
+ * @returns
41
+ */
42
+ static prompt(question) {
43
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
44
+ const readLine = ReadLine.createInterface({
45
+ input: process.stdin,
46
+ output: process.stdout
47
+ });
48
+ return new Promise((resolve, reject) => {
49
+ try {
50
+ readLine.question(question, (result) => {
51
+ resolve(result);
52
+ readLine.close();
53
+ });
54
+ }
55
+ catch (error) {
56
+ reject(error);
57
+ }
58
+ });
59
+ });
60
+ }
61
+ }
62
+ exports.DynamoNTS_Shared = DynamoNTS_Shared;
63
+ //# sourceMappingURL=dynamo-nts-shared.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-nts-shared.service.js","sourceRoot":"","sources":["../../src/_services/dynamo-nts-shared.service.ts"],"names":[],"mappings":";;;;AACA,2DAAqC;AAErC,0DAAoC;AACpC,yEAAoF;AAEpF;;GAEG;AACH,MAAa,gBAAiB,SAAQ,8BAAa;IAEjD;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAgB;QACtC,IAAI,EAAU,CAAC;QACf,IAAI,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE;YACtC,MAAM,KAAK,GAAc,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACnF,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;YACrC,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;SAC9B;aAAM;YACL,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC;SACnC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,wBAAwB,CAAC,OAAgB;QAC9C,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAO,MAAM,CAAC,QAAgB;;YAClC,MAAM,QAAQ,GAAG,QAAQ,CAAC,eAAe,CAAC;gBACxC,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,MAAM,EAAE,OAAO,CAAC,MAAM;aACvB,CAAC,CAAC;YAEH,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACrC,IAAI;oBACF,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAc,EAAE,EAAE;wBAC7C,OAAO,CAAC,MAAM,CAAC,CAAC;wBAChB,QAAQ,CAAC,KAAK,EAAE,CAAC;oBACnB,CAAC,CAAC,CAAC;iBACJ;gBAAC,OAAO,KAAK,EAAE;oBACd,MAAM,CAAC,KAAK,CAAC,CAAC;iBACf;YACH,CAAC,CAAC,CAAC;QACL,CAAC;KAAA;CACF;AAlDD,4CAkDC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ *
3
+ */
4
+ export declare class DynamoNTS_SingletonService {
5
+ protected static instance: any;
6
+ static getSingletonInstance(): any;
7
+ protected constructor();
8
+ }
9
+ //# sourceMappingURL=dynamo-nts-singleton.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-nts-singleton.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamo-nts-singleton.service.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,qBAAa,0BAA0B;IAErC,SAAS,CAAC,MAAM,CAAC,QAAQ,MAAC;IAE1B,MAAM,CAAC,oBAAoB;IAS3B,SAAS;CACV"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoNTS_SingletonService = void 0;
4
+ /**
5
+ *
6
+ */
7
+ class DynamoNTS_SingletonService {
8
+ /// --- --- --- SINGLETON --- --- --- ///
9
+ // SINGLETON services are using private constructor
10
+ constructor() { }
11
+ static getSingletonInstance() {
12
+ if (!this.instance) {
13
+ this.instance = new this();
14
+ }
15
+ return this.instance;
16
+ }
17
+ }
18
+ exports.DynamoNTS_SingletonService = DynamoNTS_SingletonService;
19
+ //# sourceMappingURL=dynamo-nts-singleton.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamo-nts-singleton.service.js","sourceRoot":"","sources":["../../src/_services/dynamo-nts-singleton.service.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,MAAa,0BAA0B;IAUrC,iEAAiE;IAEjE,qDAAqD;IACrD,gBAAyB,CAAC;IAT1B,MAAM,CAAC,oBAAoB;QACzB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;SAC5B;QACD,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CAKF;AAdD,gEAcC"}
@@ -326,7 +326,7 @@ class DynamoBEDBService {
326
326
  data = null;
327
327
  }
328
328
  }).catch(error => {
329
- throw new DynamoBEError({ status: 417, message: `find ${this.dataParams.dbName} was unsuccessful (DB)`, error });
329
+ throw new DynamoNTS_Error({ status: 417, message: `find ${this.dataParams.dbName} was unsuccessful (DB)`, error });
330
330
  });
331
331
  if (data && typeof data._id === 'object') {
332
332
  data._id = `${data._id}`;
@@ -6,7 +6,7 @@ const FileSystem = tslib_1.__importStar(require("fs"));
6
6
  const Path = tslib_1.__importStar(require("path"));
7
7
  const NodeMailer = tslib_1.__importStar(require("nodemailer"));
8
8
  const fsm_dynamo_1 = require("@futdevpro/fsm-dynamo");
9
- const dynamobe_shared_service_1 = require("./dynamobe-shared.service");
9
+ const dynamobe_shared_service_1 = require("./dynamo-nts-shared.service");
10
10
  /**
11
11
  *
12
12
  */
@@ -1,14 +1,14 @@
1
- export * from './dynamobe-api.service';
2
- export * from './dynamobe-app';
3
- export * from './dynamobe-auth.service';
4
- export * from './dynamobe-controller.service';
5
- export * from './dynamobe-data.service';
6
- export * from './dynamobe-db-service-collection.service';
7
- export * from './dynamobe-db.service';
8
- export * from './dynamobe-email-service-collection.service';
9
- export * from './dynamobe-email.service';
10
- export * from './dynamobe-global.service';
11
- export * from './dynamobe-routing-module.service';
12
- export * from './dynamobe-shared.service';
13
- export * from './dynamobe-singleton.service';
1
+ export * from './dynamo-nts-api.service';
2
+ export * from './dynamo-nts-app';
3
+ export * from './dynamo-nts-auth.service';
4
+ export * from './dynamo-nts-controller.service';
5
+ export * from './dynamo-nts-data.service';
6
+ export * from './dynamo-nts-db-service-collection.service';
7
+ export * from './dynamo-nts-db.service';
8
+ export * from './dynamo-nts-email-service-collection.service';
9
+ export * from './dynamo-nts-email.service';
10
+ export * from './dynamo-nts-global.service';
11
+ export * from './dynamo-nts-routing-module.service';
12
+ export * from './dynamo-nts-shared.service';
13
+ export * from './dynamo-nts-singleton.service';
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/_services/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0CAA0C,CAAC;AACzD,cAAc,uBAAuB,CAAC;AACtC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/_services/index.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yBAAyB,CAAC;AACxC,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC"}
@@ -2,17 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  // SERVICES
5
- tslib_1.__exportStar(require("./dynamobe-api.service"), exports);
6
- tslib_1.__exportStar(require("./dynamobe-app"), exports);
7
- tslib_1.__exportStar(require("./dynamobe-auth.service"), exports);
8
- tslib_1.__exportStar(require("./dynamobe-controller.service"), exports);
9
- tslib_1.__exportStar(require("./dynamobe-data.service"), exports);
10
- tslib_1.__exportStar(require("./dynamobe-db-service-collection.service"), exports);
11
- tslib_1.__exportStar(require("./dynamobe-db.service"), exports);
12
- tslib_1.__exportStar(require("./dynamobe-email-service-collection.service"), exports);
13
- tslib_1.__exportStar(require("./dynamobe-email.service"), exports);
14
- tslib_1.__exportStar(require("./dynamobe-global.service"), exports);
15
- tslib_1.__exportStar(require("./dynamobe-routing-module.service"), exports);
16
- tslib_1.__exportStar(require("./dynamobe-shared.service"), exports);
17
- tslib_1.__exportStar(require("./dynamobe-singleton.service"), exports);
5
+ tslib_1.__exportStar(require("./dynamo-nts-api.service"), exports);
6
+ tslib_1.__exportStar(require("./dynamo-nts-app"), exports);
7
+ tslib_1.__exportStar(require("./dynamo-nts-auth.service"), exports);
8
+ tslib_1.__exportStar(require("./dynamo-nts-controller.service"), exports);
9
+ tslib_1.__exportStar(require("./dynamo-nts-data.service"), exports);
10
+ tslib_1.__exportStar(require("./dynamo-nts-db-service-collection.service"), exports);
11
+ tslib_1.__exportStar(require("./dynamo-nts-db.service"), exports);
12
+ tslib_1.__exportStar(require("./dynamo-nts-email-service-collection.service"), exports);
13
+ tslib_1.__exportStar(require("./dynamo-nts-email.service"), exports);
14
+ tslib_1.__exportStar(require("./dynamo-nts-global.service"), exports);
15
+ tslib_1.__exportStar(require("./dynamo-nts-routing-module.service"), exports);
16
+ tslib_1.__exportStar(require("./dynamo-nts-shared.service"), exports);
17
+ tslib_1.__exportStar(require("./dynamo-nts-singleton.service"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/_services/index.ts"],"names":[],"mappings":";;;AAGA,WAAW;AACX,iEAAuC;AACvC,yDAA+B;AAC/B,kEAAwC;AACxC,wEAA8C;AAC9C,kEAAwC;AACxC,mFAAyD;AACzD,gEAAsC;AACtC,sFAA4D;AAC5D,mEAAyC;AACzC,oEAA0C;AAC1C,4EAAkD;AAClD,oEAA0C;AAC1C,uEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/_services/index.ts"],"names":[],"mappings":";;;AAGA,WAAW;AACX,mEAAyC;AACzC,2DAAiC;AACjC,oEAA0C;AAC1C,0EAAgD;AAChD,oEAA0C;AAC1C,qFAA2D;AAC3D,kEAAwC;AACxC,wFAA8D;AAC9D,qEAA2C;AAC3C,sEAA4C;AAC5C,8EAAoD;AACpD,sEAA4C;AAC5C,yEAA+C"}