mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 17:23:10 -05:00
extend the ListDatabasesRequest to allow more information to be returned (#10186)
* database detail * revert sts change * reuse databaseInfo interface
This commit is contained in:
3
src/sql/azdata.d.ts
vendored
3
src/sql/azdata.d.ts
vendored
@@ -599,6 +599,7 @@ declare module 'azdata' {
|
||||
// List Databases Request ----------------------------------------------------------------------
|
||||
export interface ListDatabasesResult {
|
||||
databaseNames: Array<string>;
|
||||
databases?: Array<DatabaseInfo>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -725,7 +726,7 @@ declare module 'azdata' {
|
||||
export interface MetadataProvider extends DataProvider {
|
||||
getMetadata(connectionUri: string): Thenable<ProviderMetadata>;
|
||||
|
||||
getDatabases(connectionUri: string): Thenable<string[]>;
|
||||
getDatabases(connectionUri: string): Thenable<string[] | DatabaseInfo[]>;
|
||||
|
||||
getTableInfo(connectionUri: string, metadata: ObjectMetadata): Thenable<ColumnMetadata[]>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user