@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 565 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @action Set Cellular Data
* @section Actions > Scripting > Device
* @icon CellularData
*
* Sets the device’s Cellular Data to on or off.
*
* ```js
* setCellularData({
* value: true,
* });
* ```
*/
const setCellularData = ({ value = true, }) => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.cellulardata.set',
WFWorkflowActionParameters: {
OnValue: value,
},
});
exports.default = setCellularData;
//# sourceMappingURL=setCellularData.js.map