@brimble/models 3.8.89 → 3.8.91

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.
@@ -95,6 +95,30 @@ const projectSchema = new mongoose_1.Schema({
95
95
  type: Boolean,
96
96
  default: false
97
97
  },
98
+ tlsEnabledAt: {
99
+ type: Date,
100
+ default: null,
101
+ },
102
+ tlsCaObjectKey: {
103
+ type: String,
104
+ default: null,
105
+ },
106
+ tlsServerCertExpiresAt: {
107
+ type: Date,
108
+ default: null,
109
+ },
110
+ tlsHost: {
111
+ type: String,
112
+ default: null,
113
+ },
114
+ tlsPort: {
115
+ type: Number,
116
+ default: null,
117
+ },
118
+ tlsSslModeHint: {
119
+ type: String,
120
+ default: null,
121
+ },
98
122
  status: {
99
123
  type: String,
100
124
  enum: Object.values(enum_1.PROJECT_STATUS),
@@ -145,6 +169,14 @@ const projectSchema = new mongoose_1.Schema({
145
169
  enum: Object.values(enum_1.PROJECT_DISABLED_BY),
146
170
  default: null,
147
171
  },
172
+ isDeleted: {
173
+ type: Boolean,
174
+ default: false,
175
+ },
176
+ deletedAt: {
177
+ type: Date,
178
+ default: null,
179
+ },
148
180
  password: {
149
181
  type: String,
150
182
  default: null,
@@ -31,6 +31,12 @@ export interface IProject extends Document {
31
31
  ip: string;
32
32
  dir: string;
33
33
  tlsEnabled: boolean;
34
+ tlsEnabledAt?: Date | null;
35
+ tlsCaObjectKey?: string | null;
36
+ tlsServerCertExpiresAt?: Date | null;
37
+ tlsHost?: string | null;
38
+ tlsPort?: number | null;
39
+ tlsSslModeHint?: string | null;
34
40
  dbImage: IDbImage;
35
41
  public: boolean;
36
42
  installCommand: string;
@@ -64,6 +70,8 @@ export interface IProject extends Document {
64
70
  disabled: boolean;
65
71
  disabled_at?: Date | null;
66
72
  disabled_by?: PROJECT_DISABLED_BY | null;
73
+ isDeleted: boolean;
74
+ deletedAt?: Date | null;
67
75
  authEnabled: boolean;
68
76
  password: string | null;
69
77
  deployedInCluster: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.89",
3
+ "version": "3.8.91",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",