@brimble/models 2.3.3 → 2.3.5

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/dist/server.js CHANGED
@@ -19,10 +19,12 @@ const serverSchema = new mongoose_1.Schema({
19
19
  ref: 'Team',
20
20
  required: false
21
21
  },
22
+ webhook_url: String,
22
23
  ip_address: {
23
24
  type: String,
24
25
  required: true,
25
26
  },
27
+ ipv6: String,
26
28
  private_ip_address: {
27
29
  type: String,
28
30
  required: true,
@@ -4,6 +4,7 @@ export interface IServer extends Document {
4
4
  name: string;
5
5
  url: string;
6
6
  grpc_address?: string;
7
+ ipv6?: string;
7
8
  userId: mongoose.Types.ObjectId;
8
9
  teamId?: mongoose.Types.ObjectId;
9
10
  ip_address: string;
@@ -14,6 +15,7 @@ export interface IServer extends Document {
14
15
  default: boolean;
15
16
  tag: string;
16
17
  region: string;
18
+ webhook_url?: string;
17
19
  is_custom_provision: boolean;
18
20
  specifications: Record<any, any>;
19
21
  meta: Record<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/server.ts CHANGED
@@ -20,10 +20,12 @@ const serverSchema = new Schema(
20
20
  ref: 'Team',
21
21
  required: false
22
22
  },
23
+ webhook_url: String,
23
24
  ip_address: {
24
25
  type: String,
25
26
  required: true,
26
27
  },
28
+ ipv6: String,
27
29
  private_ip_address: {
28
30
  type: String,
29
31
  required: true,
package/types/server.ts CHANGED
@@ -8,6 +8,8 @@ export interface IServer extends Document {
8
8
 
9
9
  grpc_address?: string;
10
10
 
11
+ ipv6?: string,
12
+
11
13
  userId: mongoose.Types.ObjectId;
12
14
 
13
15
  teamId?: mongoose.Types.ObjectId;
@@ -28,6 +30,8 @@ export interface IServer extends Document {
28
30
 
29
31
  region: string;
30
32
 
33
+ webhook_url?: string;
34
+
31
35
  is_custom_provision: boolean;
32
36
 
33
37
  specifications: Record<any, any>;