@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
42 lines (40 loc) • 1.66 kB
JavaScript
/**
* Notification State
* TODO: supported state from powershell is limited. InProgress, Error and Success.
*/
export var NotificationState;
(function (NotificationState) {
/**
* Can be used internally to differentiate between the first notification of an action and subsequent progress updates
* This type of notification appears the same as InProgress notifications
*/
NotificationState[NotificationState["Started"] = 1] = "Started";
/**
* The notification is has been submitted, started, or is in progress.
* Use this for status updates for an action currently in progress
*/
NotificationState[NotificationState["InProgress"] = 2] = "InProgress";
/**
* The notification is for a critical message
* A critical message is something causing the system to be down
* like a tool is no longer working or a managed node is not manageable
*/
NotificationState[NotificationState["Critical"] = 3] = "Critical";
/**
* The notification is for an error
*/
NotificationState[NotificationState["Error"] = 4] = "Error";
/**
* The notification should display a warning message
*/
NotificationState[NotificationState["Warning"] = 5] = "Warning";
/**
* The notification action has completed successfully
*/
NotificationState[NotificationState["Success"] = 6] = "Success";
/**
* Can be used to tell the user something unrelated to an in progress action
*/
NotificationState[NotificationState["Informational"] = 7] = "Informational";
})(NotificationState || (NotificationState = {}));
//# sourceMappingURL=notification-state.js.map