Merge pull request #295 from CREDO23/feature/airtable-connector

[Feature]  Add Airtable connector
This commit is contained in:
Rohan Verma 2025-09-03 12:49:14 -07:00 committed by GitHub
commit 662212d4e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 1629 additions and 3 deletions

View file

@ -12,6 +12,7 @@ import {
BookOpen,
Calendar,
CheckSquare,
Database,
ExternalLink,
FileText,
Globe,
@ -86,6 +87,11 @@ function getSourceIcon(type: string) {
case "GOOGLE_GMAIL_CONNECTOR":
return <Mail className="h-4 w-4" />;
// Airtable
case "USER_SELECTED_AIRTABLE_CONNECTOR":
case "AIRTABLE_CONNECTOR":
return <Database className="h-4 w-4" />;
// YouTube
case "USER_SELECTED_YOUTUBE_VIDEO":
case "YOUTUBE_VIDEO":

View file

@ -8,6 +8,7 @@ import {
IconLayoutKanban,
IconLinkPlus,
IconMail,
IconTable,
IconTicket,
} from "@tabler/icons-react";
import {
@ -62,6 +63,8 @@ export const getConnectorIcon = (connectorType: string) => {
return <IconCalendar {...iconProps} />;
case "GOOGLE_GMAIL_CONNECTOR":
return <IconMail {...iconProps} />;
case "AIRTABLE_CONNECTOR":
return <IconTable {...iconProps} />;
case "DEEP":
return <Sparkles {...iconProps} />;
case "DEEPER":

View file

@ -55,6 +55,10 @@ const DOCUMENT_TYPES: (DocumentType | "ALL")[] = [
"DISCORD_CONNECTOR",
"JIRA_CONNECTOR",
"CONFLUENCE_CONNECTOR",
"CLICKUP_CONNECTOR",
"GOOGLE_CALENDAR_CONNECTOR",
"GOOGLE_GMAIL_CONNECTOR",
"AIRTABLE_CONNECTOR",
];
const getDocumentTypeColor = (type: DocumentType) => {