@bprotsyk/aso-core 1.2.33 → 1.2.35
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 +15 -17
- package/package.json +1 -1
- package/src/flash/flash-app.ts +15 -17
package/lib/flash/flash-app.js
CHANGED
|
@@ -178,23 +178,21 @@ 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
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
reservePlugUrl: null,
|
|
197
|
-
developerName: '$email',
|
|
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
|
|
191
|
+
},
|
|
192
|
+
'$addFields': {
|
|
193
|
+
'plugUrl': `$pastebinUrl`,
|
|
194
|
+
'reservePlugUrl': null,
|
|
195
|
+
'developerName': '$email',
|
|
198
196
|
}
|
|
199
197
|
}
|
|
200
198
|
];
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -248,23 +248,21 @@ 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
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
reservePlugUrl: null,
|
|
267
|
-
developerName: '$email',
|
|
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
|
|
261
|
+
},
|
|
262
|
+
'$addFields': {
|
|
263
|
+
'plugUrl': `$pastebinUrl`,
|
|
264
|
+
'reservePlugUrl': null,
|
|
265
|
+
'developerName': '$email',
|
|
268
266
|
}
|
|
269
267
|
}
|
|
270
268
|
];
|