1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

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

@ -56,9 +56,11 @@ module.exports = {
dueDate: {
type: 'string',
custom: dueDateValidator,
allowNull: true,
},
dueCompleted: {
isDueDateCompleted: {
type: 'boolean',
allowNull: true,
},
stopwatch: {
type: 'json',
@ -103,7 +105,7 @@ module.exports = {
'name',
'description',
'dueDate',
'dueCompleted',
'isDueDateCompleted',
'stopwatch',
]);

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',
]);