@brimble/models 3.1.5 → 3.1.7

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.
@@ -64,6 +64,7 @@ export declare enum SUBSCRIPTION_PLAN_TYPE {
64
64
  DeveloperPlan = "DEVELOPER_PLAN",
65
65
  TeamPlan = "TEAM_PLAN",
66
66
  DomainPlan = "DOMAIN_PLAN",
67
+ HackerPlan = "HACKER_PLAN",
67
68
  LiscensePlan = "LISCENSE_PLAN"
68
69
  }
69
70
  export declare enum OAUTH_PERMISSIONS {
@@ -77,6 +77,7 @@ var SUBSCRIPTION_PLAN_TYPE;
77
77
  SUBSCRIPTION_PLAN_TYPE["DeveloperPlan"] = "DEVELOPER_PLAN";
78
78
  SUBSCRIPTION_PLAN_TYPE["TeamPlan"] = "TEAM_PLAN";
79
79
  SUBSCRIPTION_PLAN_TYPE["DomainPlan"] = "DOMAIN_PLAN";
80
+ SUBSCRIPTION_PLAN_TYPE["HackerPlan"] = "HACKER_PLAN";
80
81
  SUBSCRIPTION_PLAN_TYPE["LiscensePlan"] = "LISCENSE_PLAN";
81
82
  })(SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_PLAN_TYPE || (exports.SUBSCRIPTION_PLAN_TYPE = {}));
82
83
  var OAUTH_PERMISSIONS;
@@ -26,5 +26,8 @@ const PlanConfigurationSchema = new mongoose_1.Schema({
26
26
  cpu: { type: Number, required: true },
27
27
  tokens: { type: Number, required: false },
28
28
  token_request: { type: Number, required: false },
29
+ view_metrics: { type: Boolean, required: false, default: false },
30
+ custom_domain: { type: Boolean, required: true, default: false },
31
+ can_deploy_all_applications: { type: Boolean, required: true, default: false },
29
32
  }, { timestamps: true });
30
33
  exports.default = (0, mongoose_1.model)("PlanConfigurations", PlanConfigurationSchema, "plan_configurations");
@@ -20,5 +20,8 @@ export interface IPlanConfiguration extends Document {
20
20
  storage: number;
21
21
  cpu: number;
22
22
  tokens: number;
23
+ view_metrics: boolean;
23
24
  token_request: number;
25
+ custom_domain: boolean;
26
+ can_deploy_all_applications: boolean;
24
27
  }
package/enum/index.ts CHANGED
@@ -73,6 +73,7 @@ export enum SUBSCRIPTION_PLAN_TYPE {
73
73
  DeveloperPlan = "DEVELOPER_PLAN",
74
74
  TeamPlan = "TEAM_PLAN",
75
75
  DomainPlan = "DOMAIN_PLAN",
76
+ HackerPlan = "HACKER_PLAN",
76
77
  LiscensePlan = "LISCENSE_PLAN",
77
78
  }
78
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,6 +27,9 @@ const PlanConfigurationSchema = new Schema<IPlanConfiguration>(
27
27
  cpu: { type: Number, required: true },
28
28
  tokens: { type: Number, required: false },
29
29
  token_request: { type: Number, required: false },
30
+ view_metrics: { type: Boolean, required: false, default: false },
31
+ custom_domain: { type: Boolean, required: true, default: false },
32
+ can_deploy_all_applications: { type: Boolean, required: true, default: false },
30
33
  },
31
34
  { timestamps: true },
32
35
  );
@@ -21,5 +21,8 @@ export interface IPlanConfiguration extends Document {
21
21
  storage: number;
22
22
  cpu: number;
23
23
  tokens: number;
24
+ view_metrics: boolean;
24
25
  token_request: number;
26
+ custom_domain: boolean;
27
+ can_deploy_all_applications: boolean;
25
28
  }
@@ -1 +0,0 @@
1
- $ rm -rf dist && tsc -p .
package/brimble.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "project": {}
3
- }