import { i18n } from '@kbn/i18n' ; import type { FeatureCatalogueEntry } from 'src/plugins/home/public' ; import { FeatureCatalogueCategory } from '../../../../src/plugins/home/public' ; import { getSpacesFeatureDescription } from './constants' ; export const createSpacesFeatureCatalogueEntry = ( ) : FeatureCatalogueEntry => { return { id : 'spaces' , title : i18n . translate ( 'xpack.spaces.spacesTitle' , { defaultMessage : 'Spaces' , } ) , description : getSpacesFeatureDescription ( ) , icon : 'spacesApp' , path : '/app/management/kibana/spaces' , showOnHomePage : false , category : FeatureCatalogueCategory . ADMIN , } ; } ;