Home / Function/ constructor() — supabase Function Reference

constructor() — supabase Function Reference

Architecture documentation for the constructor() function in markdown.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  26adaedd_b788_4029_81f7_8bccafef2718["constructor()"]
  78f6fb8a_6b3e_6c84_daf6_8496d650333d["constructor()"]
  78f6fb8a_6b3e_6c84_daf6_8496d650333d -->|calls| 26adaedd_b788_4029_81f7_8bccafef2718
  78f6fb8a_6b3e_6c84_daf6_8496d650333d["constructor()"]
  26adaedd_b788_4029_81f7_8bccafef2718 -->|calls| 78f6fb8a_6b3e_6c84_daf6_8496d650333d
  style 26adaedd_b788_4029_81f7_8bccafef2718 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/search/sources/markdown.ts lines 50–69

  constructor(
    source: string,
    path: string,
    public contents: string,
    {
      checksum,
      meta,
      sections,
    }: { checksum?: string; meta?: Record<string, unknown>; sections: Array<SubsectionModel> },
    public options?: { yaml?: boolean }
  ) {
    super(source, path)
    this.checksum = checksum
    this.meta = meta ?? {}
    this.sections = sections.map((section) => ({
      content: section.content ?? '',
      heading: section.title,
      slug: section.href,
    }))
  }

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free