fix: session store type

This commit is contained in:
wancat authored and Lin, Hung-Shin committed 2024-04-05 22:19:38 +08:00
1 parent 14fb870838
commit 78b92ee8ce
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ const right = () => {
<ul>
<li
v-for="response in sessionStore.session.responses[current]"
:key="response"
:key="response.type"
id="content"
class="text-text font-xl whitespace-pre-wrap"
>
+4 -4
View File
@@ -10,9 +10,9 @@ export interface Task {
export interface StageResponse {
status: string
hints: string
hints: string[]
tasks: Task[]
responses: IResponse
responses: IResponse[]
}
export interface Session {
@@ -20,7 +20,7 @@ export interface Session {
status: string
graph: FileGraph
pwd: string
hints: string[]
hints: string[][]
tasks: Task[]
responses: IResponse[]
responses: IResponse[][]
}