UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines 703 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Dictionary from Input * @section Actions > Scripting > Dictionaries * @icon Scripting * * Makes a dictionary from the text passed as input. JSON (like {"foo": "bar"}), key-value pairs (like foo=bar&baz=biz), and XML-based plist are supported. * * ```js * getDictionaryFromInput(); * ``` */ const getDictionaryFromInput = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.detect.dictionary', WFWorkflowActionParameters: {}, }); exports.default = utils_1.withActionOutput(getDictionaryFromInput); //# sourceMappingURL=getDictionaryFromInput.js.map