Home / Function/ genApiSectionTree() — supabase Function Reference

genApiSectionTree() — supabase Function Reference

Architecture documentation for the genApiSectionTree() function in Reference.generated.script.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  cd24f6d3_9b20_b4e9_4699_9b8057e1f1f5["genApiSectionTree()"]
  eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f["writeApiReferenceSections()"]
  eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f -->|calls| cd24f6d3_9b20_b4e9_4699_9b8057e1f1f5
  a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd["deepFilterRec()"]
  cd24f6d3_9b20_b4e9_4699_9b8057e1f1f5 -->|calls| a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd
  style cd24f6d3_9b20_b4e9_4699_9b8057e1f1f5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.script.ts lines 124–131

function genApiSectionTree(endpointsById: Map<string, IApiEndPoint>): AbbrevApiReferenceSection[] {
  const validSections = deepFilterRec(
    apiCommonSections as AbbrevApiReferenceSection[],
    'items',
    (section) => (section.type === 'operation' ? endpointsById.has(section.id) : true)
  )
  return validSections
}

Subdomains

Frequently Asked Questions

What does genApiSectionTree() do?
genApiSectionTree() is a function in the supabase codebase.
What does genApiSectionTree() call?
genApiSectionTree() calls 1 function(s): deepFilterRec.
What calls genApiSectionTree()?
genApiSectionTree() is called by 1 function(s): writeApiReferenceSections.

Analyze Your Own Codebase

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

Try Supermodel Free