mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)
This commit is contained in:
@@ -29,6 +29,26 @@ export interface INotificationProperties {
|
||||
* catch some attention.
|
||||
*/
|
||||
silent?: boolean;
|
||||
|
||||
/**
|
||||
* Adds an action to never show the notification again. The choice will be persisted
|
||||
* such as future requests will not cause the notification to show again.
|
||||
*/
|
||||
neverShowAgain?: INeverShowAgainOptions;
|
||||
}
|
||||
|
||||
export interface INeverShowAgainOptions {
|
||||
|
||||
/**
|
||||
* The id is used to persist the selection of not showing the notification again.
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* By default the action will show up as primary action. Setting this to true will
|
||||
* make it a secondary action instead.
|
||||
*/
|
||||
isSecondary?: boolean;
|
||||
}
|
||||
|
||||
export interface INotification extends INotificationProperties {
|
||||
@@ -270,4 +290,4 @@ export class NoOpProgress implements INotificationProgress {
|
||||
done(): void { }
|
||||
total(value: number): void { }
|
||||
worked(value: number): void { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user