mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-19 03:56:42 +08:00
### What problem does this PR solve? feat: Display input parameters on operator nodes #3240 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
20 lines
378 B
TypeScript
20 lines
378 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;
|
|
}
|