Home / Function/ getIntegrationTypeIcon() — supabase Function Reference

getIntegrationTypeIcon() — supabase Function Reference

Architecture documentation for the getIntegrationTypeIcon() function in ThirdPartyAuthForm.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  a965cb05_8eb4_bb56_842a_7388ca131a50["getIntegrationTypeIcon()"]
  21de7ffb_92e0_78d2_1381_4f4347722738["ProviderDropdownItem()"]
  21de7ffb_92e0_78d2_1381_4f4347722738 -->|calls| a965cb05_8eb4_bb56_842a_7388ca131a50
  a8b0d122_606c_776f_0aa7_a4fa46d11298["IntegrationCard()"]
  a8b0d122_606c_776f_0aa7_a4fa46d11298 -->|calls| a965cb05_8eb4_bb56_842a_7388ca131a50
  style a965cb05_8eb4_bb56_842a_7388ca131a50 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/ThirdPartyAuthForm.utils.ts lines 60–77

export const getIntegrationTypeIcon = (type: INTEGRATION_TYPES) => {
  switch (type) {
    case 'firebase':
      return `${BASE_PATH}/img/icons/firebase-icon.svg`
    case 'auth0':
      return `${BASE_PATH}/img/icons/auth0-icon.svg`
    case 'awsCognito':
      return `${BASE_PATH}/img/icons/cognito-icon.svg`
    case 'clerk':
      return `${BASE_PATH}/img/icons/clerk-icon.svg`
    case 'workos':
      return `${BASE_PATH}/img/icons/workos-icon.svg`

    case 'custom':
    default:
      return `${BASE_PATH}/img/icons/cognito-icon.svg`
  }
}

Subdomains

Frequently Asked Questions

What does getIntegrationTypeIcon() do?
getIntegrationTypeIcon() is a function in the supabase codebase.
What calls getIntegrationTypeIcon()?
getIntegrationTypeIcon() is called by 2 function(s): IntegrationCard, ProviderDropdownItem.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free