yaschema
    Preparing search index...

    Type Alias ValidationResult

    ValidationResult:
        | { error: string; errorLevel: ValidationErrorLevel; errorPath: string }
        | { error?: undefined; errorLevel?: undefined; errorPath?: undefined }

    If error is undefined, the result is a success. Otherwise, there was a problem.