LinearGraphQLConfig
Defined in: graphql/graphql.ts:11
Options of createLinearGraphQL.
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: graphql/graphql.ts:15
Defaults to https://api.linear.app; /graphql is appended.
errors?
Section titled “errors?”
optionalerrors?:ErrorSink
Defined in: graphql/graphql.ts:21
Reports transport failures and unexpected 5xx.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: graphql/graphql.ts:17
Overrides fetch, for tests.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
logger?
Section titled “logger?”
optionallogger?: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).