import { Record } from 'immutable' ; export interface ISyncStatus { enabled ? : boolean ; is_manual ? : boolean ; progress_message ? : string ; last_message ? : string ; requires_update ? : any ; subscribed ? : boolean ; subscription ? : any ; } export default class SyncStatus extends Record ( { enabled : null , is_manual : false , progress_message : null , last_message : null , requires_update : null , subscribed : null , subscription : null , } ) implements ISyncStatus { public enabled ? : boolean ; public is_manual ? : boolean ; public progress_message ? : string ; public last_message ? : string ; public requires_update ? : any ; public subscribed ? : boolean ; public subscription ? : any ; public constructor ( options ? ) { super ( options ) ; } public set ( key , value ) { return super . set ( key , value ) as this ; } public with ( values ) { return this . merge ( values ) as this ; } }