generateURL() — supabase Function Reference
Architecture documentation for the generateURL() function in payload.config.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 466ec51b_c26f_5548_0485_024323818d32["generateURL()"] a6675209_e47a_1f7f_804d_c05a892a7d10["getServerSideURL()"] 466ec51b_c26f_5548_0485_024323818d32 -->|calls| a6675209_e47a_1f7f_804d_c05a892a7d10 style 466ec51b_c26f_5548_0485_024323818d32 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/payload.config.ts lines 42–46
const generateURL: GenerateURL<Post> = ({ doc }: any) => {
const url = getServerSideURL()
return doc?.slug ? `${url}/${doc.slug}` : url
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does generateURL() do?
generateURL() is a function in the supabase codebase.
What does generateURL() call?
generateURL() calls 1 function(s): getServerSideURL.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free