@brimble/models 2.4.95 → 2.4.97

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.
@@ -15,7 +15,7 @@ const domainSchema = new mongoose_1.Schema({
15
15
  team_id: {
16
16
  ref: "Team",
17
17
  type: mongoose_1.Schema.Types.ObjectId,
18
- required: true
18
+ required: false
19
19
  },
20
20
  user_id: {
21
21
  ref: "User",
@@ -2,7 +2,8 @@ export declare enum GIT_TYPE {
2
2
  GITHUB = "GITHUB",
3
3
  GITLAB = "GITLAB",
4
4
  BITBUCKET = "BITBUCKET",
5
- DOCKER = "DOCKER"
5
+ DOCKER = "DOCKER",
6
+ HUGGING_FACE = "HUGGING_FACE"
6
7
  }
7
8
  export declare enum REQUEST_TYPE {
8
9
  GET = "GET",
@@ -7,6 +7,7 @@ var GIT_TYPE;
7
7
  GIT_TYPE["GITLAB"] = "GITLAB";
8
8
  GIT_TYPE["BITBUCKET"] = "BITBUCKET";
9
9
  GIT_TYPE["DOCKER"] = "DOCKER";
10
+ GIT_TYPE["HUGGING_FACE"] = "HUGGING_FACE";
10
11
  })(GIT_TYPE = exports.GIT_TYPE || (exports.GIT_TYPE = {}));
11
12
  var REQUEST_TYPE;
12
13
  (function (REQUEST_TYPE) {
package/domain/index.ts CHANGED
@@ -16,7 +16,7 @@ const domainSchema = new Schema(
16
16
  team_id: {
17
17
  ref: "Team",
18
18
  type: Schema.Types.ObjectId,
19
- required: true
19
+ required: false
20
20
  },
21
21
  user_id: {
22
22
  ref: "User",
package/enum/index.ts CHANGED
@@ -3,6 +3,7 @@ export enum GIT_TYPE {
3
3
  GITLAB = "GITLAB",
4
4
  BITBUCKET = "BITBUCKET",
5
5
  DOCKER = "DOCKER",
6
+ HUGGING_FACE = "HUGGING_FACE"
6
7
  }
7
8
 
8
9
  export enum REQUEST_TYPE {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.4.95",
3
+ "version": "2.4.97",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",