@bprotsyk/aso-core 1.2.157 → 1.2.159
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 +6 -3
- package/lib/flash/flash-app.js +10 -1
- package/package.json +1 -1
- package/src/flash/flash-app.ts +12 -3
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export interface IFlashApp extends Document {
|
|
|
32
32
|
developerParams: IDeveloperParams;
|
|
33
33
|
}
|
|
34
34
|
export interface IOffersStubParams {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
offersPath: string;
|
|
36
|
+
imagesPath: string;
|
|
37
37
|
}
|
|
38
38
|
export interface IDomainParams {
|
|
39
39
|
name: string;
|
|
@@ -125,7 +125,6 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
125
125
|
removeDataParams?: any;
|
|
126
126
|
privacyPolicyParams?: any;
|
|
127
127
|
offersStubParams?: any;
|
|
128
|
-
domainParams?: any;
|
|
129
128
|
policyUrl?: string | undefined;
|
|
130
129
|
linkPath?: string | undefined;
|
|
131
130
|
generationOptions?: {
|
|
@@ -148,5 +147,9 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
148
147
|
clickIdParameterName?: string | undefined;
|
|
149
148
|
offerIdParameterName?: string | undefined;
|
|
150
149
|
} | undefined;
|
|
150
|
+
domainParams?: {
|
|
151
|
+
name?: string | undefined;
|
|
152
|
+
clouflareZone?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
151
154
|
}>;
|
|
152
155
|
export declare function updateSchemaAndMoveValue(model: Model<IFlashApp>): Promise<void>;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -154,7 +154,16 @@ exports.FlashAppSchema = new mongoose_1.Schema({
|
|
|
154
154
|
removeDataParams: Object,
|
|
155
155
|
privacyPolicyParams: Object,
|
|
156
156
|
offersStubParams: Object,
|
|
157
|
-
domainParams:
|
|
157
|
+
domainParams: {
|
|
158
|
+
name: {
|
|
159
|
+
type: String,
|
|
160
|
+
unique: true
|
|
161
|
+
},
|
|
162
|
+
clouflareZone: {
|
|
163
|
+
type: String,
|
|
164
|
+
unique: true
|
|
165
|
+
},
|
|
166
|
+
}
|
|
158
167
|
});
|
|
159
168
|
// TODO app type (casino / fin)
|
|
160
169
|
async function updateSchemaAndMoveValue(model) {
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -41,8 +41,8 @@ export interface IFlashApp extends Document {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export interface IOffersStubParams {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
offersPath: string,
|
|
45
|
+
imagesPath: string
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export interface IDomainParams {
|
|
@@ -270,7 +270,16 @@ export const FlashAppSchema = new Schema({
|
|
|
270
270
|
removeDataParams: Object,
|
|
271
271
|
privacyPolicyParams: Object,
|
|
272
272
|
offersStubParams: Object,
|
|
273
|
-
domainParams:
|
|
273
|
+
domainParams: {
|
|
274
|
+
name: {
|
|
275
|
+
type: String,
|
|
276
|
+
unique: true
|
|
277
|
+
},
|
|
278
|
+
clouflareZone: {
|
|
279
|
+
type: String,
|
|
280
|
+
unique: true
|
|
281
|
+
},
|
|
282
|
+
}
|
|
274
283
|
})
|
|
275
284
|
|
|
276
285
|
// TODO app type (casino / fin)
|