@brimble/models 2.4.77 → 2.4.79

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/env.js CHANGED
@@ -13,7 +13,7 @@ const envSchema = new mongoose_1.Schema({
13
13
  },
14
14
  value: {
15
15
  type: String,
16
- required: true,
16
+ required: false,
17
17
  },
18
18
  user: {
19
19
  type: mongoose_1.Schema.Types.ObjectId,
@@ -19,6 +19,10 @@ const projectSchema = new mongoose_1.Schema({
19
19
  type: String,
20
20
  required: false,
21
21
  },
22
+ healthCheckPath: {
23
+ type: String,
24
+ required: false
25
+ },
22
26
  domains: [
23
27
  {
24
28
  ref: "Domain",
@@ -12,6 +12,10 @@ const previewsSchema = new mongoose_1.Schema({
12
12
  ref: "Server",
13
13
  type: mongoose_1.Schema.Types.ObjectId,
14
14
  },
15
+ healthCheckPath: {
16
+ type: String,
17
+ required: false
18
+ },
15
19
  pid: Number,
16
20
  port: Number,
17
21
  ip: String,
@@ -11,6 +11,7 @@ import { IDbImage } from "../db-image";
11
11
  import { IAutoScalingGroup } from "../auto-scaling-group";
12
12
  export interface IProject extends Document {
13
13
  name: string;
14
+ healthCheckPath?: string;
14
15
  domains: Array<IDomain>;
15
16
  environments: Array<IEnv>;
16
17
  uuid: number;
@@ -5,6 +5,7 @@ import { PROJECT_STATUS } from "../../enum";
5
5
  import { ILog } from "../logs";
6
6
  export interface IPreview extends Document {
7
7
  name: string;
8
+ healthCheckPath?: string;
8
9
  pid: number;
9
10
  port: number;
10
11
  ip: string;
package/env.ts CHANGED
@@ -14,7 +14,7 @@ const envSchema = new Schema(
14
14
  },
15
15
  value: {
16
16
  type: String,
17
- required: true,
17
+ required: false,
18
18
  },
19
19
  user: {
20
20
  type: Schema.Types.ObjectId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.4.77",
3
+ "version": "2.4.79",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -19,6 +19,10 @@ const projectSchema = new Schema(
19
19
  type: String,
20
20
  required: false,
21
21
  },
22
+ healthCheckPath: {
23
+ type: String,
24
+ required: false
25
+ },
22
26
  domains: [
23
27
  {
24
28
  ref: "Domain",
@@ -13,6 +13,10 @@ const previewsSchema = new Schema(
13
13
  ref: "Server",
14
14
  type: Schema.Types.ObjectId,
15
15
  },
16
+ healthCheckPath: {
17
+ type: String,
18
+ required: false
19
+ },
16
20
  pid: Number,
17
21
  port: Number,
18
22
  ip: String,
@@ -12,6 +12,7 @@ import { IAutoScalingGroup } from "../auto-scaling-group";
12
12
 
13
13
  export interface IProject extends Document {
14
14
  name: string;
15
+ healthCheckPath?: string;
15
16
  domains: Array<IDomain>;
16
17
  environments: Array<IEnv>;
17
18
  uuid: number;
@@ -6,6 +6,7 @@ import { ILog } from "../logs";
6
6
 
7
7
  export interface IPreview extends Document {
8
8
  name: string;
9
+ healthCheckPath?: string;
9
10
  pid: number;
10
11
  port: number;
11
12
  ip: string;