@brimble/models 1.2.9 → 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.
- package/.turbo/turbo-build.log +2 -1
- package/.turbo/turbo-pre-push.log +8 -0
- package/package.json +3 -3
- package/project.ts +3 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
[
|
|
1
|
+
[32m@brimble/models:build: [0mcache hit, replaying output [2m9812b11cab941d7e[0m
|
|
2
|
+
[32m@brimble/models:build: [0m$ tsc -p .
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
[33m@brimble/models:pre-push: [0mcache hit, replaying output [2m20c90bb8c9103f77[0m
|
|
2
|
+
[33m@brimble/models:pre-push: [0m$ lint-prepush
|
|
3
|
+
[33m@brimble/models:pre-push: [0m[19:54:19] Linting *.{ts,js} files [started]
|
|
4
|
+
[33m@brimble/models:pre-push: [0m[19:54:19] Linting *.{ts,js} files [skipped]
|
|
5
|
+
[33m@brimble/models:pre-push: [0m[19:54:19] → No files found with *.{ts,js}
|
|
6
|
+
[33m@brimble/models:pre-push: [0m
|
|
7
|
+
[33m@brimble/models:pre-push: [0mVoila! 🎉 Code is ready to be Shipped.
|
|
8
|
+
[33m@brimble/models:pre-push: [0m
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brimble/models",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Brimble models",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@brimble/utils": "^1.
|
|
31
|
+
"@brimble/utils": "^1.3.0",
|
|
32
32
|
"dotenv": "^8.2.0",
|
|
33
33
|
"mongoose": "^5.8.11",
|
|
34
34
|
"uuid": "^8.3.2"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"ts-node": "^8.10.2",
|
|
44
44
|
"typescript": "^3.9.5"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
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:
|
|
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);
|