UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Type * @section Actions > Scripting > Content * @icon Scripting * * Returns the type of every item passed as input. For example, if a URL is passed, this action will return “URL”. * * ```js * getType(); * ``` */ const getType = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.getitemtype', WFWorkflowActionParameters: {}, }); exports.default = utils_1.withActionOutput(getType); //# sourceMappingURL=getType.js.map