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> <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
View File
@@ -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[][]
} }