fix: Fix styles, refactoring

This commit is contained in:
Maksim Eltyshev
2024-08-12 23:17:17 +02:00
parent c4c6d738a5
commit 545b3d711d
20 changed files with 229 additions and 202 deletions

View File

@@ -80,8 +80,9 @@ module.exports = {
custom: dueDateValidator,
allowNull: true,
},
dueCompleted: {
isDueDateCompleted: {
type: 'boolean',
allowNull: true,
},
stopwatch: {
type: 'json',
@@ -176,7 +177,7 @@ module.exports = {
'name',
'description',
'dueDate',
'dueCompleted',
'isDueDateCompleted',
'stopwatch',
'isSubscribed',
]);