Created
October 24, 2017 15:10
-
-
Save BrunoBernardino/6e7a216e97e6d0e62c5c364c6ec2d743 to your computer and use it in GitHub Desktop.
Webtask for output fields.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(context, cb) { | |
cb(null, [ | |
{ | |
"key":"name", | |
"label":"Better Name", | |
"type":"string" | |
}, | |
{ | |
"key":"authorId", | |
"label":"Author", | |
"type":"number" | |
} | |
]); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment