mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
24 lines
608 B
TypeScript
24 lines
608 B
TypeScript
import { Config } from './config.interface';
|
|
import { BrowseByType } from '../app/browse-by/browse-by-switcher/browse-by-decorator';
|
|
|
|
/**
|
|
* Config used for rendering Browse-By pages and links
|
|
*/
|
|
export interface BrowseByTypeConfig extends Config {
|
|
/**
|
|
* The browse id used for fetching browse data from the rest api
|
|
* e.g. author
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* The type of Browse-By page to render
|
|
*/
|
|
type: BrowseByType | string;
|
|
|
|
/**
|
|
* The metadata field to use for rendering starts-with options (only necessary when type is set to BrowseByType.Date)
|
|
*/
|
|
metadataField?: string;
|
|
}
|