@brimble/models 3.8.72 → 3.8.74

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.
@@ -13,7 +13,8 @@ export declare enum SERVER_PROTOCOL {
13
13
  }
14
14
  export declare enum BUILD_DISABLED_BY {
15
15
  System = "system",
16
- User = "user"
16
+ User = "user",
17
+ Payment = "payment_failure"
17
18
  }
18
19
  export declare enum REQUEST_TYPE {
19
20
  GET = "GET",
@@ -20,6 +20,7 @@ var BUILD_DISABLED_BY;
20
20
  (function (BUILD_DISABLED_BY) {
21
21
  BUILD_DISABLED_BY["System"] = "system";
22
22
  BUILD_DISABLED_BY["User"] = "user";
23
+ BUILD_DISABLED_BY["Payment"] = "payment_failure";
23
24
  })(BUILD_DISABLED_BY = exports.BUILD_DISABLED_BY || (exports.BUILD_DISABLED_BY = {}));
24
25
  var REQUEST_TYPE;
25
26
  (function (REQUEST_TYPE) {
@@ -47,6 +47,11 @@ const projectSchema = new mongoose_1.Schema({
47
47
  ref: "Team",
48
48
  type: mongoose_1.Schema.Types.ObjectId,
49
49
  },
50
+ watchPaths: {
51
+ type: Array,
52
+ required: false,
53
+ default: [],
54
+ },
50
55
  server: {
51
56
  ref: "Server",
52
57
  type: mongoose_1.Schema.Types.ObjectId,
@@ -33,6 +33,7 @@ export interface IProject extends Document {
33
33
  user_id: IUser;
34
34
  monitor_id: string;
35
35
  nomadJobId: string;
36
+ watchPaths: string[];
36
37
  repo: {
37
38
  name: string;
38
39
  full_name: string;
package/enum/index.ts CHANGED
@@ -16,6 +16,7 @@ export enum SERVER_PROTOCOL {
16
16
  export enum BUILD_DISABLED_BY {
17
17
  System = "system",
18
18
  User = "user",
19
+ Payment = "payment_failure"
19
20
  }
20
21
 
21
22
  export enum REQUEST_TYPE {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.72",
3
+ "version": "3.8.74",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -47,6 +47,11 @@ const projectSchema = new Schema(
47
47
  ref: "Team",
48
48
  type: Schema.Types.ObjectId,
49
49
  },
50
+ watchPaths: {
51
+ type: Array,
52
+ required: false,
53
+ default: [],
54
+ },
50
55
  server: {
51
56
  ref: "Server",
52
57
  type: Schema.Types.ObjectId,
@@ -34,6 +34,7 @@ export interface IProject extends Document {
34
34
  user_id: IUser;
35
35
  monitor_id: string;
36
36
  nomadJobId: string;
37
+ watchPaths: string[];
37
38
  repo: {
38
39
  name: string;
39
40
  full_name: string;