Add intial work to patch tab open and close

This commit is contained in:
Logan Ramos
2022-03-29 15:57:46 -04:00
parent 29f9e51444
commit 09f56890a9

View File

@@ -620,6 +620,11 @@ export const enum TabInputKind {
TerminalEditorInput
}
export const enum TabModelOperationKind {
TAB_OPEN,
TAB_CLOSE
}
export interface UnknownInputDto {
kind: TabInputKind.UnknownInput;
}
@@ -680,6 +685,12 @@ export interface IEditorTabGroupDto {
groupId: number;
}
export interface TabOperation {
readonly kind: TabModelOperationKind.TAB_OPEN | TabModelOperationKind.TAB_CLOSE;
readonly index: number;
readonly tab: IEditorTabDto;
}
export interface IEditorTabDto {
id: string;
label: string;