@brimble/models 1.5.27 → 1.5.28

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.
@@ -98,5 +98,6 @@ const projectSchema = new mongoose_1.Schema({
98
98
  type: Number,
99
99
  default: 3,
100
100
  },
101
+ specs: Object,
101
102
  }, { timestamps: true });
102
103
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
@@ -49,4 +49,8 @@ export interface IProject extends Document {
49
49
  from: string;
50
50
  previews: IPreview[];
51
51
  replicas: number;
52
+ specs: {
53
+ memory: number;
54
+ cpu: number;
55
+ };
52
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "1.5.27",
3
+ "version": "1.5.28",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -99,6 +99,7 @@ const projectSchema = new Schema(
99
99
  type: Number,
100
100
  default: 3,
101
101
  },
102
+ specs: Object,
102
103
  },
103
104
  { timestamps: true },
104
105
  );
@@ -50,4 +50,8 @@ export interface IProject extends Document {
50
50
  from: string;
51
51
  previews: IPreview[];
52
52
  replicas: number;
53
+ specs: {
54
+ memory: number;
55
+ cpu: number;
56
+ };
53
57
  }