fix(todos): types union TodoCreate, gestion erreurs handlers, transition SwipeableRow réactive

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 12:18:20 +02:00
parent 8aeb45387d
commit 2e1f3a77fb
3 changed files with 43 additions and 18 deletions
+4 -4
View File
@@ -23,8 +23,8 @@ export interface TodoCreate {
domain?: string
category?: string
tags?: string[]
status?: string
priority?: string
status?: 'pending' | 'done' | 'cancelled'
priority?: 'low' | 'medium' | 'high'
due_date?: string
}
@@ -35,8 +35,8 @@ export interface TodoUpdate {
domain?: string
category?: string
tags?: string[]
status?: string
priority?: string
status?: 'pending' | 'done' | 'cancelled'
priority?: 'low' | 'medium' | 'high'
due_date?: string
}