iptdevs-design-system 3.1.16 → 3.1.18
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/notes/notes.interface.mjs +1 -1
- package/esm2020/lib/core/services/notes-service/notes.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +5 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/notes/notes.interface.d.ts +11 -6
- package/lib/core/services/notes-service/notes.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -89,16 +89,16 @@ export interface NoteOfNoteForm {
|
|
|
89
89
|
}
|
|
90
90
|
export interface IServiceCreateNewNoteRq {
|
|
91
91
|
token: string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
courseCode: number;
|
|
93
|
+
typeNoteStudent: INoteTypeStudentRq;
|
|
94
|
+
notesStudent: INoteStudentRq[];
|
|
95
|
+
observationNotes: string;
|
|
96
96
|
}
|
|
97
|
-
export interface
|
|
97
|
+
export interface INoteTypeStudentRq {
|
|
98
98
|
code: number;
|
|
99
99
|
note_name: string;
|
|
100
100
|
}
|
|
101
|
-
export interface
|
|
101
|
+
export interface INoteStudentRq {
|
|
102
102
|
student_code: string;
|
|
103
103
|
note_code: string;
|
|
104
104
|
note: string;
|
|
@@ -166,3 +166,8 @@ export interface MessageDataRq {
|
|
|
166
166
|
code: number;
|
|
167
167
|
message: string;
|
|
168
168
|
}
|
|
169
|
+
export interface INotesByUCourseAndStudentRq {
|
|
170
|
+
token: string;
|
|
171
|
+
course_code: number;
|
|
172
|
+
student_code: number;
|
|
173
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { GetNotesByGroupRq, GetNotesByStudentRq, IServiceCreateNewNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
2
|
+
import { GetNotesByGroupRq, GetNotesByStudentRq, INotesByUCourseAndStudentRq, IServiceCreateNewNoteRq, UpdateStudentNoteRq, calculateFinalNoteRq } from '../../models/notes/notes.interface';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { Response } from '../../models/response/response.interface';
|
|
5
5
|
import { IPTGeneralService } from '../service-enviroments';
|
|
@@ -13,6 +13,7 @@ export declare class NotesService extends IPTGeneralService {
|
|
|
13
13
|
createNewNote(params: IServiceCreateNewNoteRq): Observable<Response>;
|
|
14
14
|
updateStudentNote(params: UpdateStudentNoteRq): Observable<Response>;
|
|
15
15
|
calculateFinalNote(params: calculateFinalNoteRq): Observable<Response>;
|
|
16
|
+
getNotesByUserCourseStudent(params: INotesByUCourseAndStudentRq): Observable<Response>;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotesService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotesService>;
|
|
18
19
|
}
|