refactor(api): migrate config-api to ApiResponse pattern

This commit is contained in:
DrSmoothl
2026-03-01 17:43:47 +08:00
parent 88e157040f
commit d4bfc9591c
9 changed files with 288 additions and 156 deletions

View File

@@ -5,4 +5,4 @@
export type ApiResponse<T> =
| { success: true; data: T }
| { success: false; error: string }
| { success: false; error: string }