@bprotsyk/aso-core 2.1.187 → 2.1.188
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
|
@@ -20,6 +20,7 @@ export interface IApp extends Document {
|
|
|
20
20
|
appmetricaAppId?: number;
|
|
21
21
|
keitaroData: IAppKeitaroData | null;
|
|
22
22
|
bannerParams?: IBannerParams;
|
|
23
|
+
offersStubParams?: IOffersStubParams;
|
|
23
24
|
domainParams: IDomainParams;
|
|
24
25
|
platforms: {
|
|
25
26
|
[key: string]: IPlatformParams;
|
|
@@ -92,6 +93,10 @@ export interface IBannerParams {
|
|
|
92
93
|
linkParam: string;
|
|
93
94
|
showStubOnError?: boolean;
|
|
94
95
|
}
|
|
96
|
+
export interface IOffersStubParams {
|
|
97
|
+
offersPath: string;
|
|
98
|
+
imagesPath: string;
|
|
99
|
+
}
|
|
95
100
|
export declare enum AppStatus {
|
|
96
101
|
ARCHIVED = "ARCHIVED",
|
|
97
102
|
IN_DEVELOPMENT = "IN_DEVELOPMENT",
|
|
@@ -190,6 +195,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
190
195
|
removeDataParams?: any;
|
|
191
196
|
privacyPolicyParams?: any;
|
|
192
197
|
bannerParams?: any;
|
|
198
|
+
offersStubParams?: any;
|
|
193
199
|
platforms?: any;
|
|
194
200
|
onesignalAppId?: string | null | undefined;
|
|
195
201
|
onesignalRestApiKey?: string | null | undefined;
|
|
@@ -241,6 +247,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
241
247
|
removeDataParams?: any;
|
|
242
248
|
privacyPolicyParams?: any;
|
|
243
249
|
bannerParams?: any;
|
|
250
|
+
offersStubParams?: any;
|
|
244
251
|
platforms?: any;
|
|
245
252
|
onesignalAppId?: string | null | undefined;
|
|
246
253
|
onesignalRestApiKey?: string | null | undefined;
|
|
@@ -292,6 +299,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
292
299
|
removeDataParams?: any;
|
|
293
300
|
privacyPolicyParams?: any;
|
|
294
301
|
bannerParams?: any;
|
|
302
|
+
offersStubParams?: any;
|
|
295
303
|
platforms?: any;
|
|
296
304
|
onesignalAppId?: string | null | undefined;
|
|
297
305
|
onesignalRestApiKey?: string | null | undefined;
|
package/lib/app/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppStatus, ETeam, IAppKeitaroData, IBannerParams, IDomainParams, IPlatformParams } from "app/app";
|
|
1
|
+
import { AppStatus, ETeam, IAppKeitaroData, IBannerParams, IDomainParams, IOffersStubParams, IPlatformParams } from "app/app";
|
|
2
2
|
export interface IUpsertAppRequest {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
@@ -9,6 +9,7 @@ export interface IUpsertAppRequest {
|
|
|
9
9
|
appmetricaAppId?: number;
|
|
10
10
|
keitaroData?: Partial<IAppKeitaroData>;
|
|
11
11
|
bannerParams?: IBannerParams;
|
|
12
|
+
offersStubParams?: IOffersStubParams;
|
|
12
13
|
domainParams: IDomainParams;
|
|
13
14
|
platforms: {
|
|
14
15
|
[key: string]: IPlatformParams;
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -29,6 +29,7 @@ export interface IApp extends Document {
|
|
|
29
29
|
keitaroData: IAppKeitaroData | null
|
|
30
30
|
|
|
31
31
|
bannerParams?: IBannerParams,
|
|
32
|
+
offersStubParams?: IOffersStubParams,
|
|
32
33
|
domainParams: IDomainParams
|
|
33
34
|
platforms: { [key: string]: IPlatformParams },
|
|
34
35
|
|
|
@@ -132,6 +133,11 @@ export interface IBannerParams {
|
|
|
132
133
|
showStubOnError?: boolean,
|
|
133
134
|
}
|
|
134
135
|
|
|
136
|
+
export interface IOffersStubParams {
|
|
137
|
+
offersPath: string,
|
|
138
|
+
imagesPath: string,
|
|
139
|
+
}
|
|
140
|
+
|
|
135
141
|
export enum AppStatus {
|
|
136
142
|
ARCHIVED = "ARCHIVED",
|
|
137
143
|
IN_DEVELOPMENT = "IN_DEVELOPMENT",
|
|
@@ -293,6 +299,7 @@ export const AppSchema = new Schema({
|
|
|
293
299
|
},
|
|
294
300
|
privacyPolicyParams: Object,
|
|
295
301
|
bannerParams: Object,
|
|
302
|
+
offersStubParams: Object,
|
|
296
303
|
domainParams: {
|
|
297
304
|
name: {
|
|
298
305
|
type: String,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppStatus, ETeam, IAppKeitaroData, IBannerParams, IDomainParams, IPlatformParams, IPrivacyPolicyParams, IRemoveDataParams } from "app/app"
|
|
1
|
+
import { AppStatus, ETeam, IAppKeitaroData, IBannerParams, IDomainParams, IOffersStubParams, IPlatformParams, IPrivacyPolicyParams, IRemoveDataParams } from "app/app"
|
|
2
2
|
import { PlugType } from "index"
|
|
3
3
|
|
|
4
4
|
export interface IUpsertAppRequest {
|
|
@@ -16,6 +16,7 @@ export interface IUpsertAppRequest {
|
|
|
16
16
|
|
|
17
17
|
keitaroData?: Partial<IAppKeitaroData>,
|
|
18
18
|
bannerParams?: IBannerParams,
|
|
19
|
+
offersStubParams?: IOffersStubParams,
|
|
19
20
|
domainParams: IDomainParams,
|
|
20
21
|
platforms: { [key: string]: IPlatformParams },
|
|
21
22
|
ech?: boolean,
|