Skip to content
module@warp-drive/core/types/params

Type Alias QueryParamsSource ​

ts
type QueryParamsSource = 
  | object & Record<Exclude<string, "include">, Serializable>
  | URLSearchParams;

Defined in: warp-drive-packages/core/src/types/params.ts:38

The query parameters to serialize for a request: either a dictionary of Serializable values (with an optional include member for specifying relationships to sideload), or a native URLSearchParams instance.

Released under the MIT License.