@churchapps/apihelper
Version:
Library of helper functions not specific to any one ChurchApps project or framework.
14 lines • 603 B
TypeScript
export declare class FileStorageHelper {
private static rootPath;
static list: (filePath: string) => Promise<string[]>;
static move: (oldKey: string, newKey: string) => Promise<void>;
static store: (key: string, contentType: string, contents: Buffer) => Promise<void>;
static remove: (key: string) => Promise<void>;
static removeFolder: (key: string) => Promise<void>;
private static storeLocal;
private static moveLocal;
private static removeLocal;
private static removeLocalFolder;
private static listLocal;
}
//# sourceMappingURL=FileStorageHelper.d.ts.map