mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
27 lines
505 B
TypeScript
27 lines
505 B
TypeScript
import { FileGraph } from '@linux-odyssey/file-graph'
|
|
// eslint-disable-next-line import/no-relative-packages
|
|
import { IResponse } from '@linux-odyssey/models'
|
|
|
|
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
|
|
hints: string[][]
|
|
tasks: Task[]
|
|
responses: IResponse[][]
|
|
}
|