import { i18n } from '@kbn/i18n' ; import { BehaviorSubject } from 'rxjs' ; import { AppUpdater } from 'src/core/public' ; import { getDeepLinks } from './search_deep_links' ; export function registerSearchLinks ( appUpdater , isFullLicense ) { appUpdater . next ( ( ) => ( { keywords : [ i18n . translate ( 'xpack.ml.keyword.ml' , { defaultMessage : 'ML' , } ) , ] , deepLinks : getDeepLinks ( isFullLicense ) , } ) ) ; }