This commit is contained in:
2024-09-26 18:32:50 +05:00
parent 9167785656
commit 86864ac19e
11 changed files with 164 additions and 175 deletions
+12
View File
@@ -11,6 +11,9 @@ const activeSessionSchema = new mongoose_1.Schema({
buildName: {
type: String,
},
type: {
type: String,
},
uePort: {
type: Number,
},
@@ -23,6 +26,15 @@ const activeSessionSchema = new mongoose_1.Schema({
cirrusProcessId: {
type: Number,
},
ownerIp: {
type: String,
},
endAt: {
type: Date || null,
},
localIP: {
type: String,
},
}, {
timestamps: true,
toJSON: { virtuals: true },
+3
View File
@@ -18,6 +18,9 @@ const sessionServerSchema = new mongoose_1.Schema({
gpuMemoryFree: {
type: Number,
},
localIP: {
type: String,
},
}, {
timestamps: true,
toJSON: { virtuals: true },