mario-teacher-student-client 2.1.45-beta → 2.1.48-beta

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.
@@ -7,6 +7,7 @@ interface Props {
7
7
  updateAllow: Function;
8
8
  isTeacher?: boolean;
9
9
  classFontSize?: any;
10
+ name?: string;
10
11
  }
11
- declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher, classFontSize }: Props) => JSX.Element;
12
+ declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher, classFontSize, name }: Props) => JSX.Element;
12
13
  export default CardSwitch;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const AboutMyLearning: ({ studentId }: any) => JSX.Element;
2
+ declare const AboutMyLearning: ({ studentId, isAllowedEdit, updateAllow, studentInfo }: any) => JSX.Element;
3
3
  export default AboutMyLearning;
@@ -24,5 +24,6 @@ declare const useAboutMyLearning: () => {
24
24
  }>>;
25
25
  classFontSize: string;
26
26
  nameStudent: string;
27
+ getAllow: () => Promise<void>;
27
28
  };
28
29
  export default useAboutMyLearning;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const Accomondation: ({ studentId }: any) => JSX.Element;
2
+ declare const Accomondation: ({ studentId, isAllowedEdit, updateAllow, studentInfo }: any) => JSX.Element;
3
3
  export default Accomondation;
@@ -32,5 +32,6 @@ declare const useAccommodation: () => {
32
32
  };
33
33
  classFontSize: string;
34
34
  nameStudent: string;
35
+ getAllow: () => Promise<void>;
35
36
  };
36
37
  export default useAccommodation;
@@ -1,3 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare const Goals: () => JSX.Element;
2
+ interface Goal {
3
+ isAllowedEdit: boolean;
4
+ updateAllow: Function;
5
+ studentInfo: any;
6
+ }
7
+ declare const Goals: ({ isAllowedEdit, updateAllow, studentInfo }: Goal) => JSX.Element;
3
8
  export default Goals;
@@ -9,5 +9,6 @@ declare const useGoals: () => {
9
9
  currentId: any;
10
10
  classFontSize: string;
11
11
  nameStudent: string;
12
+ getAllow: () => Promise<void>;
12
13
  };
13
14
  export default useGoals;
@@ -1,6 +1,11 @@
1
1
  declare type AllowToEdit = {
2
2
  PersonalInterest: boolean;
3
3
  LearningStrategie: boolean;
4
+ StrengthAndChallenge: boolean;
5
+ AdditionalThing: boolean;
6
+ Section: boolean;
7
+ Accommodation: boolean;
8
+ GOAL: boolean;
4
9
  };
5
10
  declare const usePersonalInterest: (studentId: number) => {
6
11
  listPersonalInterest: any;
@@ -9,6 +14,7 @@ declare const usePersonalInterest: (studentId: number) => {
9
14
  updateAllowToEdit: (event: React.ChangeEvent<HTMLInputElement>) => void;
10
15
  classFontSize: string;
11
16
  nameStudentPlan: string;
17
+ getStudentDataProfile: () => Promise<void>;
12
18
  studentData: undefined;
13
19
  };
14
20
  export default usePersonalInterest;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
3
  isTeacher?: boolean;
4
+ studentInfo: any;
4
5
  }
5
- declare const SummaryStrengthsAndChallenges: ({ isTeacher }: Props) => JSX.Element;
6
+ declare const SummaryStrengthsAndChallenges: ({ isTeacher, studentInfo }: Props) => JSX.Element;
6
7
  export default SummaryStrengthsAndChallenges;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { THING_TEACHER_TYPE } from "../constants/type";
3
- declare const ThingTeachersCanHelp: ({ studentId }: THING_TEACHER_TYPE) => JSX.Element;
3
+ declare const ThingTeachersCanHelp: ({ studentId, isAllowedEdit, updateAllow, studentInfo }: THING_TEACHER_TYPE) => JSX.Element;
4
4
  export default ThingTeachersCanHelp;
@@ -5,6 +5,9 @@ export interface THING_TEACHER_CAN_HELP {
5
5
  }
6
6
  export interface THING_TEACHER_TYPE {
7
7
  studentId: number;
8
+ isAllowedEdit: boolean;
9
+ updateAllow: Function;
10
+ studentInfo: any;
8
11
  }
9
12
  export interface THING_TEACHER_CAN_HELP_DIALOG {
10
13
  onClose: Function;
@@ -13,5 +13,6 @@ declare const useThingTeachersCanHelp: () => {
13
13
  isTeacher: any;
14
14
  classFontSize: string;
15
15
  nameStudent: string;
16
+ getAllow: () => Promise<void>;
16
17
  };
17
18
  export default useThingTeachersCanHelp;