getIntegrationCommandName() — supabase Function Reference
Architecture documentation for the getIntegrationCommandName() function in CreateCommands.utils.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD e1513807_1068_9ccf_0d5b_d1d4f56dcf90["getIntegrationCommandName()"] 7691c069_7dea_faac_d384_4e20dfcccdcd["useCreateCommands()"] 7691c069_7dea_faac_d384_4e20dfcccdcd -->|calls| e1513807_1068_9ccf_0d5b_d1d4f56dcf90 style e1513807_1068_9ccf_0d5b_d1d4f56dcf90 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/studio/components/interfaces/App/CommandMenu/CreateCommands.utils.tsx lines 60–80
export function getIntegrationCommandName(integration: IntegrationDefinition): string {
if (integration.type === 'wrapper') {
// Extract the wrapper name (e.g., "Stripe Wrapper" -> "Stripe")
const wrapperName = integration.name.replace(' Wrapper', '')
return `Add ${wrapperName} wrapper`
}
// Map integration IDs to their command names
switch (integration.id) {
case 'vault':
return 'Create Vault Secret'
case 'cron':
return 'Create Cron Job'
case 'webhooks':
return 'Create Webhook'
case 'queues':
return 'Create Queue'
default:
return `Create ${integration.name}`
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getIntegrationCommandName() do?
getIntegrationCommandName() is a function in the supabase codebase.
What calls getIntegrationCommandName()?
getIntegrationCommandName() is called by 1 function(s): useCreateCommands.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free