From 6a5ae1f711b7295129aa869d9108c301acdb46aa Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 30 Jul 2024 05:52:03 +0000 Subject: [PATCH] fix: add fetch-options --- packages/nc-plugin/src/lib/IStorageAdapterV2.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-plugin/src/lib/IStorageAdapterV2.ts b/packages/nc-plugin/src/lib/IStorageAdapterV2.ts index d28911f9cf..a5063d760e 100644 --- a/packages/nc-plugin/src/lib/IStorageAdapterV2.ts +++ b/packages/nc-plugin/src/lib/IStorageAdapterV2.ts @@ -17,7 +17,9 @@ export default interface IStorageAdapterV2 extends IStorageAdapter { fileCreateByUrl( destPath: string, url: string, - fileMeta?: FileMeta + fileMeta?: FileMeta, + fetchOptions?: any + ): Promise; fileCreateByStream(destPath: string, readStream: Readable): Promise; fileReadByStream(key: string): Promise;