mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
### What problem does this PR solve? Feat: Deleting files in batches. #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
40 lines
761 B
TypeScript
40 lines
761 B
TypeScript
export interface IFile {
|
|
create_date: string;
|
|
create_time: number;
|
|
created_by: string;
|
|
id: string;
|
|
kbs_info: { kb_id: string; kb_name: string }[];
|
|
location: string;
|
|
name: string;
|
|
parent_id: string;
|
|
size: number;
|
|
tenant_id: string;
|
|
type: string;
|
|
update_date: string;
|
|
update_time: number;
|
|
source_type: string;
|
|
has_child_folder?: boolean;
|
|
}
|
|
|
|
export interface IFolder {
|
|
create_date: string;
|
|
create_time: number;
|
|
created_by: string;
|
|
id: string;
|
|
location: string;
|
|
name: string;
|
|
parent_id: string;
|
|
size: number;
|
|
tenant_id: string;
|
|
type: string;
|
|
update_date: string;
|
|
update_time: number;
|
|
source_type: string;
|
|
}
|
|
|
|
export type IFetchFileListResult = {
|
|
files: IFile[];
|
|
parent_folder: IFolder;
|
|
total: number;
|
|
};
|