DaffCollectionRequestQueryParamTransform

Transforms for storing and retrieving DaffCollectionRequest values in a route's query params.

Properties

Name Type Description
request (queryParam: string) => T A function that is given the value of a query param and returns the value that will be set to the product collection request.
queryParam (requestValue: T) => string A function that is given the value of a product collection request field and returns the value that will be set to the query params.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.