UNPKG

@signiant/media-shuttle-sdk-base

Version:

The base parent sdk behind other media shuttle sdks (e.g. media-shuttle-sdk)

24 lines 834 B
import Download from './Download'; import DownloadOptions from './DownloadOptions'; import TransferOptions from './TransferOptions'; import Upload from './Upload'; /** * An interface that defines a factory to generate {@link Download} operation objects. */ export default interface TransferFactory { /** * Generates a {@link Download} transfer action * * @param options The options that control this Download object. * @returns The DownloadObject. */ generateDownload(options: DownloadOptions): Promise<Download>; /** * Generates a {@link Upload} transfer action * * @param options The options that control this Upload object. * @returns The Upload Object. */ generateUpload(options: TransferOptions): Promise<Upload>; } //# sourceMappingURL=TransferFactory.d.ts.map