Feat: use file size limit from api (#9739)

This commit is contained in:
KVOJJJin 2024-10-24 22:55:17 +08:00 • committed by GitHub
commit 5d1424f67c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 205 additions and 28 deletions

View file

@ -211,9 +211,12 @@ export type PluginProvider = {
}
export type FileUploadConfigResponse = {
file_size_limit: number
batch_count_limit: number
image_file_size_limit?: number | string
image_file_size_limit?: number | string // default is 10MB
file_size_limit: number // default is 15MB
audio_file_size_limit?: number // default is 50MB
video_file_size_limit?: number // default is 100MB
}
export type InvitationResult = {