mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Features: Memory page rendering and other bug fixes - Rendering of the Memory list page - Rendering of the message list page in Memory - Fixed an issue where the empty state was incorrectly displayed when search criteria were applied - Added a web link for the API-Key - modifying the index_mode attribute of the Confluence data source. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality)
22 lines
454 B
TypeScript
22 lines
454 B
TypeScript
export interface Pagination {
|
|
current: number;
|
|
pageSize: number;
|
|
total: number;
|
|
onChange?: (page: number, pageSize: number) => void;
|
|
}
|
|
|
|
export interface BaseState {
|
|
pagination: Pagination;
|
|
searchString: string;
|
|
}
|
|
|
|
export interface IModalProps<T> {
|
|
showModal?(): void;
|
|
hideModal?(): void;
|
|
switchVisible?(visible: boolean): void;
|
|
visible?: boolean;
|
|
loading?: boolean;
|
|
onOk?(payload?: T): Promise<any> | void;
|
|
initialValues?: T;
|
|
}
|