import { Box, Cable, Database, KeyRound, Sparkles } from 'lucide-react'
import type { ReactNode } from 'react'
import type { ConnectMode } from '../ConnectSheet/Connect.types'
export type ConnectAction = {
id: ConnectMode | 'api_keys'
heading: string
subheading: string
icon: ReactNode
mode?: ConnectMode
href?: string
requiresActiveProject?: boolean
}
export const CONNECT_ACTIONS: ConnectAction[] = [
{
id: 'framework',
mode: 'framework',
heading: 'Framework',
subheading: 'Use a client library',
icon: ,
},
{
id: 'direct',
mode: 'direct',
heading: 'Direct',
subheading: 'Connection string',
icon: ,
},
{
id: 'orm',
mode: 'orm',
heading: 'ORM',
subheading: 'Third-party library',
icon: ,
},
{
id: 'mcp',
mode: 'mcp',
heading: 'MCP',
subheading: 'Connect your agent',
icon: ,
},
{
id: 'api_keys',
heading: 'API Keys',
subheading: 'Manage project keys',
icon: ,
href: '/project/[ref]/settings/api-keys',
requiresActiveProject: false,
},
]