@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
1 lines • 1.69 kB
Source Map (JSON)
{"version":3,"sources":["../../../packages/core/notification/notification-state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,iBAAiB;IACzB;;;OAGG;IACH,OAAO,IAAI;IAEX;;;OAGG;IACH,UAAU,IAAI;IAEd;;;;OAIG;IACH,QAAQ,IAAI;IAEZ;;OAEG;IACH,KAAK,IAAI;IAET;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,aAAa,IAAI;CACpB","file":"notification-state.d.ts","sourcesContent":["/**\r\n * Notification State\r\n * TODO: supported state from powershell is limited. InProgress, Error and Success.\r\n */\r\nexport enum NotificationState {\r\n /**\r\n * Can be used internally to differentiate between the first notification of an action and subsequent progress updates\r\n * This type of notification appears the same as InProgress notifications\r\n */\r\n Started = 1,\r\n\r\n /**\r\n * The notification is has been submitted, started, or is in progress.\r\n * Use this for status updates for an action currently in progress\r\n */\r\n InProgress = 2,\r\n\r\n /**\r\n * The notification is for a critical message\r\n * A critical message is something causing the system to be down\r\n * like a tool is no longer working or a managed node is not manageable\r\n */\r\n Critical = 3,\r\n\r\n /**\r\n * The notification is for an error\r\n */\r\n Error = 4,\r\n\r\n /**\r\n * The notification should display a warning message\r\n */\r\n Warning = 5,\r\n\r\n /**\r\n * The notification action has completed successfully\r\n */\r\n Success = 6,\r\n\r\n /**\r\n * Can be used to tell the user something unrelated to an in progress action\r\n */\r\n Informational = 7\r\n}\r\n"]}