An in-memory service that mocks out the backend services for getting categories. See the angular in memory documentation for more details.
Name | Type | Description |
---|---|---|
collectionName | DAFF_CATEGORY_IN_MEMORY_COLLECTION_NAME | |
_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 |