Files
chrono/src/types/index.ts
T
Sebastian 51bf195664 feat: visible date range
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-06-29 21:41:27 -04:00

22 lines
426 B
TypeScript

/**
* Chrono Module Types
*
* Local UI types for the Chrono module
*/
// Local UI-specific types
export type CalendarView = 'days' | 'month' | 'agenda';
/** Half-open local calendar range: [startMs, endMs). */
export interface VisibleDateRange {
startMs: number;
endMs: number;
}
export interface ViewState {
currentView: CalendarView;
currentDate: Date;
selectedCalendars: string[];
showTasks: boolean;
}