@bprotsyk/aso-core 2.1.72 → 2.1.74
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 +0 -7
- package/lib/app/app.js +1 -5
- package/package.json +1 -1
- package/src/app/app.ts +1 -7
package/lib/app/app.d.ts
CHANGED
|
@@ -49,9 +49,6 @@ export declare enum EDirectType {
|
|
|
49
49
|
KEITARO_OFFER = "keitaroOffer",
|
|
50
50
|
OFFER_DIRECT = "offerDirect"
|
|
51
51
|
}
|
|
52
|
-
export declare enum EBannerDirectType {
|
|
53
|
-
OFFER_DIRECT = "offerDirect"
|
|
54
|
-
}
|
|
55
52
|
export declare const getPlatformName: (platform: EPlatform | undefined) => string | false;
|
|
56
53
|
export interface IPlatformParams {
|
|
57
54
|
enabled: boolean;
|
|
@@ -114,10 +111,6 @@ export interface IBannerParams {
|
|
|
114
111
|
imageParam: string;
|
|
115
112
|
linkParam: string;
|
|
116
113
|
showStubOnError?: boolean;
|
|
117
|
-
directType?: {
|
|
118
|
-
enabled: boolean;
|
|
119
|
-
type: EBannerDirectType;
|
|
120
|
-
};
|
|
121
114
|
}
|
|
122
115
|
export interface IRemoveDataParams {
|
|
123
116
|
buttonText: string;
|
package/lib/app/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppSchema = exports.PlugType = exports.IntegrationVersion = exports.getPlatformName = exports.
|
|
3
|
+
exports.AppSchema = exports.PlugType = exports.IntegrationVersion = exports.getPlatformName = exports.EDirectType = exports.EPlatform = exports.EImageFormat = void 0;
|
|
4
4
|
const app_type_1 = require("./app-type");
|
|
5
5
|
const mongoose_1 = require("mongoose");
|
|
6
6
|
const util = require("util");
|
|
@@ -26,10 +26,6 @@ var EDirectType;
|
|
|
26
26
|
EDirectType["KEITARO_OFFER"] = "keitaroOffer";
|
|
27
27
|
EDirectType["OFFER_DIRECT"] = "offerDirect";
|
|
28
28
|
})(EDirectType = exports.EDirectType || (exports.EDirectType = {}));
|
|
29
|
-
var EBannerDirectType;
|
|
30
|
-
(function (EBannerDirectType) {
|
|
31
|
-
EBannerDirectType["OFFER_DIRECT"] = "offerDirect";
|
|
32
|
-
})(EBannerDirectType = exports.EBannerDirectType || (exports.EBannerDirectType = {}));
|
|
33
29
|
const getPlatformName = (platform) => {
|
|
34
30
|
switch (platform) {
|
|
35
31
|
case EPlatform.SAMSUNG:
|
package/package.json
CHANGED
package/src/app/app.ts
CHANGED
|
@@ -62,9 +62,7 @@ export enum EDirectType{
|
|
|
62
62
|
OFFER_DIRECT = 'offerDirect',
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
OFFER_DIRECT = 'offerDirect',
|
|
67
|
-
}
|
|
65
|
+
|
|
68
66
|
|
|
69
67
|
|
|
70
68
|
export const getPlatformName = (platform: EPlatform | undefined): string | false => {
|
|
@@ -158,10 +156,6 @@ export interface IBannerParams {
|
|
|
158
156
|
imageParam: string,
|
|
159
157
|
linkParam: string,
|
|
160
158
|
showStubOnError?: boolean,
|
|
161
|
-
directType?: {
|
|
162
|
-
enabled: boolean,
|
|
163
|
-
type: EBannerDirectType
|
|
164
|
-
}
|
|
165
159
|
}
|
|
166
160
|
|
|
167
161
|
export interface IRemoveDataParams {
|