19 lines
469 B
TypeScript
19 lines
469 B
TypeScript
// 重新导出 lib/background-uploader/types.ts 中的类型
|
|
export {
|
|
ExifData,
|
|
defaultExifData,
|
|
ImagesuploaderProps as ImagesPickerProps,
|
|
FileUploadItem,
|
|
ConfirmUpload,
|
|
UploadResult,
|
|
UploadUrlResponse,
|
|
} from '@/lib/background-uploader/types';
|
|
|
|
// 文件状态类型
|
|
export interface FileStatus {
|
|
file: File | null;
|
|
status: 'pending' | 'uploading' | 'success' | 'error';
|
|
progress: number;
|
|
error?: string;
|
|
id?: string;
|
|
} |