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
66
77# Changelog
88
9+ ### v3.8.0
10+
11+ - Add function signatures, including ` getAccount ` which was introduced in Server Manager 3.8.0.
12+
913### v3.4.1
1014
1115- Add optional ` superServer ` object.
Original file line number Diff line number Diff line change 1+ import * as vscode from 'vscode' ;
2+
13export const EXTENSION_ID : string ;
24export const AUTHENTICATION_PROVIDER : string ;
35
@@ -30,3 +32,34 @@ export interface IJSONServerSpec {
3032export interface IServerSpec extends IJSONServerSpec {
3133 name : string ;
3234}
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