forked from hazza/dspace-angular
Make the size of a browse result page configurable.
This commit is contained in:
@@ -1,21 +1,30 @@
|
||||
import { Config } from './config.interface';
|
||||
|
||||
/**
|
||||
* Config that determines how the dropdown list of years are created for browse-by-date components
|
||||
* 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)
|
||||
* 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)
|
||||
* 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
|
||||
* The absolute lowest year to display in the dropdown when no lowest date can
|
||||
* be found for all items.
|
||||
*/
|
||||
defaultLowerLimit: number;
|
||||
|
||||
/**
|
||||
* Number of entries in the viewport of a paginated browse-by list.
|
||||
*/
|
||||
pageSize: number;
|
||||
}
|
||||
|
Reference in New Issue
Block a user