@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:
37 lines (36 loc) • 1.06 kB
TypeScript
export function isGsuiteFile(mimeType: any): any;
export function isShortcut(mimeType: any): boolean;
export function getGsuiteExportType(mimeType: any): any;
export const VIRTUAL_SHARED_DIR: "shared-with-me";
export function adaptData(listFilesResp: any, sharedDrivesResp: any, directory: any, query: any, showSharedWithMe: any, about: any): {
username: any;
items: ({
isFolder: boolean;
icon: string;
name: string;
mimeType: string;
id: string;
requestPath: string;
} | {
isFolder: boolean;
icon: any;
name: any;
mimeType: any;
id: any;
thumbnail: any;
requestPath: any;
modifiedDate: any;
size: number;
custom: {
isSharedDrive: boolean;
imageHeight: any;
imageWidth: any;
imageRotation: any;
imageDateTime: any;
videoHeight: any;
videoWidth: any;
videoDurationMillis: any;
};
})[];
nextPagePath: string;
};