35 lines
666 B
TypeScript
35 lines
666 B
TypeScript
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;
|
|
}
|