Interface QueryState<TData, TError>

interface QueryState {
    data: undefined | TData;
    dataUpdateCount: number;
    dataUpdatedAt: number;
    error: null | TError;
    errorUpdateCount: number;
    errorUpdatedAt: number;
    fetchFailureCount: number;
    fetchFailureReason: null | TError;
    fetchMeta: any;
    fetchStatus: FetchStatus;
    isInvalidated: boolean;
    status: QueryStatus;
}

Type Parameters

  • TData = unknown

  • TError = unknown

Properties

data: undefined | TData
dataUpdateCount: number
dataUpdatedAt: number
error: null | TError
errorUpdateCount: number
errorUpdatedAt: number
fetchFailureCount: number
fetchFailureReason: null | TError
fetchMeta: any
fetchStatus: FetchStatus
isInvalidated: boolean
status: QueryStatus

Generated using TypeDoc