Download frontend/src/api/stats.ts from JianKaa/gm-2api: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/JianKaa/gm-2api/resolve/main/frontend/src/api/stats.ts
- Command line
-
hf download hf://spaces/JianKaa/gm-2api/frontend/src/api/stats.ts
-
curl -L -o stats.ts https://huggingface.co/spaces/JianKaa/gm-2api/resolve/main/frontend/src/api/stats.ts
181 Bytes
| import apiClient from './client' | |
| import type { AdminStats } from '@/types/api' | |
| export const statsApi = { | |
| overview() { | |
| return apiClient.get<AdminStats>('/admin/stats') | |
| }, | |
| } | |