Home / Function/ ProjectConfigVariablesInternal() — supabase Function Reference

ProjectConfigVariablesInternal() — supabase Function Reference

Architecture documentation for the ProjectConfigVariablesInternal() function in ProjectConfigVariables.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  08f7c38c_8226_671b_6486_442d9a88891a["ProjectConfigVariablesInternal()"]
  7adcb7b1_4d74_cd11_f824_1b19f1104b6b["useOnLogout()"]
  08f7c38c_8226_671b_6486_442d9a88891a -->|calls| 7adcb7b1_4d74_cd11_f824_1b19f1104b6b
  style 08f7c38c_8226_671b_6486_442d9a88891a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx lines 458–473

function ProjectConfigVariablesInternal({ variable }: { variable: Variable }) {
  const { clear: clearSharedStoreData } = useSnapshot(projectsStore)
  useOnLogout(clearSharedStoreData)

  return (
    <div className="max-w-[min(100%, 500px)] my-6">
      <h6 className={cn('mt-0 mb-1', 'text-foreground')}>{prettyFormatVariable[variable]}</h6>
      <div className="flex flex-wrap gap-x-6">
        <OrgProjectSelector />
        <BranchSelector />
      </div>
      <VariableView variable={variable} className="mt-1" />
      <LoginHint variable={variable} />
    </div>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free