mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Add info/warning/error messages for wizards and dialogs (#1696)
This commit is contained in:
@@ -149,6 +149,7 @@ export interface IModelViewDialogDetails {
|
||||
okButton: number;
|
||||
cancelButton: number;
|
||||
customButtons: number[];
|
||||
message: DialogMessage;
|
||||
}
|
||||
|
||||
export interface IModelViewTabDetails {
|
||||
@@ -179,6 +180,18 @@ export interface IModelViewWizardDetails {
|
||||
nextButton: number;
|
||||
backButton: number;
|
||||
customButtons: number[];
|
||||
message: DialogMessage;
|
||||
}
|
||||
|
||||
export enum MessageLevel {
|
||||
Error = 0,
|
||||
Warning = 1,
|
||||
Information = 2
|
||||
}
|
||||
|
||||
export interface DialogMessage {
|
||||
text: string;
|
||||
level?: MessageLevel;
|
||||
}
|
||||
|
||||
/// Card-related APIs that need to be here to avoid early load issues
|
||||
|
||||
Reference in New Issue
Block a user