@bprotsyk/aso-core 1.2.135 → 1.2.136
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 +11 -7
- package/lib/flash/flash-app.js +2 -13
- package/package.json +1 -1
- package/src/flash/flash-app.ts +9 -14
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export interface IFlashApp extends Document {
|
|
|
19
19
|
geos: string;
|
|
20
20
|
onesignalAppId: string;
|
|
21
21
|
onesignalRestApiKey: string;
|
|
22
|
-
domain: string;
|
|
23
22
|
linkPath: string;
|
|
24
23
|
developerName: string;
|
|
25
24
|
developerEmail: string;
|
|
@@ -30,6 +29,12 @@ export interface IFlashApp extends Document {
|
|
|
30
29
|
integrationAlterations?: IntegrationAlterations;
|
|
31
30
|
removeDataParams?: IRemoveDataParams;
|
|
32
31
|
privacyPolicyParams?: IPrivacyPolicyParams;
|
|
32
|
+
domainParams: IDomainParams;
|
|
33
|
+
}
|
|
34
|
+
export interface IDomainParams {
|
|
35
|
+
name: string;
|
|
36
|
+
clouflareZone: string;
|
|
37
|
+
enabled: boolean;
|
|
33
38
|
}
|
|
34
39
|
export interface IRemoveDataParams {
|
|
35
40
|
buttonText: string;
|
|
@@ -106,15 +111,14 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
106
111
|
integrationAlterations?: any;
|
|
107
112
|
removeDataParams?: any;
|
|
108
113
|
privacyPolicyParams?: any;
|
|
114
|
+
domainParams?: any;
|
|
109
115
|
policyUrl?: string | undefined;
|
|
110
|
-
domain?: string | undefined;
|
|
111
116
|
linkPath?: string | undefined;
|
|
112
117
|
generationOptions?: {
|
|
113
|
-
splashName
|
|
114
|
-
webViewName
|
|
115
|
-
linkName
|
|
116
|
-
savedName
|
|
117
|
-
paranoidSeed: number;
|
|
118
|
+
splashName?: string | undefined;
|
|
119
|
+
webViewName?: string | undefined;
|
|
120
|
+
linkName?: string | undefined;
|
|
121
|
+
savedName?: string | undefined;
|
|
118
122
|
} | undefined;
|
|
119
123
|
keitaroData?: {
|
|
120
124
|
redirectCampaignId: number;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -61,9 +61,6 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
61
61
|
type: String,
|
|
62
62
|
required: true
|
|
63
63
|
},
|
|
64
|
-
domain: {
|
|
65
|
-
type: String
|
|
66
|
-
},
|
|
67
64
|
linkPath: {
|
|
68
65
|
type: String
|
|
69
66
|
},
|
|
@@ -87,24 +84,15 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
87
84
|
generationOptions: {
|
|
88
85
|
splashName: {
|
|
89
86
|
type: String,
|
|
90
|
-
required: true
|
|
91
87
|
},
|
|
92
88
|
webViewName: {
|
|
93
89
|
type: String,
|
|
94
|
-
required: true
|
|
95
90
|
},
|
|
96
91
|
linkName: {
|
|
97
92
|
type: String,
|
|
98
|
-
required: true
|
|
99
93
|
},
|
|
100
94
|
savedName: {
|
|
101
95
|
type: String,
|
|
102
|
-
required: true
|
|
103
|
-
},
|
|
104
|
-
paranoidSeed: {
|
|
105
|
-
type: Number,
|
|
106
|
-
unique: true,
|
|
107
|
-
required: true
|
|
108
96
|
},
|
|
109
97
|
},
|
|
110
98
|
keitaroData: {
|
|
@@ -168,7 +156,8 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
168
156
|
offerIdParameterName: String,
|
|
169
157
|
},
|
|
170
158
|
removeDataParams: Object,
|
|
171
|
-
privacyPolicyParams: Object
|
|
159
|
+
privacyPolicyParams: Object,
|
|
160
|
+
domainParams: Object
|
|
172
161
|
});
|
|
173
162
|
// TODO app type (casino / fin)
|
|
174
163
|
async function updateSchemaAndMoveValue(model) {
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -25,7 +25,6 @@ export interface IFlashApp extends Document {
|
|
|
25
25
|
onesignalAppId: string
|
|
26
26
|
onesignalRestApiKey: string
|
|
27
27
|
|
|
28
|
-
domain: string,
|
|
29
28
|
linkPath: string,
|
|
30
29
|
|
|
31
30
|
developerName: string
|
|
@@ -37,6 +36,13 @@ export interface IFlashApp extends Document {
|
|
|
37
36
|
integrationAlterations?: IntegrationAlterations,
|
|
38
37
|
removeDataParams?: IRemoveDataParams,
|
|
39
38
|
privacyPolicyParams?: IPrivacyPolicyParams
|
|
39
|
+
domainParams: IDomainParams
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface IDomainParams {
|
|
43
|
+
name: string,
|
|
44
|
+
clouflareZone: string,
|
|
45
|
+
enabled: boolean
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
export interface IRemoveDataParams {
|
|
@@ -147,9 +153,6 @@ export const FlashAppSchema = new Schema({
|
|
|
147
153
|
required: true
|
|
148
154
|
},
|
|
149
155
|
|
|
150
|
-
domain: {
|
|
151
|
-
type: String
|
|
152
|
-
},
|
|
153
156
|
linkPath : {
|
|
154
157
|
type: String
|
|
155
158
|
},
|
|
@@ -175,24 +178,15 @@ export const FlashAppSchema = new Schema({
|
|
|
175
178
|
generationOptions: {
|
|
176
179
|
splashName: {
|
|
177
180
|
type: String,
|
|
178
|
-
required: true
|
|
179
181
|
},
|
|
180
182
|
webViewName: {
|
|
181
183
|
type: String,
|
|
182
|
-
required: true
|
|
183
184
|
},
|
|
184
185
|
linkName: {
|
|
185
186
|
type: String,
|
|
186
|
-
required: true
|
|
187
187
|
},
|
|
188
188
|
savedName: {
|
|
189
189
|
type: String,
|
|
190
|
-
required: true
|
|
191
|
-
},
|
|
192
|
-
paranoidSeed: {
|
|
193
|
-
type: Number,
|
|
194
|
-
unique: true,
|
|
195
|
-
required: true
|
|
196
190
|
},
|
|
197
191
|
},
|
|
198
192
|
|
|
@@ -258,7 +252,8 @@ export const FlashAppSchema = new Schema({
|
|
|
258
252
|
offerIdParameterName: String,
|
|
259
253
|
},
|
|
260
254
|
removeDataParams: Object,
|
|
261
|
-
privacyPolicyParams: Object
|
|
255
|
+
privacyPolicyParams: Object,
|
|
256
|
+
domainParams: Object
|
|
262
257
|
})
|
|
263
258
|
// TODO app type (casino / fin)
|
|
264
259
|
export async function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise<void> {
|