Home / Function/ getToc() — supabase Function Reference

getToc() — supabase Function Reference

Architecture documentation for the getToc() function in toc.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  b9d6284c_da44_e786_f333_093f31cfa7c2["getToc()"]
  8b0bfea1_74ef_b2d4_ce59_98e7400596cd["getItems()"]
  b9d6284c_da44_e786_f333_093f31cfa7c2 -->|calls| 8b0bfea1_74ef_b2d4_ce59_98e7400596cd
  style b9d6284c_da44_e786_f333_093f31cfa7c2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/design-system/lib/toc.ts lines 65–70

const getToc = () => (node, file) => {
  const table = toc(node)
  const items = getItems(table.map, {})

  file.data = items
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getToc() do?
getToc() is a function in the supabase codebase.
What does getToc() call?
getToc() calls 1 function(s): getItems.

Analyze Your Own Codebase

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

Try Supermodel Free