UNPKG

@joshfarrant/shortcuts-js

Version:
25 lines 652 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Change Case * @section Content Types > Text > Change Case * @icon Text * * Changes the case of the text passed into the action to UPPERCASE, lowercase or Title Case. * * ```js * changeCase({}); * ``` */ const changeCase = ({ caseType, }) => { const parameters = caseType ? { WFCaseType: caseType, } : {}; return { WFWorkflowActionIdentifier: 'is.workflow.actions.text.changecase', WFWorkflowActionParameters: parameters, }; }; exports.default = changeCase; //# sourceMappingURL=changeCase.js.map