mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: session store type
This commit is contained in:
1 parent
14fb870838
commit
78b92ee8ce
2 files changed
+5
-5
No files matched your search
@@ -69,7 +69,7 @@ const right = () => {
|
|||||||
<ul>
|
<ul>
|
||||||
<li
|
<li
|
||||||
v-for="response in sessionStore.session.responses[current]"
|
v-for="response in sessionStore.session.responses[current]"
|
||||||
:key="response"
|
:key="response.type"
|
||||||
id="content"
|
id="content"
|
||||||
class="text-text font-xl whitespace-pre-wrap"
|
class="text-text font-xl whitespace-pre-wrap"
|
||||||
>
|
>
|
||||||
|
|||||||
+4
-4
@@ -10,9 +10,9 @@ export interface Task {
|
|||||||
|
|
||||||
export interface StageResponse {
|
export interface StageResponse {
|
||||||
status: string
|
status: string
|
||||||
hints: string
|
hints: string[]
|
||||||
tasks: Task[]
|
tasks: Task[]
|
||||||
responses: IResponse
|
responses: IResponse[]
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Session {
|
export interface Session {
|
||||||
@@ -20,7 +20,7 @@ export interface Session {
|
|||||||
status: string
|
status: string
|
||||||
graph: FileGraph
|
graph: FileGraph
|
||||||
pwd: string
|
pwd: string
|
||||||
hints: string[]
|
hints: string[][]
|
||||||
tasks: Task[]
|
tasks: Task[]
|
||||||
responses: IResponse[]
|
responses: IResponse[][]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user