@bprotsyk/aso-core 1.2.142 → 1.2.144
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/flash/flash-app.d.ts +2 -1
- package/package.json +1 -1
- package/src/flash/flash-app.ts +15 -13
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export interface IRemoveDataParams {
|
|
|
42
42
|
path: string;
|
|
43
43
|
}
|
|
44
44
|
export interface IPrivacyPolicyParams {
|
|
45
|
-
callbackMethodName: string;
|
|
46
45
|
showButtonQuery: string;
|
|
47
46
|
button?: {
|
|
48
47
|
text: string;
|
|
@@ -51,7 +50,9 @@ export interface IPrivacyPolicyParams {
|
|
|
51
50
|
dark: boolean;
|
|
52
51
|
path: string;
|
|
53
52
|
adverisingIdQuery: string;
|
|
53
|
+
confirmFunctionName: string;
|
|
54
54
|
redirectFunctionName: string;
|
|
55
|
+
redirect: boolean;
|
|
55
56
|
}
|
|
56
57
|
export declare enum IntegrationVersion {
|
|
57
58
|
MVVM = "MVVM",
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -26,12 +26,12 @@ export interface IFlashApp extends Document {
|
|
|
26
26
|
onesignalAppId: string
|
|
27
27
|
onesignalRestApiKey: string
|
|
28
28
|
|
|
29
|
-
generationOptions: IAppGenerationOptions
|
|
30
|
-
keitaroData: IAppKeitaroData | null
|
|
29
|
+
generationOptions: IAppGenerationOptions
|
|
30
|
+
keitaroData: IAppKeitaroData | null
|
|
31
31
|
integrationVersion: IntegrationVersion
|
|
32
|
-
integrationAlterations?: IntegrationAlterations
|
|
32
|
+
integrationAlterations?: IntegrationAlterations
|
|
33
33
|
|
|
34
|
-
removeDataParams?: IRemoveDataParams
|
|
34
|
+
removeDataParams?: IRemoveDataParams
|
|
35
35
|
privacyPolicyParams?: IPrivacyPolicyParams
|
|
36
36
|
domainParams: IDomainParams
|
|
37
37
|
developerParams: IDeveloperParams
|
|
@@ -53,7 +53,6 @@ export interface IRemoveDataParams {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export interface IPrivacyPolicyParams {
|
|
56
|
-
callbackMethodName: string,
|
|
57
56
|
showButtonQuery: string,
|
|
58
57
|
button?: {
|
|
59
58
|
text: string
|
|
@@ -63,7 +62,10 @@ export interface IPrivacyPolicyParams {
|
|
|
63
62
|
|
|
64
63
|
path: string,
|
|
65
64
|
adverisingIdQuery: string
|
|
66
|
-
|
|
65
|
+
confirmFunctionName: string,
|
|
66
|
+
redirectFunctionName: string,
|
|
67
|
+
|
|
68
|
+
redirect: boolean
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
export enum IntegrationVersion {
|
|
@@ -77,7 +79,7 @@ export interface IntegrationAlterations {
|
|
|
77
79
|
navigation: AlternativeNavigation, // Navigation
|
|
78
80
|
storageType: AlternativeStorageType, // Storage
|
|
79
81
|
sourceType: AlternativeSourceType, // Source
|
|
80
|
-
onBackPressed: AlternativeOnBackPressed,
|
|
82
|
+
onBackPressed: AlternativeOnBackPressed,
|
|
81
83
|
onActivityResult: AlternativeOnActivityResult,
|
|
82
84
|
layoutType: AlternativeLayoutType,
|
|
83
85
|
fullscreen: AlternativeFullscreen
|
|
@@ -86,14 +88,14 @@ export interface IntegrationAlterations {
|
|
|
86
88
|
export interface IAppGenerationOptions {
|
|
87
89
|
splashName: string
|
|
88
90
|
webViewName: string
|
|
89
|
-
linkName:string,
|
|
91
|
+
linkName: string,
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
export interface IDeveloperParams {
|
|
93
95
|
name: string
|
|
94
96
|
email: string
|
|
95
97
|
organization: string
|
|
96
|
-
}
|
|
98
|
+
}
|
|
97
99
|
|
|
98
100
|
export interface IAppKeitaroData {
|
|
99
101
|
redirectCampaignId: number
|
|
@@ -160,7 +162,7 @@ export const FlashAppSchema = new Schema({
|
|
|
160
162
|
required: true
|
|
161
163
|
},
|
|
162
164
|
|
|
163
|
-
linkPath
|
|
165
|
+
linkPath: {
|
|
164
166
|
type: String
|
|
165
167
|
},
|
|
166
168
|
|
|
@@ -245,7 +247,7 @@ export const FlashAppSchema = new Schema({
|
|
|
245
247
|
},
|
|
246
248
|
removeDataParams: Object,
|
|
247
249
|
privacyPolicyParams: Object,
|
|
248
|
-
domainParams: Object
|
|
250
|
+
domainParams: Object
|
|
249
251
|
})
|
|
250
252
|
|
|
251
253
|
// TODO app type (casino / fin)
|
|
@@ -267,8 +269,8 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise
|
|
|
267
269
|
]
|
|
268
270
|
|
|
269
271
|
let aggregation = model.aggregate(pipelineStage)
|
|
270
|
-
try { await model.collection.dropIndex("plugStatus") } catch(e) {}
|
|
271
|
-
try { await model.collection.dropIndex("reservePlugStatus") } catch(e) {}
|
|
272
|
+
try { await model.collection.dropIndex("plugStatus") } catch (e) { }
|
|
273
|
+
try { await model.collection.dropIndex("reservePlugStatus") } catch (e) { }
|
|
272
274
|
|
|
273
275
|
// await model.schema.dropIndex("generationOptions.keyPassword_1")
|
|
274
276
|
await aggregation.exec()
|