mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-04 11:24:00 +08:00

### What problem does this PR solve? fix: delete chunk by @tanstack/react-query #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
19 lines
335 B
TypeScript
19 lines
335 B
TypeScript
export interface Pagination {
|
|
current: number;
|
|
pageSize: number;
|
|
total: number;
|
|
}
|
|
|
|
export interface BaseState {
|
|
pagination: Pagination;
|
|
searchString: string;
|
|
}
|
|
|
|
export interface IModalProps<T> {
|
|
showModal?(): void;
|
|
hideModal(): void;
|
|
visible?: boolean;
|
|
loading?: boolean;
|
|
onOk?(payload?: T): Promise<any> | void;
|
|
}
|