Download web/src/interfaces/database/base.ts from retopara/ragflow: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/retopara/ragflow/resolve/5000eb5743259ce6239c47665d0a707e293f94de/web/src/interfaces/database/base.ts
- Command line
-
hf download hf://spaces/retopara/ragflow@5000eb5743259ce6239c47665d0a707e293f94de/web/src/interfaces/database/base.ts
-
curl -L -o base.ts https://huggingface.co/spaces/retopara/ragflow/resolve/5000eb5743259ce6239c47665d0a707e293f94de/web/src/interfaces/database/base.ts
294 Bytes
| export interface ResponseType<T = any> { | |
| retcode: number; | |
| data: T; | |
| retmsg: string; | |
| status: number; | |
| } | |
| export interface ResponseGetType<T = any> { | |
| data: T; | |
| loading?: boolean; | |
| } | |
| export interface ResponsePostType<T = any> { | |
| data: T; | |
| loading?: boolean; | |
| [key: string]: unknown; | |
| } | |