@futdevpro/nts-dynamo 1.5.49 → 1.5.51
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.d.ts.map +1 -1
- package/lib/_models/dynamo-nts-endpoint-params.js +11 -1
- package/lib/_models/dynamo-nts-endpoint-params.js.map +1 -1
- package/lib/_modules/test/test-controller.js +4 -4
- package/lib/_modules/test/test-controller.js.map +1 -1
- package/lib/_services/dynamo-nts-api.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-api.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-api.service.js +6 -5
- package/lib/_services/dynamo-nts-api.service.js.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-auth.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-auth.service.js +3 -2
- package/lib/_services/dynamo-nts-auth.service.js.map +1 -1
- package/lib/_services/dynamo-nts-data.service.d.ts +2 -0
- package/lib/_services/dynamo-nts-data.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-data.service.js +26 -18
- package/lib/_services/dynamo-nts-data.service.js.map +1 -1
- package/lib/_services/dynamo-nts-db.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-db.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-db.service.js +30 -25
- package/lib/_services/dynamo-nts-db.service.js.map +1 -1
- package/lib/_services/dynamo-nts-email.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-email.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-email.service.js +5 -4
- package/lib/_services/dynamo-nts-email.service.js.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-routing-module.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-routing-module.service.js +4 -3
- package/lib/_services/dynamo-nts-routing-module.service.js.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.d.ts +1 -0
- package/lib/_services/dynamo-nts-socket.service.d.ts.map +1 -1
- package/lib/_services/dynamo-nts-socket.service.js +6 -2
- package/lib/_services/dynamo-nts-socket.service.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/_models/dynamo-nts-endpoint-params.ts +11 -1
- package/src/_modules/test/test-controller.ts +4 -4
- package/src/_services/dynamo-nts-api.service.ts +7 -5
- package/src/_services/dynamo-nts-auth.service.ts +4 -2
- package/src/_services/dynamo-nts-data.service.ts +27 -18
- package/src/_services/dynamo-nts-db.service.ts +31 -25
- package/src/_services/dynamo-nts-email.service.ts +6 -4
- package/src/_services/dynamo-nts-routing-module.service.ts +5 -3
- package/src/_services/dynamo-nts-socket.service.ts +13 -7
- package/futdevpro-nts-dynamo-01.05.40.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.41.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.42.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.43.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.44.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.45.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.47.tgz +0 -0
- package/futdevpro-nts-dynamo-01.05.49.tgz +0 -0
- package/lib/_constants/dynamo-nts-global.settings.d.ts +0 -3
- package/lib/_constants/dynamo-nts-global.settings.d.ts.map +0 -1
- package/lib/_constants/dynamo-nts-global.settings.js +0 -18
- package/lib/_constants/dynamo-nts-global.settings.js.map +0 -1
- package/lib/_constants/dynamobe-global.settings.d.ts +0 -3
- package/lib/_constants/dynamobe-global.settings.d.ts.map +0 -1
- package/lib/_constants/dynamobe-global.settings.js +0 -13
- package/lib/_constants/dynamobe-global.settings.js.map +0 -1
- package/lib/_enums/dynamobe-data-service-function.enum.d.ts +0 -8
- package/lib/_enums/dynamobe-data-service-function.enum.d.ts.map +0 -1
- package/lib/_enums/dynamobe-data-service-function.enum.js +0 -15
- package/lib/_enums/dynamobe-data-service-function.enum.js.map +0 -1
- package/lib/_enums/dynamobe-route-security.enum.d.ts +0 -6
- package/lib/_enums/dynamobe-route-security.enum.d.ts.map +0 -1
- package/lib/_enums/dynamobe-route-security.enum.js +0 -10
- package/lib/_enums/dynamobe-route-security.enum.js.map +0 -1
- package/lib/_enums/log-style.enum.d.ts +0 -26
- package/lib/_enums/log-style.enum.d.ts.map +0 -1
- package/lib/_enums/log-style.enum.js +0 -30
- package/lib/_enums/log-style.enum.js.map +0 -1
- package/lib/_models/dynamo-module-settings.d.ts +0 -4
- package/lib/_models/dynamo-module-settings.d.ts.map +0 -1
- package/lib/_models/dynamo-module-settings.js +0 -10
- package/lib/_models/dynamo-module-settings.js.map +0 -1
- package/lib/_models/dynamo-nts-socket-module-settings.d.ts +0 -19
- package/lib/_models/dynamo-nts-socket-module-settings.d.ts.map +0 -1
- package/lib/_models/dynamo-nts-socket-module-settings.js +0 -27
- package/lib/_models/dynamo-nts-socket-module-settings.js.map +0 -1
- package/lib/_models/dynamobe-api-call-params.d.ts +0 -37
- package/lib/_models/dynamobe-api-call-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-api-call-params.js +0 -29
- package/lib/_models/dynamobe-api-call-params.js.map +0 -1
- package/lib/_models/dynamobe-app-params.d.ts +0 -18
- package/lib/_models/dynamobe-app-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-app-params.js +0 -17
- package/lib/_models/dynamobe-app-params.js.map +0 -1
- package/lib/_models/dynamobe-data-model-params.d.ts +0 -1
- package/lib/_models/dynamobe-data-model-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-data-model-params.js +0 -25
- package/lib/_models/dynamobe-data-model-params.js.map +0 -1
- package/lib/_models/dynamobe-endpoint-params.d.ts +0 -46
- package/lib/_models/dynamobe-endpoint-params.d.ts.map +0 -1
- package/lib/_models/dynamobe-endpoint-params.js +0 -117
- package/lib/_models/dynamobe-endpoint-params.js.map +0 -1
- package/lib/_models/dynamobe-global-settings.d.ts +0 -13
- package/lib/_models/dynamobe-global-settings.d.ts.map +0 -1
- package/lib/_models/dynamobe-global-settings.js +0 -3
- package/lib/_models/dynamobe-global-settings.js.map +0 -1
- package/lib/_modules/data-models.index.d.ts +0 -3
- package/lib/_modules/data-models.index.d.ts.map +0 -1
- package/lib/_modules/data-models.index.js +0 -6
- package/lib/_modules/data-models.index.js.map +0 -1
- package/lib/_services/dynamobe-api.service.d.ts +0 -19
- package/lib/_services/dynamobe-api.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-api.service.js +0 -167
- package/lib/_services/dynamobe-api.service.js.map +0 -1
- package/lib/_services/dynamobe-app.d.ts +0 -129
- package/lib/_services/dynamobe-app.d.ts.map +0 -1
- package/lib/_services/dynamobe-app.js +0 -238
- package/lib/_services/dynamobe-app.js.map +0 -1
- package/lib/_services/dynamobe-auth.service.d.ts +0 -54
- package/lib/_services/dynamobe-auth.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-auth.service.js +0 -46
- package/lib/_services/dynamobe-auth.service.js.map +0 -1
- package/lib/_services/dynamobe-controller.service.d.ts +0 -14
- package/lib/_services/dynamobe-controller.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-controller.service.js +0 -21
- package/lib/_services/dynamobe-controller.service.js.map +0 -1
- package/lib/_services/dynamobe-data.service.d.ts +0 -54
- package/lib/_services/dynamobe-data.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-data.service.js +0 -301
- package/lib/_services/dynamobe-data.service.js.map +0 -1
- package/lib/_services/dynamobe-db-service-collection.service.d.ts +0 -9
- package/lib/_services/dynamobe-db-service-collection.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-db-service-collection.service.js +0 -11
- package/lib/_services/dynamobe-db-service-collection.service.js.map +0 -1
- package/lib/_services/dynamobe-db.service.d.ts +0 -244
- package/lib/_services/dynamobe-db.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-db.service.js +0 -759
- package/lib/_services/dynamobe-db.service.js.map +0 -1
- package/lib/_services/dynamobe-email-service-collection.service.d.ts +0 -19
- package/lib/_services/dynamobe-email-service-collection.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-email-service-collection.service.js +0 -21
- package/lib/_services/dynamobe-email-service-collection.service.js.map +0 -1
- package/lib/_services/dynamobe-email.service.d.ts +0 -56
- package/lib/_services/dynamobe-email.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-email.service.js +0 -194
- package/lib/_services/dynamobe-email.service.js.map +0 -1
- package/lib/_services/dynamobe-global.service.d.ts +0 -62
- package/lib/_services/dynamobe-global.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-global.service.js +0 -107
- package/lib/_services/dynamobe-global.service.js.map +0 -1
- package/lib/_services/dynamobe-routing-module.service.d.ts +0 -42
- package/lib/_services/dynamobe-routing-module.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-routing-module.service.js +0 -146
- package/lib/_services/dynamobe-routing-module.service.js.map +0 -1
- package/lib/_services/dynamobe-shared-be.service.d.ts +0 -8
- package/lib/_services/dynamobe-shared-be.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-shared-be.service.js +0 -45
- package/lib/_services/dynamobe-shared-be.service.js.map +0 -1
- package/lib/_services/dynamobe-shared.service.d.ts +0 -26
- package/lib/_services/dynamobe-shared.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-shared.service.js +0 -63
- package/lib/_services/dynamobe-shared.service.js.map +0 -1
- package/lib/_services/dynamobe-singleton.service.d.ts +0 -9
- package/lib/_services/dynamobe-singleton.service.d.ts.map +0 -1
- package/lib/_services/dynamobe-singleton.service.js +0 -19
- package/lib/_services/dynamobe-singleton.service.js.map +0 -1
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import * as mongoose from 'mongoose';
|
|
2
|
-
import { Dynamo_Metadata, DynamoBEDataParams } from '@futdevpro/fsm-dynamo';
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
export declare class DynamoBEDBService<T extends Dynamo_Metadata> {
|
|
7
|
-
dataParams: DynamoBEDataParams;
|
|
8
|
-
dataModel: mongoose.Model<mongoose.Document<any, any, any>, any, any>;
|
|
9
|
-
private depDataName;
|
|
10
|
-
/**
|
|
11
|
-
* @param dataName name the model
|
|
12
|
-
* @param typeSample sample data for scheme creation (dont include Dynamo_Metadata!)
|
|
13
|
-
* @param schemaSettings additional settings for specific parameters as unique, required, minlength or maxlength
|
|
14
|
-
* schemaSettings also MUST contain specific types that differs from the listed above (Array, Date)
|
|
15
|
-
*/
|
|
16
|
-
constructor(dataParams: DynamoBEDataParams);
|
|
17
|
-
/**
|
|
18
|
-
* save new data
|
|
19
|
-
* @param data data
|
|
20
|
-
* @returns data
|
|
21
|
-
*/
|
|
22
|
-
createData(data: T, creator: string): Promise<T>;
|
|
23
|
-
/**
|
|
24
|
-
* Find data by _id and update
|
|
25
|
-
* @param data data
|
|
26
|
-
* @returns data
|
|
27
|
-
*/
|
|
28
|
-
modifyData(data: T, modifier: string): Promise<T>;
|
|
29
|
-
/**
|
|
30
|
-
* returns data by _id, throws error if not found
|
|
31
|
-
* @param id id
|
|
32
|
-
* @returns data
|
|
33
|
-
*/
|
|
34
|
-
getDataById(id: string): Promise<T>;
|
|
35
|
-
/**
|
|
36
|
-
* get data by dependency data id, throws error if not found
|
|
37
|
-
* @param dependencyId id
|
|
38
|
-
* @returns data
|
|
39
|
-
*/
|
|
40
|
-
getDataByDependencyId(dependencyId: string): Promise<T>;
|
|
41
|
-
/**
|
|
42
|
-
* get data by dependency data id, throws error if not found
|
|
43
|
-
* @param dependencyId id
|
|
44
|
-
* @returns dataList
|
|
45
|
-
*/
|
|
46
|
-
getDataListByDependencyId(dependencyId: string): Promise<T[]>;
|
|
47
|
-
/**
|
|
48
|
-
* get multiple data objects by a list of DependencyIDs, throws error if not found
|
|
49
|
-
* @param ids ids
|
|
50
|
-
* @returns dataList
|
|
51
|
-
*/
|
|
52
|
-
getDataListByDependencyIds(ids: string[]): Promise<T[]>;
|
|
53
|
-
/**
|
|
54
|
-
* returns search result for searchBy object params
|
|
55
|
-
* can use lists or xRange values for searchBy obj properties
|
|
56
|
-
* @param searchBy filter
|
|
57
|
-
* @param narrowByDependencyIds id
|
|
58
|
-
* @returns dataList
|
|
59
|
-
*/
|
|
60
|
-
searchData(searchBy: object, narrowByDependencyIds?: string[]): Promise<T[]>;
|
|
61
|
-
/**
|
|
62
|
-
* find data by any of its parameters, throws error if not found
|
|
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:
|
|
68
|
-
* { userIds: { $in: this.userId } }
|
|
69
|
-
* or by number or Date that is greater than OR less than:
|
|
70
|
-
* { points: { $gte: 2, $lte: 14 } }
|
|
71
|
-
* @returns data
|
|
72
|
-
*/
|
|
73
|
-
/**
|
|
74
|
-
* returns all data from database, throws error if not found
|
|
75
|
-
* @returns dataList
|
|
76
|
-
*/
|
|
77
|
-
getAll(): Promise<T[]>;
|
|
78
|
-
/**
|
|
79
|
-
* deleted data by id
|
|
80
|
-
* @param id id
|
|
81
|
-
*/
|
|
82
|
-
deleteDataById(id: string): Promise<void>;
|
|
83
|
-
/**
|
|
84
|
-
* deleted data by id
|
|
85
|
-
* @param dependencyId id
|
|
86
|
-
*/
|
|
87
|
-
deleteDataByDependencyId(dependencyId: string): Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* find the data first by any of its parameters, throws error if not found
|
|
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
|
-
*
|
|
105
|
-
* @returns data
|
|
106
|
-
*/
|
|
107
|
-
findOne(filter: any): Promise<T>;
|
|
108
|
-
/**
|
|
109
|
-
* find all data by any of its parameters, throws error if not found
|
|
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
|
-
*
|
|
124
|
-
* @returns dataList
|
|
125
|
-
*/
|
|
126
|
-
find(filter: any): Promise<T[]>;
|
|
127
|
-
/**
|
|
128
|
-
* find all data by any of its parameters, throws error if not found
|
|
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
|
-
*
|
|
143
|
-
* @param page page
|
|
144
|
-
* @param pageSize pageSize
|
|
145
|
-
* @param sort etc. by dateTime: { dateTime: -1 }
|
|
146
|
-
* @returns dataList
|
|
147
|
-
*/
|
|
148
|
-
findWithPaging(filter: any, page: number, pageSize: number, sort?: any): Promise<T[]>;
|
|
149
|
-
/**
|
|
150
|
-
* Find data by _id and update
|
|
151
|
-
* @param id id
|
|
152
|
-
* @param update update
|
|
153
|
-
* @returns data
|
|
154
|
-
*/
|
|
155
|
-
findByIdAndUpdate(id: string, update: any, modifier: string): Promise<T>;
|
|
156
|
-
/**
|
|
157
|
-
* update one parameter by a specific
|
|
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)
|
|
187
|
-
*/
|
|
188
|
-
updateOne(updateBy: any, update: any, modifier: string): Promise<void>;
|
|
189
|
-
/**
|
|
190
|
-
* update one parameter by a specific
|
|
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)
|
|
219
|
-
*/
|
|
220
|
-
updateMany(updateBy: any, update: any, modifier: string): Promise<void>;
|
|
221
|
-
/**
|
|
222
|
-
* builds and returns mongoose schema
|
|
223
|
-
* @returns schema
|
|
224
|
-
*/
|
|
225
|
-
private getSchema;
|
|
226
|
-
/**
|
|
227
|
-
* builds mongoose schema building settings object by dynamoDataModelParamsList
|
|
228
|
-
* @param params DynamoBEDataPropertyParams
|
|
229
|
-
* @returns mongoose schema object
|
|
230
|
-
*/
|
|
231
|
-
private buildMongooseSchemaByModelParams;
|
|
232
|
-
private getBEType;
|
|
233
|
-
/**
|
|
234
|
-
* adds dynamo metadata settings to any mongoose schema building settings object
|
|
235
|
-
* @param schema schema to update
|
|
236
|
-
* @returns updated schema
|
|
237
|
-
*/
|
|
238
|
-
private addDynamo_MetadataToSchema;
|
|
239
|
-
/**
|
|
240
|
-
* sets depDataKey
|
|
241
|
-
*/
|
|
242
|
-
private lookForDependencyDataSettings;
|
|
243
|
-
}
|
|
244
|
-
//# sourceMappingURL=dynamobe-db.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;GAEG;AACH,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,GA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