@tumaet/prompt-shared-state 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/application/exportedApplicationAnswer.js +2 -0
- package/dist/interfaces/application/exportedApplicationAnswer.js.map +1 -0
- package/dist/interfaces/application/index.js +2 -0
- package/dist/interfaces/application/index.js.map +1 -0
- package/dist/interfaces/course/course.js +2 -0
- package/dist/interfaces/course/course.js.map +1 -0
- package/dist/interfaces/course/courseType.js +12 -0
- package/dist/interfaces/course/courseType.js.map +1 -0
- package/dist/interfaces/course/index.js +4 -0
- package/dist/interfaces/course/index.js.map +1 -0
- package/dist/interfaces/course/updateCourse.js +2 -0
- package/dist/interfaces/course/updateCourse.js.map +1 -0
- package/dist/interfaces/coursePhase/coursePhase.js +2 -0
- package/dist/interfaces/coursePhase/coursePhase.js.map +1 -0
- package/dist/interfaces/coursePhase/coursePhaseWithType.js +2 -0
- package/dist/interfaces/coursePhase/coursePhaseWithType.js.map +1 -0
- package/dist/interfaces/coursePhase/createCoursePhase.js +2 -0
- package/dist/interfaces/coursePhase/createCoursePhase.js.map +1 -0
- package/dist/interfaces/coursePhase/index.js +5 -0
- package/dist/interfaces/coursePhase/index.js.map +1 -0
- package/dist/interfaces/coursePhase/updateCoursePhase.js +2 -0
- package/dist/interfaces/coursePhase/updateCoursePhase.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/coursePhaseParticipationWithStudent.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/coursePhaseParticipationWithStudent.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/index.js +5 -0
- package/dist/interfaces/coursePhaseParticipation/index.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/passStatus.js +7 -0
- package/dist/interfaces/coursePhaseParticipation/passStatus.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/updateCoursePhaseParticipation.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/updateCoursePhaseParticipation.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/updateCoursePhaseParticipationStatus.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/updateCoursePhaseParticipationStatus.js.map +1 -0
- package/dist/interfaces/coursePhaseType/coursePhaseType.js +2 -0
- package/dist/interfaces/coursePhaseType/coursePhaseType.js.map +1 -0
- package/dist/interfaces/coursePhaseType/coursePhaseTypeMetaDataItem.js +2 -0
- package/dist/interfaces/coursePhaseType/coursePhaseTypeMetaDataItem.js.map +1 -0
- package/dist/interfaces/coursePhaseType/index.js +3 -0
- package/dist/interfaces/coursePhaseType/index.js.map +1 -0
- package/dist/interfaces/index.js +10 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/mailing/coursePhaseMailingConfigData.js +2 -0
- package/dist/interfaces/mailing/coursePhaseMailingConfigData.js.map +1 -0
- package/dist/interfaces/mailing/index.js +4 -0
- package/dist/interfaces/mailing/index.js.map +1 -0
- package/dist/interfaces/mailing/mailingReport.js +2 -0
- package/dist/interfaces/mailing/mailingReport.js.map +1 -0
- package/dist/interfaces/mailing/sendStatusMail.js +2 -0
- package/dist/interfaces/mailing/sendStatusMail.js.map +1 -0
- package/dist/interfaces/roles/getPermissionString.js +9 -0
- package/dist/interfaces/roles/getPermissionString.js.map +1 -0
- package/dist/interfaces/roles/index.js +3 -0
- package/dist/interfaces/roles/index.js.map +1 -0
- package/dist/interfaces/roles/role.js +9 -0
- package/dist/interfaces/roles/role.js.map +1 -0
- package/dist/interfaces/student/gender.js +22 -0
- package/dist/interfaces/student/gender.js.map +1 -0
- package/dist/interfaces/student/index.js +4 -0
- package/dist/interfaces/student/index.js.map +1 -0
- package/dist/interfaces/student/student.js +2 -0
- package/dist/interfaces/student/student.js.map +1 -0
- package/dist/interfaces/student/studyDegree.js +16 -0
- package/dist/interfaces/student/studyDegree.js.map +1 -0
- package/dist/interfaces/user/index.js +2 -0
- package/dist/interfaces/user/index.js.map +1 -0
- package/dist/interfaces/user/user.js +2 -0
- package/dist/interfaces/user/user.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interfaces/application/exportedApplicationAnswer.d.ts +6 -0
- package/dist/types/interfaces/application/index.d.ts +1 -0
- package/dist/types/interfaces/course/course.d.ts +14 -0
- package/dist/types/interfaces/course/courseType.d.ts +11 -0
- package/dist/types/interfaces/course/index.d.ts +3 -0
- package/dist/types/interfaces/course/updateCourse.d.ts +5 -0
- package/dist/types/interfaces/coursePhase/coursePhase.d.ts +10 -0
- package/dist/types/interfaces/coursePhase/coursePhaseWithType.d.ts +9 -0
- package/dist/types/interfaces/coursePhase/createCoursePhase.d.ts +6 -0
- package/dist/types/interfaces/coursePhase/index.d.ts +4 -0
- package/dist/types/interfaces/coursePhase/updateCoursePhase.d.ts +7 -0
- package/dist/types/interfaces/coursePhaseParticipation/coursePhaseParticipationWithStudent.d.ts +14 -0
- package/dist/types/interfaces/coursePhaseParticipation/index.d.ts +4 -0
- package/dist/types/interfaces/coursePhaseParticipation/passStatus.d.ts +5 -0
- package/dist/types/interfaces/coursePhaseParticipation/updateCoursePhaseParticipation.d.ts +10 -0
- package/dist/types/interfaces/coursePhaseParticipation/updateCoursePhaseParticipationStatus.d.ts +5 -0
- package/dist/types/interfaces/coursePhaseType/coursePhaseType.d.ts +8 -0
- package/dist/types/interfaces/coursePhaseType/coursePhaseTypeMetaDataItem.d.ts +4 -0
- package/dist/types/interfaces/coursePhaseType/index.d.ts +2 -0
- package/dist/types/interfaces/index.d.ts +9 -0
- package/dist/types/interfaces/mailing/coursePhaseMailingConfigData.d.ts +6 -0
- package/dist/types/interfaces/mailing/index.d.ts +3 -0
- package/dist/types/interfaces/mailing/mailingReport.d.ts +4 -0
- package/dist/types/interfaces/mailing/sendStatusMail.d.ts +4 -0
- package/dist/types/interfaces/roles/getPermissionString.d.ts +2 -0
- package/dist/types/interfaces/roles/index.d.ts +2 -0
- package/dist/types/interfaces/roles/role.d.ts +7 -0
- package/dist/types/interfaces/student/gender.d.ts +7 -0
- package/dist/types/interfaces/student/index.d.ts +3 -0
- package/dist/types/interfaces/student/student.d.ts +16 -0
- package/dist/types/interfaces/student/studyDegree.d.ts +5 -0
- package/dist/types/interfaces/user/index.d.ts +1 -0
- package/dist/types/interfaces/user/user.d.ts +8 -0
- package/package.json +1 -1
- package/dist/main.js +0 -2
- package/dist/main.js.map +0 -1
- package/dist/types/main.d.ts +0 -1
- package/dist/types/zustand/zustand.d.ts +0 -1
- package/dist/zustand/zustand.js +0 -2
- package/dist/zustand/zustand.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportedApplicationAnswer.js","sourceRoot":"","sources":["../../../src/interfaces/application/exportedApplicationAnswer.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/application/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"course.js","sourceRoot":"","sources":["../../../src/interfaces/course/course.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var CourseType;
|
|
2
|
+
(function (CourseType) {
|
|
3
|
+
CourseType["LECTURE"] = "lecture";
|
|
4
|
+
CourseType["SEMINAR"] = "seminar";
|
|
5
|
+
CourseType["PRACTICAL"] = "practical course";
|
|
6
|
+
})(CourseType || (CourseType = {}));
|
|
7
|
+
export const CourseTypeDetails = {
|
|
8
|
+
[CourseType.LECTURE]: { name: 'Lecture' },
|
|
9
|
+
[CourseType.SEMINAR]: { name: 'Seminar', ects: 5 },
|
|
10
|
+
[CourseType.PRACTICAL]: { name: 'Practical Course', ects: 10 },
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=courseType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"courseType.js","sourceRoot":"","sources":["../../../src/interfaces/course/courseType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,4CAA8B,CAAA;AAChC,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAED,MAAM,CAAC,MAAM,iBAAiB,GAE1B;IACF,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;IACzC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE;IAClD,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,EAAE,EAAE;CAC/D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/course/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCourse.js","sourceRoot":"","sources":["../../../src/interfaces/course/updateCourse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhase.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhase/coursePhase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseWithType.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhase/coursePhaseWithType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCoursePhase.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhase/createCoursePhase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhase/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCoursePhase.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhase/updateCoursePhase.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseParticipationWithStudent.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/coursePhaseParticipationWithStudent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,cAAc,CAAA;AAC5B,cAAc,kCAAkC,CAAA;AAChD,cAAc,wCAAwC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passStatus.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/passStatus.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,2CAA6B,CAAA;AAC/B,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCoursePhaseParticipation.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/updateCoursePhaseParticipation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCoursePhaseParticipationStatus.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/updateCoursePhaseParticipationStatus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseType.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseType/coursePhaseType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseTypeMetaDataItem.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseType/coursePhaseTypeMetaDataItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseType/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './application';
|
|
2
|
+
export * from './course';
|
|
3
|
+
export * from './coursePhase';
|
|
4
|
+
export * from './coursePhaseParticipation';
|
|
5
|
+
export * from './coursePhaseType';
|
|
6
|
+
export * from './mailing';
|
|
7
|
+
export * from './roles';
|
|
8
|
+
export * from './student';
|
|
9
|
+
export * from './user';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseMailingConfigData.js","sourceRoot":"","sources":["../../../src/interfaces/mailing/coursePhaseMailingConfigData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/mailing/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA;AAC9C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailingReport.js","sourceRoot":"","sources":["../../../src/interfaces/mailing/mailingReport.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendStatusMail.js","sourceRoot":"","sources":["../../../src/interfaces/mailing/sendStatusMail.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Role } from './role';
|
|
2
|
+
// Function to get the permission string
|
|
3
|
+
export const getPermissionString = (role, courseName, courseSemesterTag) => {
|
|
4
|
+
if (role === Role.PROMPT_ADMIN || role === Role.PROMPT_LECTURER) {
|
|
5
|
+
return role;
|
|
6
|
+
}
|
|
7
|
+
return `${courseName}-${courseSemesterTag}-${role}`;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=getPermissionString.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPermissionString.js","sourceRoot":"","sources":["../../../src/interfaces/roles/getPermissionString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,wCAAwC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAU,EACV,UAAmB,EACnB,iBAA0B,EAClB,EAAE;IACV,IAAI,IAAI,KAAK,IAAI,CAAC,YAAY,IAAI,IAAI,KAAK,IAAI,CAAC,eAAe,EAAE,CAAC;QAChE,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,GAAG,UAAU,IAAI,iBAAiB,IAAI,IAAI,EAAE,CAAA;AACrD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/roles/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var Role;
|
|
2
|
+
(function (Role) {
|
|
3
|
+
Role["PROMPT_ADMIN"] = "PROMPT_Admin";
|
|
4
|
+
Role["PROMPT_LECTURER"] = "PROMPT_Lecturer";
|
|
5
|
+
Role["COURSE_LECTURER"] = "Lecturer";
|
|
6
|
+
Role["COURSE_EDITOR"] = "Editor";
|
|
7
|
+
Role["COURSE_STUDENT"] = "Student";
|
|
8
|
+
})(Role || (Role = {}));
|
|
9
|
+
//# sourceMappingURL=role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../../src/interfaces/roles/role.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAMX;AAND,WAAY,IAAI;IACd,qCAA6B,CAAA;IAC7B,2CAAmC,CAAA;IACnC,oCAA4B,CAAA;IAC5B,gCAAwB,CAAA;IACxB,kCAA0B,CAAA;AAC5B,CAAC,EANW,IAAI,KAAJ,IAAI,QAMf"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export var Gender;
|
|
2
|
+
(function (Gender) {
|
|
3
|
+
Gender["MALE"] = "male";
|
|
4
|
+
Gender["FEMALE"] = "female";
|
|
5
|
+
Gender["DIVERSE"] = "diverse";
|
|
6
|
+
Gender["PREFER_NOT_TO_SAY"] = "prefer_not_to_say";
|
|
7
|
+
})(Gender || (Gender = {}));
|
|
8
|
+
export function getGenderString(gender) {
|
|
9
|
+
switch (gender) {
|
|
10
|
+
case Gender.MALE:
|
|
11
|
+
return 'Male';
|
|
12
|
+
case Gender.FEMALE:
|
|
13
|
+
return 'Female';
|
|
14
|
+
case Gender.DIVERSE:
|
|
15
|
+
return 'Diverse';
|
|
16
|
+
case Gender.PREFER_NOT_TO_SAY:
|
|
17
|
+
return 'Prefer not to say';
|
|
18
|
+
default:
|
|
19
|
+
return 'Unknown';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=gender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gender.js","sourceRoot":"","sources":["../../../src/interfaces/student/gender.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,6BAAmB,CAAA;IACnB,iDAAuC,CAAA;AACzC,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,UAAU,eAAe,CAAC,MAA0B;IACxD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,MAAM,CAAC,IAAI;YACd,OAAO,MAAM,CAAA;QACf,KAAK,MAAM,CAAC,MAAM;YAChB,OAAO,QAAQ,CAAA;QACjB,KAAK,MAAM,CAAC,OAAO;YACjB,OAAO,SAAS,CAAA;QAClB,KAAK,MAAM,CAAC,iBAAiB;YAC3B,OAAO,mBAAmB,CAAA;QAC5B;YACE,OAAO,SAAS,CAAA;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/student/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student.js","sourceRoot":"","sources":["../../../src/interfaces/student/student.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var StudyDegree;
|
|
2
|
+
(function (StudyDegree) {
|
|
3
|
+
StudyDegree["BACHELOR"] = "bachelor";
|
|
4
|
+
StudyDegree["MASTER"] = "master";
|
|
5
|
+
})(StudyDegree || (StudyDegree = {}));
|
|
6
|
+
export function getStudyDegreeString(degree) {
|
|
7
|
+
switch (degree) {
|
|
8
|
+
case StudyDegree.BACHELOR:
|
|
9
|
+
return 'Bachelor';
|
|
10
|
+
case StudyDegree.MASTER:
|
|
11
|
+
return 'Master';
|
|
12
|
+
default:
|
|
13
|
+
return 'Unknown';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=studyDegree.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studyDegree.js","sourceRoot":"","sources":["../../../src/interfaces/student/studyDegree.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;AACnB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;AAED,MAAM,UAAU,oBAAoB,CAAC,MAA+B;IAClE,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,WAAW,CAAC,QAAQ;YACvB,OAAO,UAAU,CAAA;QACnB,KAAK,WAAW,CAAC,MAAM;YACrB,OAAO,QAAQ,CAAA;QACjB;YACE,OAAO,SAAS,CAAA;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/interfaces/user/user.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './exportedApplicationAnswer';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CoursePhaseWithType } from '../coursePhase/coursePhaseWithType';
|
|
2
|
+
export interface Course {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
startDate: Date;
|
|
6
|
+
endDate: Date;
|
|
7
|
+
courseType: string;
|
|
8
|
+
ects: number;
|
|
9
|
+
semesterTag: string;
|
|
10
|
+
metaData: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
coursePhases: Array<CoursePhaseWithType>;
|
|
14
|
+
}
|
package/dist/types/interfaces/coursePhaseParticipation/coursePhaseParticipationWithStudent.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Student } from '../student/student';
|
|
2
|
+
import { PassStatus } from './passStatus';
|
|
3
|
+
export interface CoursePhaseParticipationWithStudent {
|
|
4
|
+
id: string;
|
|
5
|
+
passStatus: PassStatus;
|
|
6
|
+
courseParticipationID: string;
|
|
7
|
+
metaData: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
prevMetaData: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
student: Student;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CoursePhaseTypeMetaDataItem } from './coursePhaseTypeMetaDataItem';
|
|
2
|
+
export interface CoursePhaseType {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
requiredInputMetaData: CoursePhaseTypeMetaDataItem[];
|
|
6
|
+
providedOutputMetaData: CoursePhaseTypeMetaDataItem[];
|
|
7
|
+
initialPhase: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './application';
|
|
2
|
+
export * from './course';
|
|
3
|
+
export * from './coursePhase';
|
|
4
|
+
export * from './coursePhaseParticipation';
|
|
5
|
+
export * from './coursePhaseType';
|
|
6
|
+
export * from './mailing';
|
|
7
|
+
export * from './roles';
|
|
8
|
+
export * from './student';
|
|
9
|
+
export * from './user';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Gender } from './gender';
|
|
2
|
+
import { StudyDegree } from './studyDegree';
|
|
3
|
+
export interface Student {
|
|
4
|
+
id?: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
matriculationNumber?: string;
|
|
9
|
+
universityLogin?: string;
|
|
10
|
+
hasUniversityAccount: boolean;
|
|
11
|
+
gender?: Gender;
|
|
12
|
+
nationality?: string;
|
|
13
|
+
studyDegree?: StudyDegree;
|
|
14
|
+
currentSemester?: number;
|
|
15
|
+
studyProgram?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user';
|
package/package.json
CHANGED
package/dist/main.js
DELETED
package/dist/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/types/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './zustand/useDemoStore';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDemoStore';
|
package/dist/zustand/zustand.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zustand.js","sourceRoot":"","sources":["../../src/zustand/zustand.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|