Download types/api.ts from binhugg4/web: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/binhugg4/web/resolve/main/types/api.ts
- Command line
-
hf download hf://spaces/binhugg4/web/types/api.ts
-
curl -L -o api.ts https://huggingface.co/spaces/binhugg4/web/resolve/main/types/api.ts
189 Bytes
| export interface PaginatedData<T> { | |
| list: T[]; | |
| total: number; | |
| page: number; | |
| page_size: number; | |
| } | |
| export interface ApiResponse<T = any> { | |
| code: number; | |
| msg: string; | |
| data: T; | |
| } |