getPrompts() — supabase Function Reference
Architecture documentation for the getPrompts() function in layout.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD a2819110_9476_4853_c685_22bc4c7469ba["getPrompts()"] 13e00982_20f4_fa81_5a2d_1cbc450cedda["GettingStartedLayout()"] 13e00982_20f4_fa81_5a2d_1cbc450cedda -->|calls| a2819110_9476_4853_c685_22bc4c7469ba style a2819110_9476_4853_c685_22bc4c7469ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/app/guides/getting-started/layout.tsx lines 11–20
async function getPrompts() {
const prompts = await getAiPrompts()
return prompts.map(
(prompt) =>
({
name: prompt.heading,
url: `/guides/getting-started/ai-prompts/${prompt.filename}`,
}) as Partial<NavMenuSection>
)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getPrompts() do?
getPrompts() is a function in the supabase codebase.
What calls getPrompts()?
getPrompts() is called by 1 function(s): GettingStartedLayout.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free