Home / Function/ getCustomContent() — supabase Function Reference

getCustomContent() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  69ce9cdf_2251_a961_e540_8a99edaead0b["getCustomContent()"]
  b88185d2_bcae_7d05_f95b_32ea55379f98["HomePageCover()"]
  b88185d2_bcae_7d05_f95b_32ea55379f98 -->|calls| 69ce9cdf_2251_a961_e540_8a99edaead0b
  5103769e_a359_4904_583e_ec6db0e06f72["GlobalMobileMenu()"]
  5103769e_a359_4904_583e_ec6db0e06f72 -->|calls| 69ce9cdf_2251_a961_e540_8a99edaead0b
  6c7e082c_60da_ed40_b064_a66d9152b030["HeaderLogo()"]
  6c7e082c_60da_ed40_b064_a66d9152b030 -->|calls| 69ce9cdf_2251_a961_e540_8a99edaead0b
  3c8f1429_f169_6ae4_6e56_9588b43f2a74["CliGlobalFlagsHandler()"]
  3c8f1429_f169_6ae4_6e56_9588b43f2a74 -->|calls| 69ce9cdf_2251_a961_e540_8a99edaead0b
  4f351dec_7115_dee5_7274_ac4c8f41ac8b["contentToCamelCase()"]
  69ce9cdf_2251_a961_e540_8a99edaead0b -->|calls| 4f351dec_7115_dee5_7274_ac4c8f41ac8b
  style 69ce9cdf_2251_a961_e540_8a99edaead0b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/lib/custom-content/getCustomContent.ts lines 29–35

export const getCustomContent = <T extends CustomContent[]>(
  contents: T
): CustomContentResult<T> => {
  return Object.fromEntries(
    contents.map((content) => [contentToCamelCase(content), customContentStaticObj[content]])
  ) as CustomContentResult<T>
}

Subdomains

Frequently Asked Questions

What does getCustomContent() do?
getCustomContent() is a function in the supabase codebase.
What does getCustomContent() call?
getCustomContent() calls 1 function(s): contentToCamelCase.
What calls getCustomContent()?
getCustomContent() is called by 4 function(s): CliGlobalFlagsHandler, GlobalMobileMenu, HeaderLogo, HomePageCover.

Analyze Your Own Codebase

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

Try Supermodel Free