Home / Function/ fetchPartners() — supabase Function Reference

fetchPartners() — supabase Function Reference

Architecture documentation for the fetchPartners() function in partner-integrations.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  be7639e1_d1ef_cf6c_8b15_a84d45ecf981["fetchPartners()"]
  bb2c79de_bc44_4879_8e44_cbf11b580212["fetchAllSources()"]
  bb2c79de_bc44_4879_8e44_cbf11b580212 -->|calls| be7639e1_d1ef_cf6c_8b15_a84d45ecf981
  a2174c92_90a3_f63d_626d_40023faff30e["getSupabaseClient()"]
  be7639e1_d1ef_cf6c_8b15_a84d45ecf981 -->|calls| a2174c92_90a3_f63d_626d_40023faff30e
  style be7639e1_d1ef_cf6c_8b15_a84d45ecf981 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/search/sources/partner-integrations.ts lines 22–31

export async function fetchPartners() {
  const supabase = getSupabaseClient()
  const { data: partners } = await supabase
    .from('partners')
    .select('slug,overview')
    .eq('approved', true)
    // We want to show technology integrations, not agencies, in search
    .neq('type', 'expert')
  return partners ?? []
}

Subdomains

Called By

Frequently Asked Questions

What does fetchPartners() do?
fetchPartners() is a function in the supabase codebase.
What does fetchPartners() call?
fetchPartners() calls 1 function(s): getSupabaseClient.
What calls fetchPartners()?
fetchPartners() is called by 1 function(s): fetchAllSources.

Analyze Your Own Codebase

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

Try Supermodel Free