@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 506 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @action Open App
* @section Content Types > Apps >
* @icon Apps
*
* Opens the specified app.
*
* ```js
* openApp({
* appId: 'com.christianselig.Apollo'
* });
* ```
*/
const openApp = ({ appId = '', }) => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.openapp',
WFWorkflowActionParameters: {
WFAppIdentifier: appId,
},
});
exports.default = openApp;
//# sourceMappingURL=openApp.js.map