Feat: use file size limit from api (#9739)
This commit is contained in:
parent
2346b0ab99
commit
5d1424f67c
19 changed files with 205 additions and 28 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import type { Resolution, TransferMethod, TtsAutoPlay } from '@/types/app'
|
||||
import type { FileUploadConfigResponse } from '@/models/common'
|
||||
|
||||
export type EnabledOrDisabled = {
|
||||
enabled?: boolean
|
||||
|
|
@ -38,6 +39,7 @@ export type FileUpload = {
|
|||
allowed_file_extensions?: string[]
|
||||
allowed_file_upload_methods?: TransferMethod[]
|
||||
number_limits?: number
|
||||
fileUploadConfig?: FileUploadConfigResponse
|
||||
} & EnabledOrDisabled
|
||||
|
||||
export type AnnotationReplyConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue