Show attachment download progress, new stop button to cancel
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
parent
025841e5bb
commit
2741fbb5d2
78 changed files with 2192 additions and 562 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue