mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Avoid exposing AttachmentTS
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const is = require('@sindresorhus/is');
|
||||
|
||||
const AttachmentTS = require('../../../ts/types/Attachment');
|
||||
const MIME = require('../../../ts/types/MIME');
|
||||
const { arrayBufferToBlob, blobToArrayBuffer, dataURLToBlob } = require('blob-util');
|
||||
const { autoOrientImage } = require('../auto_orient_image');
|
||||
@@ -163,3 +164,5 @@ exports.deleteData = (deleteAttachmentData) => {
|
||||
await deleteAttachmentData(attachment.path);
|
||||
};
|
||||
};
|
||||
|
||||
exports.save = AttachmentTS.save;
|
||||
|
||||
Reference in New Issue
Block a user