LinearClientOptions
Defined in: clients/linear-client/dist/index.d.mts:344
Options of createLinearClient.
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: clients/linear-client/dist/index.d.mts:348
Overrides the API root, for tests. Defaults to https://api.linear.app.
errors?
Section titled “errors?”
optionalerrors?:ErrorSink
Defined in: clients/linear-client/dist/index.d.mts:354
Reports transport failures and unexpected 5xx. Defaults to a no-op.
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: clients/linear-client/dist/index.d.mts:350
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: clients/linear-client/dist/index.d.mts:352
Structured logger for request diagnostics. Defaults to a no-op.
token:
string
Defined in: clients/linear-client/dist/index.d.mts:346
A personal API key (lin_api_...) or an OAuth access token (lin_oauth_...).