iptdevs-design-system 2.6.41 → 2.6.43
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/classroom/classroom-rq.model.mjs +1 -1
- package/esm2020/lib/core/services/classroom-service/classroom-service.service.mjs +7 -2
- package/fesm2015/iptdevs-design-system.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +6 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/classroom/classroom-rq.model.d.ts +14 -0
- package/lib/core/services/classroom-service/classroom-service.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2,3 +2,17 @@ export interface ClassroomModalityRq {
|
|
|
2
2
|
token: string;
|
|
3
3
|
course_modality: number;
|
|
4
4
|
}
|
|
5
|
+
export interface ClassroomByIdCalendarRq {
|
|
6
|
+
token: string;
|
|
7
|
+
id_calendar: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Classroom {
|
|
10
|
+
code: number;
|
|
11
|
+
name: string;
|
|
12
|
+
course_modality: number;
|
|
13
|
+
capacity: number;
|
|
14
|
+
id_calendar: string;
|
|
15
|
+
adress: string;
|
|
16
|
+
updated_at?: Date;
|
|
17
|
+
created_at?: Date;
|
|
18
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ClassroomModalityRq } from '../../models/classroom/classroom-rq.model';
|
|
3
|
+
import { ClassroomByIdCalendarRq, ClassroomModalityRq } from '../../models/classroom/classroom-rq.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ClassroomService {
|
|
6
6
|
private http;
|
|
7
7
|
private SERVICE_URL;
|
|
8
8
|
httpOptions: any;
|
|
9
9
|
constructor(http: HttpClient);
|
|
10
|
-
getClassroomsByModality(params: ClassroomModalityRq): Observable<
|
|
10
|
+
getClassroomsByModality(params: ClassroomModalityRq): Observable<Response>;
|
|
11
|
+
getClassroomByIdCalendar(params: ClassroomByIdCalendarRq): Observable<Response>;
|
|
11
12
|
private generateRequestParams;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClassroomService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClassroomService>;
|