Initial TypeScript event calendar service

This commit is contained in:
chiko committed 2026-10-09 00:34:48 +02:00
commit 5887d1255a
11 files changed
+1389

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
export interface CalendarEvent {
id: string;
title: string;
start: string;
end: string;
description?: string;
location?: string;
url?: string;
allDay?: boolean;
}
export interface StoredCalendarEvent extends CalendarEvent {
eventType: string;
postedBy?: string;
sourceMonth: string;
status: 'confirmed' | 'cancelled';
sequence: number;
}
export interface PendingNotification {
id: number;
title: string;
body: string;
format: 'markdown';
link?: string;
}
export interface PollStatus {
configured: boolean;
lastCheckedAt: string | null;
lastUpdatedAt: string | null;
lastError: string | null;
eventCount: number;
}