mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add a backup media download progress bar
This commit is contained in:
@@ -446,6 +446,11 @@ export type GetRecentStoryRepliesOptionsType = {
|
||||
sentAt?: number;
|
||||
};
|
||||
|
||||
export enum AttachmentDownloadSource {
|
||||
BACKUP_IMPORT = 'backup_import',
|
||||
STANDARD = 'standard',
|
||||
}
|
||||
|
||||
type ReadableInterface = {
|
||||
close: () => void;
|
||||
|
||||
@@ -642,6 +647,7 @@ type ReadableInterface = {
|
||||
getMaxMessageCounter(): number | undefined;
|
||||
|
||||
getStatisticsForLogging(): Record<string, string>;
|
||||
getSizeOfPendingBackupAttachmentDownloadJobs(): number;
|
||||
};
|
||||
|
||||
type WritableInterface = {
|
||||
@@ -840,6 +846,7 @@ type WritableInterface = {
|
||||
saveAttachmentDownloadJob: (job: AttachmentDownloadJobType) => void;
|
||||
resetAttachmentDownloadActive: () => void;
|
||||
removeAttachmentDownloadJob: (job: AttachmentDownloadJobType) => void;
|
||||
removeAllBackupAttachmentDownloadJobs: () => void;
|
||||
|
||||
getNextAttachmentBackupJobs: (options: {
|
||||
limit: number;
|
||||
|
||||
Reference in New Issue
Block a user