-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e18fe1
commit a26e368
Showing
11 changed files
with
166 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export const USER_CATEGORIES = { | ||
Student: 'Студент', | ||
Lecturer: 'НПП', | ||
}; | ||
|
||
export const EMPLOYMENT_TYPE = { | ||
Unknown: 'невідомо', | ||
FullTime: 'основне', | ||
PartTime: 'сумісник', | ||
PartTimeInternal: 'внутрішній сумісник', | ||
PartTimeExternal: 'зовнішній сумісник', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { EMPLOYMENT_TYPE } from '@/types/constants'; | ||
|
||
interface Subdivision { | ||
id: number; | ||
name: string; | ||
} | ||
|
||
interface EmployeePosition { | ||
name: string; | ||
subdivision: Subdivision; | ||
employment: keyof typeof EMPLOYMENT_TYPE; | ||
} | ||
|
||
export interface EmployeeProfile { | ||
positions: EmployeePosition[]; | ||
academicDegree: string; | ||
academicStatus: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
interface Group { | ||
id: number; | ||
name: string; | ||
} | ||
|
||
export interface StudentProfile { | ||
speciality: string; | ||
studyGroup: Group; | ||
gradeBookNumber: string; | ||
studyYear: number; | ||
codeOfHonorSigned: boolean; | ||
faculty: string; | ||
status: string; | ||
formOfEducation: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters