mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
Created BrowseByPageComponent that uses the new refactored BrowseBySwitcherComponent extending AbstractComponentLoaderComponent
- Added the context to the rendersBrowseBy decorator - Created AbstractBrowseByTypeComponent that is extended by all the browse type sections
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { autoserialize } from 'cerialize';
|
||||
import { CacheableObject } from '../cache/cacheable-object.model';
|
||||
import { BrowseByDataType } from '../../browse-by/browse-by-switcher/browse-by-decorator';
|
||||
|
||||
/**
|
||||
* Base class for BrowseDefinition models
|
||||
@@ -12,5 +13,5 @@ export abstract class BrowseDefinition extends CacheableObject {
|
||||
/**
|
||||
* Get the render type of the BrowseDefinition model
|
||||
*/
|
||||
abstract getRenderType(): string;
|
||||
abstract getRenderType(): BrowseByDataType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user