@@ -9,10 +9,8 @@ import {
99 Files ,
1010 IPackageManager ,
1111 MessageOptions ,
12- OutputEntry ,
1312 PMOperationOptions ,
1413 PackageJsonOptions ,
15- RunResult ,
1614 RunnableVersion ,
1715 StartFiddleParams ,
1816 Version ,
@@ -22,7 +20,6 @@ import { FiddleTheme } from '../themes-defaults';
2220
2321const channelMapping : Record < FiddleEvent , IpcEvents > = {
2422 'before-quit' : IpcEvents . BEFORE_QUIT ,
25- 'bisect-task' : IpcEvents . TASK_BISECT ,
2623 'clear-console' : IpcEvents . CLEAR_CONSOLE ,
2724 'electron-types-changed' : IpcEvents . ELECTRON_TYPES_CHANGED ,
2825 'execute-monaco-command' : IpcEvents . MONACO_EXECUTE_COMMAND ,
@@ -44,7 +41,6 @@ const channelMapping: Record<FiddleEvent, IpcEvents> = {
4441 'select-all-in-editor' : IpcEvents . SELECT_ALL_IN_EDITOR ,
4542 'set-show-me-template' : IpcEvents . SET_SHOW_ME_TEMPLATE ,
4643 'show-welcome-tour' : IpcEvents . SHOW_WELCOME_TOUR ,
47- 'test-task' : IpcEvents . TASK_TEST ,
4844 'toggle-bisect' : IpcEvents . BISECT_COMMANDS_TOGGLE ,
4945 'toggle-monaco-option' : IpcEvents . MONACO_TOGGLE_OPTION ,
5046 'undo-in-editor' : IpcEvents . UNDO_IN_EDITOR ,
@@ -205,9 +201,6 @@ export async function setupFiddleGlobal() {
205201 ) ;
206202 } ,
207203 platform : process . platform ,
208- pushOutputEntry ( entry : OutputEntry ) {
209- ipcRenderer . send ( IpcEvents . OUTPUT_ENTRY , entry ) ;
210- } ,
211204 reloadWindows ( ) {
212205 ipcRenderer . send ( IpcEvents . RELOAD_WINDOW ) ;
213206 } ,
@@ -252,9 +245,6 @@ export async function setupFiddleGlobal() {
252245 stopFiddle ( ) {
253246 ipcRenderer . send ( IpcEvents . STOP_FIDDLE ) ;
254247 } ,
255- taskDone ( result : RunResult ) {
256- ipcRenderer . send ( IpcEvents . TASK_DONE , result ) ;
257- } ,
258248 themePath : await ipcRenderer . sendSync ( IpcEvents . GET_THEME_PATH ) ,
259249 async uncacheTypes ( ver : RunnableVersion ) {
260250 await ipcRenderer . invoke ( IpcEvents . UNCACHE_TYPES , ver ) ;
0 commit comments