@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:
35 lines (34 loc) • 1.09 kB
TypeScript
export namespace defaultOptions {
namespace server {
let protocol: string;
let path: string;
}
let providerOptions: {};
namespace s3 {
export let endpoint: string;
export let conditions: any[];
export let useAccelerateEndpoint: boolean;
export { defaultGetKey as getKey };
export let expires: number;
}
let enableUrlEndpoint: boolean;
let enableGooglePickerEndpoint: boolean;
let allowLocalUrls: boolean;
let periodicPingUrls: any[];
let streamingUpload: boolean;
let clientSocketConnectTimeout: number;
let metrics: boolean;
}
/**
* @param {object} companionOptions
*/
export function getMaskableSecrets(companionOptions: object): any[];
/**
* validates that the mandatory companion options are set.
* If it is invalid, it will console an error of unset options and exits the process.
* If it is valid, nothing happens.
*
* @param {object} companionOptions
*/
export function validateConfig(companionOptions: object): void;
import { defaultGetKey } from "../server/helpers/utils";