From c8275a80add279665e3767f97899ae53a6c8b17d Mon Sep 17 00:00:00 2001 From: Kristof De Langhe Date: Mon, 4 Mar 2019 11:25:24 +0100 Subject: [PATCH] Missing JSDocs --- src/config/browse-by-config.interface.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/config/browse-by-config.interface.ts b/src/config/browse-by-config.interface.ts index 1bc804c3b8..6adba66b92 100644 --- a/src/config/browse-by-config.interface.ts +++ b/src/config/browse-by-config.interface.ts @@ -1,7 +1,21 @@ 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; }