@bprotsyk/aso-core 1.2.8 → 1.2.10

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.
@@ -26,8 +26,8 @@ import { Model, Schema } from "mongoose";
26
26
  export interface IFlashApp {
27
27
  id: number;
28
28
  name: string;
29
- trackingUrl: string;
30
- email: string;
29
+ trackingUrl?: string;
30
+ email?: string;
31
31
  bundle: string;
32
32
  pushesEnabled?: boolean;
33
33
  pastebinUrl: string;
@@ -54,11 +54,11 @@ export declare const FlashAppSchema: Schema<any, Model<any, any, any, any, any>,
54
54
  id: number;
55
55
  bundle: string;
56
56
  trackingUrl: string;
57
+ email: string;
57
58
  pastebinUrl: string;
58
59
  onesignalAppId: string;
59
60
  onesignalRestApiKey: string;
60
61
  name?: string | undefined;
61
- email?: string | undefined;
62
62
  pushesEnabled?: boolean | undefined;
63
63
  policyUrl?: string | undefined;
64
64
  generationOptions?: {
@@ -18,7 +18,10 @@ exports.FlashAppSchema = new mongoose_1.Schema({
18
18
  type: String,
19
19
  default: null
20
20
  },
21
- email: String,
21
+ email: {
22
+ type: String,
23
+ default: null
24
+ },
22
25
  pushesEnabled: Boolean,
23
26
  pastebinUrl: {
24
27
  type: String,
@@ -1,5 +1,6 @@
1
1
  export interface IUpsertFlashAppRequest {
2
2
  id: number;
3
+ bundle: string;
3
4
  name: string;
4
5
  pastebinUrl: string;
5
6
  onesignalAppId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -5,8 +5,8 @@ import { Model, model, Schema } from "mongoose";
5
5
  export interface IFlashApp {
6
6
  id: number
7
7
  name: string
8
- trackingUrl: string
9
- email: string
8
+ trackingUrl?: string
9
+ email?: string
10
10
  bundle: string
11
11
  pushesEnabled?: boolean,
12
12
  pastebinUrl: string,
@@ -50,7 +50,10 @@ export const FlashAppSchema = new Schema({
50
50
  type: String,
51
51
  default: null
52
52
  },
53
- email: String,
53
+ email: {
54
+ type: String,
55
+ default: null
56
+ },
54
57
 
55
58
  pushesEnabled: Boolean,
56
59
  pastebinUrl: {
@@ -1,5 +1,6 @@
1
1
  export interface IUpsertFlashAppRequest {
2
2
  id: number
3
+ bundle: string
3
4
  name: string
4
5
  pastebinUrl: string
5
6
  onesignalAppId: string