mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
import { i18n } from '@kbn/i18n';
|
|
import type { NodeDefinitionWithChildren } from '@kbn/core-chrome-browser';
|
|
import type { DeepLinkId } from '@kbn/deeplinks-analytics';
|
|
|
|
export type NavigationID = 'rootNav:analytics' | 'root';
|
|
|
|
export type AnalyticsNodeDefinition = NodeDefinitionWithChildren<DeepLinkId, NavigationID>;
|
|
|
|
export const defaultNavigation: AnalyticsNodeDefinition = {
|
|
id: 'rootNav:analytics',
|
|
title: i18n.translate('defaultNavigation.analytics.dataExploration', {
|
|
defaultMessage: 'Data exploration',
|
|
}),
|
|
icon: 'stats',
|
|
children: [
|
|
{
|
|
id: 'root',
|
|
children: [
|
|
{
|
|
link: 'discover',
|
|
},
|
|
{
|
|
link: 'dashboards',
|
|
},
|
|
{
|
|
link: 'visualize',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|