kibana/api_docs/kbn_ml_date_picker.devdocs.json

1229 lines
No EOL
44 KiB
JSON

{
"id": "@kbn/ml-date-picker",
"client": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerContextProvider",
"type": "Function",
"tags": [
"type"
],
"label": "DatePickerContextProvider",
"description": [
"\nReact Component that acts as a wrapper for DatePickerContext.\n"
],
"signature": [
"(props: React.PropsWithChildren<",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.DatePickerDependencies",
"text": "DatePickerDependencies"
},
">) => React.JSX.Element"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerContextProvider.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"- The component props"
],
"signature": [
"React.PropsWithChildren<",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.DatePickerDependencies",
"text": "DatePickerDependencies"
},
">"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The DatePickerContextProvider component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerWrapper",
"type": "Function",
"tags": [
"type"
],
"label": "DatePickerWrapper",
"description": [
"\nDatePickerWrapper React Component\n"
],
"signature": [
"(props: DatePickerWrapperProps) => React.JSX.Element | null"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerWrapper.$1",
"type": "Object",
"tags": [],
"label": "props",
"description": [
"- `DatePickerWrapper` component props"
],
"signature": [
"DatePickerWrapperProps"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The DatePickerWrapper component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelector",
"type": "Function",
"tags": [
"type"
],
"label": "FullTimeRangeSelector",
"description": [
"\nComponent for rendering a button which automatically sets the range of the time filter\nto the time range of data in the index(es) mapped to the supplied Kibana data view or query.\n"
],
"signature": [
"(props: ",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.FullTimeRangeSelectorProps",
"text": "FullTimeRangeSelectorProps"
},
") => React.JSX.Element"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelector.$1",
"type": "Object",
"tags": [],
"label": "props",
"description": [
"- `FullTimeRangeSelectorProps` component props"
],
"signature": [
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.FullTimeRangeSelectorProps",
"text": "FullTimeRangeSelectorProps"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The FullTimeRangeSelector component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.getTimeFieldRange",
"type": "Function",
"tags": [],
"label": "getTimeFieldRange",
"description": [
"\n"
],
"signature": [
"(options: GetTimeFieldRangeOptions) => Promise<",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.GetTimeFieldRangeResponse",
"text": "GetTimeFieldRangeResponse"
},
">"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.getTimeFieldRange.$1",
"type": "Object",
"tags": [],
"label": "options",
"description": [
"- GetTimeFieldRangeOptions"
],
"signature": [
"GetTimeFieldRangeOptions"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"GetTimeFieldRangeResponse"
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.getTimeFilterRange",
"type": "Function",
"tags": [],
"label": "getTimeFilterRange",
"description": [
"\nFunction to get the time filter range as timestamps.\n"
],
"signature": [
"(timefilter: ",
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataQueryPluginApi",
"section": "def-public.TimefilterContract",
"text": "TimefilterContract"
},
") => ",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.TimeRange",
"text": "TimeRange"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.getTimeFilterRange.$1",
"type": "Object",
"tags": [],
"label": "timefilter",
"description": [
"- The timefilter"
],
"signature": [
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataQueryPluginApi",
"section": "def-public.TimefilterContract",
"text": "TimefilterContract"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"TimeRange"
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useRefresh",
"type": "Function",
"tags": [],
"label": "useRefresh",
"description": [
"\nProvides the latest refresh, both manual or auto."
],
"signature": [
"() => ",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.Refresh",
"text": "Refresh"
},
" | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useRefreshIntervalUpdates",
"type": "Function",
"tags": [],
"label": "useRefreshIntervalUpdates",
"description": [
"\nCustom hook to return refresh interval updates from the `refreshIntervalObservable$` observable.\n"
],
"signature": [
"() => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
"returnComment": [
"refresh interval update"
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useTimefilter",
"type": "Function",
"tags": [],
"label": "useTimefilter",
"description": [
"\nCustom hook to get the timefilter from runtime dependencies.\n"
],
"signature": [
"(options?: UseTimefilterOptions) => ",
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataQueryPluginApi",
"section": "def-public.TimefilterContract",
"text": "TimefilterContract"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useTimefilter.$1",
"type": "Object",
"tags": [],
"label": "options",
"description": [
"- time filter options"
],
"signature": [
"UseTimefilterOptions"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"timefilter"
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useTimeRangeUpdates",
"type": "Function",
"tags": [],
"label": "useTimeRangeUpdates",
"description": [
"\nCustom hook to return time range updates from the `timeChangeObservable$` observable.\n"
],
"signature": [
"(absolute?: boolean) => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.useTimeRangeUpdates.$1",
"type": "boolean",
"tags": [],
"label": "absolute",
"description": [
"- flag to enforce absolute times"
],
"signature": [
"boolean"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"time range update"
],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies",
"type": "Interface",
"tags": [],
"label": "DatePickerDependencies",
"description": [
"\nDate Picker Dependencies to be passed on via `DatePickerContextProvider`."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.data",
"type": "Object",
"tags": [],
"label": "data",
"description": [
"\ndata plugin"
],
"signature": [
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataPluginApi",
"section": "def-public.DataPublicPluginStart",
"text": "DataPublicPluginStart"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.http",
"type": "Object",
"tags": [],
"label": "http",
"description": [
"\nhttp service"
],
"signature": [
"HttpSetup"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.notifications",
"type": "Object",
"tags": [],
"label": "notifications",
"description": [
"\nnotifications service"
],
"signature": [
"NotificationsSetup"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.userProfile",
"type": "Object",
"tags": [],
"label": "userProfile",
"description": [
"\nKibana Security User Profile Service"
],
"signature": [
"UserProfileService"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.theme",
"type": "Object",
"tags": [],
"label": "theme",
"description": [
"\nEUI theme"
],
"signature": [
"ThemeServiceSetup"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.uiSettings",
"type": "Object",
"tags": [],
"label": "uiSettings",
"description": [
"\nKibana UI advanced settings"
],
"signature": [
"IUiSettingsClient"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.uiSettingsKeys",
"type": "Object",
"tags": [],
"label": "uiSettingsKeys",
"description": [
"\nKibana UI advanced settings keys."
],
"signature": [
"{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; readonly DATE_FORMAT: \"dateFormat\"; readonly DATEFORMAT_TZ: \"dateFormat:tz\"; }"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.i18n",
"type": "Object",
"tags": [],
"label": "i18n",
"description": [
"\nInternationalisation service"
],
"signature": [
"I18nStart"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.DatePickerDependencies.showFrozenDataTierChoice",
"type": "CompoundType",
"tags": [],
"label": "showFrozenDataTierChoice",
"description": [
"\nOptional flag to disable the frozen data tier choice."
],
"signature": [
"boolean | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps",
"type": "Interface",
"tags": [],
"label": "FullTimeRangeSelectorProps",
"description": [
"\nFullTimeRangeSelectorProps React Component props interface"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.frozenDataPreference",
"type": "CompoundType",
"tags": [],
"label": "frozenDataPreference",
"description": [
"\nFrozen data preference ('exclude-frozen' | 'include-frozen')"
],
"signature": [
"\"exclude-frozen\" | \"include-frozen\""
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.setFrozenDataPreference",
"type": "Function",
"tags": [],
"label": "setFrozenDataPreference",
"description": [
"\nCallback to set frozen data preference."
],
"signature": [
"(value: ",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.FrozenTierPreference",
"text": "FrozenTierPreference"
},
" | undefined) => void"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.setFrozenDataPreference.$1",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [
"- The updated frozen data preference."
],
"signature": [
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.FrozenTierPreference",
"text": "FrozenTierPreference"
},
" | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.timefilter",
"type": "Object",
"tags": [],
"label": "timefilter",
"description": [
"\ntimefilter service."
],
"signature": [
"{ readonly useTimefilter: () => ",
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataQueryPluginApi",
"section": "def-public.TimefilterHook",
"text": "TimefilterHook"
},
"; isTimeRangeSelectorEnabled: () => boolean; isAutoRefreshSelectorEnabled: () => boolean; isTimeTouched: () => boolean; isRefreshIntervalTouched: () => boolean; getEnabledUpdated$: () => ",
"Observable",
"<boolean>; getTimeUpdate$: () => ",
"Observable",
"<void>; getRefreshIntervalUpdate$: () => ",
"Observable",
"<void>; getAutoRefreshFetch$: () => ",
"Observable",
"<",
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataQueryPluginApi",
"section": "def-public.AutoRefreshDoneFn",
"text": "AutoRefreshDoneFn"
},
">; getFetch$: () => ",
"Observable",
"<void>; getTime: () => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
"; getAbsoluteTime: () => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
"; setTime: (time: ",
"InputTimeRange",
") => void; getRefreshInterval: () => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
"; getMinRefreshInterval: () => number; setRefreshInterval: (refreshInterval: Partial<",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
">) => void; createFilter: (indexPattern: ",
{
"pluginId": "dataViews",
"scope": "common",
"docId": "kibDataViewsPluginApi",
"section": "def-common.DataView",
"text": "DataView"
},
", timeRange?: ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined) => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.RangeFilter",
"text": "RangeFilter"
},
" | ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.ScriptedRangeFilter",
"text": "ScriptedRangeFilter"
},
" | ",
"MatchAllRangeFilter",
" | undefined; createRelativeFilter: (indexPattern: ",
{
"pluginId": "dataViews",
"scope": "common",
"docId": "kibDataViewsPluginApi",
"section": "def-common.DataView",
"text": "DataView"
},
", timeRange?: ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
" | undefined) => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.RangeFilter",
"text": "RangeFilter"
},
" | ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.ScriptedRangeFilter",
"text": "ScriptedRangeFilter"
},
" | ",
"MatchAllRangeFilter",
" | undefined; getBounds: () => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.TimeRangeBounds",
"text": "TimeRangeBounds"
},
"; calculateBounds: (timeRange: ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
") => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.TimeRangeBounds",
"text": "TimeRangeBounds"
},
"; getActiveBounds: () => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.TimeRangeBounds",
"text": "TimeRangeBounds"
},
" | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ",
{
"pluginId": "@kbn/es-query",
"scope": "common",
"docId": "kibKbnEsQueryPluginApi",
"section": "def-common.TimeRange",
"text": "TimeRange"
},
"; getRefreshIntervalDefaults: () => ",
{
"pluginId": "data",
"scope": "common",
"docId": "kibDataQueryPluginApi",
"section": "def-common.RefreshInterval",
"text": "RefreshInterval"
},
"; }"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.dataView",
"type": "Object",
"tags": [],
"label": "dataView",
"description": [
"\nCurrent data view."
],
"signature": [
{
"pluginId": "dataViews",
"scope": "common",
"docId": "kibDataViewsPluginApi",
"section": "def-common.DataView",
"text": "DataView"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.disabled",
"type": "boolean",
"tags": [],
"label": "disabled",
"description": [
"\nBoolean flag to enable/disable the full time range button."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.query",
"type": "Object",
"tags": [],
"label": "query",
"description": [
"\nOptional DSL query."
],
"signature": [
"QueryDslQueryContainer",
" | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.callback",
"type": "Function",
"tags": [],
"label": "callback",
"description": [
"\nOptional callback."
],
"signature": [
"((value: ",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.GetTimeFieldRangeResponse",
"text": "GetTimeFieldRangeResponse"
},
") => void) | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.callback.$1",
"type": "Object",
"tags": [],
"label": "value",
"description": [
"- The time field range response."
],
"signature": [
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.GetTimeFieldRangeResponse",
"text": "GetTimeFieldRangeResponse"
}
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FullTimeRangeSelectorProps.apiPath",
"type": "CompoundType",
"tags": [],
"label": "apiPath",
"description": [
"\nOptional API path."
],
"signature": [
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.SetFullTimeRangeApiPath",
"text": "SetFullTimeRangeApiPath"
},
" | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.GetTimeFieldRangeResponse",
"type": "Interface",
"tags": [],
"label": "GetTimeFieldRangeResponse",
"description": [
"\nResponse interface for the `setFullTimeRange` function."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.GetTimeFieldRangeResponse.success",
"type": "boolean",
"tags": [],
"label": "success",
"description": [
"\nSuccess boolean flag."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.GetTimeFieldRangeResponse.start",
"type": "Object",
"tags": [],
"label": "start",
"description": [
"\nStart time of the time range."
],
"signature": [
"GetTimeFieldRangeResponseTime"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.GetTimeFieldRangeResponse.end",
"type": "Object",
"tags": [],
"label": "end",
"description": [
"\nEnd time of the time range."
],
"signature": [
"GetTimeFieldRangeResponseTime"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/types.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.Refresh",
"type": "Interface",
"tags": [],
"label": "Refresh",
"description": [
"\nState definition of `mlTimefilterRefresh$` observable."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.Refresh.lastRefresh",
"type": "number",
"tags": [],
"label": "lastRefresh",
"description": [
"\nTimestamp of the last time a refresh got triggered."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.Refresh.timeRange",
"type": "Object",
"tags": [],
"label": "timeRange",
"description": [
"\nThe time range triggered by the refresh."
],
"signature": [
"{ start: string; end: string; } | undefined"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.TimeRange",
"type": "Interface",
"tags": [],
"label": "TimeRange",
"description": [
"\nReturn type for the `getTimeFilterRange` function."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.TimeRange.from",
"type": "number",
"tags": [],
"label": "from",
"description": [
"\nFrom timestamp."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.TimeRange.to",
"type": "number",
"tags": [],
"label": "to",
"description": [
"\nTo timestamp."
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FrozenTierPreference",
"type": "Type",
"tags": [],
"label": "FrozenTierPreference",
"description": [
"\nUnion type of `FROZEN_TIER_PREFERENCE` options."
],
"signature": [
"\"exclude-frozen\" | \"include-frozen\""
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/storage.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.SetFullTimeRangeApiPath",
"type": "Type",
"tags": [],
"label": "SetFullTimeRangeApiPath",
"description": [
"\nAllowed API paths to be passed to `setFullTimeRange`."
],
"signature": [
"\"/internal/file_upload/time_field_range\" | \"/internal/ml/fields_service/time_field_range\""
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
],
"objects": [
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.FROZEN_TIER_PREFERENCE",
"type": "Object",
"tags": [],
"label": "FROZEN_TIER_PREFERENCE",
"description": [
"\nLocal storage options to include/exclude frozen tier."
],
"signature": [
"{ readonly EXCLUDE: \"exclude-frozen\"; readonly INCLUDE: \"include-frozen\"; }"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/storage.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/ml-date-picker",
"id": "def-public.mlTimefilterRefresh$",
"type": "Object",
"tags": [],
"label": "mlTimefilterRefresh$",
"description": [
"\nObservable to hold `Refresh` state."
],
"signature": [
"Subject",
"<",
{
"pluginId": "@kbn/ml-date-picker",
"scope": "public",
"docId": "kibKbnMlDatePickerPluginApi",
"section": "def-public.Refresh",
"text": "Refresh"
},
">"
],
"path": "x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
}
]
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}