Cache versioned habit history and load visible calendar ranges
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { HabitService } from "../habits/service";
|
||||
import type { Schedule } from "../habits/contracts";
|
||||
|
||||
export type TodayHabit = ReturnType<HabitService["day"]>;
|
||||
export type TodayHabit = ReturnType<HabitService["day"]> & { calendarRevision?: number };
|
||||
export type TodayResponse = {
|
||||
date: string;
|
||||
timezone: string;
|
||||
|
||||
Reference in New Issue
Block a user