File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
redisinsight/api/src/modules/server Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export enum BuildType {
5
5
RedisStack = 'REDIS_STACK' ,
6
6
Electron = 'ELECTRON' ,
7
7
DockerOnPremise = 'DOCKER_ON_PREMISE' ,
8
+ VSCode = 'VS_CODE' ,
8
9
}
9
10
10
11
export enum PackageType {
@@ -24,6 +25,7 @@ export enum AppType {
24
25
RedisStackApp = 'REDIS_STACK_ELECTRON' ,
25
26
Electron = 'ELECTRON' ,
26
27
Docker = 'DOCKER' ,
28
+ VSCode = 'VS_CODE' ,
27
29
Unknown = 'UNKNOWN' ,
28
30
}
29
31
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export class ServerService implements OnApplicationBootstrap {
83
83
if ( ! info ) {
84
84
return Promise . reject ( new ServerInfoNotFoundException ( ) ) ;
85
85
}
86
+
86
87
const result = {
87
88
...info ,
88
89
sessionId : this . sessionId ,
@@ -111,6 +112,8 @@ export class ServerService implements OnApplicationBootstrap {
111
112
return AppType . Electron ;
112
113
case BuildType . RedisStack :
113
114
return AppType . RedisStackWeb ;
115
+ case BuildType . VSCode :
116
+ return AppType . VSCode ;
114
117
default :
115
118
return AppType . Unknown ;
116
119
}
You can’t perform that action at this time.
0 commit comments