UNPKG

torrent-to-pixeldrain

Version:

Allows you to download a torrent and upload it to pixeldrain.com

17 lines (16 loc) 648 B
import { Uploadable } from "../interfaces/uploadable"; import { PixeldrainService } from "../services/pixeldrainservice"; export declare class UploadableFile implements Uploadable { location: string; fileName: string; pixeldrainService: PixeldrainService; /** * Creates an instance of UploadableFile. * @param {string} location Path to the file as a string * @param {string} fileName Name of the file * @param {PixeldrainService} pixeldrainService * @memberof UploadableFile */ constructor(location: string, fileName: string, pixeldrainService: PixeldrainService); upload(): Promise<string>; }