@bprotsyk/aso-core 1.2.32 → 1.2.34
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/flash/flash-app.js +14 -16
- package/package.json +1 -1
- package/src/flash/flash-app.ts +14 -16
package/lib/flash/flash-app.js
CHANGED
|
@@ -178,25 +178,23 @@ exports.FlashAppSchemaUpdated = new mongoose_1.Schema({
|
|
|
178
178
|
async function updateSchemaAndMoveValue(model) {
|
|
179
179
|
const aggregationPipeline = [
|
|
180
180
|
{
|
|
181
|
-
$project: {
|
|
182
|
-
pastebinUrl: 0,
|
|
183
|
-
email: 0,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"generationOptionskeyAlias": 0,
|
|
192
|
-
"generationOptionskeyPassword": 0
|
|
181
|
+
'$project': {
|
|
182
|
+
"pastebinUrl": 0,
|
|
183
|
+
"email": 0,
|
|
184
|
+
"generationOptions.keyFileName": 0,
|
|
185
|
+
"generationOptions.keyDeveloperName": 0,
|
|
186
|
+
"generationOptions.keyDeveloperOrganization": 0,
|
|
187
|
+
"generationOptions.keyCountryCode": 0,
|
|
188
|
+
"generationOptions.keyCity": 0,
|
|
189
|
+
"generationOptions.keyAlias": 0,
|
|
190
|
+
"generationOptions.keyPassword": 0
|
|
193
191
|
}
|
|
194
192
|
},
|
|
195
193
|
{
|
|
196
|
-
$addFields: {
|
|
197
|
-
plugUrl: `$pastebinUrl`,
|
|
198
|
-
reservePlugUrl: null,
|
|
199
|
-
developerName: '$email',
|
|
194
|
+
'$addFields': {
|
|
195
|
+
'plugUrl': `$pastebinUrl`,
|
|
196
|
+
'reservePlugUrl': null,
|
|
197
|
+
'developerName': '$email',
|
|
200
198
|
}
|
|
201
199
|
}
|
|
202
200
|
];
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -248,25 +248,23 @@ export const FlashAppSchemaUpdated = new Schema({
|
|
|
248
248
|
export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>): Promise<void> {
|
|
249
249
|
const aggregationPipeline = [
|
|
250
250
|
{
|
|
251
|
-
$project: {
|
|
252
|
-
pastebinUrl: 0,
|
|
253
|
-
email: 0,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"generationOptionskeyAlias": 0,
|
|
262
|
-
"generationOptionskeyPassword": 0
|
|
251
|
+
'$project': {
|
|
252
|
+
"pastebinUrl": 0,
|
|
253
|
+
"email": 0,
|
|
254
|
+
"generationOptions.keyFileName": 0,
|
|
255
|
+
"generationOptions.keyDeveloperName": 0,
|
|
256
|
+
"generationOptions.keyDeveloperOrganization": 0,
|
|
257
|
+
"generationOptions.keyCountryCode": 0,
|
|
258
|
+
"generationOptions.keyCity": 0,
|
|
259
|
+
"generationOptions.keyAlias": 0,
|
|
260
|
+
"generationOptions.keyPassword": 0
|
|
263
261
|
}
|
|
264
262
|
},
|
|
265
263
|
{
|
|
266
|
-
$addFields: {
|
|
267
|
-
plugUrl: `$pastebinUrl`,
|
|
268
|
-
reservePlugUrl: null,
|
|
269
|
-
developerName: '$email',
|
|
264
|
+
'$addFields': {
|
|
265
|
+
'plugUrl': `$pastebinUrl`,
|
|
266
|
+
'reservePlugUrl': null,
|
|
267
|
+
'developerName': '$email',
|
|
270
268
|
}
|
|
271
269
|
}
|
|
272
270
|
];
|