Home / Function/ getPartnersImpl() — supabase Function Reference

getPartnersImpl() — supabase Function Reference

Architecture documentation for the getPartnersImpl() function in layout.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  c5d21977_b946_6be3_70bd_b414f1179cdb["getPartnersImpl()"]
  00f78b81_691c_b144_baf1_37030ca2fa85["supabaseMisc()"]
  c5d21977_b946_6be3_70bd_b414f1179cdb -->|calls| 00f78b81_691c_b144_baf1_37030ca2fa85
  style c5d21977_b946_6be3_70bd_b414f1179cdb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/app/guides/integrations/layout.tsx lines 19–41

async function getPartnersImpl() {
  if (!IS_PLATFORM) return []

  const { data, error } = await supabaseMisc()
    .from('partners')
    .select('slug, title')
    .eq('approved', true)
    .eq('type', 'technology')
    .order('title')
  if (error) {
    console.error(new Error('Error fetching partners', { cause: error }))
  }

  const partnerNavItems = (data ?? []).map(
    (partner) =>
      ({
        name: partner.title,
        url: `https://supabase.com/partners/integrations/${partner.slug}` as `https://${string}`,
      }) as Partial<NavMenuSection>
  )

  return partnerNavItems
}

Subdomains

Frequently Asked Questions

What does getPartnersImpl() do?
getPartnersImpl() is a function in the supabase codebase.
What does getPartnersImpl() call?
getPartnersImpl() calls 1 function(s): supabaseMisc.

Analyze Your Own Codebase

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

Try Supermodel Free