MCPcopy Index your code
hub / github.com/dataease/SQLBot / ApiResponse

Interface ApiResponse

frontend/src/utils/request.ts:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20const router = useRouter()
21// Response data structure
22export 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
31export interface RequestOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected