Home / Class/ ReferenceCLICommandModel Class — supabase Architecture

ReferenceCLICommandModel Class — supabase Architecture

Architecture documentation for the ReferenceCLICommandModel class in referenceCLIModel.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/resources/reference/referenceCLIModel.ts lines 7–32

export class ReferenceCLICommandModel implements SearchResultInterface {
  public title?: string
  public href?: string
  public content?: string

  constructor({
    title,
    href,
    content,
    subsections,
  }: {
    title?: string
    href?: string
    content?: string
    subsections?: Array<Json>
  }) {
    this.title = title
    this.href = href
    this.content =
      content +
      '\n\n' +
      subsections
        ?.map((subsection) => (isPlainObject(subsection) && subsection.content) || '')
        .join('\n\n')
  }
}

Analyze Your Own Codebase

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

Try Supermodel Free