import { PatchInfo } from '../../patches' ; import { DeckFilters } from './deck-filters' ; import { DeckSummary } from './deck-summary' ; export class DecktrackerState { readonly filters : DeckFilters = new DeckFilters ( ) ; readonly showHiddenDecks : boolean = false ; readonly decks : readonly DeckSummary [ ] ; readonly patch : PatchInfo ; readonly isLoading : boolean = true ; public update ( base ) { return Object . assign ( new DecktrackerState ( ) , this , base ) ; } }