Skip to content

LinearGraphQLConfig

Defined in: graphql/graphql.ts:11

Options of createLinearGraphQL.

optional baseUrl?: string

Defined in: graphql/graphql.ts:15

Defaults to https://api.linear.app; /graphql is appended.


optional errors?: ErrorSink

Defined in: graphql/graphql.ts:21

Reports transport failures and unexpected 5xx.


optional fetch?: (input, init?) => Promise<Response>

Defined in: graphql/graphql.ts:17

Overrides fetch, for tests.

string | URL | Request

RequestInit

Promise<Response>


optional logger?: Logger

Defined in: graphql/graphql.ts:19

Structured logger for request diagnostics.


token: string

Defined in: graphql/graphql.ts:13

A personal API key (lin_api_..., sent as is) or an OAuth access token (lin_oauth_..., sent as a bearer).