UNPKG

@apideck/file-picker

Version:

A React file picker component that works with the Apideck [File Storage API](https://developers.apideck.com/apis/file-storage/reference).

28 lines (27 loc) 569 B
import { Connection } from '.'; export interface File { created_at: string; created_by: string; downloadable: boolean; id: string; mime_type: string; name: string; owner: Owner; parent_folders: ParentFolder[]; parent_folders_complete: boolean; size: number; type: string; updated_at: string; updated_by: string; connection?: Connection; } interface Owner { id: string; email: string; name: string; } interface ParentFolder { id?: string; name?: string; } export {};