@bprotsyk/aso-core 1.1.18 → 1.1.20
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/aso/config/aso-config-v0.d.ts +2 -0
- package/lib/aso/config/aso-config-v0.js +2 -0
- package/lib/aso/config/aso-config-v1.d.ts +2 -2
- package/lib/aso/config/aso-config-v2.d.ts +2 -2
- package/lib/aso/config/aso-config-v3.d.ts +2 -2
- package/lib/aso/config/aso-config-v4.d.ts +2 -2
- package/lib/aso/config/aso-config-v5.d.ts +2 -2
- package/lib/aso/config/aso-default-config.d.ts +1 -1
- package/lib/aso/config/aso-single-response.d.ts +3 -3
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/aso/config/aso-config-v0.ts +2 -2
- package/src/aso/config/aso-config-v1.ts +2 -2
- package/src/aso/config/aso-config-v2.ts +2 -2
- package/src/aso/config/aso-config-v3.ts +2 -2
- package/src/aso/config/aso-config-v4.ts +2 -2
- package/src/aso/config/aso-config-v5.ts +2 -2
- package/src/aso/config/aso-default-config.ts +1 -1
- package/src/aso/config/aso-single-response.ts +3 -3
- package/src/index.ts +8 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
1
2
|
export interface IConfig {
|
|
2
3
|
id: number;
|
|
3
4
|
name: string;
|
|
@@ -329,3 +330,4 @@ export interface ILocalizationMapping {
|
|
|
329
330
|
auth_privacyPolicy: string;
|
|
330
331
|
internal: [string, IColoredStringMapping][];
|
|
331
332
|
}
|
|
333
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toDefault = void 0;
|
|
3
4
|
let toDefault = (config) => {
|
|
4
5
|
return {
|
|
5
6
|
id: config.id,
|
|
@@ -55,3 +56,4 @@ let toDefault = (config) => {
|
|
|
55
56
|
version: 0
|
|
56
57
|
};
|
|
57
58
|
};
|
|
59
|
+
exports.toDefault = toDefault;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
export interface IConfig {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -327,4 +327,4 @@ export interface ILocalizationMapping {
|
|
|
327
327
|
auth_privacyPolicy: string;
|
|
328
328
|
internal: [string, IColoredStringMapping][];
|
|
329
329
|
}
|
|
330
|
-
export declare let toDefault: (config: IConfig) =>
|
|
330
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
export interface IConfig {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -293,5 +293,5 @@ export interface ILocalizationMapping {
|
|
|
293
293
|
auth_privacyPolicy: string;
|
|
294
294
|
internal: [string, IColoredStringMapping][];
|
|
295
295
|
}
|
|
296
|
-
export declare let toDefault: (config: IConfig) =>
|
|
296
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
297
297
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
export interface IConfig {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
@@ -290,5 +290,5 @@ export interface ILocalizationMapping {
|
|
|
290
290
|
auth_privacyPolicy: string;
|
|
291
291
|
internal: [string, IColoredStringMapping][];
|
|
292
292
|
}
|
|
293
|
-
export declare let toDefault: (config: IConfig) =>
|
|
293
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
294
294
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
export interface IConfig {
|
|
3
3
|
name: string;
|
|
4
4
|
email: string;
|
|
@@ -204,5 +204,5 @@ export interface ILocalizationMapping {
|
|
|
204
204
|
auth_privacyPolicy: string;
|
|
205
205
|
internal: [string, IColoredStringMapping][];
|
|
206
206
|
}
|
|
207
|
-
export declare let toDefault: (config: IConfig) =>
|
|
207
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
208
208
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
export interface IConfig {
|
|
3
3
|
name: string;
|
|
4
4
|
email: string;
|
|
@@ -224,4 +224,4 @@ export interface ILocalizationMapping {
|
|
|
224
224
|
homeHint: string;
|
|
225
225
|
internal: [string, IColoredStringMapping][];
|
|
226
226
|
}
|
|
227
|
-
export declare let toDefault: (config: IConfig) =>
|
|
227
|
+
export declare let toDefault: (config: IConfig) => IAsoDefaultConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
3
|
-
default:
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
|
+
export interface IAsoConfigResponse {
|
|
3
|
+
default: IAsoDefaultConfig;
|
|
4
4
|
plain: any;
|
|
5
5
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { IAsoCustomizedOffer } from "./aso/offer/aso-customized-offer";
|
|
2
2
|
export { IAsoOfferResponse } from "./aso/offer/aso-offer-response";
|
|
3
3
|
export { IAsoSection } from "./aso/offer/aso-offer-section";
|
|
4
|
+
export { IAsoDefaultConfig } from "./aso/config/aso-default-config";
|
|
5
|
+
export { IAsoConfigResponse } from "./aso/config/aso-single-response";
|
|
4
6
|
export * as ASO_v0 from "./aso/config/aso-config-v0";
|
|
5
7
|
export * as ASO_v1 from "./aso/config/aso-config-v1";
|
|
6
8
|
export * as ASO_v2 from "./aso/config/aso-config-v2";
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config"
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
id: number,
|
|
@@ -374,7 +374,7 @@ export interface ILocalizationMapping {
|
|
|
374
374
|
internal: [string, IColoredStringMapping][]
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
let toDefault = (config: IConfig):
|
|
377
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
378
378
|
return {
|
|
379
379
|
id: config.id,
|
|
380
380
|
bundle: config.bundle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config"
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
id: number,
|
|
@@ -374,7 +374,7 @@ export interface ILocalizationMapping {
|
|
|
374
374
|
internal: [string, IColoredStringMapping][]
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
export let toDefault = (config: IConfig):
|
|
377
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
378
378
|
return {
|
|
379
379
|
id: config.id,
|
|
380
380
|
bundle: config.bundle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config"
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
id: number,
|
|
@@ -335,7 +335,7 @@ export interface ILocalizationMapping {
|
|
|
335
335
|
internal: [string, IColoredStringMapping][]
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
export let toDefault = (config: IConfig):
|
|
338
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
339
339
|
return {
|
|
340
340
|
id: config.id,
|
|
341
341
|
bundle: config.bundle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config"
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
id: number,
|
|
@@ -331,7 +331,7 @@ export interface ILocalizationMapping {
|
|
|
331
331
|
internal: [string, IColoredStringMapping][]
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
export let toDefault = (config: IConfig):
|
|
334
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
335
335
|
return {
|
|
336
336
|
id: config.id,
|
|
337
337
|
bundle: config.bundle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
name: string,
|
|
@@ -240,7 +240,7 @@ export interface ILocalizationMapping {
|
|
|
240
240
|
internal: [string, IColoredStringMapping][]
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
export let toDefault = (config: IConfig):
|
|
243
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
244
244
|
return {
|
|
245
245
|
id: config.id,
|
|
246
246
|
bundle: config.bundle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
|
|
3
3
|
export interface IConfig {
|
|
4
4
|
name: string,
|
|
@@ -263,7 +263,7 @@ export interface ILocalizationMapping {
|
|
|
263
263
|
internal: [string, IColoredStringMapping][]
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
export let toDefault = (config: IConfig):
|
|
266
|
+
export let toDefault = (config: IConfig): IAsoDefaultConfig => {
|
|
267
267
|
return {
|
|
268
268
|
id: config.id,
|
|
269
269
|
bundle: config.bundle,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAsoDefaultConfig } from "./aso-default-config";
|
|
2
2
|
|
|
3
|
-
export interface
|
|
4
|
-
default:
|
|
3
|
+
export interface IAsoConfigResponse {
|
|
4
|
+
default: IAsoDefaultConfig,
|
|
5
5
|
plain: any
|
|
6
6
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
export { IAsoCustomizedOffer } from "./aso/offer/aso-customized-offer"
|
|
2
2
|
export { IAsoOfferResponse } from "./aso/offer/aso-offer-response"
|
|
3
3
|
export { IAsoSection } from "./aso/offer/aso-offer-section"
|
|
4
|
+
export { IAsoDefaultConfig } from "./aso/config/aso-default-config"
|
|
5
|
+
export { IAsoConfigResponse } from "./aso/config/aso-single-response"
|
|
4
6
|
export * as ASO_v0 from "./aso/config/aso-config-v0"
|
|
5
7
|
export * as ASO_v1 from "./aso/config/aso-config-v1"
|
|
6
8
|
export * as ASO_v2 from "./aso/config/aso-config-v2"
|
|
7
9
|
export * as ASO_v3 from "./aso/config/aso-config-v3"
|
|
8
|
-
export * as ASO_v4 from "./aso/config/aso-config-v4"
|
|
10
|
+
export * as ASO_v4 from "./aso/config/aso-config-v4"
|
|
9
11
|
export * as ASO_v5 from "./aso/config/aso-config-v5"
|
|
10
|
-
export {IPush} from "./shared/push"
|
|
12
|
+
export { IPush } from "./shared/push"
|
|
11
13
|
|
|
12
14
|
export { IOffer } from "./shared/offer"
|
|
13
15
|
|
|
14
|
-
export {IOfferWallSection} from "./aso/offerwall/offerwall-section"
|
|
15
|
-
export {IOfferWallOffer} from "./aso/offerwall/offerwall-offer"
|
|
16
|
-
export {IOfferWallResponse} from "./aso/offerwall/offerwall-response"
|
|
16
|
+
export { IOfferWallSection } from "./aso/offerwall/offerwall-section"
|
|
17
|
+
export { IOfferWallOffer } from "./aso/offerwall/offerwall-offer"
|
|
18
|
+
export { IOfferWallResponse } from "./aso/offerwall/offerwall-response"
|
|
17
19
|
|
|
18
|
-
export {IFlashApp, FlashAppSchema} from "./flash/flash-app"
|
|
20
|
+
export { IFlashApp, FlashAppSchema } from "./flash/flash-app"
|
|
19
21
|
|
|
20
22
|
export * as ASOConfigFetch from "./aso/usage-logs/aso-config-fetch-entry"
|