@brimble/models 2.4.2 → 2.4.3

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.
@@ -141,6 +141,10 @@ const projectSchema = new mongoose_1.Schema({
141
141
  type: Date,
142
142
  default: null,
143
143
  },
144
+ replica_ready: {
145
+ type: Boolean,
146
+ default: false
147
+ }
144
148
  }, { timestamps: true });
145
149
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
146
150
  exports.DeletedProject = (0, mongoose_1.model)("DeletedProject", projectSchema);
@@ -9,6 +9,8 @@ export interface IAutoScalingGroup extends Document {
9
9
  max_containers: number;
10
10
  min_application_response_time: number;
11
11
  active: boolean;
12
+ max_cpu: number;
13
+ max_memory: number;
12
14
  meta: Record<string, any>;
13
15
  createdAt: Date;
14
16
  updatedAt: Date;
@@ -71,5 +71,6 @@ export interface IProject extends Document {
71
71
  serviceType?: ServiceType;
72
72
  last_backup_url?: string;
73
73
  last_backup_at?: Date;
74
+ replica_ready: boolean;
74
75
  isPaid: boolean;
75
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -141,6 +141,10 @@ const projectSchema = new Schema(
141
141
  type: Date,
142
142
  default: null,
143
143
  },
144
+ replica_ready: {
145
+ type: Boolean,
146
+ default: false
147
+ }
144
148
  },
145
149
  { timestamps: true },
146
150
  );
@@ -10,6 +10,8 @@ export interface IAutoScalingGroup extends Document {
10
10
  max_containers: number;
11
11
  min_application_response_time: number;
12
12
  active: boolean;
13
+ max_cpu: number;
14
+ max_memory: number;
13
15
  meta: Record<string, any>;
14
16
  createdAt: Date;
15
17
  updatedAt: Date;
@@ -72,5 +72,6 @@ export interface IProject extends Document {
72
72
  serviceType?: ServiceType;
73
73
  last_backup_url?: string;
74
74
  last_backup_at?: Date;
75
+ replica_ready: boolean;
75
76
  isPaid: boolean;
76
77
  }