Home / Function/ toOrgProjectValue() — supabase Function Reference

toOrgProjectValue() — supabase Function Reference

Architecture documentation for the toOrgProjectValue() function in ProjectConfigVariables.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  ee6eb3b0_c971_1fbb_bebb_32c602a24c96["toOrgProjectValue()"]
  379c9577_c27e_ab8c_cd03_c220f0827974["OrgProjectSelector()"]
  379c9577_c27e_ab8c_cd03_c220f0827974 -->|calls| ee6eb3b0_c971_1fbb_bebb_32c602a24c96
  34a5a978_17a6_a0fb_82c6_c46dbefb0d5b["escapeDoubleQuotes()"]
  ee6eb3b0_c971_1fbb_bebb_32c602a24c96 -->|calls| 34a5a978_17a6_a0fb_82c6_c46dbefb0d5b
  bc247c6a_fb26_7351_7345_588be1d77404["removeDoubleQuotes()"]
  ee6eb3b0_c971_1fbb_bebb_32c602a24c96 -->|calls| bc247c6a_fb26_7351_7345_588be1d77404
  7953d7ba_a354_573a_2737_847c49589640["toDisplayNameOrgProject()"]
  ee6eb3b0_c971_1fbb_bebb_32c602a24c96 -->|calls| 7953d7ba_a354_573a_2737_847c49589640
  style ee6eb3b0_c971_1fbb_bebb_32c602a24c96 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.utils.ts lines 48–56

export function toOrgProjectValue(
  org: DeepReadonly<Org>,
  project: DeepReadonly<ProjectInfoInfinite>
) {
  return escapeDoubleQuotes(
    // @ts-ignore -- problem in OpenAPI spec -- project has ref property
    JSON.stringify([org.id, project.ref, removeDoubleQuotes(toDisplayNameOrgProject(org, project))])
  )
}

Subdomains

Frequently Asked Questions

What does toOrgProjectValue() do?
toOrgProjectValue() is a function in the supabase codebase.
What does toOrgProjectValue() call?
toOrgProjectValue() calls 3 function(s): escapeDoubleQuotes, removeDoubleQuotes, toDisplayNameOrgProject.
What calls toOrgProjectValue()?
toOrgProjectValue() is called by 1 function(s): OrgProjectSelector.

Analyze Your Own Codebase

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

Try Supermodel Free