mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Fix API issues for external extensions (#14796)
* Fix azdata API break * Move dialogwidth to azdata.d.ts * re-add parameter * add comment back
This commit is contained in:
5
src/sql/azdata.d.ts
vendored
5
src/sql/azdata.d.ts
vendored
@@ -3916,6 +3916,11 @@ declare module 'azdata' {
|
|||||||
Information = 2
|
Information = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The width of a dialog, either from a predetermined size list or a specific size (such as px)
|
||||||
|
*/
|
||||||
|
export type DialogWidth = 'narrow' | 'medium' | 'wide' | number | string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A message shown in a dialog. If the level is not set it defaults to error.
|
* A message shown in a dialog. If the level is not set it defaults to error.
|
||||||
*/
|
*/
|
||||||
|
|||||||
3
src/sql/azdata.proposed.d.ts
vendored
3
src/sql/azdata.proposed.d.ts
vendored
@@ -584,8 +584,6 @@ declare module 'azdata' {
|
|||||||
pageName?: string;
|
pageName?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type DialogWidth = 'narrow' | 'medium' | 'wide' | number | string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These dialog styles affect how the dialog displays in the application.
|
* These dialog styles affect how the dialog displays in the application.
|
||||||
* normal: Positioned top and centered.
|
* normal: Positioned top and centered.
|
||||||
@@ -621,7 +619,6 @@ declare module 'azdata' {
|
|||||||
*/
|
*/
|
||||||
export function createModelViewDialog(title: string, dialogName?: string, width?: DialogWidth, dialogStyle?: DialogStyle, dialogPosition?: DialogPosition, renderHeader?: boolean, renderFooter?: boolean, dialogProperties?: IDialogProperties): Dialog;
|
export function createModelViewDialog(title: string, dialogName?: string, width?: DialogWidth, dialogStyle?: DialogStyle, dialogPosition?: DialogPosition, renderHeader?: boolean, renderFooter?: boolean, dialogProperties?: IDialogProperties): Dialog;
|
||||||
|
|
||||||
|
|
||||||
export interface Button {
|
export interface Button {
|
||||||
/**
|
/**
|
||||||
* Specifies whether this is a secondary button. Default is false.
|
* Specifies whether this is a secondary button. Default is false.
|
||||||
|
|||||||
Reference in New Issue
Block a user