@brimble/models 2.1.7 → 2.1.8

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.
@@ -132,6 +132,14 @@ const projectSchema = new mongoose_1.Schema({
132
132
  type: String,
133
133
  default: null,
134
134
  },
135
+ last_backup_url: {
136
+ type: String,
137
+ default: null,
138
+ },
139
+ last_backup_at: {
140
+ type: Date,
141
+ default: null,
142
+ },
135
143
  }, { timestamps: true });
136
144
  exports.default = (0, mongoose_1.model)("Project", projectSchema);
137
145
  exports.DeletedProject = (0, mongoose_1.model)("DeletedProject", projectSchema);
@@ -68,5 +68,7 @@ export interface IProject extends Document {
68
68
  billable: boolean;
69
69
  uri?: string;
70
70
  serviceType?: ServiceType;
71
+ last_backup_url?: string;
72
+ last_backup_at?: Date;
71
73
  isPaid: boolean;
72
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/project/index.ts CHANGED
@@ -132,6 +132,14 @@ const projectSchema = new Schema(
132
132
  type: String,
133
133
  default: null,
134
134
  },
135
+ last_backup_url: {
136
+ type: String,
137
+ default: null,
138
+ },
139
+ last_backup_at: {
140
+ type: Date,
141
+ default: null,
142
+ },
135
143
  },
136
144
  { timestamps: true },
137
145
  );
@@ -69,5 +69,7 @@ export interface IProject extends Document {
69
69
  billable: boolean;
70
70
  uri?: string;
71
71
  serviceType?: ServiceType;
72
+ last_backup_url?: string;
73
+ last_backup_at?: Date;
72
74
  isPaid: boolean;
73
75
  }