@transai/connector-runner-file 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import { FileAction } from '../types';
3
3
  type ActionParams = {
4
4
  remotePath: string;
5
5
  };
6
- type ActionResult = {
6
+ export type ActionResult = {
7
7
  pathDsn: string;
8
8
  path: string;
9
9
  };
@@ -0,0 +1,16 @@
1
+ import { FilesSDKInterface, LoggerSDKInterface } from '@transai/connector-runtime-sdk';
2
+ import { FileAction } from '../types';
3
+ import { ActionResult } from './action-download-file';
4
+ type ActionParams = {
5
+ remotePaths: Array<string>;
6
+ };
7
+ type ActionResults = {
8
+ files: Array<ActionResult>;
9
+ };
10
+ export declare class ActionDownloadMultipleFiles implements FileAction<ActionParams, ActionResults> {
11
+ #private;
12
+ static readonly TYPE = "download-multiple";
13
+ constructor(fileHandler: FilesSDKInterface, localFileSDKInterface: FilesSDKInterface, logger?: LoggerSDKInterface);
14
+ execute(params: ActionParams): Promise<ActionResults>;
15
+ }
16
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-file",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },