chore: 更新素材和组件优化
- 更新展品图片(鲁迅/毛泽东/孙中山/黄炎培/聂耳/张乐平故居) - 新增点击查看图标、报纸素材 - 优化视频组件、拼图组件、展品组件 - 更新陈云音频资源 - 新增输入验证文档和工具函数 - 组件布局和动画优化 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
73d02eb62d
commit
73f6df92ce
130 files changed
+2345
-759
No files matched your search
Vendored
+15
-4
@@ -1,5 +1,10 @@
|
||||
declare module '@/lib/utils/api-common' {
|
||||
export type UserDefineFetchStatus = 'success' | 'empty' | 'unauthenticated' | 'error'
|
||||
export type StorageBackend = 'auto' | 'yiban' | 'session'
|
||||
|
||||
export interface StorageOptions {
|
||||
backend?: StorageBackend
|
||||
}
|
||||
|
||||
export interface UserDefineFetchResult {
|
||||
status: UserDefineFetchStatus
|
||||
@@ -11,20 +16,26 @@ declare module '@/lib/utils/api-common' {
|
||||
export function setUserDefine(
|
||||
lessonId: string | number,
|
||||
key: string | number,
|
||||
value: string
|
||||
value: string,
|
||||
options?: StorageOptions
|
||||
): void
|
||||
|
||||
export function getUserDefineResult(
|
||||
lessonId: string | number,
|
||||
key: string | number
|
||||
key: string | number,
|
||||
options?: StorageOptions
|
||||
): Promise<UserDefineFetchResult>
|
||||
|
||||
export function getUserDefine(lessonId: string | number, key: string | number): Promise<string>
|
||||
export function getUserDefine(
|
||||
lessonId: string | number,
|
||||
key: string | number,
|
||||
options?: StorageOptions
|
||||
): Promise<string>
|
||||
|
||||
export function getUsersDefine(
|
||||
lessonId: string | number,
|
||||
key: string | number
|
||||
): Promise<string | { content?: string }[]>
|
||||
|
||||
export function setCourseTimeProgress(order: number): Promise<void>
|
||||
export function setCourseTimeProgress(order: number): Promise<boolean>
|
||||
}
|
||||
Reference in new issue
Block a user