@bprotsyk/aso-core 1.2.28 → 1.2.29
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 +4 -3
- package/lib/flash/flash-app.js +6 -4
- package/package.json +1 -1
- package/src/flash/flash-app.ts +10 -6
package/lib/flash/flash-app.d.ts
CHANGED
|
@@ -47,8 +47,9 @@ export interface IFlashAppUpdated {
|
|
|
47
47
|
policyUrl?: string;
|
|
48
48
|
onesignalAppId: string;
|
|
49
49
|
onesignalRestApiKey: string;
|
|
50
|
-
developerName
|
|
51
|
-
developerEmail
|
|
50
|
+
developerName: string;
|
|
51
|
+
developerEmail: string;
|
|
52
|
+
developerOrganization: string;
|
|
52
53
|
generationOptions: IAppGenerationOptionsUpdated;
|
|
53
54
|
}
|
|
54
55
|
export interface IAppGenerationOptionsUpdated {
|
|
@@ -99,7 +100,6 @@ export declare const FlashAppSchema: Schema<any, Model<any, any, any, any, any>,
|
|
|
99
100
|
} | undefined;
|
|
100
101
|
}>;
|
|
101
102
|
export declare const FlashAppSchemaUpdated: Schema<any, Model<any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
102
|
-
email: string;
|
|
103
103
|
id: number;
|
|
104
104
|
bundle: string;
|
|
105
105
|
trackingUrl: string;
|
|
@@ -109,6 +109,7 @@ export declare const FlashAppSchemaUpdated: Schema<any, Model<any, any, any, any
|
|
|
109
109
|
reservePlugUrl: string;
|
|
110
110
|
developerName: string;
|
|
111
111
|
developerEmail: string;
|
|
112
|
+
developerOrganization: string;
|
|
112
113
|
name?: string | undefined;
|
|
113
114
|
pushesEnabled?: boolean | undefined;
|
|
114
115
|
policyUrl?: string | undefined;
|
package/lib/flash/flash-app.js
CHANGED
|
@@ -110,10 +110,6 @@ exports.FlashAppSchemaUpdated = new mongoose_1.Schema({
|
|
|
110
110
|
type: String,
|
|
111
111
|
default: null
|
|
112
112
|
},
|
|
113
|
-
email: {
|
|
114
|
-
type: String,
|
|
115
|
-
default: null
|
|
116
|
-
},
|
|
117
113
|
pushesEnabled: Boolean,
|
|
118
114
|
plugUrl: {
|
|
119
115
|
type: String,
|
|
@@ -150,6 +146,11 @@ exports.FlashAppSchemaUpdated = new mongoose_1.Schema({
|
|
|
150
146
|
unique: true,
|
|
151
147
|
required: true
|
|
152
148
|
},
|
|
149
|
+
developerOrganization: {
|
|
150
|
+
type: String,
|
|
151
|
+
unique: true,
|
|
152
|
+
required: true
|
|
153
|
+
},
|
|
153
154
|
generationOptions: {
|
|
154
155
|
splashActivityClassName: {
|
|
155
156
|
type: String,
|
|
@@ -209,6 +210,7 @@ async function updateSchemaAndMoveValue(model) {
|
|
|
209
210
|
policyUrl: null,
|
|
210
211
|
developerName: '$generationOptions.keyDeveloperName',
|
|
211
212
|
developerEmail: '$email',
|
|
213
|
+
developerOrganization: '$generationOptions.keyDeveloperOrganization',
|
|
212
214
|
},
|
|
213
215
|
$unset: {
|
|
214
216
|
'email': true,
|
package/package.json
CHANGED
package/src/flash/flash-app.ts
CHANGED
|
@@ -32,8 +32,9 @@ export interface IFlashAppUpdated {
|
|
|
32
32
|
onesignalAppId: string
|
|
33
33
|
onesignalRestApiKey: string
|
|
34
34
|
|
|
35
|
-
developerName
|
|
36
|
-
developerEmail
|
|
35
|
+
developerName: string
|
|
36
|
+
developerEmail: string
|
|
37
|
+
developerOrganization: string
|
|
37
38
|
generationOptions: IAppGenerationOptionsUpdated
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -173,10 +174,6 @@ export const FlashAppSchemaUpdated = new Schema({
|
|
|
173
174
|
type: String,
|
|
174
175
|
default: null
|
|
175
176
|
},
|
|
176
|
-
email: {
|
|
177
|
-
type: String,
|
|
178
|
-
default: null
|
|
179
|
-
},
|
|
180
177
|
|
|
181
178
|
pushesEnabled: Boolean,
|
|
182
179
|
plugUrl: {
|
|
@@ -216,6 +213,12 @@ export const FlashAppSchemaUpdated = new Schema({
|
|
|
216
213
|
unique: true,
|
|
217
214
|
required: true
|
|
218
215
|
},
|
|
216
|
+
developerOrganization: {
|
|
217
|
+
type: String,
|
|
218
|
+
unique: true,
|
|
219
|
+
required: true
|
|
220
|
+
},
|
|
221
|
+
|
|
219
222
|
|
|
220
223
|
generationOptions: {
|
|
221
224
|
splashActivityClassName: {
|
|
@@ -278,6 +281,7 @@ export async function updateSchemaAndMoveValue(model: Model<IFlashAppUpdated>):
|
|
|
278
281
|
policyUrl: null,
|
|
279
282
|
developerName: '$generationOptions.keyDeveloperName',
|
|
280
283
|
developerEmail: '$email',
|
|
284
|
+
developerOrganization: '$generationOptions.keyDeveloperOrganization',
|
|
281
285
|
},
|
|
282
286
|
$unset: {
|
|
283
287
|
'email': true,
|