Skip to content

Commit

Permalink
enable support for secret type in postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
vedkribhu committed Aug 25, 2023
1 parent 89e1049 commit 2f05906
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lib/collection/variable.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,28 @@ _.assign(Variable, /** @lends Variable */ {
return val; // pass through
},

/**
* @param {*} val -
* @returns {*}
*/
out (val) {
return val; // pass through
}
},

/**
* Free-form type of a value. This is the default for any variable, unless specified otherwise. It ensures that
* the variable can store data in any type and no conversion is done while using {@link Variable#get}.
*/
secret: {
/**
* @param {*} val -
* @returns {*}
*/
in (val) {
return val; // pass through
},

/**
* @param {*} val -
* @returns {*}
Expand Down

0 comments on commit 2f05906

Please sign in to comment.