UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

1 lines 1 kB
{"version":3,"sources":["../../../packages/core/rpc/settings/rpc-settings-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAkB,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEtF,qBAAa,iBAAiB;IAC1B;;;;;OAKG;WACW,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAGlF","file":"rpc-settings-client.d.ts","sourcesContent":["import { Rpc } from '../rpc';\r\nimport { RpcInboundClient } from '../rpc-inbound-client';\r\nimport { RpcSettings, RpcSettingsKey, RpcSettingsResult } from './rpc-settings-model';\r\n\r\nexport class RpcSettingsClient {\r\n /**\r\n * The settings request command.\r\n *\r\n * @param data the settings object.\r\n * @return Promise<RpcSettingsResult> the promise object of settings result.\r\n */\r\n public static settings(rpc: Rpc, data: RpcSettings): Promise<RpcSettingsResult> {\r\n return RpcInboundClient.call(rpc, RpcSettingsKey.command, RpcSettingsKey.version, data);\r\n }\r\n}\r\n"]}