chore: update dependencies and update AWS S3 lib to v3

This commit is contained in:
tdurieux
2023-05-01 14:34:58 +02:00
parent 6226f32471
commit ee82d3c12a
11 changed files with 2409 additions and 2607 deletions

View File

@@ -44,13 +44,13 @@ export interface StorageBase {
*/
exists(path: string): Promise<boolean>;
send(p: string, res: Response): void;
send(p: string, res: Response): Promise<void>;
/**
* Read the content of a file
* @param path the path to the file
*/
read(path: string): Readable;
read(path: string): Promise<Readable>;
fileInfo(path: string): Promise<{
size: number | undefined;
@@ -115,7 +115,7 @@ export interface StorageBase {
*/
fileTransformer?: (p: string) => Transform;
}
): archiver.Archiver;
): Promise<archiver.Archiver>;
/**
* Create a directory