nspek_control_config module

build_field_to_controls(rules)

Lager mapping fra felt → kontrollid automatisk fra CONTROL_RULES.

Return type:

dict[str, list[str]]

Parameters:

rules (list[dict])

get_controls_for_field(field)
Return type:

list[str]

Parameters:

field (str)

get_rule_by_id(kontrollid)
Return type:

dict | None

Parameters:

kontrollid (str)