@brimble/models 2.9.2 → 2.9.4

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.
@@ -25,6 +25,10 @@ const domainSchema = new mongoose_1.Schema({
25
25
  type: Boolean,
26
26
  default: false,
27
27
  },
28
+ provider: {
29
+ type: String,
30
+ required: true
31
+ },
28
32
  is_discounted: {
29
33
  type: Boolean,
30
34
  default: false,
@@ -8,6 +8,7 @@ export interface IDomain extends Document {
8
8
  team_id?: ITeam;
9
9
  primary: boolean;
10
10
  preview: IPreview;
11
+ provider: string;
11
12
  subscription: ISubscription;
12
13
  auto_renewal: boolean;
13
14
  is_discounted: boolean;
@@ -25,4 +26,6 @@ export interface IDomain extends Document {
25
26
  url: string;
26
27
  status?: 301 | 302 | 307 | 308;
27
28
  };
29
+ createdAt: Date;
30
+ updatedAt: Date;
28
31
  }
package/domain/index.ts CHANGED
@@ -26,6 +26,10 @@ const domainSchema = new Schema(
26
26
  type: Boolean,
27
27
  default: false,
28
28
  },
29
+ provider: {
30
+ type: String,
31
+ required: true
32
+ },
29
33
  is_discounted: {
30
34
  type: Boolean,
31
35
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,6 +9,7 @@ export interface IDomain extends Document {
9
9
  team_id?: ITeam;
10
10
  primary: boolean;
11
11
  preview: IPreview;
12
+ provider: string;
12
13
  subscription: ISubscription;
13
14
  auto_renewal: boolean;
14
15
  is_discounted: boolean;
@@ -26,4 +27,6 @@ export interface IDomain extends Document {
26
27
  url: string;
27
28
  status?: 301 | 302 | 307 | 308;
28
29
  };
30
+ createdAt: Date;
31
+ updatedAt: Date;
29
32
  }