Allow manually retrying attachment downloads

This commit is contained in:
Fedor Indutny
2022-05-23 16:07:41 -07:00
committed by GitHub
parent 59b45399e4
commit dfc310805a
16 changed files with 265 additions and 58 deletions

View File

@@ -496,6 +496,9 @@ export type DataInterface = {
removeUnprocessed: (id: string | Array<string>) => Promise<void>;
removeAllUnprocessed: () => Promise<void>;
getAttachmentDownloadJobById: (
id: string
) => Promise<AttachmentDownloadJobType | undefined>;
getNextAttachmentDownloadJobs: (
limit?: number,
options?: { timestamp?: number }