UNPKG

@joshfarrant/shortcuts-js

Version:
25 lines 689 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @action Get Dictionary Value * @section Actions > Scripting > Dictionaries * @icon Scripting * * Gets the value for the specified key in the dictionary passed into the action. * * ```js * getDictionaryValue({ * get: 'Value', * key: 'My Key', * }); * ``` */ const getDictionaryValue = ({ key = '', get = 'Value', }) => ({ WFWorkflowActionIdentifier: 'is.workflow.actions.getvalueforkey', WFWorkflowActionParameters: { WFDictionaryKey: key, WFGetDictionaryValueType: get, }, }); exports.default = getDictionaryValue; //# sourceMappingURL=getDictionaryValue.js.map