Course User
Course User
Which user in which course.
role
can be any number defined in CourseRole
:
export enum CourseRole {
noMember = 0,
member = 1,
moderator = 5,
owner = 9
}
interface CourseUser {
id: string
userId: string
courseId: string
role?: number
}