UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("../utils"); /** * @action Get Name * @section Actions > Scripting > Content * @icon Scripting * * Returns the name of every item passed as input. Depending on the input, this could be a file name, the title of a website, the title of a calendar event, etc. * * ```js * getName(); * ``` */ const getName = () => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.getitemname', WFWorkflowActionParameters: {}, }); exports.default = utils_1.withActionOutput(getName); //# sourceMappingURL=getName.js.map