c

apollo_client

ApolloClient

class ApolloClient extends Object with DataProxy

Annotations
@JSType() @native() @JSImport("apollo-client", "ApolloClient")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApolloClient
  2. DataProxy
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ApolloClient(options: UndefOr[ApolloClientOptions] = js.undefined)

Value Members

  1. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  2. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  3. def mutate[T, TVars <: Object](options: MutationOptions[T, TVars]): Promise[FetchResult[T]]
  4. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  5. def query[T, TVars <: Object](options: QueryOptions[TVars]): Promise[ApolloQueryResult[T]]
  6. def readFragment[TVars <: Object, FragmentType <: Object](options: Fragment[TVars], optimistic: UndefOr[Boolean] = js.undefined): |[FragmentType, Null]
    Definition Classes
    ApolloClientDataProxy
  7. def readQuery[QueryType <: Object, TVars <: Object](options: Query[TVars], optimistic: UndefOr[Boolean] = js.undefined): |[QueryType, Null]
    Definition Classes
    ApolloClientDataProxy
  8. def stop(): Unit
  9. def toLocaleString(): String
    Definition Classes
    Object
  10. def valueOf(): Any
    Definition Classes
    Object
  11. def writeData[T](options: WriteDataOptions[T]): Unit
    Definition Classes
    ApolloClientDataProxy
  12. def writeFragment[T, TVars <: Object](options: WriteFragmentOptions[T, TVars]): Unit
    Definition Classes
    ApolloClientDataProxy
  13. def writeQuery[T, TVars <: Object](options: WriteQueryOptions[T, TVars]): Unit
    Definition Classes
    ApolloClientDataProxy