GitHub

DaffGetCategoryResponse

import { DaffGetCategoryResponse } from '@daffodil/category'

The response to a call to the DaffCategoryServiceInterface.

interface DaffGetCategoryResponse<V extends DaffGenericCategory<V> = DaffCategory, W extends DaffProduct = DaffProduct> {
  products: W[]
  category: V
  categoryPageMetadata: DaffCategoryPageMetadata
}

Properties

products
W[]

The list of products that belong to the requested category.

category
V

The requested category.

categoryPageMetadata
DaffCategoryPageMetadata

The properties of the requested category page.