CRUDUI

Home > @polyspec/crudui-validator > LangOverride

LangOverride interface

Per-language override map (one of the two lang.only shapes, SPEC §3 C): { ja: { validate: … }, en: { validate: … } }. The key is a language code, the value is the role-slot override (validate/design/behavior/options) applied to that language's input only. Distinct from the allowlist string[]: the allowlist restricts which languages render, the override map redefines slots per language.

Signature:

export interface LangOverride 

Properties

Property

Modifiers

Type

Description

behavior?

Slot<BehaviorSlot>

(Optional) Event scripts for this language input.

design?

Slot<DesignSlot>

(Optional) Appearance settings for this language input.

options?

Slot<OptionsSlot>

(Optional) Widget options for this language input.

validate?

Slot<ValidateSlot>

(Optional) Validation rules for this language input.