@bprotsyk/aso-core 1.2.142 → 1.2.143
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
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,6 +50,7 @@ export interface IPrivacyPolicyParams {
|
|
|
51
50
|
dark: boolean;
|
|
52
51
|
path: string;
|
|
53
52
|
adverisingIdQuery: string;
|
|
53
|
+
confirmFunctionName: string;
|
|
54
54
|
redirectFunctionName: string;
|
|
55
55
|
}
|
|
56
56
|
export declare enum IntegrationVersion {
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface IFlashApp extends Document {
|
|
|
27
27
|
onesignalRestApiKey: string
|
|
28
28
|
|
|
29
29
|
generationOptions: IAppGenerationOptions,
|
|
30
|
-
keitaroData: IAppKeitaroData | null,
|
|
30
|
+
keitaroData: IAppKeitaroData | null,
|
|
31
31
|
integrationVersion: IntegrationVersion
|
|
32
32
|
integrationAlterations?: IntegrationAlterations,
|
|
33
33
|
|
|
@@ -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,6 +62,7 @@ export interface IPrivacyPolicyParams {
|
|
|
63
62
|
|
|
64
63
|
path: string,
|
|
65
64
|
adverisingIdQuery: string
|
|
65
|
+
confirmFunctionName: string,
|
|
66
66
|
redirectFunctionName: string
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -77,7 +77,7 @@ export interface IntegrationAlterations {
|
|
|
77
77
|
navigation: AlternativeNavigation, // Navigation
|
|
78
78
|
storageType: AlternativeStorageType, // Storage
|
|
79
79
|
sourceType: AlternativeSourceType, // Source
|
|
80
|
-
onBackPressed: AlternativeOnBackPressed,
|
|
80
|
+
onBackPressed: AlternativeOnBackPressed,
|
|
81
81
|
onActivityResult: AlternativeOnActivityResult,
|
|
82
82
|
layoutType: AlternativeLayoutType,
|
|
83
83
|
fullscreen: AlternativeFullscreen
|
|
@@ -86,14 +86,14 @@ export interface IntegrationAlterations {
|
|
|
86
86
|
export interface IAppGenerationOptions {
|
|
87
87
|
splashName: string
|
|
88
88
|
webViewName: string
|
|
89
|
-
linkName:string,
|
|
89
|
+
linkName: string,
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
export interface IDeveloperParams {
|
|
93
93
|
name: string
|
|
94
94
|
email: string
|
|
95
95
|
organization: string
|
|
96
|
-
}
|
|
96
|
+
}
|
|
97
97
|
|
|
98
98
|
export interface IAppKeitaroData {
|
|
99
99
|
redirectCampaignId: number
|
|
@@ -160,7 +160,7 @@ export const FlashAppSchema = new Schema({
|
|
|
160
160
|
required: true
|
|
161
161
|
},
|
|
162
162
|
|
|
163
|
-
linkPath
|
|
163
|
+
linkPath: {
|
|
164
164
|
type: String
|
|
165
165
|
},
|
|
166
166
|
|
|
@@ -245,7 +245,7 @@ export const FlashAppSchema = new Schema({
|
|
|
245
245
|
},
|
|
246
246
|
removeDataParams: Object,
|
|
247
247
|
privacyPolicyParams: Object,
|
|
248
|
-
domainParams: Object
|
|
248
|
+
domainParams: Object
|
|
249
249
|
})
|
|
250
250
|
|
|
251
251
|
// TODO app type (casino / fin)
|
|
@@ -267,8 +267,8 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise
|
|
|
267
267
|
]
|
|
268
268
|
|
|
269
269
|
let aggregation = model.aggregate(pipelineStage)
|
|
270
|
-
try { await model.collection.dropIndex("plugStatus") } catch(e) {}
|
|
271
|
-
try { await model.collection.dropIndex("reservePlugStatus") } catch(e) {}
|
|
270
|
+
try { await model.collection.dropIndex("plugStatus") } catch (e) { }
|
|
271
|
+
try { await model.collection.dropIndex("reservePlugStatus") } catch (e) { }
|
|
272
272
|
|
|
273
273
|
// await model.schema.dropIndex("generationOptions.keyPassword_1")
|
|
274
274
|
await aggregation.exec()
|