gen() — supabase Function Reference
Architecture documentation for the gen() function in config.ts from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD e1dd0227_d94a_32dc_cc60_3188f48c332b["gen()"] e7038c4b_ef92_333a_7e99_a1b9088faabd["gen_v001()"] e1dd0227_d94a_32dc_cc60_3188f48c332b -->|calls| e7038c4b_ef92_333a_7e99_a1b9088faabd style e1dd0227_d94a_32dc_cc60_3188f48c332b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/generator/config.ts lines 14–27
export default async function gen(inputFileName: string, outputDir: string) {
const spec = yaml.load(fs.readFileSync(inputFileName, 'utf8')) as any
// console.log('spec', spec)
switch (spec.configspec) {
case '001':
await gen_v001(spec, outputDir)
break
default:
console.log('Unrecognized specification version:', spec.configspec)
break
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does gen() do?
gen() is a function in the supabase codebase.
What does gen() call?
gen() calls 1 function(s): gen_v001.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free