@brimble/models 2.4.74 → 2.4.75

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.
@@ -150,6 +150,10 @@ const projectSchema = new mongoose_1.Schema({
150
150
  type: mongoose_1.Schema.Types.ObjectId,
151
151
  required: false,
152
152
  },
153
+ whiteListedIps: {
154
+ type: Array,
155
+ required: false
156
+ }
153
157
  }, { timestamps: true });
154
158
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
155
159
  exports.DeletedProject = (0, mongoose_1.model)("DeletedProject", projectSchema);
@@ -75,4 +75,5 @@ export interface IProject extends Document {
75
75
  replica_ready: boolean;
76
76
  autoscaling_group?: IAutoScalingGroup;
77
77
  isPaid: boolean;
78
+ whiteListedIps?: string[];
78
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.4.74",
3
+ "version": "2.4.75",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -150,6 +150,10 @@ const projectSchema = new Schema(
150
150
  type: Schema.Types.ObjectId,
151
151
  required: false,
152
152
  },
153
+ whiteListedIps: {
154
+ type: Array,
155
+ required: false
156
+ }
153
157
  },
154
158
  { timestamps: true },
155
159
  );
@@ -76,4 +76,5 @@ export interface IProject extends Document {
76
76
  replica_ready: boolean;
77
77
  autoscaling_group?: IAutoScalingGroup;
78
78
  isPaid: boolean;
79
+ whiteListedIps?: string[];
79
80
  }