mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
Merge remote-tracking branch 'upstream/dev' into feature/prompt-library
This commit is contained in:
commit
1aeb5ba645
66 changed files with 4561 additions and 139 deletions
|
|
@ -290,6 +290,19 @@ class ConnectorsApiService {
|
|||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* List Dropbox folders and files
|
||||
*/
|
||||
listDropboxFolders = async (request: { connector_id: number; parent_path?: string }) => {
|
||||
const queryParams = request.parent_path
|
||||
? `?parent_path=${encodeURIComponent(request.parent_path)}`
|
||||
: "";
|
||||
return baseApiService.get(
|
||||
`/api/v1/connectors/${request.connector_id}/dropbox/folders${queryParams}`,
|
||||
listGoogleDriveFoldersResponse
|
||||
);
|
||||
};
|
||||
|
||||
// =============================================================================
|
||||
// MCP Connector Methods
|
||||
// =============================================================================
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ export const getConnectorTypeDisplay = (type: string): string => {
|
|||
YOUTUBE_CONNECTOR: "YouTube",
|
||||
CIRCLEBACK_CONNECTOR: "Circleback",
|
||||
OBSIDIAN_CONNECTOR: "Obsidian",
|
||||
DROPBOX_CONNECTOR: "Dropbox",
|
||||
MCP_CONNECTOR: "MCP Server",
|
||||
};
|
||||
return typeMap[type] || type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue