added recurrence (#35)

This commit is contained in:
Doh
2025-01-10 22:54:41 -05:00
committed by GitHub
parent 889391fcfe
commit 6c5853adea
14 changed files with 780 additions and 357 deletions

10
lib/constants.ts Normal file
View File

@@ -0,0 +1,10 @@
export const INITIAL_RECURRENCE_RULE = 'daily'
export const RECURRENCE_RULE_MAP: { [key: string]: string } = {
'daily': 'FREQ=DAILY',
'weekly': 'FREQ=WEEKLY',
'monthly': 'FREQ=MONTHLY',
'yearly': 'FREQ=YEARLY',
'': 'invalid',
}