import { NonFunctionProperties } from '../../../services/utils' ; import { MercenariesCategoryId } from '../../mercenaries/mercenary-category-id.type' ; export class NavigationMercenaries { readonly menuDisplayType : 'menu' | 'breadcrumbs' = 'menu' ; readonly selectedCategoryId : MercenariesCategoryId = 'mercenaries-personal-hero-stats' ; readonly selectedHeroId : string ; readonly selectedDetailsMercId : number ; readonly selectedCompositionId : string ; readonly heroSearchString : string ; public update ( base ) { return Object . assign ( new NavigationMercenaries ( ) , this , base ) ; } public getPageName ( ) { return this . selectedCategoryId ; } }