Browse Source

fix: add fetch-options

pull/9107/head
DarkPhoenix2704 5 months ago
parent
commit
6a5ae1f711
  1. 4
      packages/nc-plugin/src/lib/IStorageAdapterV2.ts

4
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<any>;
fileCreateByStream(destPath: string, readStream: Readable): Promise<void>;
fileReadByStream(key: string): Promise<Readable>;

Loading…
Cancel
Save