mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
refactor: completely remove Local Folder connector references and update folder sync logic
This commit is contained in:
parent
493d720b89
commit
149ccb97dd
8 changed files with 60 additions and 35 deletions
|
|
@ -395,6 +395,14 @@ class DocumentsApiService {
|
|||
);
|
||||
};
|
||||
|
||||
folderIndex = async (searchSpaceId: number, body: { folder_path: string; folder_name: string; search_space_id: number; exclude_patterns?: string[]; file_extensions?: string[]; root_folder_id?: number; enable_summary?: boolean }) => {
|
||||
return baseApiService.post(`/api/v1/documents/folder-index`, undefined, { body });
|
||||
};
|
||||
|
||||
folderIndexFile = async (searchSpaceId: number, body: { folder_path: string; folder_name: string; search_space_id: number; target_file_path: string; enable_summary?: boolean }) => {
|
||||
return baseApiService.post(`/api/v1/documents/folder-index-file`, undefined, { body });
|
||||
};
|
||||
|
||||
/**
|
||||
* Delete a document
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue