You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
373 B

module.exports = {
data: function(task) {
task.open = task.open * 1;
task.progress = task.progress * 1;
task.duration = task.duration * 1;
task.id = task.id * 1;
task.parent = task.parent * 1;
return task;
},
links: function(link){
link.id = link.id * 1;
link.source = link.source * 1;
link.source = link.source * 1;
return link;
}
};