interface ITelemetryUpdateState {
    added?: IPlugin[];
    cfg?: IConfiguration;
    merge?: boolean;
    newConfig?: IConfiguration;
    oldCfg?: IConfiguration;
    reason: TelemetryUpdateReason;
    removed?: IPlugin[];
}

Properties

added?: IPlugin[]

This holds a collection of plugins that have been added (if the reason identifies that one or more plugins have been added)

This is a new active configuration that should be used

merge?: boolean

Was the new config requested to be merged with the existing config

newConfig?: IConfiguration

If this is a configuration update this was the previous configuration that was used

The detected changes

Identifies the reason for the update notification, this is a bitwise numeric value

removed?: IPlugin[]

This holds a collection of plugins that have been removed (if the reason identifies that one or more plugins have been removed)