@brimble/models 3.8.155 → 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.
- package/dist/db-image.js +9 -1
- package/dist/enum/index.d.ts +2 -1
- package/dist/enum/index.js +1 -0
- package/dist/types/db-image.d.ts +3 -1
- package/package.json +1 -1
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:
|
|
96
|
+
type: mongoose_1.Schema.Types.Mixed,
|
|
89
97
|
},
|
|
90
98
|
tls_enabled: {
|
|
91
99
|
type: Boolean,
|
package/dist/enum/index.d.ts
CHANGED
|
@@ -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",
|
package/dist/enum/index.js
CHANGED
|
@@ -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) {
|
package/dist/types/db-image.d.ts
CHANGED
|
@@ -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;
|