mario-education 2.4.20-beta → 2.4.24-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.
@@ -13,5 +13,6 @@ declare const useSwitchAssistant: () => {
13
13
  removeData: (teacherUserId: string, studentId: number) => Promise<void>;
14
14
  resetData: () => void;
15
15
  choiceUser: (userChoiced: IStudentAssistantItem) => void;
16
+ onDeleteAssistant: (studentId: number) => Promise<void>;
16
17
  };
17
18
  export default useSwitchAssistant;
@@ -0,0 +1,9 @@
1
+ declare type LINK_TRAINING = {
2
+ teacherTraining: string;
3
+ studentTraining: string;
4
+ };
5
+ declare const useTrainingLink: () => {
6
+ linkTraining: LINK_TRAINING;
7
+ updateData: (values: any) => Promise<void>;
8
+ };
9
+ export default useTrainingLink;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Training: () => JSX.Element;
3
+ export default Training;
@@ -0,0 +1,2 @@
1
+ export declare const get: () => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -4,3 +4,4 @@ export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Prom
4
4
  export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
5
5
  export declare const getAssistantByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
6
6
  export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
7
+ export declare const removeAssistantForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;