refactor(task): remove deprecated reminderId field

The reminderId field was deprecated in favor of remindAt. After migration
4.6, tasks store reminder timestamps directly in remindAt instead of
referencing a separate Reminder entity.

Changes:
- Remove reminderId from TaskCopy interface and plugin-api Task type
- Update all code checking reminderId to use remindAt instead
- Update data repair to clear legacy reminderId values
- Remove obsolete reminderId validation (reminders array is now empty)
- Update migration files to handle legacy types
- Update tests to reflect new behavior
This commit is contained in:
Johannes Millan 2025-12-05 09:54:15 +01:00
parent 0669ba1048
commit 6839c20c27
12 changed files with 35 additions and 69 deletions

View file

@ -216,8 +216,6 @@ export interface Task {
timeSpentOnDay?: { [key: string]: number };
doneOn?: number | null;
attachments?: any[];
/** @deprecated Use remindAt instead */
reminderId?: string | null;
remindAt?: number | null;
repeatCfgId?: string | null;