mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
### What problem does this PR solve? Feat: Configure structured data output for agent forms #10866 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
21 lines
399 B
TypeScript
21 lines
399 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;
|
|
switchVisible?(visible: boolean): void;
|
|
visible?: boolean;
|
|
loading?: boolean;
|
|
onOk?(payload?: T): Promise<any> | void;
|
|
initialValues?: T;
|
|
}
|