24 lines
419 B
TypeScript
24 lines
419 B
TypeScript
// front/types/calendar.d.ts
|
|
export interface Calendar {
|
|
id: string;
|
|
name: string;
|
|
color: string;
|
|
description?: string;
|
|
userId: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
|
|
export interface CalendarEvent {
|
|
id: string;
|
|
title: string;
|
|
description?: string;
|
|
start: string;
|
|
end: string;
|
|
location?: string;
|
|
isAllDay: boolean;
|
|
calendarId: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|