Feat/customizable file upload config (#818)

This commit is contained in:
Matri
2023-08-16 23:14:27 +08:00
committed by GitHub
parent b7c29ea1b6
commit 155a4733f6
13 changed files with 122 additions and 83 deletions

View File

@@ -24,14 +24,18 @@ export type DataSet = {
word_count: number
}
export type File = {
id: string
name: string
size: number
extension: string
mime_type: string
created_by: string
created_at: number
export type CustomFile = File & {
id?: string
extension?: string
mime_type?: string
created_by?: string
created_at?: number
}
export type FileItem = {
fileID: string
file: CustomFile
progress: number
}
export type DataSetListResponse = {