@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:
15 lines (14 loc) • 874 B
TypeScript
export function hasSessionAndProvider(req: any, res: any, next: any): any;
export function hasOAuthProvider(req: any, res: any, next: any): any;
export function hasSimpleAuthProvider(req: any, res: any, next: any): any;
export function hasBody(req: any, res: any, next: any): any;
export function hasSearchQuery(req: any, res: any, next: any): any;
export function verifyToken(req: any, res: any, next: any): void;
export function gentleVerifyToken(req: any, res: any, next: any): void;
export function cookieAuthToken(req: any, res: any, next: any): any;
export function cors(options?: {}): (req: any, res: any, next: any) => void;
export function metrics({ path }?: {
path?: any;
}): promBundle.Middleware;
export function getCompanionMiddleware(options: object): (req: object, res: object, next: Function) => void;
import promBundle = require("express-prom-bundle");