UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Set Airplane Mode * @section Actions > Scripting > Device * @icon AirplaneMode * * Sets the device’s Airplane Mode to on or off. * * ```js * setAirplaneMode({ * value: true, * }); * ``` */ const setAirplaneMode = ({ value = true, }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.airplanemode.set', WFWorkflowActionParameters: { OnValue: value, }, }); exports.default = setAirplaneMode; //# sourceMappingURL=setAirplaneMode.js.map