@bprotsyk/aso-core 1.2.39 → 1.2.40
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 +13 -15
- package/package.json +1 -1
- package/src/flash/flash-app.ts +13 -15
package/lib/flash/flash-app.js
CHANGED
|
@@ -177,19 +177,19 @@ exports.FlashAppSchemaUpdated = new mongoose_1.Schema({
|
|
|
177
177
|
});
|
|
178
178
|
async function updateSchemaAndMoveValue(model) {
|
|
179
179
|
const aggregationPipeline = [
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
180
|
+
{
|
|
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
|
+
},
|
|
193
193
|
{
|
|
194
194
|
'$addFields': {
|
|
195
195
|
'plugUrl': `$pastebinUrl`,
|
|
@@ -204,8 +204,6 @@ async function updateSchemaAndMoveValue(model) {
|
|
|
204
204
|
const updateOperation = {
|
|
205
205
|
$set: {
|
|
206
206
|
plugUrl: '$pastebinUrl',
|
|
207
|
-
reservePlugUrl: null,
|
|
208
|
-
policyUrl: null,
|
|
209
207
|
developerName: '$generationOptions.keyDeveloperName',
|
|
210
208
|
developerEmail: '$email',
|
|
211
209
|
developerOrganization: '$generationOptions.keyDeveloperOrganization',
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -247,19 +247,19 @@ export const FlashAppSchemaUpdated = new Schema({
|
|
|
247
247
|
|
|
248
248
|
export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>): Promise<void> {
|
|
249
249
|
const aggregationPipeline = [
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
250
|
+
{
|
|
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
|
+
},
|
|
263
263
|
{
|
|
264
264
|
'$addFields': {
|
|
265
265
|
'plugUrl': `$pastebinUrl`,
|
|
@@ -275,8 +275,6 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>):
|
|
|
275
275
|
const updateOperation: UpdateQuery<IFlashAppUpdated> = {
|
|
276
276
|
$set: {
|
|
277
277
|
plugUrl: '$pastebinUrl',
|
|
278
|
-
reservePlugUrl: null,
|
|
279
|
-
policyUrl: null,
|
|
280
278
|
developerName: '$generationOptions.keyDeveloperName',
|
|
281
279
|
developerEmail: '$email',
|
|
282
280
|
developerOrganization: '$generationOptions.keyDeveloperOrganization',
|