### What problem does this PR solve? feat: upload file in FileManager #345 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -3,7 +3,7 @@ export interface IFile {
|
||||
create_time: number;
|
||||
created_by: string;
|
||||
id: string;
|
||||
kb_ids: string[];
|
||||
kbs_info: { kb_id: string; kb_name: string }[];
|
||||
location: string;
|
||||
name: string;
|
||||
parent_id: string;
|
||||
|
||||
@@ -3,3 +3,12 @@ import { IPaginationRequestBody } from './base';
|
||||
export interface IFileListRequestBody extends IPaginationRequestBody {
|
||||
parent_id?: string; // folder id
|
||||
}
|
||||
|
||||
interface BaseRequestBody {
|
||||
parentId: string;
|
||||
}
|
||||
|
||||
export interface IConnectRequestBody extends BaseRequestBody {
|
||||
fileIds: string[];
|
||||
kbIds: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user