Spaces:
Paused
Paused
Download apps/prevision-api/src/common/interfaces/api-response.interface.ts from modventures/prevision: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/prevision-api/src/common/interfaces/api-response.interface.ts
- Command line
-
hf download hf://spaces/modventures/prevision/apps/prevision-api/src/common/interfaces/api-response.interface.ts
-
curl -L -o api-response.interface.ts https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/prevision-api/src/common/interfaces/api-response.interface.ts
295 Bytes
| export interface PaginationMeta { | |
| page: number; | |
| pageSize: number; | |
| total: number; | |
| totalPages: number; | |
| } | |
| export interface ApiSuccess<T> { | |
| success: true; | |
| data: T; | |
| meta?: PaginationMeta; | |
| } | |
| export interface ApiFailure { | |
| success: false; | |
| error: { code: string; message: string }; | |
| } | |