Skip to content

Commit

Permalink
feat(schemas): distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
asqarslanov committed Jul 22, 2024
1 parent 6a111a9 commit d797f93
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions server/utils/schemas.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
export type CourseCodename = string
export type CourseGroup = string
export type StudentEmail = string

export type Distribution = any
export type Distribution = {
student: StudentEmail
cours: CourseCodename
}

export interface Course {
codename: CourseCodename
Expand All @@ -19,7 +23,7 @@ export interface Course {
}

export interface Student {
email: string
email: StudentEmail
gpa: number
priority_1: CourseCodename
priority_2: CourseCodename
Expand Down

0 comments on commit d797f93

Please sign in to comment.