From ca20ae4d64df20096052f362303b107a373e6e37 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Wed, 27 Oct 2021 12:29:00 -0700 Subject: [PATCH] Fix typings files (#17509) --- src/sql/azdata.d.ts | 41 +++++++++++++++++++++++++++++------- src/sql/azdata.proposed.d.ts | 25 ---------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/sql/azdata.d.ts b/src/sql/azdata.d.ts index f83b568fdc..e6db233565 100644 --- a/src/sql/azdata.d.ts +++ b/src/sql/azdata.d.ts @@ -2182,11 +2182,11 @@ declare module 'azdata' { /** * The token to use */ - token: string, + token: string; /** * What type of token this is (such as Bearer) */ - tokenType?: string | undefined + tokenType?: string | undefined; } /** @@ -2582,7 +2582,7 @@ declare module 'azdata' { * @param options Options to configure the editor * @param name The name used to identify the editor in telemetry */ - export function createModelViewEditor(title: string, options?: ModelViewEditorOptions, name?: string,): ModelViewEditor; + export function createModelViewEditor(title: string, options?: ModelViewEditorOptions, name?: string): ModelViewEditor; export interface ModelViewEditor extends window.ModelViewPanel { /** @@ -3575,13 +3575,13 @@ declare module 'azdata' { fileContent?: string | undefined; /** - * Specifies the type of button this is. Default is Normal. - */ + * Specifies the type of button this is. Default is Normal. + */ buttonType?: ButtonType; /** - * Description text to display inside button element. - */ + * Description text to display inside button element. + */ description?: string; /** @@ -3592,7 +3592,7 @@ declare module 'azdata' { /** * The file type filter used for the file input dialog box - only used when the button type is File */ - fileType?: string + fileType?: string; } export interface LoadingComponentProperties extends ComponentProperties { @@ -4429,6 +4429,31 @@ declare module 'azdata' { export function getQueryDocument(fileUri: string): Thenable; } + /** + * Represents the tab of TabbedPanelComponent + */ + export interface Tab { + /** + * Title of the tab + */ + title: string; + + /** + * Content component of the tab + */ + content: Component; + + /** + * Id of the tab + */ + id: string; + + /** + * Icon of the tab + */ + icon?: IconPath; + } + export interface DashboardTab extends Tab { /** * Toolbar of the tab, optional. diff --git a/src/sql/azdata.proposed.d.ts b/src/sql/azdata.proposed.d.ts index 2d14e4f6dd..ed39baa0d0 100644 --- a/src/sql/azdata.proposed.d.ts +++ b/src/sql/azdata.proposed.d.ts @@ -492,31 +492,6 @@ declare module 'azdata' { alwaysShowTabs?: boolean; } - /** - * Represents the tab of TabbedPanelComponent - */ - export interface Tab { - /** - * Title of the tab - */ - title: string; - - /** - * Content component of the tab - */ - content: Component; - - /** - * Id of the tab - */ - id: string; - - /** - * Icon of the tab - */ - icon?: IconPath; - } - /** * Represents the tab group of TabbedPanelComponent */