@bprotsyk/aso-core 2.1.132 → 2.1.133

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
@@ -33,6 +33,7 @@ export interface IApp extends Document {
33
33
  proxied: boolean;
34
34
  ech?: boolean;
35
35
  imageFormat: EImageFormat;
36
+ policyPath: string;
36
37
  }
37
38
  export declare enum EImageFormat {
38
39
  PNG = "png",
@@ -209,6 +210,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
209
210
  trackingUrl: string;
210
211
  integrationVersion: string;
211
212
  removeInfo: any;
213
+ policyPath: string;
212
214
  name?: string | null | undefined;
213
215
  pushesEnabled?: boolean | null | undefined;
214
216
  publicationHistory?: any;
@@ -252,6 +254,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
252
254
  trackingUrl: string;
253
255
  integrationVersion: string;
254
256
  removeInfo: any;
257
+ policyPath: string;
255
258
  name?: string | null | undefined;
256
259
  pushesEnabled?: boolean | null | undefined;
257
260
  publicationHistory?: any;
@@ -295,6 +298,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
295
298
  trackingUrl: string;
296
299
  integrationVersion: string;
297
300
  removeInfo: any;
301
+ policyPath: string;
298
302
  name?: string | null | undefined;
299
303
  pushesEnabled?: boolean | null | undefined;
300
304
  publicationHistory?: any;
package/lib/app/app.js CHANGED
@@ -211,5 +211,9 @@ exports.AppSchema = new mongoose_1.Schema({
211
211
  type: String,
212
212
  },
213
213
  },
214
- platforms: Object
214
+ platforms: Object,
215
+ policyPath: {
216
+ type: String,
217
+ default: "none"
218
+ }
215
219
  });
@@ -24,6 +24,7 @@ export interface IUpsertAppRequest {
24
24
  imageFormat?: EImageFormat;
25
25
  file?: any;
26
26
  status?: AppStatus;
27
+ policyPath?: string;
27
28
  }
28
29
  export interface IUpsertAppResponse {
29
30
  data: IUpsertAppRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.132",
3
+ "version": "2.1.133",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
package/src/app/app.ts CHANGED
@@ -41,6 +41,7 @@ export interface IApp extends Document {
41
41
  proxied: boolean,
42
42
  ech?: boolean,
43
43
  imageFormat: EImageFormat
44
+ policyPath: string
44
45
  }
45
46
 
46
47
  export enum EImageFormat {
@@ -386,7 +387,11 @@ export const AppSchema = new Schema({
386
387
  type: String,
387
388
  },
388
389
  },
389
- platforms: Object
390
+ platforms: Object,
391
+ policyPath: {
392
+ type: String,
393
+ default: "none"
394
+ }
390
395
  })
391
396
 
392
397
 
@@ -30,6 +30,7 @@ export interface IUpsertAppRequest {
30
30
  imageFormat?: EImageFormat,
31
31
  file?: any
32
32
  status?: AppStatus
33
+ policyPath?: string
33
34
  }
34
35
 
35
36
  export interface IUpsertAppResponse {