File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ Package defining the interfaces used in the API that is published by the `inters
6
6
7
7
# Changelog
8
8
9
+ ### v3.8.0
10
+
11
+ - Add function signatures, including ` getAccount ` which was introduced in Server Manager 3.8.0.
12
+
9
13
### v3.4.1
10
14
11
15
- Add optional ` superServer ` object.
Original file line number Diff line number Diff line change
1
+ import * as vscode from 'vscode' ;
2
+
1
3
export const EXTENSION_ID : string ;
2
4
export const AUTHENTICATION_PROVIDER : string ;
3
5
@@ -30,3 +32,34 @@ export interface IJSONServerSpec {
30
32
export interface IServerSpec extends IJSONServerSpec {
31
33
name : string ;
32
34
}
35
+
36
+ export interface ServerManagerAPI {
37
+ pickServer (
38
+ scope ?: vscode . ConfigurationScope ,
39
+ options ?: vscode . QuickPickOptions ,
40
+ ) : Promise < string | undefined > ;
41
+
42
+ getServerNames (
43
+ scope ?: vscode . ConfigurationScope ,
44
+ sorted ?: boolean ,
45
+ ) : IServerName [ ] ;
46
+
47
+ getServerSummary (
48
+ name : string ,
49
+ scope ?: vscode . ConfigurationScope ,
50
+ ) : IServerName | undefined ;
51
+
52
+ getServerSpec (
53
+ name : string ,
54
+ scope ?: vscode . ConfigurationScope ,
55
+ flushCredentialCache ?: boolean ,
56
+ options ?: { hideFromRecents ?: boolean , /* Obsolete */ noCredentials ?: boolean } ,
57
+ ) : Promise < IServerSpec | undefined > ;
58
+
59
+ getAccount (
60
+ serverSpec : IServerSpec
61
+ ) : vscode . AuthenticationSessionAccountInformation | undefined ;
62
+
63
+ onDidChangePassword (
64
+ ) : vscode . Event < string > ;
65
+ }
You can’t perform that action at this time.
0 commit comments