export interface IApplicationVersions { "electron" : string ; "electron-rebuild" : string ; "chipmunk.client.toolkit" : string ; "chipmunk.plugin.ipc" : string ; "chipmunk-client-material" : string ; "angular-core" : string ; "angular-material" : string ; "force" : string ; } export interface ITabCustomAbout { version : string ; platform : string ; dependencies : IApplicationVersions ; } export class TabCustomAbout { public static signature : string = 'TabCustomAbout' ; public signature : string = TabCustomAbout . signature ; public version : string ; public dependencies : IApplicationVersions ; public platform : string ; constructor ( params ) { if ( typeof params !== 'object' || params === null ) { throw new Error ( `Incorrect parameters for TabCustomAbout message` ) ; } if ( typeof params . version !== 'string' || params . version . trim ( ) === '' ) { throw new Error ( `Field "version" should be defined` ) ; } if ( typeof params . platform !== 'string' || params . platform . trim ( ) === '' ) { throw new Error ( `Field "platform" should be defined` ) ; } if ( params . dependencies === undefined ) { throw new Error ( `Field "dependencies" should be defined` ) ; } this . version = params . version ; this . platform = params . platform ; this . dependencies = params . dependencies ; } }