@brimble/models 2.8.4 → 2.8.6

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.
@@ -208,9 +208,9 @@ const projectSchema = new mongoose_1.Schema({
208
208
  type: String,
209
209
  default: null,
210
210
  },
211
- volumeMounts: {
212
- type: Array,
213
- default: [],
211
+ volumeMount: {
212
+ type: String,
213
+ required: false,
214
214
  },
215
215
  }, { timestamps: true });
216
216
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
@@ -87,5 +87,5 @@ export interface IProject extends Document {
87
87
  hasUpdates?: boolean;
88
88
  whiteListedIps?: string[];
89
89
  persistentDiskSize?: number;
90
- volumeMounts: string[];
90
+ volumeMount: string;
91
91
  }
package/enum/index.ts CHANGED
@@ -60,7 +60,7 @@ export enum PROJECT_STATUS {
60
60
  PENDING = "PENDING",
61
61
  CANCELLED = "CANCELLED",
62
62
  DEGRADED = "DEGRADED",
63
- PAYMENT = "PAYMENT DUE",
63
+ PAYMENT = "PAYMENT DUE"
64
64
  }
65
65
 
66
66
  export enum SUBSCRIPTION_STATUS {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.8.4",
3
+ "version": "2.8.6",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -208,9 +208,9 @@ const projectSchema = new Schema(
208
208
  type: String,
209
209
  default: null,
210
210
  },
211
- volumeMounts: {
212
- type: Array,
213
- default: [],
211
+ volumeMount: {
212
+ type: String,
213
+ required: false,
214
214
  },
215
215
  },
216
216
  { timestamps: true },
@@ -88,5 +88,5 @@ export interface IProject extends Document {
88
88
  hasUpdates?: boolean;
89
89
  whiteListedIps?: string[];
90
90
  persistentDiskSize?: number;
91
- volumeMounts: string[];
91
+ volumeMount: string;
92
92
  }