event dashbaord
This commit is contained in:
34
types.d.ts
vendored
34
types.d.ts
vendored
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user