mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: add Dropbox connector support in enums, icons, and API service for enhanced integration
This commit is contained in:
parent
d509148636
commit
2cd09d49a2
6 changed files with 26 additions and 0 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
|
||||
// =============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue