GeneratorParamDef interface exported

Last updated: 2026-03-03T19:04:25.123Z

Metrics

LOC: 13 Complexity: 1 Params: 0

Signature

interface GeneratorParamDef

Source Code

export interface GeneratorParamDef {
  readonly key: keyof GeneratorParams;
  readonly type: "number" | "boolean" | "select" | "text";
  readonly labelKey: string;
  readonly defaultValue: number | boolean | string;
  readonly min?: number;
  readonly max?: number;
  readonly step?: number;
  /** Placeholder text shown in text inputs. */
  readonly placeholder?: string;
  /** Available options when type is "select". */
  readonly selectOptions?: readonly SelectOption[];
}

No outgoing dependencies.

Impact (Incoming)

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