Interface MutationState<TData, TError, TVariables, TContext>

interface MutationState {
    context: undefined | TContext;
    data: undefined | TData;
    error: null | TError;
    failureCount: number;
    failureReason: null | TError;
    isPaused: boolean;
    status: MutationStatus;
    variables: undefined | TVariables;
}

Type Parameters

  • TData = unknown

  • TError = unknown

  • TVariables = void

  • TContext = unknown

Hierarchy

Properties

context: undefined | TContext
data: undefined | TData
error: null | TError
failureCount: number
failureReason: null | TError
isPaused: boolean
variables: undefined | TVariables

Generated using TypeDoc