1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
interface Base { _id: string; createdAt: string; updatedAt: string; } export interface User extends Base { username: string; } export interface Event extends Base { data: { name: string; participants: string[]; date: string; conferenceId: string; attendanceId: string; } }