LinearGraphQL
Defined in: graphql/graphql.ts:5
Sends one GraphQL document to Linear and returns its data.
Methods
Section titled “Methods”query()
Section titled “query()”query<
T>(document,variables?):Promise<T>
Defined in: graphql/graphql.ts:7
Runs a query or mutation; a response with errors throws a ProviderApiError.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”document
Section titled “document”string
variables?
Section titled “variables?”Record<string, unknown>
Returns
Section titled “Returns”Promise<T>