Files
frontend/src/types/index.ts
Maciek Głowacki f1cf374b07 Major refactoring
2020-08-12 04:13:14 +02:00

22 lines
343 B
TypeScript

export interface Group {
id: string;
day: string;
time: string;
lecturer: string;
room: string;
}
export interface Lecture {
id?: number;
name: string;
groups: Array<Group>;
}
export interface LectureInit {
name: string;
id: number;
}
export interface User {
name?: string;
surname?: string;
ticket: string | null;
}