@brimble/models 3.8.206 → 3.8.207

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.
@@ -261,6 +261,10 @@ const projectSchema = new mongoose_1.Schema({
261
261
  type: Boolean,
262
262
  default: false,
263
263
  },
264
+ preview_deployments_enabled: {
265
+ type: Boolean,
266
+ default: false,
267
+ },
264
268
  starred: {
265
269
  type: Boolean,
266
270
  default: false,
package/dist/team.js CHANGED
@@ -82,10 +82,6 @@ const teamSchema = new mongoose_1.Schema({
82
82
  type: String,
83
83
  default: null,
84
84
  },
85
- preview_deployments_enabled: {
86
- type: Boolean,
87
- default: true,
88
- },
89
85
  subscription: {
90
86
  type: mongoose_1.Schema.Types.ObjectId,
91
87
  required: false,
@@ -151,6 +151,7 @@ export interface IProject extends Document {
151
151
  logs: Array<ILog>;
152
152
  log: ILog;
153
153
  maintenance: boolean;
154
+ preview_deployments_enabled: boolean;
154
155
  starred: boolean;
155
156
  passwordEnabled: boolean;
156
157
  disabled: boolean;
@@ -23,7 +23,6 @@ export interface ITeam extends Document {
23
23
  build_disabled_by: BUILD_DISABLED_BY;
24
24
  sandbox_disabled: boolean;
25
25
  sandbox_disabled_by: "system" | "payment_failure" | null;
26
- preview_deployments_enabled: boolean;
27
26
  subscription: ISubscription;
28
27
  enforce_2fa: boolean;
29
28
  enforce_2fa_at: Date | null;
@@ -30,7 +30,6 @@ export interface IUser extends Document {
30
30
  build_disabled_by: BUILD_DISABLED_BY;
31
31
  sandbox_disabled: boolean;
32
32
  sandbox_disabled_by: "system" | "payment_failure" | null;
33
- preview_deployments_enabled: boolean;
34
33
  spending_limit: number;
35
34
  spending_limit_action: SPENDING_LIMIT_ACTION | null;
36
35
  spending_limit_breached_at: Date | null;
package/dist/user.js CHANGED
@@ -48,10 +48,6 @@ const userSchema = new mongoose_1.Schema({
48
48
  type: String,
49
49
  default: null,
50
50
  },
51
- preview_deployments_enabled: {
52
- type: Boolean,
53
- default: true,
54
- },
55
51
  ai_usage_count: {
56
52
  type: Number,
57
53
  default: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.206",
3
+ "version": "3.8.207",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",