51bf195664
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
22 lines
426 B
TypeScript
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;
|
|
}
|