Initial TypeScript event calendar service
This commit is contained in:
commit
5887d1255a
11 files changed
+1389
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user