Files
ragflow_python/web/src/interfaces/database/file-manager.ts
balibabu 282f0857a3 fix: hide the add button when the folder is a knowledge base (#765)
### What problem does this PR solve?

#764 fix: hide the add button when the folder is a knowledge base

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-14 16:53:32 +08:00

33 lines
629 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;
}
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;
}