getTroubleshootingKeywordsByTopic() — supabase Function Reference
Architecture documentation for the getTroubleshootingKeywordsByTopic() function in Troubleshooting.utils.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD c776b24b_2ea9_8eba_dd57_33106299dd4f["getTroubleshootingKeywordsByTopic()"] 7788a844_70a7_2b57_5bcb_27bb6e42f5be["SectionTroubleshootingPage()"] 7788a844_70a7_2b57_5bcb_27bb6e42f5be -->|calls| c776b24b_2ea9_8eba_dd57_33106299dd4f 8905791f_ebfd_ddd9_ad47_1c7f6198a3e9["getTroubleshootingEntriesByTopic()"] c776b24b_2ea9_8eba_dd57_33106299dd4f -->|calls| 8905791f_ebfd_ddd9_ad47_1c7f6198a3e9 style c776b24b_2ea9_8eba_dd57_33106299dd4f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/features/docs/Troubleshooting.utils.ts lines 123–137
export async function getTroubleshootingKeywordsByTopic(
topic: ITroubleshootingMetadata['topics'][number]
) {
const entries = await getTroubleshootingEntriesByTopic(topic)
const keywords = new Set<string>()
for (const entry of entries) {
for (const entryTopic of entry.data.topics) {
keywords.add(entryTopic)
}
for (const keyword of entry.data.keywords ?? []) {
keywords.add(keyword)
}
}
return Array.from(keywords).sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase()))
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getTroubleshootingKeywordsByTopic() do?
getTroubleshootingKeywordsByTopic() is a function in the supabase codebase.
What does getTroubleshootingKeywordsByTopic() call?
getTroubleshootingKeywordsByTopic() calls 1 function(s): getTroubleshootingEntriesByTopic.
What calls getTroubleshootingKeywordsByTopic()?
getTroubleshootingKeywordsByTopic() is called by 1 function(s): SectionTroubleshootingPage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free