getGlobal() — supabase Function Reference
Architecture documentation for the getGlobal() function in getGlobals.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 554555f6_2d09_f821_3d1c_c85dd8b596bf["getGlobal()"] 5cd33a97_aa0f_cd73_7508_5592da81c9a5["getCachedGlobal()"] 5cd33a97_aa0f_cd73_7508_5592da81c9a5 -->|calls| 554555f6_2d09_f821_3d1c_c85dd8b596bf style 554555f6_2d09_f821_3d1c_c85dd8b596bf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/utilities/getGlobals.ts lines 10–19
async function getGlobal(slug: Global, depth = 0) {
const payload = await getPayload({ config: configPromise })
const global = await payload.findGlobal({
slug,
depth,
})
return global
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getGlobal() do?
getGlobal() is a function in the supabase codebase.
What calls getGlobal()?
getGlobal() is called by 1 function(s): getCachedGlobal.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free