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)

graph LR getGeneratorParamDefs["getGeneratorParamDefs"] loadRules["loadRules"] handleRuleButtonClick["handleRuleButtonClick"] GeneratorOption["GeneratorOption"] loadRules -->|uses| getGeneratorParamDefs handleRuleButtonClick -->|uses| getGeneratorParamDefs GeneratorOption -->|uses| getGeneratorParamDefs style getGeneratorParamDefs fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getGeneratorParamDefs "5f7cd051f625c3b9.html" click loadRules "9993895f2b3163a1.html" click handleRuleButtonClick "302ac6e6209ebb8e.html" click GeneratorOption "46d00f7f04960150.html"
SourceType
loadRules uses
handleRuleButtonClick uses
GeneratorOption uses