@uppy/companion
Version:
OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:
30 lines (29 loc) • 733 B
TypeScript
export = DropBox;
/**
* Adapter for API https://www.dropbox.com/developers/documentation/http/documentation
*/
declare class DropBox extends Provider {
constructor(options: any);
download({ id, token }: {
id: any;
token: any;
}): Promise<any>;
thumbnail({ id, token }: {
id: any;
token: any;
}): Promise<any>;
size({ id, token }: {
id: any;
token: any;
}): Promise<any>;
logout({ token }: {
token: any;
}): Promise<any>;
refreshToken({ clientId, clientSecret, refreshToken }: {
clientId: any;
clientSecret: any;
refreshToken: any;
}): Promise<any>;
#private;
}
import Provider = require("../Provider");