AbstractConstructs a new BaseOperation instance.
OptionalauthToken: RequestAuthInput
The authentication material used for API requests. A string is treated as a bearer token for backwards compatibility.
Optionaloptions: RequestOptions
Transport settings scoped to this instance (timeout, cancellation, retry policy, lifecycle hooks).
OptionalstateOwner: object
Stable object keying cross-request transport state (circuit breaker, retry budget, pacing deadlines). Provider wirings pass one shared owner to every operation they construct so that state spans the whole client; when omitted, a fresh per-instance object is used and the state stays scoped to this operation.
AniListOperationis the GraphQL protocol layer for the AniList provider: the shared validate-then-dispatch pipeline plus the pinned AniList endpoint in one module.It extends the provider-agnostic BaseOperation with what GraphQL adds on top of plain HTTP: JSON-encoded
{ query, variables }bodies, validate-then-dispatch ordering for operation variables, and envelope unwrapping. Concrete AniList operations extend this class and only declare their variables interface, GraphQL document, and a thin method.See
https://docs.anilist.co/reference/query