Feat/customizable file upload config (#818)
This commit is contained in:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user