CRUDUI

Home > @polyspec/crudui-generator-core > ConditionEditorModel

ConditionEditorModel type

The editor of a value that it shows (CUMK-067) or the named error of a value that it does not show (CUMK-068).

Signature:

export type ConditionEditorModel = {
    for: string;
    judge: boolean;
    fields: string[] | null;
    labels: ConditionLabels;
    root: ConditionNode;
} | {
    for: string;
    error: string;
};

References: ConditionLabels, ConditionNode