++ Projects
This commit is contained in:
@@ -57,6 +57,20 @@ module.exports = {
|
||||
return ['_id', ...this.allfieldTodo()]
|
||||
},
|
||||
|
||||
// #TODO Projects++ Add fields ...
|
||||
allfieldProject: function () {
|
||||
return ['userId', 'pos', 'descr', 'priority', 'completed', 'created_at', 'modify_at',
|
||||
'completed_at', 'expiring_at', 'enableExpiring', 'id_prev', 'progressCalc', 'modified']
|
||||
},
|
||||
|
||||
allfieldProjectWithId: function () {
|
||||
return ['_id', ...this.allfieldProject()]
|
||||
},
|
||||
|
||||
jsonCopy(src) {
|
||||
return JSON.parse(JSON.stringify(src))
|
||||
},
|
||||
|
||||
sendBackNotif: function (subscription, payload) {
|
||||
|
||||
console.log('sendBackNotif:', subscription, payload);
|
||||
|
||||
Reference in New Issue
Block a user