@brimble/models 1.3.1-alpha.0 → 1.3.1

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.
@@ -1 +1,2 @@
1
- @brimble/models:build: cache hit, replaying output 4809e3d48da2b68b
1
+ @brimble/models:build: cache hit, replaying output 9812b11cab941d7e
2
+ @brimble/models:build: $ tsc -p .
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.3.1-alpha.0",
3
+ "version": "1.3.1",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,5 +43,5 @@
43
43
  "ts-node": "^8.10.2",
44
44
  "typescript": "^3.9.5"
45
45
  },
46
- "gitHead": "26e1c55a504dd41666406c91bd669f2bcb760a59"
46
+ "gitHead": "c45fe5f2a3f714cd30eb17d71b0fc47006d07e1a"
47
47
  }
package/project.ts CHANGED
@@ -15,7 +15,8 @@ const projectSchema: Schema = new Schema(
15
15
  },
16
16
  description: String,
17
17
  type: {
18
- type: GIT_TYPE,
18
+ type: String,
19
+ enum: Object.values(GIT_TYPE),
19
20
  required: true,
20
21
  },
21
22
  private: {
@@ -32,7 +33,7 @@ const projectSchema: Schema = new Schema(
32
33
  default: 0,
33
34
  },
34
35
  },
35
- { timestamps: true }
36
+ { timestamps: true },
36
37
  );
37
38
 
38
39
  export default model<IProject>("Project", projectSchema);