1
0

feat: Use new Reminders API instead of reminder_dates

This commit is contained in:
ce72
2023-03-11 19:20:07 +01:00
committed by kolaente
parent 8a75790453
commit f747d5b2fc
8 changed files with 60 additions and 34 deletions

View File

@ -0,0 +1,8 @@
export const REMINDER_PERIOD_RELATIVE_TO_TYPES = {
DUEDATE: 'due_date',
STARTDATE: 'start_date',
ENDDATE: 'end_date',
} as const
export type IReminderPeriodRelativeTo = typeof REMINDER_PERIOD_RELATIVE_TO_TYPES[keyof typeof REMINDER_PERIOD_RELATIVE_TO_TYPES]