Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocalState<TCacheShape>

Type parameters

  • TCacheShape

Hierarchy

  • LocalState

Index

Constructors

  • Type parameters

    • TCacheShape

    Parameters

    Returns LocalState<TCacheShape>

Methods

  • Parameters

    Returns Promise<{}>

  • Parameters

    Returns void

  • Returns FragmentMatcher

  • Returns Resolvers

  • prepareContext(context?: {}): { cache: ApolloCache<TCacheShape>; getCacheKey: any }
  • Parameters

    • Optional context: {}

      Returns { cache: ApolloCache<TCacheShape>; getCacheKey: any }

      • cache: ApolloCache<TCacheShape>
      • getCacheKey:function
        • getCacheKey(obj: { __typename: string; id: string | number }): any
        • Parameters

          • obj: { __typename: string; id: string | number }
            • __typename: string
            • id: string | number

          Returns any

    • Type parameters

      • TData

      Parameters

      Returns Promise<ExecutionResult<TData>>

    • Parameters

      Returns void

    • Parameters

      Returns void

    • shouldForceResolvers(document: ASTNode): boolean
    • Parameters

      Returns boolean

    Generated using TypeDoc