Merge pull request #125 from MuhamadAjiW/feat/discord-connector

Feat/Discord Connector
This commit is contained in:
Rohan Verma 2025-06-02 11:28:10 -07:00 committed by GitHub
commit 35aad02254
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 2953 additions and 1680 deletions

View file

@ -11,7 +11,7 @@ import {
Link,
Webhook,
} from 'lucide-react';
import { IconBrandNotion, IconBrandSlack, IconBrandYoutube, IconBrandGithub, IconLayoutKanban, IconLinkPlus } from "@tabler/icons-react";
import { IconBrandNotion, IconBrandSlack, IconBrandYoutube, IconBrandGithub, IconLayoutKanban, IconLinkPlus, IconBrandDiscord } from "@tabler/icons-react";
import { Button } from '@/components/ui/button';
import { Connector, ResearchMode } from './types';
@ -41,6 +41,8 @@ export const getConnectorIcon = (connectorType: string) => {
return <IconBrandSlack {...iconProps} />;
case 'NOTION_CONNECTOR':
return <IconBrandNotion {...iconProps} />;
case 'DISCORD_CONNECTOR':
return <IconBrandDiscord {...iconProps} />;
case 'DEEP':
return <Sparkles {...iconProps} />;
case 'DEEPER':

View file

@ -31,5 +31,6 @@ export const editConnectorSchema = z.object({
TAVILY_API_KEY: z.string().optional(),
LINEAR_API_KEY: z.string().optional(),
LINKUP_API_KEY: z.string().optional(),
DISCORD_BOT_TOKEN: z.string().optional(),
});
export type EditConnectorFormValues = z.infer<typeof editConnectorSchema>;