@brimble/models 3.8.110 → 3.8.112

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.
@@ -303,6 +303,18 @@ const projectSchema = new mongoose_1.Schema({
303
303
  enum: Object.values(enum_1.ServiceType),
304
304
  default: enum_1.ServiceType.WebService,
305
305
  },
306
+ cronEnabled: {
307
+ type: Boolean,
308
+ default: false,
309
+ },
310
+ cronExpression: {
311
+ type: String,
312
+ default: null,
313
+ },
314
+ cronTimezone: {
315
+ type: String,
316
+ default: null,
317
+ },
306
318
  billable: {
307
319
  type: Boolean,
308
320
  default: false,
package/dist/region.js CHANGED
@@ -7,6 +7,7 @@ const regionSchema = new mongoose_1.Schema({
7
7
  country: { type: String, required: true },
8
8
  continent: { type: String, enum: Object.values(enum_1.REGION_CONTINENT) },
9
9
  enabled: { type: Boolean, default: false, select: true },
10
+ cname: { type: String, default: false, select: true },
10
11
  dbVolumePath: { type: String, required: true },
11
12
  is_paid: { type: Boolean, default: false },
12
13
  logo: { type: String, required: false },
@@ -117,6 +117,9 @@ export interface IProject extends Document {
117
117
  isPaused: boolean;
118
118
  billable: boolean;
119
119
  serviceType?: ServiceType;
120
+ cronEnabled?: boolean;
121
+ cronExpression?: string | null;
122
+ cronTimezone?: string | null;
120
123
  last_backup_url?: string;
121
124
  last_backup_at?: Date;
122
125
  replica_ready: boolean;
@@ -5,6 +5,7 @@ export interface IRegion extends Document {
5
5
  _id: Types.ObjectId;
6
6
  name: string;
7
7
  country: string;
8
+ cname: string;
8
9
  continent?: REGION_CONTINENT;
9
10
  enabled?: boolean;
10
11
  dbVolumePath: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.110",
3
+ "version": "3.8.112",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",