mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: use ReconnectWebSocket to make the connection more stable fix: typescript error on importing css in vue
27 lines
483 B
TypeScript
27 lines
483 B
TypeScript
import type { FileGraph } from '../../packages/file-graph'
|
|
import type { IResponse, ITask } from '../../packages/game'
|
|
|
|
export interface Task {
|
|
id: number
|
|
name: string
|
|
completed: boolean
|
|
}
|
|
|
|
export interface StageResponse {
|
|
status: string
|
|
hints: string[]
|
|
tasks: Task[]
|
|
responses: IResponse[]
|
|
}
|
|
|
|
export interface Session {
|
|
_id: string
|
|
status: string
|
|
graph: FileGraph
|
|
pwd: string
|
|
tasks: ITask[]
|
|
responses: IResponse[]
|
|
token: string
|
|
containerName: string
|
|
}
|