mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
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:
parent
0669ba1048
commit
6839c20c27
12 changed files with 35 additions and 69 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue