@bprotsyk/aso-core 1.2.85 → 1.2.87

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.
@@ -62,8 +62,8 @@ exports.FlashAppSchema = new mongoose_1.Schema({
62
62
  },
63
63
  reservePlugType: {
64
64
  type: String,
65
- enum: FlashAppPlugStatus,
66
- default: FlashAppPlugStatus.DISABLED,
65
+ enum: PlugType,
66
+ default: PlugType.PASTEBIN,
67
67
  required: false
68
68
  },
69
69
  reservePlugContent: {
@@ -432,8 +432,8 @@ let gatherInfoForFlashApps = async () => {
432
432
  app.plugContent = paste.content;
433
433
  app.plugType = flash_app_1.PlugType.PASTEBIN;
434
434
  app.plugId = paste.paste_id;
435
- app.reservePlugType =
436
- app.plugAccountId = parseInt(paste.accountId);
435
+ app.reservePlugType = flash_app_1.PlugType.PASTEBIN;
436
+ app.plugAccountId = parseInt(paste.accountId);
437
437
  // app.keitaroData.redirectDomainName = redirectDomain || "none"
438
438
  // app.keitaroData.redirectDomainId = redirectDomainId || 0
439
439
  // app.keitaroData.redirectCampaignId = redirectCampaignId || 0
@@ -468,4 +468,4 @@ let gatherInfoForFlashApps = async () => {
468
468
  // changeSourceForFA()
469
469
  // addGeosToAllRedirectCampaigns("BE")
470
470
  // removeGeosFromAllRedirectCampaigns("BE`")
471
- gatherInfoForFlashApps();
471
+ // gatherInfoForFlashApps()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.85",
3
+ "version": "1.2.87",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -116,8 +116,8 @@ export const FlashAppSchema = new Schema({
116
116
  },
117
117
  reservePlugType: {
118
118
  type: String,
119
- enum: FlashAppPlugStatus,
120
- default: FlashAppPlugStatus.DISABLED,
119
+ enum: PlugType,
120
+ default: PlugType.PASTEBIN,
121
121
  required: false
122
122
  },
123
123
  reservePlugContent: {
@@ -450,7 +450,7 @@ let gatherInfoForFlashApps = async () => {
450
450
  app.plugContent = paste.content
451
451
  app.plugType = PlugType.PASTEBIN
452
452
  app.plugId = paste.paste_id
453
- app.reservePlugType =
453
+ app.reservePlugType = PlugType.PASTEBIN
454
454
  app.plugAccountId = parseInt(paste.accountId)
455
455
 
456
456
  // app.keitaroData.redirectDomainName = redirectDomain || "none"
@@ -498,4 +498,4 @@ let gatherInfoForFlashApps = async () => {
498
498
  // addGeosToAllRedirectCampaigns("BE")
499
499
  // removeGeosFromAllRedirectCampaigns("BE`")
500
500
 
501
- gatherInfoForFlashApps()
501
+ // gatherInfoForFlashApps()