UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 565 B
"use strict"; 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