UNPKG

@joshfarrant/shortcuts-js

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