This commit is contained in:
Logan Ramos
2022-03-23 11:43:10 -04:00
parent a16e41e761
commit 1dc2b29aaf
6 changed files with 29 additions and 6 deletions

View File

@@ -616,7 +616,8 @@ export const enum TabInputKind {
NotebookInput,
NotebookDiffInput,
CustomEditorInput,
WebviewEditorInput
WebviewEditorInput,
TerminalEditorInput
}
export interface UnknownInputDto {
@@ -658,7 +659,11 @@ export interface WebviewInputDto {
viewType: string;
}
export type AnyInputDto = UnknownInputDto | TextInputDto | TextDiffInputDto | NotebookInputDto | NotebookDiffInputDto | CustomInputDto | WebviewInputDto;
export interface TabInputDto {
kind: TabInputKind.TerminalEditorInput;
}
export type AnyInputDto = UnknownInputDto | TextInputDto | TextDiffInputDto | NotebookInputDto | NotebookDiffInputDto | CustomInputDto | WebviewInputDto | TabInputDto;
export interface MainThreadEditorTabsShape extends IDisposable {
// manage tabs: move, close, rearrange etc