Interface Rule

interface Rule {
    hint: string;
    id: string;
    text: string;
    translations: Record<string, { hint: string; text: string }>;
}

Properties

hint: string

Longer-form description of the rule.

id: string

An identifier for the rule.

text: string

The rule to be followed.

translations: Record<string, { hint: string; text: string }>

Available translations for this rule’s text and hint, as a Hash where keys are locale codes and values are hashes with text and hint keys.