mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-08 12:24:48 +08:00
### What problem does this PR solve? fix: fetch the file list after uploading the file by @tanstack/react-query #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
import { IPaginationRequestBody } from './base';
|
|
|
|
export interface IFileListRequestBody extends IPaginationRequestBody {
|
|
parent_id?: string; // folder id
|
|
}
|
|
|
|
interface BaseRequestBody {
|
|
parentId: string;
|
|
}
|
|
|
|
export interface IConnectRequestBody {
|
|
fileIds: string[];
|
|
kbIds: string[];
|
|
}
|