buildGeneratorSelectEntries function presentation exported
Last updated: 2026-03-04T23:21:38.428Z
Location
Metrics
LOC: 7
Complexity: 1
Params: 0
Signature
buildGeneratorSelectEntries(): : SelectEntry[]
Summary
Builds a SelectEntry[] for the generator select that includes "Automático", "Chrome AI" and "TensorFlow.js" as flat options before the grouped field types.
Source Code
export function buildGeneratorSelectEntries(): SelectEntry[] {
const extras: SelectEntry[] = GENERATOR_EXTRA_OPTIONS.map((o) => ({
value: o.value,
label: o.label,
}));
return [...extras, ...buildFieldTypeSelectEntries()];
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| buildFieldTypeSelectEntries | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| fieldTypeLabel | uses |
| generateId | uses |
| handleRuleButtonClick | uses |
| GeneratorOption | uses |
| FormsTabViewCallbacks | uses |