@futdevpro/nts-dynamo 1.5.17 → 1.5.20

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 (83) hide show
  1. package/lib/_models/dynamo-module-settings.d.ts +3 -0
  2. package/lib/_models/dynamo-module-settings.d.ts.map +1 -1
  3. package/lib/_models/dynamobe-app-params.d.ts +3 -0
  4. package/lib/_models/dynamobe-app-params.d.ts.map +1 -1
  5. package/lib/_models/dynamobe-app-params.js +3 -0
  6. package/lib/_models/dynamobe-app-params.js.map +1 -1
  7. package/lib/_models/dynamobe-endpoint-params.d.ts +17 -1
  8. package/lib/_models/dynamobe-endpoint-params.d.ts.map +1 -1
  9. package/lib/_models/dynamobe-endpoint-params.js +16 -0
  10. package/lib/_models/dynamobe-endpoint-params.js.map +1 -1
  11. package/lib/_models/dynamobe-global-settings.d.ts +3 -0
  12. package/lib/_models/dynamobe-global-settings.d.ts.map +1 -1
  13. package/lib/_modules/usage/usage.service.d.ts.map +1 -1
  14. package/lib/_modules/usage/usage.service.js +20 -4
  15. package/lib/_modules/usage/usage.service.js.map +1 -1
  16. package/lib/_services/dynamobe-api.service.d.ts +9 -0
  17. package/lib/_services/dynamobe-api.service.d.ts.map +1 -1
  18. package/lib/_services/dynamobe-api.service.js +20 -3
  19. package/lib/_services/dynamobe-api.service.js.map +1 -1
  20. package/lib/_services/dynamobe-app.d.ts +24 -0
  21. package/lib/_services/dynamobe-app.d.ts.map +1 -1
  22. package/lib/_services/dynamobe-app.js +28 -4
  23. package/lib/_services/dynamobe-app.js.map +1 -1
  24. package/lib/_services/dynamobe-auth.service.d.ts +13 -0
  25. package/lib/_services/dynamobe-auth.service.d.ts.map +1 -1
  26. package/lib/_services/dynamobe-auth.service.js +8 -2
  27. package/lib/_services/dynamobe-auth.service.js.map +1 -1
  28. package/lib/_services/dynamobe-controller.service.d.ts +3 -0
  29. package/lib/_services/dynamobe-controller.service.d.ts.map +1 -1
  30. package/lib/_services/dynamobe-controller.service.js +3 -0
  31. package/lib/_services/dynamobe-controller.service.js.map +1 -1
  32. package/lib/_services/dynamobe-data.service.d.ts +8 -4
  33. package/lib/_services/dynamobe-data.service.d.ts.map +1 -1
  34. package/lib/_services/dynamobe-data.service.js +87 -32
  35. package/lib/_services/dynamobe-data.service.js.map +1 -1
  36. package/lib/_services/dynamobe-db-service-collection.service.d.ts +3 -0
  37. package/lib/_services/dynamobe-db-service-collection.service.d.ts.map +1 -1
  38. package/lib/_services/dynamobe-db-service-collection.service.js +3 -0
  39. package/lib/_services/dynamobe-db-service-collection.service.js.map +1 -1
  40. package/lib/_services/dynamobe-db.service.d.ts +110 -15
  41. package/lib/_services/dynamobe-db.service.d.ts.map +1 -1
  42. package/lib/_services/dynamobe-db.service.js +237 -63
  43. package/lib/_services/dynamobe-db.service.js.map +1 -1
  44. package/lib/_services/dynamobe-email.service.d.ts +22 -0
  45. package/lib/_services/dynamobe-email.service.d.ts.map +1 -1
  46. package/lib/_services/dynamobe-email.service.js +45 -11
  47. package/lib/_services/dynamobe-email.service.js.map +1 -1
  48. package/lib/_services/dynamobe-global.service.d.ts +22 -0
  49. package/lib/_services/dynamobe-global.service.d.ts.map +1 -1
  50. package/lib/_services/dynamobe-global.service.js +22 -0
  51. package/lib/_services/dynamobe-global.service.js.map +1 -1
  52. package/lib/_services/dynamobe-routing-module.service.d.ts +15 -0
  53. package/lib/_services/dynamobe-routing-module.service.d.ts.map +1 -1
  54. package/lib/_services/dynamobe-routing-module.service.js +28 -3
  55. package/lib/_services/dynamobe-routing-module.service.js.map +1 -1
  56. package/lib/_services/dynamobe-shared.service.d.ts +18 -0
  57. package/lib/_services/dynamobe-shared.service.d.ts.map +1 -1
  58. package/lib/_services/dynamobe-shared.service.js +18 -0
  59. package/lib/_services/dynamobe-shared.service.js.map +1 -1
  60. package/lib/_services/dynamobe-singleton.service.d.ts +3 -0
  61. package/lib/_services/dynamobe-singleton.service.d.ts.map +1 -1
  62. package/lib/_services/dynamobe-singleton.service.js +3 -0
  63. package/lib/_services/dynamobe-singleton.service.js.map +1 -1
  64. package/lib/tsconfig.tsbuildinfo +33 -47
  65. package/package.json +11 -11
  66. package/src/_models/dynamo-module-settings.ts +3 -1
  67. package/src/_models/dynamobe-app-params.ts +3 -0
  68. package/src/_models/dynamobe-endpoint-params.ts +17 -1
  69. package/src/_models/dynamobe-global-settings.ts +3 -0
  70. package/src/_modules/usage/usage.service.ts +20 -4
  71. package/src/_services/dynamobe-api.service.ts +20 -3
  72. package/src/_services/dynamobe-app.ts +28 -4
  73. package/src/_services/dynamobe-auth.service.ts +21 -2
  74. package/src/_services/dynamobe-controller.service.ts +3 -0
  75. package/src/_services/dynamobe-data.service.ts +89 -32
  76. package/src/_services/dynamobe-db-service-collection.service.ts +3 -0
  77. package/src/_services/dynamobe-db.service.ts +224 -48
  78. package/src/_services/dynamobe-email.service.ts +45 -11
  79. package/src/_services/dynamobe-global.service.ts +22 -0
  80. package/src/_services/dynamobe-routing-module.service.ts +28 -3
  81. package/src/_services/dynamobe-shared.service.ts +18 -0
  82. package/src/_services/dynamobe-singleton.service.ts +3 -0
  83. package/src/_models/dynamobe-data-model-params.ts +0 -24
@@ -1,4 +1,4 @@
1
- import { Metadata, DynamoBEDataParams, DynamoBEDataPropertyParams } from '@futdevpro/fsm-dynamo';
1
+ import { Metadata, DynamoBEDataParams } from '@futdevpro/fsm-dynamo';
2
2
  import { DynamoBEDBService } from './dynamobe-db.service';
3
3
  export declare class DynamoBEDataService<T extends Metadata> {
4
4
  dataDBService: DynamoBEDBService<T>;
@@ -7,7 +7,7 @@ export declare class DynamoBEDataService<T extends Metadata> {
7
7
  issuer?: string;
8
8
  depKey?: string;
9
9
  depDBServiceKey?: string;
10
- dataModelParams?: DynamoBEDataPropertyParams[];
10
+ dataParams: DynamoBEDataParams;
11
11
  constructor(data: T, dataParams: DynamoBEDataParams, issuer?: string);
12
12
  /**
13
13
  * returns all data from database to service dataList
@@ -16,12 +16,12 @@ export declare class DynamoBEDataService<T extends Metadata> {
16
16
  /**
17
17
  * returns data from database by id
18
18
  */
19
- getDataById(dontSetToService?: boolean): Promise<T>;
19
+ getDataById(id?: string, dontSetToService?: boolean): Promise<T>;
20
20
  /**
21
21
  * returns data from database by dependencyId to the service
22
22
  * @param dependencyId
23
23
  */
24
- getDataByDependencyId(dependencyId?: string): Promise<void>;
24
+ getDataByDependencyId(dependencyId?: string, dontSetToService?: boolean): Promise<T>;
25
25
  /**
26
26
  * returns dataList from database by dependencyId to the service
27
27
  * @param dependencyId
@@ -45,6 +45,10 @@ export declare class DynamoBEDataService<T extends Metadata> {
45
45
  * setting up dependency dataHook by DynamoBEDataModelParams
46
46
  */
47
47
  private lookForDependencyDataSettings;
48
+ /**
49
+ *
50
+ * @returns
51
+ */
48
52
  getDependencyDataDBService(): DynamoBEDBService<any>;
49
53
  }
50
54
  //# sourceMappingURL=dynamobe-data.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamobe-data.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,0BAA0B,EAAiB,MAAM,uBAAuB,CAAC;AAEhH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,qBAAa,mBAAmB,CAAC,CAAC,SAAS,QAAQ;IACjD,aAAa,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,CAAC;IACR,QAAQ,EAAE,CAAC,EAAE,CAAM;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,eAAe,CAAC,EAAE,0BAA0B,EAAE,CAAM;gBAGlD,IAAI,EAAE,CAAC,EACP,UAAU,EAAE,kBAAkB,EAC9B,MAAM,CAAC,EAAE,MAAM;IASjB;;OAEG;IACG,MAAM,IAAI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G;IACG,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IA0BtE;;;OAGG;IACG,qBAAqB,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAiC1F;;;OAGG;IACG,yBAAyB,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BrE;;;;OAIG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAuC/B;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAgBjC;;OAEG;IACG,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IA4BtC;;OAEG;IACH,OAAO,CAAC,6BAA6B;IAUrC;;;OAGG;IACH,0BAA0B,IAAI,iBAAiB,CAAC,GAAG,CAAC;CAUrD"}
@@ -7,10 +7,10 @@ const dynamobe_global_service_1 = require("./dynamobe-global.service");
7
7
  class DynamoBEDataService {
8
8
  constructor(data, dataParams, issuer) {
9
9
  this.dataList = [];
10
- this.dataModelParams = [];
11
10
  this.dataDBService = dynamobe_global_service_1.DBE_Global_S.getDBService(dataParams);
12
11
  this.data = data;
13
- this.dataModelParams = dataParams.modelParams;
12
+ this.dataParams = dataParams;
13
+ // this.dataModelParams = dataParams.modelParams;
14
14
  this.lookForDependencyDataSettings();
15
15
  this.issuer = issuer;
16
16
  }
@@ -25,19 +25,23 @@ class DynamoBEDataService {
25
25
  });
26
26
  }
27
27
  catch (error) {
28
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'getAll was unsuccessful', error: error });
28
+ throw new fsm_dynamo_1.DynamoBEError({
29
+ status: 417, message: 'getAll was unsuccessful',
30
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-130`,
31
+ error: error
32
+ });
29
33
  }
30
34
  });
31
35
  }
32
36
  /**
33
37
  * returns data from database by id
34
38
  */
35
- getDataById(dontSetToService) {
39
+ getDataById(id, dontSetToService) {
36
40
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
37
41
  try {
38
- if (this.data._id) {
42
+ if (id || this.data._id) {
39
43
  let dataExists;
40
- yield this.dataDBService.getDataById(this.data._id).then((data) => {
44
+ yield this.dataDBService.getDataById(id ? id : this.data._id).then((data) => {
41
45
  if (!dontSetToService) {
42
46
  this.data = data;
43
47
  }
@@ -46,11 +50,18 @@ class DynamoBEDataService {
46
50
  return dataExists;
47
51
  }
48
52
  else {
49
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'ID is missing!' });
53
+ throw new fsm_dynamo_1.DynamoBEError({
54
+ status: 417, message: 'ID is missing!',
55
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-131B`,
56
+ });
50
57
  }
51
58
  }
52
59
  catch (error) {
53
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'getDataById was unsuccessful', error: error });
60
+ throw new fsm_dynamo_1.DynamoBEError({
61
+ status: 417, message: 'getDataById was unsuccessful',
62
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-131A`,
63
+ error: error
64
+ });
54
65
  }
55
66
  });
56
67
  }
@@ -58,25 +69,40 @@ class DynamoBEDataService {
58
69
  * returns data from database by dependencyId to the service
59
70
  * @param dependencyId
60
71
  */
61
- getDataByDependencyId(dependencyId) {
72
+ getDataByDependencyId(dependencyId, dontSetToService) {
62
73
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
63
74
  try {
64
75
  if (this.depKey) {
65
76
  if (dependencyId || this.data[this.depKey]) {
77
+ let dataExists;
66
78
  yield this.dataDBService.getDataByDependencyId(dependencyId ? dependencyId : this.data[this.depKey]).then((data) => {
67
- this.data = data;
79
+ if (!dontSetToService) {
80
+ this.data = data;
81
+ }
82
+ dataExists = data;
68
83
  });
84
+ return dataExists;
69
85
  }
70
86
  else {
71
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: `${this.depKey} is missing!` });
87
+ throw new fsm_dynamo_1.DynamoBEError({
88
+ status: 417, message: `${this.depKey} is missing!`,
89
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-132C`,
90
+ });
72
91
  }
73
92
  }
74
93
  else {
75
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'dependencyDataIdKey is missing from service!' });
94
+ throw new fsm_dynamo_1.DynamoBEError({
95
+ status: 417, message: 'dependencyDataIdKey is missing from service!',
96
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-132B`,
97
+ });
76
98
  }
77
99
  }
78
100
  catch (error) {
79
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'getDataByDependencyId was unsuccessful', error: error });
101
+ throw new fsm_dynamo_1.DynamoBEError({
102
+ status: 417, message: 'getDataByDependencyId was unsuccessful',
103
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-132A`,
104
+ error: error
105
+ });
80
106
  }
81
107
  });
82
108
  }
@@ -94,15 +120,25 @@ class DynamoBEDataService {
94
120
  });
95
121
  }
96
122
  else {
97
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: `${this.depKey} is missing!` });
123
+ throw new fsm_dynamo_1.DynamoBEError({
124
+ status: 417, message: `${this.depKey} is missing!`,
125
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-133C`,
126
+ });
98
127
  }
99
128
  }
100
129
  else {
101
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'dependencyDataIdKey is missing from service!' });
130
+ throw new fsm_dynamo_1.DynamoBEError({
131
+ status: 417, message: 'dependencyDataIdKey is missing from service!',
132
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-133B`,
133
+ });
102
134
  }
103
135
  }
104
136
  catch (error) {
105
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'getDataListByDependencyId was unsuccessful', error: error });
137
+ throw new fsm_dynamo_1.DynamoBEError({ status: 417,
138
+ message: 'getDataListByDependencyId was unsuccessful',
139
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-133A`,
140
+ error: error
141
+ });
106
142
  }
107
143
  });
108
144
  }
@@ -117,7 +153,7 @@ class DynamoBEDataService {
117
153
  if (this.data._id) {
118
154
  // check if already exists
119
155
  let dataExists;
120
- yield this.getDataById(true).then((data) => {
156
+ yield this.getDataById(null, true).then((data) => {
121
157
  dataExists = data;
122
158
  }).catch(() => { });
123
159
  if (!dataExists) {
@@ -146,7 +182,11 @@ class DynamoBEDataService {
146
182
  }
147
183
  }
148
184
  catch (error) {
149
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'modifyData was unsuccessful', error: error });
185
+ throw new fsm_dynamo_1.DynamoBEError({
186
+ status: 417, message: `modifyData was unsuccessful (${this.dataParams.dataName})`,
187
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-222`,
188
+ error: error
189
+ });
150
190
  }
151
191
  });
152
192
  }
@@ -164,7 +204,11 @@ class DynamoBEDataService {
164
204
  }
165
205
  }
166
206
  catch (error) {
167
- throw new fsm_dynamo_1.DynamoBEError({ status: 417, message: 'deleteData was unsuccessful', error: error });
207
+ throw new fsm_dynamo_1.DynamoBEError({
208
+ status: 417, message: 'deleteData was unsuccessful',
209
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-223`,
210
+ error: error
211
+ });
168
212
  }
169
213
  });
170
214
  }
@@ -174,26 +218,30 @@ class DynamoBEDataService {
174
218
  validateForSave() {
175
219
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
176
220
  try {
177
- for (let i = 0; i < this.dataModelParams.length; i++) {
221
+ for (let i = 0; i < this.dataParams.modelParams.length; i++) {
178
222
  // basic required validations
179
- if ((this.dataModelParams[i].required && (this.data[this.dataModelParams[i].key] === null || this.data[this.dataModelParams[i].key] === undefined)) ||
180
- (this.dataModelParams[i].index && (this.data[this.dataModelParams[i].key] === null || this.data[this.dataModelParams[i].key] === undefined))) {
181
- throw new fsm_dynamo_1.DynamoBEError({ status: 422, message: `${this.dataModelParams[i].key} is missing! (${this.dataModelParams[i].required ? 'required' : 'index'})` });
223
+ if ((this.dataParams.modelParams[i].required && (this.data[this.dataParams.modelParams[i].key] === null || this.data[this.dataParams.modelParams[i].key] === undefined)) ||
224
+ (this.dataParams.modelParams[i].index && (this.data[this.dataParams.modelParams[i].key] === null || this.data[this.dataParams.modelParams[i].key] === undefined))) {
225
+ throw new fsm_dynamo_1.DynamoBEError({ status: 422, message: `${this.dataParams.modelParams[i].key} is missing! (${this.dataParams.modelParams[i].required ? 'required' : 'index'})` });
182
226
  }
183
227
  // specific Date validation
184
- if (this.dataModelParams[i].type === 'Date' && !(new Date(this.data[this.dataModelParams[i].key]) instanceof Date)) {
185
- throw new fsm_dynamo_1.DynamoBEError({ status: 422, message: `${this.dataModelParams[i].key} is not a date!` });
228
+ if (this.dataParams.modelParams[i].type === 'Date' && !(new Date(this.data[this.dataParams.modelParams[i].key]) instanceof Date)) {
229
+ throw new fsm_dynamo_1.DynamoBEError({ status: 422, message: `${this.dataParams.modelParams[i].key} is not a date!` });
186
230
  }
187
231
  // call additional validators
188
- if (this.dataModelParams[i].additionalValidators) {
189
- for (let j = 0; j < this.dataModelParams[i].additionalValidators.length; j++) {
190
- this.dataModelParams[i].additionalValidators[j](this.data[this.dataModelParams[i].key]);
232
+ if (this.dataParams.modelParams[i].additionalValidators) {
233
+ for (let j = 0; j < this.dataParams.modelParams[i].additionalValidators.length; j++) {
234
+ this.dataParams.modelParams[i].additionalValidators[j](this.data[this.dataParams.modelParams[i].key]);
191
235
  }
192
236
  }
193
237
  }
194
238
  }
195
239
  catch (error) {
196
- throw new fsm_dynamo_1.DynamoBEError({ status: 422, message: 'validateForSave was unsuccessful', error: error });
240
+ throw new fsm_dynamo_1.DynamoBEError({
241
+ status: 422, message: 'validateForSave was unsuccessful',
242
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-220`,
243
+ error: error
244
+ });
197
245
  }
198
246
  });
199
247
  }
@@ -201,7 +249,7 @@ class DynamoBEDataService {
201
249
  * setting up dependency dataHook by DynamoBEDataModelParams
202
250
  */
203
251
  lookForDependencyDataSettings() {
204
- const dependencyParam = this.dataModelParams.find((modelParams) => modelParams.isDependencyHook);
252
+ const dependencyParam = this.dataParams.modelParams.find((modelParams) => modelParams.isDependencyHook);
205
253
  if (dependencyParam) {
206
254
  this.depKey = dependencyParam.key;
207
255
  if (dependencyParam.dependencyName) {
@@ -209,12 +257,19 @@ class DynamoBEDataService {
209
257
  }
210
258
  }
211
259
  }
260
+ /**
261
+ *
262
+ * @returns
263
+ */
212
264
  getDependencyDataDBService() {
213
265
  if (this.depDBServiceKey) {
214
- return dynamobe_global_service_1.DBE_Global_S.getDBServiceCollection()[this.depDBServiceKey];
266
+ return dynamobe_global_service_1.DBE_Global_S.getDBService(this.dataParams);
215
267
  }
216
268
  else {
217
- throw new fsm_dynamo_1.DynamoBEError({ status: 501, message: 'getDependencyDataDBService was unsuccessful, service key not setted up!' });
269
+ throw new fsm_dynamo_1.DynamoBEError({
270
+ status: 501, message: 'getDependencyDataDBService was unsuccessful, service key not setted up!',
271
+ userMessage: `We encountered a DB Error, please contact the responsible development team. errorcode: 744-234-200`,
272
+ });
218
273
  }
219
274
  }
220
275
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dynamobe-data.service.js","sourceRoot":"","sources":["../../src/_services/dynamobe-data.service.ts"],"names":[],"mappings":";;;;AACA,sDAAgH;AAGhH,uEAAyD;AAEzD,MAAa,mBAAmB;IAW9B,YACE,IAAO,EACP,UAA8B,EAC9B,MAAe;QAXjB,aAAQ,GAAQ,EAAE,CAAC;QAMnB,oBAAe,GAAkC,EAAE,CAAC;QAOlD,IAAI,CAAC,aAAa,GAAG,sCAAY,CAAC,YAAY,CAAI,UAAU,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,GAAG,IAAI,CAA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AAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACnD;aAAM;YACL,MAAM,IAAI,0BAAa,CAAC;gBACtB,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,yEAAyE;gBAC/F,WAAW,EAAE,oGAAoG;aAClH,CAAC,CAAC;SACJ;IACH,CAAC;CACF;AArQD,kDAqQC"}
@@ -1,5 +1,8 @@
1
1
  import { DynamoBEDBService } from './dynamobe-db.service';
2
2
  import { DynamoBESingletonService } from './dynamobe-singleton.service';
3
+ /**
4
+ *
5
+ */
3
6
  export declare class DynamoBEDBServiceCollection extends DynamoBESingletonService {
4
7
  [service: string]: DynamoBEDBService<any>;
5
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dynamobe-db-service-collection.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-db-service-collection.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,qBAAa,2BAA4B,SAAQ,wBAAwB;IAEvE,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC;CAE3C"}
1
+ {"version":3,"file":"dynamobe-db-service-collection.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-db-service-collection.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,wBAAwB;IAEvE,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC;CAE3C"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DynamoBEDBServiceCollection = void 0;
4
4
  const dynamobe_singleton_service_1 = require("./dynamobe-singleton.service");
5
+ /**
6
+ *
7
+ */
5
8
  class DynamoBEDBServiceCollection extends dynamobe_singleton_service_1.DynamoBESingletonService {
6
9
  }
7
10
  exports.DynamoBEDBServiceCollection = DynamoBEDBServiceCollection;
@@ -1 +1 @@
1
- {"version":3,"file":"dynamobe-db-service-collection.service.js","sourceRoot":"","sources":["../../src/_services/dynamobe-db-service-collection.service.ts"],"names":[],"mappings":";;;AAEA,6EAAwE;AAExE,MAAa,2BAA4B,SAAQ,qDAAwB;CAIxE;AAJD,kEAIC"}
1
+ {"version":3,"file":"dynamobe-db-service-collection.service.js","sourceRoot":"","sources":["../../src/_services/dynamobe-db-service-collection.service.ts"],"names":[],"mappings":";;;AAEA,6EAAwE;AAExE;;GAEG;AACH,MAAa,2BAA4B,SAAQ,qDAAwB;CAIxE;AAJD,kEAIC"}
@@ -1,5 +1,8 @@
1
1
  import * as mongoose from 'mongoose';
2
2
  import { Metadata, DynamoBEDataParams } from '@futdevpro/fsm-dynamo';
3
+ /**
4
+ *
5
+ */
3
6
  export declare class DynamoBEDBService<T extends Metadata> {
4
7
  dataParams: DynamoBEDataParams;
5
8
  dataModel: mongoose.Model<mongoose.Document<any, any, any>, any, any>;
@@ -57,22 +60,21 @@ export declare class DynamoBEDBService<T extends Metadata> {
57
60
  searchData(searchBy: object, narrowByDependencyIds?: string[]): Promise<T[]>;
58
61
  /**
59
62
  * find data by any of its parameters, throws error if not found
60
- * @param data etc.: by email: { email: email }
63
+ * @param data
64
+ * (always use unique parameters for find!)
65
+ * etc.: by email:
66
+ * { email: email }
67
+ * or by id that is in list:
61
68
  * { userIds: { $in: this.userId } }
69
+ * or by number or Date that is greater than OR less than:
70
+ * { points: { $gte: 2, $lte: 14 } }
62
71
  * @returns data
63
72
  */
64
- findData(data: T): Promise<T>;
65
73
  /**
66
74
  * returns all data from database, throws error if not found
67
75
  * @returns dataList
68
76
  */
69
77
  getAll(): Promise<T[]>;
70
- /**
71
- * update one parameter by a specific
72
- * { _id: pictureId }, { approved: true }
73
- * @param updateBy etc.: { email: email } (always use unique parameters for find!)
74
- * @param update etc.: { $inc: { popularity: this.newVote.amount }, emailVerified: true }
75
- */
76
78
  /**
77
79
  * deleted data by id
78
80
  * @param id id
@@ -85,19 +87,59 @@ export declare class DynamoBEDBService<T extends Metadata> {
85
87
  deleteDataByDependencyId(dependencyId: string): Promise<void>;
86
88
  /**
87
89
  * find the data first by any of its parameters, throws error if not found
88
- * @param filter etc. by email: { email: email }
90
+ * @param filter
91
+ * (always use unique parameters for find!)
92
+ * etc.: by email:
93
+ * { email: email }
94
+ * or by id that is in list:
95
+ * { userIds: { $in: this.userId } }
96
+ * or by number or Date that is GREATER THAN OR LESS THAN:
97
+ * { points: { $gt: 2, $lt: 14 } }
98
+ * further tools (syntax matches with $gt):
99
+ * $eq: Matches values that are EQUAL to a specified value.
100
+ * $gte: Matches values that are GREATER THAN or EQUAL to a specified value.
101
+ * $lte: Matches values that are LESS THAN or EQUAL to a specified value.
102
+ * $ne: Matches all values that are NOT EQUAL to a specified value.
103
+ * $nin: Matches NONE of the values specified IN an array.
104
+ *
89
105
  * @returns data
90
106
  */
91
107
  findOne(filter: any): Promise<T>;
92
108
  /**
93
109
  * find all data by any of its parameters, throws error if not found
94
- * @param filter etc. by email: { email: email, points: { $gte: 2, $lte: 12 }, userIds: { $in: this.userId } }
110
+ * @param filter
111
+ * etc.: by email:
112
+ * { email: email }
113
+ * or by id that is in list:
114
+ * { userIds: { $in: this.userId } }
115
+ * or by number or Date that is GREATER THAN OR LESS THAN:
116
+ * { points: { $gt: 2, $lt: 14 } }
117
+ * further tools (syntax matches with $gt):
118
+ * $eq: Matches values that are EQUAL to a specified value.
119
+ * $gte: Matches values that are GREATER THAN or EQUAL to a specified value.
120
+ * $lte: Matches values that are LESS THAN or EQUAL to a specified value.
121
+ * $ne: Matches all values that are NOT EQUAL to a specified value.
122
+ * $nin: Matches NONE of the values specified IN an array.
123
+ *
95
124
  * @returns dataList
96
125
  */
97
126
  find(filter: any): Promise<T[]>;
98
127
  /**
99
128
  * find all data by any of its parameters, throws error if not found
100
- * @param filter etc. by email: { email: email, points: { $gte: 2, $lte: 12 }, userIds: { $in: this.userId } }
129
+ * @param filter
130
+ * etc.: by email:
131
+ * { email: email }
132
+ * or by id that is in list:
133
+ * { userIds: { $in: this.userId } }
134
+ * or by number or Date that is GREATER THAN OR LESS THAN:
135
+ * { points: { $gt: 2, $lt: 14 } }
136
+ * further tools (syntax matches with $gt):
137
+ * $eq: Matches values that are EQUAL to a specified value.
138
+ * $gte: Matches values that are GREATER THAN or EQUAL to a specified value.
139
+ * $lte: Matches values that are LESS THAN or EQUAL to a specified value.
140
+ * $ne: Matches all values that are NOT EQUAL to a specified value.
141
+ * $nin: Matches NONE of the values specified IN an array.
142
+ *
101
143
  * @param page page
102
144
  * @param pageSize pageSize
103
145
  * @param sort etc. by dateTime: { dateTime: -1 }
@@ -113,14 +155,67 @@ export declare class DynamoBEDBService<T extends Metadata> {
113
155
  findByIdAndUpdate(id: string, update: any, modifier: string): Promise<T>;
114
156
  /**
115
157
  * update one parameter by a specific
116
- * @param updateBy etc.: by email: { email: email, points: { $gte: 2, $lte: 12 }, userIds: { $in: this.userId } } (always use unique parameters for find!)
117
- * @param update etc.: { $inc: { popularity: this.newVote.amount }, emailVerified: true }
158
+ * @param updateBy
159
+ * (always use unique parameters for find!)
160
+ * etc.: by email:
161
+ * { email: email }
162
+ * or by id that is in list:
163
+ * { userIds: { $in: this.userId } }
164
+ * or by number or Date that is GREATER THAN OR LESS THAN:
165
+ * { points: { $gt: 2, $lt: 14 } }
166
+ * further tools (syntax matches with $gt):
167
+ * $eq: Matches values that are EQUAL to a specified value.
168
+ * $gte: Matches values that are GREATER THAN or EQUAL to a specified value.
169
+ * $lte: Matches values that are LESS THAN or EQUAL to a specified value.
170
+ * $ne: Matches all values that are NOT EQUAL to a specified value.
171
+ * $nin: Matches NONE of the values specified IN an array.
172
+ *
173
+ * @param update
174
+ * etc.: increase a specific value:
175
+ * { $inc: { popularity: 15 } }
176
+ * or add element to a list:
177
+ * { $push: { reactions: this.newReaction }
178
+ * or all at once
179
+ * { $inc: { popularity: this.newVote.amount }, emailVerified: true, $push: { reactions: this.newReaction } }
180
+ * further tools (syntax matches with $inc):
181
+ * $currentDate: Sets the value of a field to current date, either as a Date or a Timestamp.
182
+ * $min: Only updates the field if the specified value is less than the existing field value.
183
+ * $max: Only updates the field if the specified value is greater than the existing field value.
184
+ * $mul: Multiplies the value of the field by the specified amount.
185
+ * $rename: Renames a field.
186
+ * $unset: Removes the specified field from a document. (set: "" to value)
118
187
  */
119
188
  updateOne(updateBy: any, update: any, modifier: string): Promise<void>;
120
189
  /**
121
190
  * update one parameter by a specific
122
- * @param updateBy etc.: by email: { email: email, points: { $gte: 2, $lte: 12 }, userIds: { $in: this.userId } } (always use unique parameters for find!)
123
- * @param update etc.: { $inc: { popularity: this.newVote.amount }, emailVerified: true, reactions: { $push: this.newReaction } }
191
+ * @param updateBy
192
+ * etc.: by email:
193
+ * { email: email }
194
+ * or by id that is in list:
195
+ * { userIds: { $in: this.userId } }
196
+ * or by number or Date that is GREATER THAN OR LESS THAN:
197
+ * { points: { $gt: 2, $lt: 14 } }
198
+ * further tools (syntax matches with $gt):
199
+ * $eq: Matches values that are EQUAL to a specified value.
200
+ * $gte: Matches values that are GREATER THAN or EQUAL to a specified value.
201
+ * $lte: Matches values that are LESS THAN or EQUAL to a specified value.
202
+ * $ne: Matches all values that are NOT EQUAL to a specified value.
203
+ * $nin: Matches NONE of the values specified IN an array.
204
+ *
205
+ * @param update
206
+ * etc.: increase a specific value:
207
+ * { $inc: { popularity: 15 } }
208
+ * or add element to a list:
209
+ * { $push: { reactions: this.newReaction }
210
+ * or all at once
211
+ * { $inc: { popularity: this.newVote.amount }, emailVerified: true, $push: { reactions: this.newReaction } }
212
+ * further tools (syntax matches with $inc):
213
+ * $currentDate: Sets the value of a field to current date, either as a Date or a Timestamp.
214
+ * $min: Only updates the field if the specified value is less than the existing field value.
215
+ * $max: Only updates the field if the specified value is greater than the existing field value.
216
+ * $mul: Multiplies the value of the field by the specified amount.
217
+ * $rename: Renames a field.
218
+ * $unset: Removes the specified field from a document. (set: "" to value)
124
219
  */
125
220
  updateMany(updateBy: any, update: any, modifier: string): Promise<void>;
126
221
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dynamobe-db.service.d.ts","sourceRoot":"","sources":["../../src/_services/dynamobe-db.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAA6C,MAAM,uBAAuB,CAAC;AAEhH,qBAAa,iBAAiB,CAAC,CAAC,SAAS,QAAQ;IAYtC,UAAU,EAAE,kBAAkB;IAXvC,SAAS,6DAA4D;IAErE,OAAO,CAAC,WAAW,CAAS;IAE5B;;;;;OAKG;gBAEM,UAAU,EAAE,kBAAkB;IAKvC;;;;OAIG;IACG,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAwBtD;;;;OAIG;IACG,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAkBvD;;;;OAIG;IACG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAiBzC;;;;OAIG;IACG,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAqB7D;;;;OAIG;IACG,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAqBnE;;;;OAIG;IACG,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAgB7D;;;;;;OAMG;IACG,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,CAA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