Download frontend/src/api/version.ts from nst1/gemini: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/spaces/nst1/gemini/resolve/main/frontend/src/api/version.ts
- Command line
-
hf download hf://spaces/nst1/gemini/frontend/src/api/version.ts
-
curl -L -o version.ts https://huggingface.co/spaces/nst1/gemini/resolve/main/frontend/src/api/version.ts
312 Bytes
| import apiClient from './client' | |
| import type { VersionCheckResponse, VersionInfoResponse } from '@/types/api' | |
| export const versionApi = { | |
| current: () => | |
| apiClient.get<never, VersionInfoResponse>('/public/version'), | |
| check: () => | |
| apiClient.get<never, VersionCheckResponse>('/admin/version-check'), | |
| } | |