@brimble/models 3.8.146 → 3.8.149

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.
@@ -183,6 +183,10 @@ const projectSchema = new mongoose_1.Schema({
183
183
  type: Boolean,
184
184
  default: false,
185
185
  },
186
+ starred: {
187
+ type: Boolean,
188
+ default: false,
189
+ },
186
190
  passwordEnabled: {
187
191
  type: Boolean,
188
192
  default: false,
package/dist/storage.js CHANGED
@@ -22,6 +22,7 @@ const storageBucketSchema = new mongoose_1.Schema({
22
22
  cors_rules: { type: Array, required: false },
23
23
  lifecycle_rules: { type: Array, required: false },
24
24
  status: { type: String, enum: Object.values(enum_1.StorageBucketStatus), default: enum_1.StorageBucketStatus.Active },
25
+ starred: { type: Boolean, default: false },
25
26
  }, { timestamps: true });
26
27
  storageBucketSchema.index({ user_id: 1, team: 1, name: 1 }, { unique: true, name: "uniq_storage_bucket_owner_name" });
27
28
  storageBucketSchema.index({ user_id: 1, updatedAt: -1 }, { name: "idx_storage_bucket_user_updated_at" });
@@ -84,6 +84,7 @@ export interface IProject extends Document {
84
84
  logs: Array<ILog>;
85
85
  log: ILog;
86
86
  maintenance: boolean;
87
+ starred: boolean;
87
88
  passwordEnabled: boolean;
88
89
  disabled: boolean;
89
90
  disabled_at?: Date | null;
@@ -39,6 +39,7 @@ export interface IStorageBucket extends Document {
39
39
  cors_rules: StorageCorsRule[];
40
40
  lifecycle_rules: StorageLifecycleRule[];
41
41
  status: StorageBucketStatus;
42
+ starred: boolean;
42
43
  createdAt: Date;
43
44
  updatedAt: Date;
44
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.146",
3
+ "version": "3.8.149",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",