Skip to content

Commit b0fba32

Browse files
committed
Remove unused code
1 parent 3d96b94 commit b0fba32

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

site/src/xServices/workspace/workspaceXService.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ export type WorkspaceEvent =
4747
| {
4848
type: "REFRESH_TIMELINE";
4949
}
50-
| { type: "EVENT_SOURCE_ERROR"; error: unknown }
51-
| { type: "INCREASE_DEADLINE"; hours: number }
52-
| { type: "DECREASE_DEADLINE"; hours: number }
5350
| { type: "RETRY_BUILD" }
5451
| { type: "ACTIVATE" };
5552

@@ -83,15 +80,6 @@ export const workspaceMachine = createMachine(
8380
activateWorkspace: {
8481
data: TypesGen.Response;
8582
};
86-
listening: {
87-
data: TypesGen.ServerSentEvent;
88-
};
89-
getBuilds: {
90-
data: TypesGen.WorkspaceBuild[];
91-
};
92-
getSSHPrefix: {
93-
data: TypesGen.SSHConfigResponse;
94-
};
9583
},
9684
},
9785
initial: "ready",
@@ -459,7 +447,6 @@ export const workspaceMachine = createMachine(
459447
throw Error("Cannot activate workspace without workspace id");
460448
}
461449
},
462-
463450
},
464451
},
465452
);

0 commit comments

Comments
 (0)