Skip to content

Commit c866c70

Browse files
committed
fix: add buffer size param to the createWriteStream
AdminForth/1796/image
1 parent ff24227 commit c866c70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/types/adapters/StorageAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export interface StorageAdapter {
8989
* @param key - The key of the file to be written e.g. "uploads/file.txt"
9090
* @param contentType - The MIME type of the file to be written e.g. "image/png"
9191
*/
92-
createWriteStream(key: string, contentType: string): Promise<ObjectWriter>;
92+
createWriteStream(key: string, contentType: string, bufferSizeMb?: number): Promise<ObjectWriter>;
9393
}
9494

9595
interface ObjectWriter {

0 commit comments

Comments
 (0)