@bprotsyk/aso-core 1.2.10 → 1.2.12

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.
@@ -0,0 +1,6 @@
1
+ export interface IOfferWallHomeDialogData {
2
+ title: string;
3
+ message: string;
4
+ yes: string;
5
+ no: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,6 @@
1
+ import { IOfferWallHomeDialogData } from "aso/offerwall/offerwall-home-dialog-data";
1
2
  import { IOfferWallSection } from "aso/offerwall/offerwall-section";
2
3
  export interface IOfferWallResponse {
3
4
  sections: IOfferWallSection[];
5
+ homeDialog: IOfferWallHomeDialogData;
4
6
  }
@@ -58,7 +58,8 @@ exports.FlashAppSchema = new mongoose_1.Schema({
58
58
  },
59
59
  paranoidSeed: {
60
60
  type: Number,
61
- required: true
61
+ required: true,
62
+ unique: true
62
63
  },
63
64
  keyFileName: {
64
65
  type: String,
@@ -66,11 +67,13 @@ exports.FlashAppSchema = new mongoose_1.Schema({
66
67
  },
67
68
  keyDeveloperName: {
68
69
  type: String,
69
- required: true
70
+ required: true,
71
+ unique: true
70
72
  },
71
73
  keyDeveloperOrganization: {
72
74
  type: String,
73
- required: true
75
+ required: true,
76
+ unique: true,
74
77
  },
75
78
  keyCountryCode: {
76
79
  type: String,
@@ -86,7 +89,8 @@ exports.FlashAppSchema = new mongoose_1.Schema({
86
89
  },
87
90
  keyPassword: {
88
91
  type: String,
89
- required: true
92
+ required: true,
93
+ unique: true
90
94
  },
91
95
  }
92
96
  });
package/lib/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export { IOffer } from "./shared/offer";
15
15
  export { IOfferWallSection } from "./aso/offerwall/offerwall-section";
16
16
  export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer";
17
17
  export { IOfferWallResponse } from "./aso/offerwall/offerwall-response";
18
+ export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-data";
18
19
  export { IFlashApp, FlashAppSchema } from "./flash/flash-app";
19
20
  export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry";
20
21
  export { IPanelUser, PanelUserAccessScope, PanelUserSchema } from "./panel/user";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -0,0 +1,6 @@
1
+ export interface IOfferWallHomeDialogData {
2
+ title: string,
3
+ message: string,
4
+ yes: string,
5
+ no: string
6
+ }
@@ -1,5 +1,7 @@
1
+ import { IOfferWallHomeDialogData } from "aso/offerwall/offerwall-home-dialog-data";
1
2
  import { IOfferWallSection } from "aso/offerwall/offerwall-section";
2
3
 
3
4
  export interface IOfferWallResponse {
4
- sections: IOfferWallSection[]
5
+ sections: IOfferWallSection[],
6
+ homeDialog: IOfferWallHomeDialogData
5
7
  }
@@ -93,7 +93,8 @@ export const FlashAppSchema = new Schema({
93
93
  },
94
94
  paranoidSeed: {
95
95
  type: Number,
96
- required: true
96
+ required: true,
97
+ unique: true
97
98
  },
98
99
  keyFileName: {
99
100
  type: String,
@@ -101,11 +102,13 @@ export const FlashAppSchema = new Schema({
101
102
  },
102
103
  keyDeveloperName: {
103
104
  type: String,
104
- required: true
105
+ required: true,
106
+ unique: true
105
107
  },
106
108
  keyDeveloperOrganization: {
107
109
  type: String,
108
- required: true
110
+ required: true,
111
+ unique: true,
109
112
  },
110
113
  keyCountryCode: {
111
114
  type: String,
@@ -121,7 +124,8 @@ export const FlashAppSchema = new Schema({
121
124
  },
122
125
  keyPassword: {
123
126
  type: String,
124
- required: true
127
+ required: true,
128
+ unique: true
125
129
  },
126
130
  }
127
131
  })
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@ export { IOffer } from "./shared/offer"
17
17
  export { IOfferWallSection } from "./aso/offerwall/offerwall-section"
18
18
  export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer"
19
19
  export { IOfferWallResponse } from "./aso/offerwall/offerwall-response"
20
+ export { IOfferWallHomeDialogData } from "./aso/offerwall/offerwall-home-dialog-data"
20
21
 
21
22
  export { IFlashApp, FlashAppSchema } from "./flash/flash-app"
22
23