Home / Function/ getAllTroubleshootingProducts() — supabase Function Reference

getAllTroubleshootingProducts() — supabase Function Reference

Architecture documentation for the getAllTroubleshootingProducts() function in Troubleshooting.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  116748c5_f216_d19c_2f25_868fd754a2e1["getAllTroubleshootingProducts()"]
  f3c21f6c_33fa_3a4b_4b06_41a6cb6ec810["GlobalTroubleshootingPage()"]
  f3c21f6c_33fa_3a4b_4b06_41a6cb6ec810 -->|calls| 116748c5_f216_d19c_2f25_868fd754a2e1
  251ba9cf_d7d1_c258_e2c5_c15bf3695b3a["getAllTroubleshootingEntries()"]
  116748c5_f216_d19c_2f25_868fd754a2e1 -->|calls| 251ba9cf_d7d1_c258_e2c5_c15bf3695b3a
  style 116748c5_f216_d19c_2f25_868fd754a2e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Troubleshooting.utils.ts lines 53–62

export async function getAllTroubleshootingProducts() {
  const entries = await getAllTroubleshootingEntries()
  const products = new Set<string>()
  for (const entry of entries) {
    for (const topic of entry.data.topics) {
      products.add(topic)
    }
  }
  return Array.from(products).sort((a, b) => a.localeCompare(b))
}

Subdomains

Frequently Asked Questions

What does getAllTroubleshootingProducts() do?
getAllTroubleshootingProducts() is a function in the supabase codebase.
What does getAllTroubleshootingProducts() call?
getAllTroubleshootingProducts() calls 1 function(s): getAllTroubleshootingEntries.
What calls getAllTroubleshootingProducts()?
getAllTroubleshootingProducts() is called by 1 function(s): GlobalTroubleshootingPage.

Analyze Your Own Codebase

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

Try Supermodel Free