@brimble/models 2.8.1 → 2.8.2

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.
@@ -171,6 +171,10 @@ const projectSchema = new mongoose_1.Schema({
171
171
  type: Boolean,
172
172
  default: false,
173
173
  },
174
+ persistentDiskSize: {
175
+ type: Number,
176
+ default: 0,
177
+ },
174
178
  authEnabled: {
175
179
  type: Boolean,
176
180
  default: false,
@@ -204,6 +208,10 @@ const projectSchema = new mongoose_1.Schema({
204
208
  type: String,
205
209
  default: null,
206
210
  },
211
+ volumeMounts: {
212
+ type: Array,
213
+ default: [],
214
+ },
207
215
  }, { timestamps: true });
208
216
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
209
217
  exports.DeletedProject = (0, mongoose_1.model)("DeletedProject", projectSchema);
@@ -85,4 +85,9 @@ export interface IProject extends Document {
85
85
  isPaid: boolean;
86
86
  hasUpdates?: boolean;
87
87
  whiteListedIps?: string[];
88
+ persistentDiskSize?: number;
89
+ volumeMounts: Array<{
90
+ storage: string;
91
+ destination: string;
92
+ }>;
88
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -171,6 +171,10 @@ const projectSchema = new Schema(
171
171
  type: Boolean,
172
172
  default: false,
173
173
  },
174
+ persistentDiskSize: {
175
+ type: Number,
176
+ default: 0,
177
+ },
174
178
  authEnabled: {
175
179
  type: Boolean,
176
180
  default: false,
@@ -204,6 +208,10 @@ const projectSchema = new Schema(
204
208
  type: String,
205
209
  default: null,
206
210
  },
211
+ volumeMounts: {
212
+ type: Array,
213
+ default: [],
214
+ },
207
215
  },
208
216
  { timestamps: true },
209
217
  );
@@ -86,4 +86,9 @@ export interface IProject extends Document {
86
86
  isPaid: boolean;
87
87
  hasUpdates?: boolean;
88
88
  whiteListedIps?: string[];
89
+ persistentDiskSize?: number;
90
+ volumeMounts: Array<{
91
+ storage: string;
92
+ destination: string;
93
+ }>;
89
94
  }