mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-17 04:07:51 +01:00
16 lines
433 B
JavaScript
16 lines
433 B
JavaScript
|
|
import { downloadAttachment, downloadFile } from './download';
|
||
|
|
import { clearFileStorage, deleteFile, exists, readEncrypted, writeEncrypted } from './io';
|
||
|
|
import { uploadFile } from './upload';
|
||
|
|
import { cancelable } from './utils';
|
||
|
|
|
||
|
|
export default {
|
||
|
|
readEncrypted,
|
||
|
|
writeEncrypted,
|
||
|
|
uploadFile: cancelable(uploadFile),
|
||
|
|
downloadFile: cancelable(downloadFile),
|
||
|
|
deleteFile,
|
||
|
|
exists,
|
||
|
|
downloadAttachment,
|
||
|
|
clearFileStorage
|
||
|
|
};
|