-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenums.ts
More file actions
77 lines (69 loc) · 2.25 KB
/
enums.ts
File metadata and controls
77 lines (69 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Shortnames for the included degrees
// Tutkinto-ohjelmien lyhenteet
export enum DegreeCode {
TKT = 'TKT',
CSM = 'CSM',
DATA = 'DATA',
LSI = 'LSI',
}
// Groups to color code and group courses in the frontend according to Sisu
// Kurssiryhmät väritystä ja ryhmittelyä varten
export enum CourseGroup {
BASIC = 'basic', // Perusopinnot / Basic studies
INTERMEDIATE = 'intermediate', // Aineopinnot / Intermediate studies
ALTERANTIVE = 'alternative', // Vaihtoehtoinen opintokokonaisuus / Alternative study module
MINOR = 'minor', // Muun tietenalan opinnot / Study module from other discipline
LANGUAGE = 'language', // Kieliopinnot / Language studies
OTHER = 'other', // Muut opinnot / Other studies
// Placeholders for courses that are not held normally but only completed on special occasions
PLACEHOLDER = 'placeholder',
}
export enum Necessity {
MANDATORY = 'compulsory',
OPTIONAL = 'optional',
SELECTABLE = 'selectable',
}
export enum Language {
FI = 'fi',
EN = 'en',
SV = 'sv',
ES = 'es',
FR = 'fr',
NO = 'no',
SK = 'sk',
}
// Type of course implementation
// Kurssitoteutuksen suoritustavat
export enum Method {
// Open University / Avoin yliopisto
OPEN,
// Only UH students / Vain tutkinto-opiskelijat
LECTURE, // Luentokurssit / Lecture courses
INDEPENDENT, // Itsenäinen opiskelu / Etäopiskelu / Independent studies / Remote studies
EXAM, // Yleistentti / Exam
PROJECT, // Projekti / Harjoitustyö / Project / Lab
SEMINAR, // Seminaari / Seminar
}
// Indicates whether a previous course is required for the course or overall recommended but not required
// Edeltävän kurssin pakollisuus
export enum Prerequisite {
MANDATORY = 1, // Esitietovaatimus / Crucial prerequisite
RECOMMENDED, // Hyödyllinen esitieto / Useful prerequisite
ALTERANTIVE, // Vaihtoehtoinen esitieto / Alternative prerequisite
}
// Predefined periods where most courses are held
// periodit, lukukaudet ja intensiivijaksot
export enum Period {
// Jaksot / Periods
FIRST,
SECOND,
THIRD,
FOURTH,
// Lukukaudet / Semesters
AUTUMN,
SPRING,
// Intensiivijaksot / Intensive periods
INTESIVE_AUGUST,
INTENSIVE_JANUARY,
INTENSIVE_MAY,
}