DaffInMemoryBackendCategoryService

An in-memory service that mocks out the backend services for getting categories. See the angular in memory documentation for more details.

Properties

Name Type Description
_root DaffCategory
_categories DaffCategory[]
_categoryPageMetadata DaffCategoryPageMetadata
rootCategory DaffCategory
categories DaffCategory[] The collection of categories in the backend.
categoryPageMetadata DaffCategoryPageMetadata The metadata associated with the current page.
get Get a category.
getTotalPages
trimProductIdsToSinglePage
generatePageSize
getCurrentPageParam
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.