@brimble/models 1.3.5 → 1.3.8

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.
@@ -0,0 +1,2 @@
1
+ @brimble/models:build: cache hit, replaying output 19130403943cff82
2
+ @brimble/models:build: $ tsc -p .
package/dist/project.js CHANGED
@@ -29,21 +29,12 @@ const projectSchema = new mongoose_1.Schema({
29
29
  type: mongoose_1.Schema.Types.ObjectId,
30
30
  },
31
31
  ],
32
- pid: {
33
- type: Number,
34
- },
35
- port: {
36
- type: Number,
37
- },
38
- dir: {
39
- type: String,
40
- },
41
- buildCommand: {
42
- type: String,
43
- },
44
- outputDirectory: {
45
- type: String,
46
- },
32
+ pid: Number,
33
+ port: Number,
34
+ dir: String,
35
+ buildCommand: String,
36
+ outputDirectory: String,
47
37
  repo: Object,
38
+ rootDir: String,
48
39
  }, { timestamps: true });
49
40
  exports.default = mongoose_1.model("Project", projectSchema);
@@ -17,5 +17,7 @@ export interface IProject extends Document {
17
17
  name: string;
18
18
  full_name: string;
19
19
  id: number;
20
+ branch: string;
20
21
  };
22
+ rootDir?: string;
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.3.5",
3
+ "version": "1.3.8",
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": "352cd25446af1d2ea1fbcf4c30a2bddd40c9e72a"
46
+ "gitHead": "eeef00c1b6de43b7469df12cc3d317fa1b7fa4ae"
47
47
  }
package/project.ts CHANGED
@@ -30,22 +30,13 @@ const projectSchema = new Schema(
30
30
  type: Schema.Types.ObjectId,
31
31
  },
32
32
  ],
33
- pid: {
34
- type: Number,
35
- },
36
- port: {
37
- type: Number,
38
- },
39
- dir: {
40
- type: String,
41
- },
42
- buildCommand: {
43
- type: String,
44
- },
45
- outputDirectory: {
46
- type: String,
47
- },
33
+ pid: Number,
34
+ port: Number,
35
+ dir: String,
36
+ buildCommand: String,
37
+ outputDirectory: String,
48
38
  repo: Object,
39
+ rootDir: String,
49
40
  },
50
41
  { timestamps: true },
51
42
  );
package/types/project.ts CHANGED
@@ -18,5 +18,7 @@ export interface IProject extends Document {
18
18
  name: string;
19
19
  full_name: string;
20
20
  id: number;
21
+ branch: string;
21
22
  };
23
+ rootDir?: string;
22
24
  }