aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
blob: 724393428e6d67b0db05151039db787cfb2d9788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
interface Base {
  _id: string;
  createdAt: string;
  updatedAt: string;
}

export interface User extends Base {
  username: string;
}

export interface Event extends Base {
  status?: 'running' | 'complete' | 'failed';
  failReason?: string;
  data: {
    name: string;
    participants: string[];
    date: string;
    conferenceId: string;
    attendanceId: string;
  }
}