@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
22 lines • 623 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @action FaceTime
* @section Content Types > Contacts > Phone
* @icon FaceTime
*
* Facetime the contact, the text, place or phone number given as input.
*
* ```js
* facetime({}); // Default type is Video
* facetime({ type: askWhenRun }); // type could be 'Audio' or 'Video'
* ```
*/
const facetime = ({ type = 'Video', }) => ({
WFWorkflowActionIdentifier: 'com.apple.facetime.facetime',
WFWorkflowActionParameters: {
WFFaceTimeType: type,
},
});
exports.default = facetime;
//# sourceMappingURL=facetime.js.map