Home / Function/ getAllTroubleshootingKeywords() — supabase Function Reference

getAllTroubleshootingKeywords() — supabase Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/docs/features/docs/Troubleshooting.utils.ts lines 39–51

export async function getAllTroubleshootingKeywords() {
  const entries = await getAllTroubleshootingEntries()
  const keywords = new Set<string>()
  for (const entry of entries) {
    for (const topic of entry.data.topics) {
      keywords.add(topic)
    }
    for (const keyword of entry.data.keywords ?? []) {
      keywords.add(keyword)
    }
  }
  return Array.from(keywords).sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()))
}

Subdomains

Frequently Asked Questions

What does getAllTroubleshootingKeywords() do?
getAllTroubleshootingKeywords() is a function in the supabase codebase.
What does getAllTroubleshootingKeywords() call?
getAllTroubleshootingKeywords() calls 1 function(s): getAllTroubleshootingEntries.
What calls getAllTroubleshootingKeywords()?
getAllTroubleshootingKeywords() 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