mentorenwahl/docker/frontend/lib/graphql/user.ts

15 lines
216 B
TypeScript
Raw Normal View History

2022-02-02 20:54:14 +00:00
export enum Role {
ADMIN = "admin",
TEACHER = "teacher",
STUDENT = "student",
}
export interface User {
id: number;
name: string;
firstname: string;
lastname: string;
email: string;
role?: Role;
}