conflict-aware-mutation - v0.2.2
    Preparing search index...

    Type Alias CustomRule

    type CustomRule = {
        check: (state: JsonValue) => true | string;
        id: string;
        paths: readonly PathPattern[];
    }
    Index
    check: (state: JsonValue) => true | string

    Pure and synchronous: return true, or a message describing the violation.

    id: string
    paths: readonly PathPattern[]

    Paths the check reads; they scope rule conflicts and blame.