Files
ragflow_python/web/src/interfaces/database/base.ts
balibabu 549d67e281 fix: test chunk by @tanstack/react-query #1306 (#1719)
### What problem does this PR solve?

fix: test chunk by @tanstack/react-query #1306

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-26 19:00:19 +08:00

18 lines
294 B
TypeScript

export interface ResponseType<T = any> {
retcode: number;
data: T;
retmsg: string;
status: number;
}
export interface ResponseGetType<T = any> {
data: T;
loading?: boolean;
}
export interface ResponsePostType<T = any> {
data: T;
loading?: boolean;
[key: string]: unknown;
}