UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

75 lines (73 loc) 2.21 kB
/** * RPC dialog request name and version. */ export class RpcDialogKey { static command = 'Dialog'; static version = '0.1.0'; } /** * The RPC dialog type. */ export var RpcDialogType; (function (RpcDialogType) { /** * Open the confirmation dialog. */ RpcDialogType[RpcDialogType["OpenConfirmationDialog"] = 1] = "OpenConfirmationDialog"; /** * Open the confirmation list dialog. */ RpcDialogType[RpcDialogType["OpenConfirmationListDialog"] = 2] = "OpenConfirmationListDialog"; /** * Open the message dialog. */ RpcDialogType[RpcDialogType["OpenMessageDialog"] = 3] = "OpenMessageDialog"; /** * Open the choice dialog. */ RpcDialogType[RpcDialogType["OpenChoiceDialog"] = 6] = "OpenChoiceDialog"; /** * Open the register AAD dialog. */ RpcDialogType[RpcDialogType["OpenRegisterAadDialog"] = 7] = "OpenRegisterAadDialog"; /** * Close the dialog. */ RpcDialogType[RpcDialogType["Close"] = 4] = "Close"; /** * Polling the status of the dialog. */ RpcDialogType[RpcDialogType["PollingStatus"] = 5] = "PollingStatus"; })(RpcDialogType || (RpcDialogType = {})); /** * The RPC dialog state. */ export var RpcDialogState; (function (RpcDialogState) { /** * The dialog is opened. */ RpcDialogState[RpcDialogState["Opened"] = 1] = "Opened"; /** * The dialog is closed. */ RpcDialogState[RpcDialogState["Closed"] = 2] = "Closed"; /** * The dialog is terminated by shell or rpc request. */ RpcDialogState[RpcDialogState["ForcedTerminated"] = 3] = "ForcedTerminated"; /** * The dialog is failed. */ RpcDialogState[RpcDialogState["Failed"] = 4] = "Failed"; })(RpcDialogState || (RpcDialogState = {})); /** * The levels of severity of a RPC alert. */ export var RpcAlertSeverity; (function (RpcAlertSeverity) { RpcAlertSeverity[RpcAlertSeverity["Informational"] = 0] = "Informational"; RpcAlertSeverity[RpcAlertSeverity["Warning"] = 1] = "Warning"; RpcAlertSeverity[RpcAlertSeverity["Error"] = 2] = "Error"; })(RpcAlertSeverity || (RpcAlertSeverity = {})); //# sourceMappingURL=rpc-dialog-model.js.map