@willwade/aac-processors
    Preparing search index...

    Interface ValidationRule

    Custom validation rule that can be added

    interface ValidationRule {
        check: (data: any) => boolean | Promise<boolean>;
        description: string;
        errorMessage?: string;
        type: string;
    }
    Index

    Properties

    check: (data: any) => boolean | Promise<boolean>
    description: string
    errorMessage?: string
    type: string