Type Alias ConfigsValidationResult

ConfigsValidationResult: {
    errors?: Record<string, string[]>;
    valid: boolean;
    warnings?: Record<string, string[]>;
}

Type declaration

  • Optionalerrors?: Record<string, string[]>

    Errors of invalid configs.

    Keys are group / question / choice ids, values are error messages.

    If key is an empty string, that means the error is related to the form itself.

  • valid: boolean

    Whether or not the configs is valid.

  • Optionalwarnings?: Record<string, string[]>

    Warnings. This does not affect valid status.

    Keys are group / question / choice ids, values are warning messages.

    If key is an empty string, that means the warning is related to the form itself.