Skip to content

Documentation


Documentation / @blizzard-api/wow-forever / <internal> / ProtectedResource

Type Alias: ProtectedResource<Response, SearchOptions> ​

ProtectedResource<Response, SearchOptions> = Resource<Response, SearchOptions, true>

Defined in: core/src/resource.ts:18

Represents a resource that requires a user token, either on the resource or on the client

Type Parameters ​

Response ​

Response

The response type of the resource

SearchOptions ​

SearchOptions extends object = Record<string, never>

The search options that can be passed to the resource