@brimble/models 3.8.120 → 3.8.122

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.
@@ -364,6 +364,11 @@ const projectSchema = new mongoose_1.Schema({
364
364
  type: String,
365
365
  required: false
366
366
  },
367
+ sendReport: {
368
+ type: Boolean,
369
+ default: false,
370
+ required: false
371
+ },
367
372
  volumeMount: {
368
373
  type: String,
369
374
  required: false,
@@ -2,19 +2,19 @@ import { Schema } from "mongoose";
2
2
  declare const _default: import("mongoose").Model<{
3
3
  [x: string]: NativeDate;
4
4
  status: string;
5
+ node_id: string;
5
6
  pool_id: string;
6
7
  job_id: string;
7
8
  alloc_id: string;
8
- node_id: string;
9
9
  }, {}, {}, {
10
10
  id: string;
11
11
  }, import("mongoose").Document<unknown, {}, {
12
12
  [x: string]: NativeDate;
13
13
  status: string;
14
+ node_id: string;
14
15
  pool_id: string;
15
16
  job_id: string;
16
17
  alloc_id: string;
17
- node_id: string;
18
18
  }, {
19
19
  id: string;
20
20
  }, {
@@ -25,10 +25,10 @@ declare const _default: import("mongoose").Model<{
25
25
  }> & Omit<{
26
26
  [x: string]: NativeDate;
27
27
  status: string;
28
+ node_id: string;
28
29
  pool_id: string;
29
30
  job_id: string;
30
31
  alloc_id: string;
31
- node_id: string;
32
32
  } & {
33
33
  _id: import("mongoose").Types.ObjectId;
34
34
  } & {
@@ -43,17 +43,17 @@ declare const _default: import("mongoose").Model<{
43
43
  }, {
44
44
  [x: string]: NativeDate;
45
45
  status: string;
46
+ node_id: string;
46
47
  pool_id: string;
47
48
  job_id: string;
48
49
  alloc_id: string;
49
- node_id: string;
50
50
  }, import("mongoose").Document<unknown, {}, {
51
51
  [x: string]: NativeDate;
52
52
  status: string;
53
+ node_id: string;
53
54
  pool_id: string;
54
55
  job_id: string;
55
56
  alloc_id: string;
56
- node_id: string;
57
57
  }, {
58
58
  id: string;
59
59
  }, Omit<import("mongoose").DefaultSchemaOptions, "timestamps"> & {
@@ -64,10 +64,10 @@ declare const _default: import("mongoose").Model<{
64
64
  }> & Omit<{
65
65
  [x: string]: NativeDate;
66
66
  status: string;
67
+ node_id: string;
67
68
  pool_id: string;
68
69
  job_id: string;
69
70
  alloc_id: string;
70
- node_id: string;
71
71
  } & {
72
72
  _id: import("mongoose").Types.ObjectId;
73
73
  } & {
@@ -77,10 +77,10 @@ declare const _default: import("mongoose").Model<{
77
77
  }, unknown, {
78
78
  [x: string]: NativeDate;
79
79
  status: string;
80
+ node_id: string;
80
81
  pool_id: string;
81
82
  job_id: string;
82
83
  alloc_id: string;
83
- node_id: string;
84
84
  } & {
85
85
  _id: import("mongoose").Types.ObjectId;
86
86
  } & {
@@ -88,10 +88,10 @@ declare const _default: import("mongoose").Model<{
88
88
  }>, {
89
89
  [x: string]: NativeDate;
90
90
  status: string;
91
+ node_id: string;
91
92
  pool_id: string;
92
93
  job_id: string;
93
94
  alloc_id: string;
94
- node_id: string;
95
95
  } & {
96
96
  _id: import("mongoose").Types.ObjectId;
97
97
  } & {
package/dist/server.js CHANGED
@@ -67,6 +67,10 @@ const serverSchema = new mongoose_1.Schema({
67
67
  required: false,
68
68
  type: String,
69
69
  },
70
+ node_id: {
71
+ type: String,
72
+ required: false,
73
+ },
70
74
  provider: {
71
75
  type: String,
72
76
  required: true,
@@ -44,6 +44,7 @@ export interface IProject extends Document {
44
44
  ip: string;
45
45
  dir: string;
46
46
  tlsEnabled: boolean;
47
+ sendReport: boolean;
47
48
  pgbouncerEnabled: boolean;
48
49
  pgbouncerConfig?: IPgBouncerConfig | null;
49
50
  tlsEnabledAt?: Date | null;
@@ -7,6 +7,7 @@ export interface IServer extends Document {
7
7
  grpc_address?: string;
8
8
  ipv6?: string;
9
9
  domain?: string;
10
+ node_id: string;
10
11
  userId: mongoose.Types.ObjectId;
11
12
  teamId?: mongoose.Types.ObjectId;
12
13
  ip_address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.120",
3
+ "version": "3.8.122",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",