aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
blob: d385d2a2cbaae9bc8485ccb8d77ef331f8047aaa (plain)
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;
  }
}