@tumaet/prompt-shared-state 0.0.18 → 0.0.20
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/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.js.map +1 -0
- package/dist/interfaces/coursePhaseParticipation/index.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/index.js.map +1 -1
- package/dist/interfaces/coursePhaseParticipation/resolution.js +2 -0
- package/dist/interfaces/coursePhaseParticipation/resolution.js.map +1 -0
- package/dist/interfaces/roles/getPermissionString.js +1 -1
- package/dist/interfaces/roles/getPermissionString.js.map +1 -1
- package/dist/types/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.d.ts +6 -0
- package/dist/types/interfaces/coursePhaseParticipation/index.d.ts +2 -0
- package/dist/types/interfaces/coursePhaseParticipation/resolution.d.ts +6 -0
- package/package.json +1 -1
package/dist/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coursePhaseParticipationsWithResolution.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.ts"],"names":[],"mappings":""}
|
|
@@ -2,4 +2,6 @@ export * from './coursePhaseParticipationWithStudent';
|
|
|
2
2
|
export * from './passStatus';
|
|
3
3
|
export * from './updateCoursePhaseParticipation';
|
|
4
4
|
export * from './updateCoursePhaseParticipationStatus';
|
|
5
|
+
export * from './coursePhaseParticipationsWithResolution';
|
|
6
|
+
export * from './resolution';
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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"}
|
|
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;AACtD,cAAc,2CAA2C,CAAA;AACzD,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolution.js","sourceRoot":"","sources":["../../../src/interfaces/coursePhaseParticipation/resolution.ts"],"names":[],"mappings":""}
|
|
@@ -4,6 +4,6 @@ export const getPermissionString = (role, courseName, courseSemesterTag) => {
|
|
|
4
4
|
if (role === Role.PROMPT_ADMIN || role === Role.PROMPT_LECTURER) {
|
|
5
5
|
return role;
|
|
6
6
|
}
|
|
7
|
-
return `${
|
|
7
|
+
return `${courseSemesterTag}-${courseName}-${role}`;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=getPermissionString.js.map
|
|
@@ -1 +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,
|
|
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,iBAAiB,IAAI,UAAU,IAAI,IAAI,EAAE,CAAA;AACrD,CAAC,CAAA"}
|
package/dist/types/interfaces/coursePhaseParticipation/coursePhaseParticipationsWithResolution.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CoursePhaseParticipationWithStudent } from './coursePhaseParticipationWithStudent';
|
|
2
|
+
import { DataResolution } from './resolution';
|
|
3
|
+
export interface CoursePhaseParticipationsWithResolution {
|
|
4
|
+
participations: CoursePhaseParticipationWithStudent[];
|
|
5
|
+
resolutions: DataResolution[];
|
|
6
|
+
}
|
|
@@ -2,3 +2,5 @@ export * from './coursePhaseParticipationWithStudent';
|
|
|
2
2
|
export * from './passStatus';
|
|
3
3
|
export * from './updateCoursePhaseParticipation';
|
|
4
4
|
export * from './updateCoursePhaseParticipationStatus';
|
|
5
|
+
export * from './coursePhaseParticipationsWithResolution';
|
|
6
|
+
export * from './resolution';
|