@brimble/models 3.1.8 → 3.2.0
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.
- package/.turbo/turbo-build.log +1 -0
- package/compute.ts +4 -0
- package/dist/compute.js +4 -0
- package/dist/plan_configuration.js +1 -0
- package/dist/types/compute.d.ts +1 -0
- package/dist/types/plan_configuration.d.ts +1 -0
- package/package.json +1 -1
- package/plan_configuration.ts +1 -0
- package/types/compute.ts +1 -0
- package/types/plan_configuration.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$ rm -rf dist && tsc -p .
|
package/compute.ts
CHANGED
|
@@ -60,6 +60,10 @@ const ComputeChangeSchema = new Schema({
|
|
|
60
60
|
persistentStorageCost: { type: Number, default: 0 },
|
|
61
61
|
totalCost: { type: Number, default: 0 },
|
|
62
62
|
},
|
|
63
|
+
project_deleted_at: {
|
|
64
|
+
type: Date,
|
|
65
|
+
required: false,
|
|
66
|
+
},
|
|
63
67
|
billed: {
|
|
64
68
|
type: Boolean,
|
|
65
69
|
default: false,
|
package/dist/compute.js
CHANGED
|
@@ -60,6 +60,10 @@ const ComputeChangeSchema = new mongoose_1.Schema({
|
|
|
60
60
|
persistentStorageCost: { type: Number, default: 0 },
|
|
61
61
|
totalCost: { type: Number, default: 0 },
|
|
62
62
|
},
|
|
63
|
+
project_deleted_at: {
|
|
64
|
+
type: Date,
|
|
65
|
+
required: false,
|
|
66
|
+
},
|
|
63
67
|
billed: {
|
|
64
68
|
type: Boolean,
|
|
65
69
|
default: false,
|
|
@@ -17,6 +17,7 @@ const PlanConfigurationSchema = new mongoose_1.Schema({
|
|
|
17
17
|
price: { type: Number, required: true },
|
|
18
18
|
autoscaling_enabled: { type: Boolean, default: false, required: false },
|
|
19
19
|
region: { type: mongoose_1.Schema.Types.ObjectId, ref: "Region", required: false },
|
|
20
|
+
multi_region: { type: Boolean, default: false },
|
|
20
21
|
plan_type: {
|
|
21
22
|
type: String,
|
|
22
23
|
enum: Object.values(enum_1.SUBSCRIPTION_PLAN_TYPE),
|
package/dist/types/compute.d.ts
CHANGED
package/package.json
CHANGED
package/plan_configuration.ts
CHANGED
|
@@ -18,6 +18,7 @@ const PlanConfigurationSchema = new Schema<IPlanConfiguration>(
|
|
|
18
18
|
price: { type: Number, required: true },
|
|
19
19
|
autoscaling_enabled: { type: Boolean, default: false, required: false },
|
|
20
20
|
region: { type: Schema.Types.ObjectId, ref: "Region", required: false },
|
|
21
|
+
multi_region: { type: Boolean, default: false },
|
|
21
22
|
plan_type: {
|
|
22
23
|
type: String,
|
|
23
24
|
enum: Object.values(SUBSCRIPTION_PLAN_TYPE),
|
package/types/compute.ts
CHANGED