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
  105f2cdd_370d_8bff_d040_9557c23677cf["getToc()"]
  a31526e8_63bf_6ec8_7695_4e206c5d427b["getItems()"]
  105f2cdd_370d_8bff_d040_9557c23677cf -->|calls| a31526e8_63bf_6ec8_7695_4e206c5d427b
  style 105f2cdd_370d_8bff_d040_9557c23677cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/learn/lib/toc.ts lines 66–71

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

  file.data = items
}

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