@brimble/models 1.5.31 → 1.5.32

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.
@@ -0,0 +1 @@
1
+ $ rm -rf dist && tsc -p .
@@ -23,4 +23,8 @@ export interface IUser extends Document {
23
23
  freeTrialActive: boolean;
24
24
  activated: boolean;
25
25
  is_waitlist: boolean;
26
+ notifications: {
27
+ email: boolean;
28
+ mute: boolean;
29
+ };
26
30
  }
package/dist/user.js CHANGED
@@ -32,6 +32,7 @@ const userSchema = new mongoose_1.Schema({
32
32
  },
33
33
  tenant: { type: mongoose_1.Schema.Types.ObjectId, ref: "Tenancy", required: false },
34
34
  is_waitlist: { type: Boolean, default: true },
35
+ notifications: Object
35
36
  }, {
36
37
  timestamps: {
37
38
  createdAt: "created_at",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,5 +21,5 @@
21
21
  "ts-node": "^8.10.2",
22
22
  "typescript": "^4.9.4"
23
23
  },
24
- "gitHead": "19fe1b95c1408a4387a055d9cdfbdeb56575c4d6"
24
+ "gitHead": "b88b793dd0468b812decf5620199bac7b3d69b66"
25
25
  }
package/types/user.ts CHANGED
@@ -24,4 +24,8 @@ export interface IUser extends Document {
24
24
  freeTrialActive: boolean;
25
25
  activated: boolean;
26
26
  is_waitlist: boolean;
27
+ notifications: {
28
+ email: boolean;
29
+ mute: boolean;
30
+ }
27
31
  }
package/user.ts CHANGED
@@ -34,6 +34,7 @@ const userSchema: Schema = new Schema(
34
34
  },
35
35
  tenant: { type: Schema.Types.ObjectId, ref: "Tenancy", required: false },
36
36
  is_waitlist: { type: Boolean, default: true },
37
+ notifications: Object
37
38
  },
38
39
  {
39
40
  timestamps: {