Show attachment download progress, new stop button to cancel

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Scott Nonnenberg
2024-12-10 08:54:18 +10:00
committed by GitHub
parent 025841e5bb
commit 2741fbb5d2
78 changed files with 2192 additions and 562 deletions

View File

@@ -1328,6 +1328,7 @@ export type WebAPIType = {
disableRetries?: boolean;
timeout?: number;
downloadOffset?: number;
abortSignal: AbortSignal;
};
}) => Promise<Readable>;
getAttachment: (args: {
@@ -1337,6 +1338,7 @@ export type WebAPIType = {
disableRetries?: boolean;
timeout?: number;
downloadOffset?: number;
abortSignal?: AbortSignal;
};
}) => Promise<Readable>;
getAttachmentUploadForm: () => Promise<AttachmentUploadFormResponseType>;
@@ -3784,6 +3786,7 @@ export function initialize({
disableRetries?: boolean;
timeout?: number;
downloadOffset?: number;
abortSignal?: AbortSignal;
};
}) {
return _getAttachment({