File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ This package is part of [vscode-sqltools](https://vscode-sqltools.mteixeira.dev?
10
10
11
11
# Changelog
12
12
13
+ ### v0.2.0
14
+
15
+ - Add IConnectionDriver.createSshTunnel() to align with SSH tunneling support implemented in AbstractDriver in @sqltools/base-driver @0.2.0
16
+
13
17
### v0.1.7
14
18
15
19
- New 0.27.0 features:
Original file line number Diff line number Diff line change @@ -298,6 +298,19 @@ export interface IConnectionDriver {
298
298
searchItems ?( itemType : ContextValue , search : string , extraParams : any ) : Promise < NSDatabase . SearchableItem [ ] > ;
299
299
getStaticCompletions ?( ) : Promise < { [ w : string ] : NSDatabase . IStaticCompletion } > ;
300
300
getInsertQuery ?( params : { item : NSDatabase . ITable , columns : Array < NSDatabase . IColumn > } ) : Promise < string > ;
301
+ createSshTunnel ?(
302
+ ssh : {
303
+ host : string ;
304
+ port : number ;
305
+ username : string ;
306
+ password ?: string ;
307
+ privateKeyPath ?: string ;
308
+ } ,
309
+ db : {
310
+ host : string ;
311
+ port : number ;
312
+ }
313
+ ) : Promise < { port : number } > ;
301
314
}
302
315
303
316
export declare enum ContextValue {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @sqltools/types" ,
3
- "version" : " 0.1.7 " ,
3
+ "version" : " 0.2.0 " ,
4
4
"description" : " SQLTools interfaces and types" ,
5
5
"types" : " index.d.ts" ,
6
6
"main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments