Allow downloading multiple images into one directory

Co-authored-by: Major-Mayer <lrdarknesss@yahoo.de>
This commit is contained in:
Scott Nonnenberg 2024-10-24 07:44:12 +10:00 committed by GitHub
parent 35946ef53c
commit 76e2597d30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 282 additions and 24 deletions

View file

@ -115,6 +115,7 @@ type MigrationsModuleType = {
saveAttachmentToDisk: (options: {
data: Uint8Array;
name: string;
baseDir?: string;
}) => Promise<null | { fullPath: string; name: string }>;
processNewAttachment: (attachment: AttachmentType) => Promise<AttachmentType>;
processNewSticker: (stickerData: Uint8Array) => Promise<
@ -406,9 +407,11 @@ type AttachmentsModuleType = {
saveAttachmentToDisk: ({
data,
name,
dirName,
}: {
data: Uint8Array;
name: string;
dirName?: string;
}) => Promise<null | { fullPath: string; name: string }>;
ensureAttachmentIsReencryptable: (