mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 11:26:24 +02:00
feat: enhance Local Folder connector with version history and folder sync capabilities
This commit is contained in:
parent
e2f946b7c0
commit
5eeee99bb1
14 changed files with 742 additions and 1 deletions
|
|
@ -404,6 +404,18 @@ class ConnectorsApiService {
|
|||
listDiscordChannelsResponse
|
||||
);
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
// Local Folder Connector Methods
|
||||
// =============================================================================
|
||||
|
||||
indexFile = async (connectorId: number, filePath: string) => {
|
||||
return baseApiService.post(
|
||||
`/api/v1/search-source-connectors/${connectorId}/index-file`,
|
||||
undefined,
|
||||
{ body: { file_path: filePath } }
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
export type { SlackChannel, DiscordChannel };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue