feat(backend): subtask category support (schema, validation, sync, routes)

This commit is contained in:
2026-08-10 11:41:25 +02:00
parent 4c3d1a118c
commit f3bcd78e49
15 changed files with 451 additions and 4 deletions
+2
View File
@@ -235,6 +235,7 @@ router.post('/push', asyncHandler(async (req: Request, res: Response) => {
title: task.title,
description: task.description,
categoryId: task.categoryId,
tags: task.tags ?? '',
priority: task.priority,
completed: task.completed,
dueDate: task.dueDate,
@@ -290,6 +291,7 @@ router.post('/push', asyncHandler(async (req: Request, res: Response) => {
.set({
taskId: sub.taskId,
parentSubtaskId: sub.parentSubtaskId ?? null,
categoryId: sub.categoryId ?? null,
title: sub.title,
description: sub.description ?? '',
priority: sub.priority ?? 'none',