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

Properties

exact?: boolean

Match mutation key exactly

mutationKey?: MutationKey

Include mutations matching this mutation key

predicate?: ((mutation) => boolean)

Include mutations matching this predicate function

Type declaration

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

      Parameters

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

      Returns boolean

Filter by mutation status

Generated using TypeDoc