@bprotsyk/aso-core 2.1.226 → 2.1.227

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/app/app.d.ts CHANGED
@@ -132,6 +132,8 @@ export interface IApp extends Document {
132
132
  appMode: AppMode;
133
133
  /** Content type classification (gambling / finances) */
134
134
  appType?: AppType;
135
+ /** Device platform: android | ios */
136
+ appPlatform?: string;
135
137
  geos?: string[];
136
138
  /** Single Keitaro campaign for this app */
137
139
  campaign: IAppCampaign | null;
@@ -181,6 +183,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
181
183
  }>;
182
184
  name?: string | null | undefined;
183
185
  appType?: string | null | undefined;
186
+ appPlatform?: string | null | undefined;
184
187
  campaign?: {
185
188
  campaignId: number;
186
189
  campaignName: string;
@@ -232,6 +235,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
232
235
  }>;
233
236
  name?: string | null | undefined;
234
237
  appType?: string | null | undefined;
238
+ appPlatform?: string | null | undefined;
235
239
  campaign?: {
236
240
  campaignId: number;
237
241
  campaignName: string;
@@ -283,6 +287,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
283
287
  }>;
284
288
  name?: string | null | undefined;
285
289
  appType?: string | null | undefined;
290
+ appPlatform?: string | null | undefined;
286
291
  campaign?: {
287
292
  campaignId: number;
288
293
  campaignName: string;
package/lib/app/app.js CHANGED
@@ -75,6 +75,10 @@ exports.AppSchema = new mongoose_1.Schema({
75
75
  type: String,
76
76
  required: false
77
77
  },
78
+ appPlatform: {
79
+ type: String,
80
+ required: false
81
+ },
78
82
  bundle: {
79
83
  type: String,
80
84
  unique: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.226",
3
+ "version": "2.1.227",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -166,6 +166,8 @@ export interface IApp extends Document {
166
166
  appMode: AppMode
167
167
  /** Content type classification (gambling / finances) */
168
168
  appType?: AppType
169
+ /** Device platform: android | ios */
170
+ appPlatform?: string
169
171
  geos?: string[]
170
172
 
171
173
  /** Single Keitaro campaign for this app */
@@ -218,6 +220,10 @@ export const AppSchema = new Schema({
218
220
  type: String,
219
221
  required: false
220
222
  },
223
+ appPlatform: {
224
+ type: String,
225
+ required: false
226
+ },
221
227
  bundle: {
222
228
  type: String,
223
229
  unique: true,