@electron/devtron
Version:
Electron DevTools Extension to track IPC events
21 lines (20 loc) • 721 B
TypeScript
declare const PORT_NAME: {
readonly PANEL: "devt-panel";
readonly CONTENT_SCRIPT: "devt-content-script";
};
declare const MSG_TYPE: {
readonly PING: "ping";
readonly PONG: "pong";
readonly GET_ALL_EVENTS: "get-all-events";
readonly RENDER_EVENT: "render-event";
readonly CLEAR_EVENTS: "clear-events";
readonly EVENTS_CLEARED_ACK: "events-cleared-ack";
readonly ADD_IPC_EVENT: "add-ipc-event";
readonly SEND_TO_PANEL: "send-to-panel";
};
/**
* These channels are used internally by Devtron, and tracking them may lead to unnecessary noise.
* Hence, they are ignored by Devtron.
*/
declare const excludedIpcChannels: string[];
export { PORT_NAME, MSG_TYPE, excludedIpcChannels };