@bprotsyk/aso-core 2.1.99 → 2.1.100
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 +9 -1
- package/lib/app/app.js +1 -0
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/app/app.ts +7 -3
- package/src/index.ts +1 -1
package/lib/app/app.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface IApp extends Document {
|
|
|
26
26
|
platforms: {
|
|
27
27
|
[key: string]: IPlatformParams;
|
|
28
28
|
};
|
|
29
|
+
publicationHistory: IPublicationHistory;
|
|
29
30
|
offersListId: number;
|
|
30
31
|
externalParams?: IExternalParams;
|
|
31
32
|
proxied: boolean;
|
|
@@ -51,6 +52,10 @@ export declare enum EDirectType {
|
|
|
51
52
|
KEITARO_OFFER = "keitaroOffer",
|
|
52
53
|
OFFER_DIRECT = "offerDirect"
|
|
53
54
|
}
|
|
55
|
+
export interface IPublicationHistory {
|
|
56
|
+
publications: number[];
|
|
57
|
+
removals: IRemovalInfo[];
|
|
58
|
+
}
|
|
54
59
|
export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
|
|
55
60
|
export interface IPlatformParams {
|
|
56
61
|
enabled: boolean;
|
|
@@ -132,7 +137,7 @@ export interface IRemoveDataParams {
|
|
|
132
137
|
callbackFunctionName: string;
|
|
133
138
|
toSplashAfterSuccess: boolean;
|
|
134
139
|
}
|
|
135
|
-
export interface
|
|
140
|
+
export interface IRemovalInfo {
|
|
136
141
|
reason: string;
|
|
137
142
|
date: number;
|
|
138
143
|
status: string;
|
|
@@ -188,6 +193,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
188
193
|
removeInfo: any;
|
|
189
194
|
name?: string | null | undefined;
|
|
190
195
|
pushesEnabled?: boolean | null | undefined;
|
|
196
|
+
publicationHistory?: any;
|
|
191
197
|
removeDataParams?: any;
|
|
192
198
|
privacyPolicyParams?: any;
|
|
193
199
|
offersStubParams?: any;
|
|
@@ -229,6 +235,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
229
235
|
removeInfo: any;
|
|
230
236
|
name?: string | null | undefined;
|
|
231
237
|
pushesEnabled?: boolean | null | undefined;
|
|
238
|
+
publicationHistory?: any;
|
|
232
239
|
removeDataParams?: any;
|
|
233
240
|
privacyPolicyParams?: any;
|
|
234
241
|
offersStubParams?: any;
|
|
@@ -270,6 +277,7 @@ export declare const AppSchema: mongoose.Schema<any, mongoose.Model<any, any, an
|
|
|
270
277
|
removeInfo: any;
|
|
271
278
|
name?: string | null | undefined;
|
|
272
279
|
pushesEnabled?: boolean | null | undefined;
|
|
280
|
+
publicationHistory?: any;
|
|
273
281
|
removeDataParams?: any;
|
|
274
282
|
privacyPolicyParams?: any;
|
|
275
283
|
offersStubParams?: any;
|
package/lib/app/app.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { IPush } from "./general/push";
|
|
|
2
2
|
export { IOffer, IPartner, IOfferType } from "./offers/offer";
|
|
3
3
|
export { IOffersSection, OffersSectionSchema, DefaultSectionId } from "./offers/section";
|
|
4
4
|
export { IAppOffersSection, ISectionsList, SectionsListSchema, IOfferState } from "./offers/list";
|
|
5
|
-
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus } from "./app/app";
|
|
5
|
+
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus, IPublicationHistory, IRemovalInfo } from "./app/app";
|
|
6
6
|
export { IAppListItem } from "./app/app-list-item";
|
|
7
7
|
export { AppType } from "./app/app-type";
|
|
8
8
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IAppIntegration as IFlashIntegration } from "./app/app-integration";
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -34,6 +34,7 @@ export interface IApp extends Document {
|
|
|
34
34
|
remoteServerParams?: IRemoteServerParams,
|
|
35
35
|
domainParams: IDomainParams
|
|
36
36
|
platforms: { [key: string]: IPlatformParams },
|
|
37
|
+
publicationHistory: IPublicationHistory,
|
|
37
38
|
|
|
38
39
|
offersListId: number,
|
|
39
40
|
externalParams?: IExternalParams,
|
|
@@ -64,8 +65,10 @@ export enum EDirectType{
|
|
|
64
65
|
OFFER_DIRECT = 'offerDirect',
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
export interface IPublicationHistory {
|
|
69
|
+
publications: number[],
|
|
70
|
+
removals: IRemovalInfo[]
|
|
71
|
+
}
|
|
69
72
|
|
|
70
73
|
export const getPlatformName = (platform: EPlatform | undefined): string | false => {
|
|
71
74
|
switch (platform) {
|
|
@@ -183,7 +186,7 @@ export interface IRemoveDataParams {
|
|
|
183
186
|
toSplashAfterSuccess: boolean
|
|
184
187
|
}
|
|
185
188
|
|
|
186
|
-
export interface
|
|
189
|
+
export interface IRemovalInfo {
|
|
187
190
|
reason: string,
|
|
188
191
|
date: number,
|
|
189
192
|
status: string,
|
|
@@ -340,6 +343,7 @@ export const AppSchema = new Schema({
|
|
|
340
343
|
default: "none"
|
|
341
344
|
},
|
|
342
345
|
},
|
|
346
|
+
publicationHistory: Object,
|
|
343
347
|
removeDataParams: Object,
|
|
344
348
|
removeInfo: {
|
|
345
349
|
type: Object,
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { IOffer, IPartner, IOfferType } from "./offers/offer"
|
|
|
4
4
|
export { IOffersSection, OffersSectionSchema, DefaultSectionId } from "./offers/section"
|
|
5
5
|
export { IAppOffersSection, ISectionsList, SectionsListSchema, IOfferState } from "./offers/list"
|
|
6
6
|
|
|
7
|
-
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus } from "./app/app"
|
|
7
|
+
export { IAdjustEventIds, IntegrationVersion, IApp, AppSchema, PlugType, IAppKeitaroData, IExternalParams, IPlatformParams, EPlatform, AppStatus, IPublicationHistory, IRemovalInfo } from "./app/app"
|
|
8
8
|
export { IAppListItem } from "./app/app-list-item"
|
|
9
9
|
export { AppType } from "./app/app-type"
|
|
10
10
|
export { AlternativeLayoutType, AlternativeSourceType, AlternativeLogicType, AlternativeNetworkTool, AlternativeStorageType, AlternativeNavigation, AlternativeOnBackPressed, AlternativeOnActivityResult, IAppIntegration as IFlashIntegration } from "./app/app-integration"
|