feat: extend Dropbox support in chat event streaming and connector naming for enhanced integration

This commit is contained in:
Anish Sarkar 2026-03-30 23:07:25 +05:30
parent 6b922966e7
commit 0d5b902c26
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@ BASE_NAME_FOR_TYPE = {
SearchSourceConnectorType.SLACK_CONNECTOR: "Slack",
SearchSourceConnectorType.TEAMS_CONNECTOR: "Microsoft Teams",
SearchSourceConnectorType.ONEDRIVE_CONNECTOR: "OneDrive",
SearchSourceConnectorType.DROPBOX_CONNECTOR: "Dropbox",
SearchSourceConnectorType.NOTION_CONNECTOR: "Notion",
SearchSourceConnectorType.LINEAR_CONNECTOR: "Linear",
SearchSourceConnectorType.JIRA_CONNECTOR: "Jira",
@ -65,6 +66,9 @@ def extract_identifier_from_credentials(
if connector_type == SearchSourceConnectorType.ONEDRIVE_CONNECTOR:
return credentials.get("user_email")
if connector_type == SearchSourceConnectorType.DROPBOX_CONNECTOR:
return credentials.get("user_email")
if connector_type == SearchSourceConnectorType.NOTION_CONNECTOR:
return credentials.get("workspace_name")