fix: Shows informative error on UI when file upload limit is reached (#2961)

This commit is contained in:
Antonella Sgarlatta
2025-12-18 09:49:27 -03:00
committed by GitHub
parent 5d1f6ca963
commit 844b7a7a2b
5 changed files with 19 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ export interface FilesApiInterface {
encryptedBytes: Uint8Array,
): Promise<boolean>
closeUploadSession(valetToken: string, ownershipType: FileOwnershipType): Promise<boolean>
closeUploadSession(valetToken: string, ownershipType: FileOwnershipType): Promise<boolean | ClientDisplayableError>
downloadFile(params: DownloadFileParams): Promise<ClientDisplayableError | undefined>