@brimble/models 2.9.5 → 2.9.7

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.
@@ -30,7 +30,7 @@ const domainSchema = new mongoose_1.Schema({
30
30
  required: true
31
31
  },
32
32
  renewal_duration: {
33
- type: Boolean,
33
+ type: Number,
34
34
  required: false,
35
35
  default: 1
36
36
  },
package/dist/server.js CHANGED
@@ -54,10 +54,18 @@ const serverSchema = new mongoose_1.Schema({
54
54
  required: true,
55
55
  },
56
56
  tag: String,
57
+ plugin_id: {
58
+ type: String,
59
+ required: false,
60
+ },
57
61
  firewall_id: {
58
62
  required: false,
59
63
  type: String,
60
64
  },
65
+ provider_location: {
66
+ type: String,
67
+ required: false,
68
+ },
61
69
  specifications: {
62
70
  type: Object,
63
71
  default: {},
@@ -21,5 +21,7 @@ export interface IServer extends Document {
21
21
  is_custom_provision: boolean;
22
22
  firewall_id?: string;
23
23
  specifications: Record<any, any>;
24
+ plugin_id?: string;
25
+ provider_location?: string;
24
26
  meta: Record<any, any>;
25
27
  }
package/domain/index.ts CHANGED
@@ -31,7 +31,7 @@ const domainSchema = new Schema(
31
31
  required: true
32
32
  },
33
33
  renewal_duration: {
34
- type: Boolean,
34
+ type: Number,
35
35
  required: false,
36
36
  default: 1
37
37
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.9.5",
3
+ "version": "2.9.7",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/server.ts CHANGED
@@ -55,10 +55,18 @@ const serverSchema = new Schema(
55
55
  required: true,
56
56
  },
57
57
  tag: String,
58
+ plugin_id: {
59
+ type: String,
60
+ required: false,
61
+ },
58
62
  firewall_id: {
59
63
  required: false,
60
64
  type: String,
61
65
  },
66
+ provider_location: {
67
+ type: String,
68
+ required: false,
69
+ },
62
70
  specifications: {
63
71
  type: Object,
64
72
  default: {},
package/types/server.ts CHANGED
@@ -41,5 +41,9 @@ export interface IServer extends Document {
41
41
 
42
42
  specifications: Record<any, any>;
43
43
 
44
+ plugin_id?: string;
45
+
46
+ provider_location?: string;
47
+
44
48
  meta: Record<any, any>;
45
49
  }