@bprotsyk/aso-core 1.2.47 → 1.2.48

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.
@@ -1,4 +1,4 @@
1
1
  export declare enum FlashAppType {
2
- GAMBLING = 0,
3
- FINANCES = 1
2
+ GAMBLING = "gambling",
3
+ FINANCES = "finances"
4
4
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FlashAppType = void 0;
4
4
  var FlashAppType;
5
5
  (function (FlashAppType) {
6
- FlashAppType[FlashAppType["GAMBLING"] = 0] = "GAMBLING";
7
- FlashAppType[FlashAppType["FINANCES"] = 1] = "FINANCES"; // do not change the order!
6
+ FlashAppType["GAMBLING"] = "gambling";
7
+ FlashAppType["FINANCES"] = "finances"; // do not change the order!
8
8
  })(FlashAppType = exports.FlashAppType || (exports.FlashAppType = {}));
@@ -156,7 +156,8 @@ async function updateSchemaAndMoveValue(model) {
156
156
  domainName: "none",
157
157
  },
158
158
  plugUrl: "none",
159
- developerName: "none"
159
+ developerName: "none",
160
+ type: flash_app_type_1.FlashAppType.GAMBLING
160
161
  },
161
162
  // $addToSet
162
163
  // $unset: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.47",
3
+ "version": "1.2.48",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -1,3 +1,4 @@
1
1
  export enum FlashAppType {
2
- GAMBLING, FINANCES // do not change the order!
2
+ GAMBLING = "gambling",
3
+ FINANCES = "finances" // do not change the order!
3
4
  }
@@ -211,7 +211,8 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise
211
211
  domainName: "none",
212
212
  },
213
213
  plugUrl: "none",
214
- developerName: "none"
214
+ developerName: "none",
215
+ type: FlashAppType.GAMBLING
215
216
  },
216
217
  // $addToSet
217
218
  // $unset: [