mario-core 2.9.241-release → 2.9.243-release
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/containers/User/constants/types.d.ts +7 -4
- package/dist/containers/User/hooks/useAssignStudent.d.ts +1 -1
- package/dist/containers/User/hooks/useTeacherList.d.ts +1 -1
- package/dist/index.css +3 -0
- package/dist/index.js +536 -512
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +525 -501
- package/dist/index.modern.js.map +1 -1
- package/package.json +104 -104
- package/dist/services/weeklyQuestService.d.ts +0 -1
- package/dist/types/WeeklyQuest.d.ts +0 -37
|
@@ -69,7 +69,6 @@ export declare type UserColumn = {
|
|
|
69
69
|
};
|
|
70
70
|
export declare type StudentAssign = {
|
|
71
71
|
studentId: number;
|
|
72
|
-
teacherUserId: string;
|
|
73
72
|
id: string;
|
|
74
73
|
email: string;
|
|
75
74
|
fullName: string;
|
|
@@ -85,10 +84,14 @@ export declare type StudentAssign = {
|
|
|
85
84
|
counselorEmail: string;
|
|
86
85
|
secondaryTeacherName: string;
|
|
87
86
|
secondaryTeacherEmail: string;
|
|
87
|
+
teachers: Array<ITeachers>;
|
|
88
|
+
};
|
|
89
|
+
export interface ITeachers {
|
|
90
|
+
teacherUserId: string;
|
|
88
91
|
mainTeacherName: string;
|
|
89
92
|
mainTeacherEmail: string;
|
|
90
93
|
mainTeacherId?: number;
|
|
91
|
-
}
|
|
94
|
+
}
|
|
92
95
|
export interface IStaffAssign {
|
|
93
96
|
teacherId: string;
|
|
94
97
|
teacherEmail: string;
|
|
@@ -133,8 +136,8 @@ export interface IOptions {
|
|
|
133
136
|
}
|
|
134
137
|
export declare type AssignStudentDto = {
|
|
135
138
|
id: string;
|
|
136
|
-
mainTeacherUserId?: string
|
|
137
|
-
mainTeacherEmail?: string
|
|
139
|
+
mainTeacherUserId?: Array<string>;
|
|
140
|
+
mainTeacherEmail?: Array<string>;
|
|
138
141
|
assistantUserId?: string;
|
|
139
142
|
assistantEmail?: string;
|
|
140
143
|
counselorUserId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IStaffAssign } from "../constants/types";
|
|
2
|
-
declare const useAssignStudent: (teacherSelected?:
|
|
2
|
+
declare const useAssignStudent: (teacherSelected?: any, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
|
|
3
3
|
handleAssignSingleStudent: (id: string) => void;
|
|
4
4
|
handleAssignMultiStudent: (listUserIds: string[]) => void;
|
|
5
5
|
openModelBulk: boolean;
|
|
@@ -3,7 +3,7 @@ import { IOptions } from "../constants/types";
|
|
|
3
3
|
declare const useTeacherList: () => {
|
|
4
4
|
selectedTeachers: object | undefined;
|
|
5
5
|
teacherOptions: IOptions[];
|
|
6
|
-
handleSelectTeacher: (
|
|
6
|
+
handleSelectTeacher: (teacherIds: Array<string>, studentUserId: string) => void;
|
|
7
7
|
handleCreateTeacherOption: (newTeacher: IOptions, studentUserId: string, isSelectTeacher?: boolean | undefined) => void;
|
|
8
8
|
setSelectedTeachers: import("react").Dispatch<import("react").SetStateAction<object | undefined>>;
|
|
9
9
|
};
|