Files
ragflow/web/src/interfaces/common.ts
balibabu eb62c669ae feat: translate FileManager #345 (#558)
### What problem does this PR solve?
#345
feat: translate FileManager
feat: batch delete files from the file table in the knowledge base

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-04-26 17:22:23 +08:00

19 lines
334 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;
}