event dashbaord

This commit is contained in:
2025-07-05 10:07:17 -04:00
parent 725752e39a
commit 2d62fb7d48
8 changed files with 278 additions and 104 deletions

34
types.d.ts vendored
View File

@@ -20,4 +20,36 @@ interface EventProps {
createdAt: Date; date: Date | null;
creatorId: string;
key: string;
}
}
interface Creator {
id: string
email: string
name: string | null
role: 'COUPLE' | 'PLANNER' | 'GUEST'
}
interface Todo {
id: string
name: string
complete: boolean
dueDate?: string | null
createdAt: string
updatedAt?: string
dueDate?: string | null
notes?: string | null
}
interface EventData {
id: string
name: string
date: Date | null
location: string | null
creatorId: string
createdAt: string
creator: Creator
guests: any[]
notes?: string
eventGuests: any[]
todos: Todo[]
}