mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-20 22:24:28 +01:00
added support for tasks
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import { CheckSquare, Target } from "lucide-react"
|
||||
|
||||
export const INITIAL_RECURRENCE_RULE = 'daily'
|
||||
export const INITIAL_DUE = 'today'
|
||||
|
||||
export const RECURRENCE_RULE_MAP: { [key: string]: string } = {
|
||||
'daily': 'FREQ=DAILY',
|
||||
@@ -8,3 +11,11 @@ export const RECURRENCE_RULE_MAP: { [key: string]: string } = {
|
||||
'': 'invalid',
|
||||
}
|
||||
|
||||
export const DUE_MAP: { [key: string]: string } = {
|
||||
'tom': 'tomorrow',
|
||||
'tod': 'today',
|
||||
'yes': 'yesterday',
|
||||
}
|
||||
|
||||
export const HabitIcon = Target
|
||||
export const TaskIcon = CheckSquare;
|
||||
|
||||
Reference in New Issue
Block a user