@brimble/models 3.8.90 → 3.8.92

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/dist/db-image.js CHANGED
@@ -45,6 +45,11 @@ const dbImageSchema = new mongoose_1.Schema({
45
45
  required: false,
46
46
  default: false
47
47
  },
48
+ analytics: {
49
+ type: Boolean,
50
+ required: false,
51
+ default: true
52
+ },
48
53
  workbench: {
49
54
  type: Boolean,
50
55
  default: false
@@ -169,6 +169,14 @@ const projectSchema = new mongoose_1.Schema({
169
169
  enum: Object.values(enum_1.PROJECT_DISABLED_BY),
170
170
  default: null,
171
171
  },
172
+ isDeleted: {
173
+ type: Boolean,
174
+ default: false,
175
+ },
176
+ deletedAt: {
177
+ type: Date,
178
+ default: null,
179
+ },
172
180
  password: {
173
181
  type: String,
174
182
  default: null,
@@ -12,6 +12,7 @@ export interface IDbImage extends Document {
12
12
  is_default: boolean;
13
13
  image: string;
14
14
  free: boolean;
15
+ analytics: boolean;
15
16
  has_port: boolean;
16
17
  port: number;
17
18
  volumePath: string;
@@ -70,6 +70,8 @@ export interface IProject extends Document {
70
70
  disabled: boolean;
71
71
  disabled_at?: Date | null;
72
72
  disabled_by?: PROJECT_DISABLED_BY | null;
73
+ isDeleted: boolean;
74
+ deletedAt?: Date | null;
73
75
  authEnabled: boolean;
74
76
  password: string | null;
75
77
  deployedInCluster: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.90",
3
+ "version": "3.8.92",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",