Spaces:
Paused
Paused
Download node_modules/@gradio/client/dist/upload.d.ts from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 934 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40gradio/client/dist/upload.d.ts
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@gradio/client/dist/upload.d.ts
-
curl -L -o upload.d.ts https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40gradio/client/dist/upload.d.ts
934 Bytes
| import type { Client } from "./client"; | |
| export declare function upload(this: Client, file_data: FileData[], root_url: string, upload_id?: string, max_file_size?: number): Promise<(FileData | null)[] | null>; | |
| export declare function prepare_files(files: File[], is_stream?: boolean): Promise<FileData[]>; | |
| export declare class FileData { | |
| path: string; | |
| url?: string; | |
| orig_name?: string; | |
| size?: number; | |
| blob?: File; | |
| is_stream?: boolean; | |
| mime_type?: string; | |
| alt_text?: string; | |
| b64?: string; | |
| readonly meta: { | |
| _type: string; | |
| }; | |
| constructor({ path, url, orig_name, size, blob, is_stream, mime_type, alt_text, b64 }: { | |
| path: string; | |
| url?: string; | |
| orig_name?: string; | |
| size?: number; | |
| blob?: File; | |
| is_stream?: boolean; | |
| mime_type?: string; | |
| alt_text?: string; | |
| b64?: string; | |
| }); | |
| } | |
| //# sourceMappingURL=upload.d.ts.map |