refactor: code clean up

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-07-06 21:09:07 -04:00
parent dea5a61811
commit df531908f3
19 changed files with 594 additions and 643 deletions
+4
View File
@@ -0,0 +1,4 @@
export interface EpochSpan {
start: number;
end: number;
}
-6
View File
@@ -7,12 +7,6 @@
// 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;
+4 -4
View File
@@ -4,10 +4,10 @@ export interface CalendarInstance {
key: string
entity: EntityObject
instanceId: string | null
startMs: number
endMs: number
dayStartMs: number
durationMs: number
start: number
end: number
dayStart: number
duration: number
timeless: boolean
multiDay: boolean
label: string | null