Sanity Library Reference Docs
    Preparing search index...

    Interface CustomValidator<T>

    interface CustomValidator<T = unknown> {
        bypassConcurrencyLimit?: boolean;
        (
            value: T,
            context: ValidationContext,
        ): CustomValidatorResult | Promise<CustomValidatorResult>;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    bypassConcurrencyLimit?: boolean