UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines 634 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Text from Input * @section Content Types > Text > * @icon Text * * Returns text from the previous action's output. For example, this action can get the name of a photo or song, or the text of a web page. * * ```js * getTextFromInput(); * ``` */ const getTextFromInput = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.detect.text', WFWorkflowActionParameters: {}, }); exports.default = utils_1.withActionOutput(getTextFromInput); //# sourceMappingURL=getTextFromInput.js.map