mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
27 lines
747 B
TypeScript
27 lines
747 B
TypeScript
import { Config } from './config.interface';
|
|
|
|
/**
|
|
* Config that determines how the dropdown list of years are created for browse-by-date components
|
|
*/
|
|
export interface BrowseByConfig extends Config {
|
|
/**
|
|
* The max amount of years to display using jumps of one year (current year - oneYearLimit)
|
|
*/
|
|
oneYearLimit: number;
|
|
|
|
/**
|
|
* Limit for years to display using jumps of five years (current year - fiveYearLimit)
|
|
*/
|
|
fiveYearLimit: number;
|
|
|
|
/**
|
|
* The absolute lowest year to display in the dropdown when no lowest date can be found for all items
|
|
*/
|
|
defaultLowerLimit: number;
|
|
|
|
/**
|
|
* If true, thumbnail images for items will be added to BOTH search and browse result lists.
|
|
*/
|
|
showItemThumbnails: boolean;
|
|
}
|