export interface Update { readonly sections : readonly UpdateSection [ ] ; readonly version : string ; } export interface UpdateSection { readonly type : 'intro' | 'main' | 'minor' | 'beta' | 'future' ; readonly header ? : string ; readonly updates ? : readonly UpdateSectionItem [ ] ; readonly text ? : string ; } export interface UpdateSectionItem { readonly category : 'general' | 'replays' | 'achievements' | 'duels' | 'arena' | 'decktracker' | 'battlegrounds' | 'mercenaries' | 'profile' | 'collection' ; readonly details : UpdateSectionItemDetails [ ] ; } export interface UpdateSectionItemDetails { readonly type : 'feature' | 'bug' | 'ui' | 'content' | 'misc' ; readonly text : string ; } export const updates = [ { version : '8.4.16' , sections : [ { type : 'main' , header : 'Main updates' , updates : [ { category : 'general' , details : [ { type : 'feature' , text : `Add an option to flash the Hearthstone icon in the taskbar when it's your turn (for non-Merc games).` , } , ] , } , { category : 'mercenaries' , details : [ { type : 'bug' , text : `Fix highlight not working anymore when selecting a treasure.` , } , ] , } , ] , } , { type : 'minor' , header : 'Minor updates' , updates : [ { category : 'battlegrounds' , details : [ { type : 'bug' , text : `Fix a bug where the option to not show the opponent's last board on mouse over would be ignored.` , } , ] , } , ] , } , ] , } , ] ;