GitHub

DaffGetCategoryResponse

The response to a call to the DaffCategoryServiceInterface.

import { DaffGetCategoryResponse } from '@daffodil/category'
interface DaffGetCategoryResponse<V extends DaffGenericCategory<V> = DaffCategory, W extends DaffProduct = DaffProduct> {
  products: W[]
  category: V
  categoryPageMetadata: DaffCategoryPageMetadata
}

Properties

Name Type Description
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.