DaffCollectionRequestQueryParams
An object containing a mapping of a DaffCollectionRequest
field to a query param name.
Setting a value for one of these fields will cause a resolver that operates on a product collection
to include the value of that specified query param after transforming it according to DaffCollectionRequestQueryParamTransforms
.
Omitting a value for a field will disable using a query param for the request value.
import { DaffCollectionRequestQueryParams } from '@daffodil/product/routing'
type DaffCollectionRequestQueryParams = Partial<Record<keyof DaffCollectionRequest, string>>
Type | Options |
---|---|
DaffCollectionRequestQueryParams | Partial |