-
Notifications
You must be signed in to change notification settings - Fork 528
Expand file tree
/
Copy pathtoDashboard.ts
More file actions
32 lines (26 loc) · 802 Bytes
/
toDashboard.ts
File metadata and controls
32 lines (26 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { Diagnostic } from "vscode";
import { ToWebviewMessageType, WebviewMessage } from "./common";
export type ToDashboardMessageType = ToWebviewMessageType;
export interface ToDashboardMessage extends WebviewMessage<ToDashboardMessageType> {
}
export interface JVM {
name: string;
path: string;
}
export interface DashboardState {
jvms?: JVM[];
workspacePath?: string;
lombokEnabled?: boolean;
activeLombokPath?: string | undefined;
diagnosticInfo?: DiagnosticInfo;
}
export interface DiagnosticInfo {
readonly mavenUserSettings: string;
readonly mavenGlobalSettings: string;
readonly activeImporters: string[];
readonly gradleUserHome: string;
readonly gradleJavaHome: string;
}
export interface UpdateMessage extends ToDashboardMessage, DashboardState {
type: "update";
}