refactor(usage): modularize UsagePage into separate section components

This commit is contained in:
Supra4E8C
2026-01-02 16:19:04 +08:00
parent 58154063ed
commit 47f0042bf0
14 changed files with 1316 additions and 937 deletions

6
src/utils/usage/index.ts Normal file
View File

@@ -0,0 +1,6 @@
// Chart configuration utilities
export { sparklineOptions, buildChartOptions, getHourChartMinWidth } from './chartConfig';
export type { ChartConfigOptions } from './chartConfig';
// Re-export everything from the main usage.ts for backwards compatibility
export * from '../usage';