Skip to content

Instantly share code, notes, and snippets.

@BrunoBernardino
Created October 24, 2017 15:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Webtask for output fields.
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