getGeneratorParamDefs function exported
Last updated: 2026-03-03T19:04:25.123Z
Metrics
LOC: 5
Complexity: 2
Params: 2
Signature
getGeneratorParamDefs(
generatorKey: string,
): : readonly GeneratorParamDef[]
Summary
Returns the parameter definitions for a given generator key. Returns empty array if the generator has no customizable params.
Source Code
export function getGeneratorParamDefs(
generatorKey: string,
): readonly GeneratorParamDef[] {
return GENERATOR_PARAM_DEFS[generatorKey] ?? [];
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| loadRules | uses |
| handleRuleButtonClick | uses |
| GeneratorOption | uses |