IAutomationsDateFilterConfig
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Date filter configuration provided by the dashboard connector so that AutomationDateFilter does not need to read dashboard selectors directly.
export interface IAutomationsDateFilterConfig
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(BETA) Granularities from the dashboard’s effective (resolved) date-filter configuration; the fallback when no tab-scoped value is available. | |||
(BETA) Date-filter options (presets) from the dashboard’s effective (resolved) date-filter configuration; the fallback when no tab-scoped value is available. | |||
(tabId: string) => DateFilterGranularity[] | (BETA) Granularities from the given dashboard tab’s effective (resolved) date-filter configuration — inherited settings included, not only tab-specific overrides. Empty when the tab has no effective configuration, in which case the caller falls back to IAutomationsDateFilterConfig.availableGranularities. | ||
(tabId: string) => IDateFilterOptionsByType | undefined | (BETA) Date-filter options from the given dashboard tab’s effective (resolved) date-filter configuration — inherited settings included, not only tab-specific overrides. Undefined when the tab has no effective configuration, in which case the caller falls back to IAutomationsDateFilterConfig.dateFilterOptions. |
Property details
IAutomationsDateFilterConfig.availableGranularitiespropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Granularities from the dashboard’s effective (resolved) date-filter configuration; the fallback when no tab-scoped value is available.
availableGranularities: DateFilterGranularity[];
IAutomationsDateFilterConfig.dateFilterOptionspropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Date-filter options (presets) from the dashboard’s effective (resolved) date-filter configuration; the fallback when no tab-scoped value is available.
dateFilterOptions: IDateFilterOptionsByType;
IAutomationsDateFilterConfig.getGranularitiesForTabpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Granularities from the given dashboard tab’s effective (resolved) date-filter configuration — inherited settings included, not only tab-specific overrides. Empty when the tab has no effective configuration, in which case the caller falls back to IAutomationsDateFilterConfig.availableGranularities.
getGranularitiesForTab: (tabId: string) => DateFilterGranularity[];
IAutomationsDateFilterConfig.getOptionsForTabpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Date-filter options from the given dashboard tab’s effective (resolved) date-filter configuration — inherited settings included, not only tab-specific overrides. Undefined when the tab has no effective configuration, in which case the caller falls back to IAutomationsDateFilterConfig.dateFilterOptions.
getOptionsForTab: (tabId: string) => IDateFilterOptionsByType | undefined;