Add tab kind to the tabs api

This commit is contained in:
Logan Ramos
2022-02-18 16:25:51 -05:00
parent 2de0f469d8
commit 17fb3990ff
5 changed files with 29 additions and 4 deletions

View File

@@ -625,6 +625,13 @@ export interface IEditorTabGroupDto {
groupId: number;
}
export enum TabKind {
SINGULAR = 0,
DIFF = 1,
SIDEBYSIDE = 2,
OTHER = 3
}
export interface IEditorTabDto {
viewColumn: EditorGroupColumn;
label: string;
@@ -632,6 +639,7 @@ export interface IEditorTabDto {
editorId?: string;
isActive: boolean;
isDirty: boolean;
kind: TabKind;
additionalResourcesAndViewIds: { resource?: UriComponents; viewId?: string }[];
}