| 20 | const router = useRouter() |
| 21 | // Response data structure |
| 22 | export interface ApiResponse<T = unknown> { |
| 23 | code: number |
| 24 | data: T |
| 25 | message: string |
| 26 | success: boolean |
| 27 | [key: string]: any // Allow additional fields |
| 28 | } |
| 29 | |
| 30 | // Extended request options |
| 31 | export interface RequestOptions { |
nothing calls this directly
no outgoing calls
no test coverage detected