mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 10:39:13 +00:00
11 lines
396 B
TypeScript
11 lines
396 B
TypeScript
// Helper function to get connector type display name
|
|
export const getConnectorTypeDisplay = (type: string): string => {
|
|
const typeMap: Record<string, string> = {
|
|
"SERPER_API": "Serper API",
|
|
"TAVILY_API": "Tavily API",
|
|
"SLACK_CONNECTOR": "Slack",
|
|
"NOTION_CONNECTOR": "Notion",
|
|
"GITHUB_CONNECTOR": "GitHub",
|
|
};
|
|
return typeMap[type] || type;
|
|
};
|