iptdevs-design-system 3.1.841 → 3.1.843
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/esm2020/lib/core/models/course/course-rq.model.mjs +1 -1
- package/esm2020/lib/core/services/course-service/course-service.model.mjs +7 -4
- package/fesm2015/iptdevs-design-system.mjs +6 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/course/course-rq.model.d.ts +4 -0
- package/lib/core/services/course-service/course-service.model.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3583,9 +3583,8 @@ class CourseService extends IPTGeneralService {
|
|
|
3583
3583
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3584
3584
|
}
|
|
3585
3585
|
getLastEventByCourse(params) {
|
|
3586
|
-
let serviceUrl = this.SERVICE_URL + 'get/last/event/by/course/
|
|
3587
|
-
this.
|
|
3588
|
-
return this.http.post(serviceUrl, this.httpOptions);
|
|
3586
|
+
let serviceUrl = this.SERVICE_URL + 'get/last/event/by/course/' + params.course_code;
|
|
3587
|
+
return this.http.get(serviceUrl);
|
|
3589
3588
|
}
|
|
3590
3589
|
createCourseEvent(params) {
|
|
3591
3590
|
let serviceUrl = this.SERVICE_URL + 'create/course/event';
|
|
@@ -3597,6 +3596,10 @@ class CourseService extends IPTGeneralService {
|
|
|
3597
3596
|
this.generateRequestParams(params);
|
|
3598
3597
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3599
3598
|
}
|
|
3599
|
+
getCourseSchedule(request) {
|
|
3600
|
+
let serviceUrl = this.SERVICE_URL + 'course/schedule/' + request.course_code;
|
|
3601
|
+
return this.http.post(serviceUrl, request);
|
|
3602
|
+
}
|
|
3600
3603
|
}
|
|
3601
3604
|
CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3602
3605
|
CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });
|