feat: redesign retrieve workspace

This commit is contained in:
Lan
2026-06-03 03:27:16 +08:00
parent 91ba43d847
commit 3115455516
6 changed files with 626 additions and 60 deletions
+26
View File
@@ -57,6 +57,30 @@ export interface ShareSelectResponse {
name: string
text: string
size: number
type?: 'file' | 'text'
is_text?: boolean
content?: string | null
download_url?: string | null
created_at?: string | null
expired_at?: string | null
expires_at?: string | null
expired_count?: number | null
used_count?: number
remaining_downloads?: number | null
}
export interface ShareMetadataResponse {
code: string
name: string
size: number
type: 'file' | 'text'
is_text: boolean
created_at?: string | null
expired_at?: string | null
expires_at?: string | null
expired_count?: number | null
used_count?: number
remaining_downloads?: number | null
}
export interface ReceivedFileRecord {
@@ -67,6 +91,8 @@ export interface ReceivedFileRecord {
downloadUrl: string | null
content: string | null
date: string
type?: 'file' | 'text'
remainingDownloads?: number | null
}
export interface SentFileRecord {