Files
linux-odyssey/app/src/types.ts
T
Justin Lin c7e6d31b9c feat: connect frontend terminal to terminal service
fix: use ReconnectWebSocket to make the connection more stable

fix: typescript error on importing css in vue
2025-05-05 19:55:35 +08:00

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
}