Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutationOptions<Q>

Options to be passed to GraphClient.mutate. Note: either mutation, name or path needs to be provided.

Type parameters

  • Q

Hierarchy

  • MutationOptions

Index

Properties

Optional mutation

mutation: string

Optional GraphQL mutation string

Optional name

name: string

Optional name of the mutation operation in a '.graphql' file located in 'graphql/mutation'. The file system will be searched upwards for a 'graphql' folder; starting in the directory of the currently executing script.

Optional options

options: any

Optional options passed to the underlying implementation

Optional path

path: string

Optional absolute or relative path to the '.graphql' query file. Relative paths will get resolved against the path of the calling script.

Optional variables

variables: Q

Optional variables passed to the GraphQL mutation

Generated using TypeDoc