@brimble/models 3.8.154 → 3.8.156

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.
@@ -6,6 +6,7 @@ const agentWebsiteFileOverlaySchema = new mongoose_1.Schema({
6
6
  path: { type: String, required: true },
7
7
  content: { type: String, default: "" },
8
8
  size: { type: Number, required: true },
9
+ deleted: { type: Boolean, default: false },
9
10
  }, {
10
11
  timestamps: { createdAt: "created_at", updatedAt: "updated_at" },
11
12
  collection: "agent_website_file_overlays",
package/dist/db-image.js CHANGED
@@ -36,6 +36,10 @@ const dbImageSchema = new mongoose_1.Schema({
36
36
  type: Boolean,
37
37
  default: true,
38
38
  },
39
+ restore_supported: {
40
+ type: Boolean,
41
+ default: true,
42
+ },
39
43
  has_port: {
40
44
  type: Boolean,
41
45
  default: true,
@@ -63,6 +67,10 @@ const dbImageSchema = new mongoose_1.Schema({
63
67
  enum: Object.values(enum_1.WorkbenchMode),
64
68
  required: false,
65
69
  },
70
+ workbench_password: {
71
+ type: Boolean,
72
+ default: true,
73
+ },
66
74
  volumePath: {
67
75
  type: String,
68
76
  required: true,
@@ -85,7 +93,7 @@ const dbImageSchema = new mongoose_1.Schema({
85
93
  },
86
94
  protocol: {
87
95
  required: true,
88
- type: String,
96
+ type: mongoose_1.Schema.Types.Mixed,
89
97
  },
90
98
  tls_enabled: {
91
99
  type: Boolean,
@@ -206,7 +206,8 @@ export declare enum DatabaseEngine {
206
206
  MongoDB = "mongodb",
207
207
  Redis = "redis",
208
208
  WordPress = "wordpress",
209
- SQLite = "sqlite"
209
+ SQLite = "sqlite",
210
+ DuckDB = "duckdb"
210
211
  }
211
212
  export declare enum EmailDeadLetterStatus {
212
213
  PENDING = "pending",
@@ -245,6 +245,7 @@ var DatabaseEngine;
245
245
  DatabaseEngine["Redis"] = "redis";
246
246
  DatabaseEngine["WordPress"] = "wordpress";
247
247
  DatabaseEngine["SQLite"] = "sqlite";
248
+ DatabaseEngine["DuckDB"] = "duckdb";
248
249
  })(DatabaseEngine || (exports.DatabaseEngine = DatabaseEngine = {}));
249
250
  var EmailDeadLetterStatus;
250
251
  (function (EmailDeadLetterStatus) {
@@ -5,6 +5,7 @@ export interface IAgentWebsiteFileOverlay extends Document {
5
5
  path: string;
6
6
  content: string;
7
7
  size: number;
8
+ deleted: boolean;
8
9
  created_at: Date;
9
10
  updated_at: Date;
10
11
  }
@@ -11,6 +11,7 @@ export interface IDbImage extends Document {
11
11
  is_available: boolean;
12
12
  is_default: boolean;
13
13
  backup_supported: boolean;
14
+ restore_supported?: boolean;
14
15
  image: string;
15
16
  free: boolean;
16
17
  erd: boolean;
@@ -18,11 +19,12 @@ export interface IDbImage extends Document {
18
19
  has_port: boolean;
19
20
  port: number;
20
21
  volumePath: string;
21
- protocol: string;
22
+ protocol: string | string[];
22
23
  tls_enabled: boolean;
23
24
  ha: boolean;
24
25
  workbench: boolean;
25
26
  workbench_mode: WorkbenchMode;
27
+ workbench_password?: boolean;
26
28
  params: Record<any, any>;
27
29
  recommendations?: Array<{
28
30
  cpu: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.154",
3
+ "version": "3.8.156",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",