@brimble/models 3.8.89 → 3.8.90

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),
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "3.8.89",
3
+ "version": "3.8.90",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",