mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: connect frontend terminal to terminal service
fix: use ReconnectWebSocket to make the connection more stable fix: typescript error on importing css in vue
This commit is contained in:
1 parent
9c9456693d
commit
c7e6d31b9c
12 files changed
+84
-9
No files matched your search
@@ -28,6 +28,7 @@ export interface ISession {
|
||||
user: Types.ObjectId
|
||||
quest: string
|
||||
containerId: string | null
|
||||
containerName: string | null
|
||||
status: 'active' | 'finished' | 'inactive'
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
@@ -52,6 +53,7 @@ export const Session = model<ISession>(
|
||||
required: true,
|
||||
},
|
||||
containerId: String,
|
||||
containerName: String,
|
||||
status: {
|
||||
type: String,
|
||||
enum: ['active', 'finished', 'inactive'],
|
||||
|
||||
Reference in new issue
Block a user