UNPKG

@joshfarrant/shortcuts-js

Version:
24 lines 689 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Show in Maps * @section Content Types > Location > Maps * @icon Maps * * Opens your choice of Maps, Google Maps, or Waze and searches for the location, place, or text that was passed into the action. * * ```js * showInMaps({ * app: 'Google Maps', * }); * ``` */ const showInMaps = ({ app = 'Maps', }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.searchmaps', WFWorkflowActionParameters: { WFSearchMapsActionApp: app, }, }); exports.default = utils_1.withActionOutput(showInMaps); //# sourceMappingURL=showInMaps.js.map