export enum MessageType { // Begin the process of loading the extension Initialize, /// Angular framework has finished loading FrameworkLoaded, /// Check to see if the other side (frontend or backend) is open and responsive Ping, NotNgApp, /// Response to a previous message Response, /// An error has occurred in the backend and is being transmitted to the frontend ApplicationError, /// User signals "report this error". SendUncaughtError, /// Post a message to the browser event queue so that it can be unwrapped and /// posted to the extension from the content-script. There is no pipe that is /// direct from the backend to the frontend, so this allows us to bounce the /// message through {@link window.postMessage} so that the content script can /// receive it and send it through the multi-hop port. DispatchWrapper, /// This is an unusual message -- it contains no data itself, it just tells the /// frontend that there are messages waiting for it that it can read direct from /// the message queue instead of passing the messages through the four-hop pipe /// of backend -> content script -> channel -> frontend. Push, // Send the inspected application ng version NgVersion, /// Transmit a complete component tree CompleteTree, /// Transmit the delta of two trees TreeDiff, /// Send the list of NgModules NgModules, /// Send the complete router tree (TODO(cbond: support diff)) RouterTree, /// Select a component in the tree view SelectComponent, /// Update the value of a property inside the component tree UpdateProperty, /// Update a property on a provider reference UpdateProviderProperty, /// Emit a new value through an EventEmitter EmitValue, /// Emit an event on a particular node (ex: click, change, etc..) EmitEvent, /// Set the nodes that should be highlighted on the page Highlight, /// Find a corresponding mutable tree node based on a DOM node FindElement, GoogleTagManagerSend, }