Home / Function/ run() — supabase Function Reference

run() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  35786dbf_245c_1618_e006_4cf71f59bd93["run()"]
  73bee596_aa0b_521a_8b08_2bfcd6437fbe["writeTypes()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| 73bee596_aa0b_521a_8b08_2bfcd6437fbe
  c54513d8_ea67_94fc_f187_f9ae4cd2e3eb["writeSdkReferenceSections()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| c54513d8_ea67_94fc_f187_f9ae4cd2e3eb
  b792f766_6907_0c0b_d971_437562bc23c4["writeCliReferenceSections()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| b792f766_6907_0c0b_d971_437562bc23c4
  eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f["writeApiReferenceSections()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| eff95f24_f3b8_b5c3_e4a7_5dfa320c3c6f
  f9f2b457_8e93_ce1a_7a61_59c0fd35d747["writeSelfHostingReferenceSections()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| f9f2b457_8e93_ce1a_7a61_59c0fd35d747
  1ee162b1_d232_4846_ef61_0018a3d5f851["error()"]
  35786dbf_245c_1618_e006_4cf71f59bd93 -->|calls| 1ee162b1_d232_4846_ef61_0018a3d5f851
  style 35786dbf_245c_1618_e006_4cf71f59bd93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/docs/Reference.generated.script.ts lines 345–359

async function run() {
  try {
    await mkdir(GENERATED_DIRECTORY, { recursive: true })

    await Promise.all([
      writeTypes(),
      writeSdkReferenceSections(),
      writeCliReferenceSections(),
      writeApiReferenceSections(),
      writeSelfHostingReferenceSections(),
    ])
  } catch (err) {
    console.error(err)
  }
}

Subdomains

Frequently Asked Questions

What does run() do?
run() is a function in the supabase codebase.
What does run() call?
run() calls 6 function(s): error, writeApiReferenceSections, writeCliReferenceSections, writeSdkReferenceSections, writeSelfHostingReferenceSections, writeTypes.

Analyze Your Own Codebase

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

Try Supermodel Free