Home / Function/ genSelfHostedSectionTree() — supabase Function Reference

genSelfHostedSectionTree() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b4ff4c86_43e8_1e69_1acd_bb3653aa9f41["genSelfHostedSectionTree()"]
  f9f2b457_8e93_ce1a_7a61_59c0fd35d747["writeSelfHostingReferenceSections()"]
  f9f2b457_8e93_ce1a_7a61_59c0fd35d747 -->|calls| b4ff4c86_43e8_1e69_1acd_bb3653aa9f41
  a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd["deepFilterRec()"]
  b4ff4c86_43e8_1e69_1acd_bb3653aa9f41 -->|calls| a31dc3a9_2cda_bb58_7cbc_5f9391c9aabd
  style b4ff4c86_43e8_1e69_1acd_bb3653aa9f41 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.script.ts lines 133–141

function genSelfHostedSectionTree(
  spec: Array<AbbrevApiReferenceSection>,
  endpointsById: Map<string, IApiEndPoint>
) {
  const validSections = deepFilterRec(spec as any, 'items', (section: any) =>
    section.type === 'self-hosted-operation' ? endpointsById.has(section.id) : true
  )
  return validSections
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free