feat: enhance Local Folder connector with version history and folder sync capabilities

This commit is contained in:
Anish Sarkar 2026-04-02 11:40:04 +05:30
parent e2f946b7c0
commit 5eeee99bb1
14 changed files with 742 additions and 1 deletions

View file

@ -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 };