feat: add server metrics fetching and update translations

- Implemented `fetchServerMetrics` function in `nezha-api.ts` to retrieve server metrics based on metric type and period.
- Added new metric types and periods to `nezha-api.ts` type definitions.
- Updated English and Chinese translations to include new terms for metrics and periods.
- Commented out `ServerDetailSummary` component in `ServerDetail.tsx` for future use.
This commit is contained in:
hamster1963
2026-01-30 09:14:41 +08:00
parent 1aa66f98ed
commit 65b32ec81e
6 changed files with 951 additions and 365 deletions
File diff suppressed because it is too large Load Diff