mario-core 2.9.306-release → 2.9.310-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.
@@ -27,4 +27,5 @@ export declare enum LoginType {
27
27
  export interface ISchool {
28
28
  schoolName: string;
29
29
  schoolLogo: string;
30
+ schoolId: number;
30
31
  }
@@ -13,6 +13,7 @@ interface Props {
13
13
  submitLogin: Function;
14
14
  infoUser: any;
15
15
  googleClientId: string;
16
+ fnLoginSSO: Function;
16
17
  }
17
18
  declare const BlockLogin: FC<Props>;
18
19
  export default BlockLogin;
@@ -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?: object | undefined, assistantSelected?: object | undefined, counselorSelected?: object | undefined, secondaryTeacherSelected?: object | undefined, callback?: Function | undefined) => {
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: (teacherId: string, studentUserId: string) => void;
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
  };