feat: switch explain flow to API data
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-06 23:18:51 +08:00
parent e2b6a331ba
commit 50902eca82
21 changed files with 1417 additions and 632 deletions

View File

@@ -129,6 +129,13 @@ export interface MuseumHall {
description?: string
image?: string
exhibitCount?: number
outlineCount?: number
stopCount?: number
linkedExhibitCount?: number
audioReadyStopCount?: number
hasAudio?: boolean
audioStatus?: string
supportedLanguages?: string[]
area?: string
poiId?: string
location?: GuideLocationResolution
@@ -170,6 +177,8 @@ export interface MuseumExhibit {
imageStatus?: string
imageSource?: string
galleryUrls?: string[]
linkedExhibitCount?: number
isSharedStop?: boolean
linkedExhibits?: Array<{
id: string
name: string
@@ -195,18 +204,44 @@ export interface ExplainGuideStop {
coverImageUrl?: string
description?: string
hasAudio?: boolean
audioStatus?: string
supportedLanguages?: string[]
hasTextRecord?: boolean
poiId?: string
outlineId?: string
outlineName?: string
sort?: number
guideLevel?: string
imageStatus?: string
linkedExhibitCount?: number
isSharedStop?: boolean
linkedExhibits?: Array<{
id: string
name: string
nameEn?: string
exhibitCode?: string
coverImageUrl?: string
}>
playTargetType?: AudioPlayTargetType
playTargetId?: string
}
export interface ExplainBusinessUnit {
id: string
name: string
hallId: string
parentId?: string
code?: string
description?: string
sort?: number
level?: number
previewImageUrl?: string
guideStopCount: number
linkedExhibitCount?: number
audioReadyStopCount?: number
hasAudio?: boolean
audioStatus?: string
supportedLanguages?: string[]
stops: ExplainGuideStop[]
}