import { DuelsCategoryType } from '../duels/duels-category.type' ; export class NavigationDuels { readonly selectedCategoryId : DuelsCategoryType = 'duels-runs' ; readonly menuDisplayType : 'menu' | 'breadcrumbs' = 'menu' ; readonly selectedDeckId : number ; readonly selectedPersonalDeckstring : string ; readonly expandedRunIds : readonly string [ ] ; readonly treasureSearchString : string ; readonly heroSearchString : string ; public update ( base ) { return Object . assign ( new NavigationDuels ( ) , this , base ) ; } public getPageName ( ) { return this . selectedCategoryId ; } }