interface MutationFilters {
    exact?: boolean;
    fetching?: boolean;
    mutationKey?: MutationKey;
    predicate?: ((mutation) => boolean);
}

Properties

exact?: boolean

Match mutation key exactly

fetching?: boolean

Include or exclude fetching mutations

mutationKey?: MutationKey

Include mutations matching this mutation key

predicate?: ((mutation) => boolean)

Type declaration

    • (mutation): boolean
    • Include mutations matching this predicate function

      Parameters

      • mutation: Mutation<any, any, any, unknown>

      Returns boolean

Generated using TypeDoc