mario-teacher-student-client 9000.0.3 → 9000.0.6
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/components/Card/CardConfirm.d.ts +10 -0
- package/dist/components/Card/CardItem.d.ts +3 -2
- package/dist/components/Card/CardSwitch.d.ts +2 -1
- package/dist/components/Dialog/ConfirmDelete.d.ts +3 -0
- package/dist/components/Input/InputComponent.d.ts +2 -1
- package/dist/components/Input/UploadFileImage.d.ts +3 -1
- package/dist/components/QuestionTypes/CheckPoint.d.ts +3 -2
- package/dist/containers/AboutMyLearning/components/AboutMyLearningDialog.d.ts +4 -0
- package/dist/containers/AboutMyLearning/constants/type.d.ts +13 -0
- package/dist/containers/AboutMyLearning/hook/useAboutMyLearning.d.ts +13 -1
- package/dist/containers/Accommodation/constants/type.d.ts +4 -0
- package/dist/containers/Accommodation/hook/useAccommodation.d.ts +13 -0
- package/dist/containers/ActionPoint/api/apiClient.d.ts +1 -0
- package/dist/containers/ActionPoint/components/DashBoardView/hooks/useActionPointsDB.d.ts +1 -0
- package/dist/containers/ActionPoint/components/Dialogs/hooks/useDialogRequest.d.ts +9 -3
- package/dist/containers/ActionPoint/components/Dialogs/services/dialogServices.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/hooks/useTodoList.d.ts +1 -0
- package/dist/containers/ActionPoint/components/TodoList/view/TodoList.d.ts +1 -1
- package/dist/containers/Goals/constants/type.d.ts +1 -0
- package/dist/containers/Goals/hook/useGoalDetail.d.ts +3 -0
- package/dist/containers/Goals/hook/useGoals.d.ts +1 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +2 -1
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +7 -2
- package/dist/containers/LearningStrategies/view/LearningStrategiesDialog.d.ts +1 -1
- package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/components/ListPersonalInterestHook.d.ts +5 -0
- package/dist/containers/PersonalLearningPlan/PersonalInterests/services/personalInterestsService.d.ts +2 -0
- package/dist/containers/PersonalLearningPlan/components/PersonalLearningGoal/usePersonalInterest.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/hook/personalInterestApi.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/hook/personalInterestsService.d.ts +6 -0
- package/dist/containers/PersonalLearningPlan/hook/usePersonalInterest.d.ts +33 -2
- package/dist/containers/StrengthsAndChallenges/hook/useStrengthsChallenges.d.ts +7 -1
- package/dist/containers/StrengthsAndChallenges/views/SummaryStrengthsAndChallenges.d.ts +4 -1
- package/dist/containers/ThingTeachersCanHelp/constants/type.d.ts +1 -0
- package/dist/containers/ThingTeachersCanHelp/hook/useThingTeachersCanHelp.d.ts +1 -0
- package/dist/index.css +136 -61
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1410 -975
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1414 -978
- package/dist/index.modern.js.map +1 -1
- package/dist/services/MyStudent.d.ts +1 -1
- package/dist/services/StrengthsChallenges.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/Header/HeaderSurvey.d.ts +0 -11
- package/dist/components/Input/TextAreaComponent.d.ts +0 -8
- package/dist/containers/FriendCircle/views/FriendCircle.d.ts +0 -3
- package/dist/containers/MyOneToOne/components/dialog/SimpleDialog.d.ts +0 -3
- package/dist/containers/MyStudent/components/Accommodation/Accomondation.d.ts +0 -3
- package/dist/containers/MyStudent/components/Accommodation/AccomondationList.d.ts +0 -3
- package/dist/containers/MyStudent/hooks/useAccommodation.d.ts +0 -8
- package/dist/containers/MySurvey/constants/types.d.ts +0 -41
- package/dist/containers/MySurvey/hooks/useStudentList.d.ts +0 -9
- package/dist/containers/MySurvey/views/CreateSurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/Mysurvey.d.ts +0 -3
- package/dist/containers/MySurvey/views/StudentSurvey.d.ts +0 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface CONFIRM_PROPS {
|
|
3
|
+
handleClose: Function;
|
|
4
|
+
handleDelete: Function;
|
|
5
|
+
open: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
id?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const CardConfirm: ({ handleClose, handleDelete, open, title, id }: CONFIRM_PROPS) => JSX.Element;
|
|
10
|
+
export default CardConfirm;
|
|
@@ -4,10 +4,11 @@ interface Props {
|
|
|
4
4
|
description?: string;
|
|
5
5
|
status?: string;
|
|
6
6
|
id?: number;
|
|
7
|
-
handleDelete: Function;
|
|
8
7
|
handleEdit: Function;
|
|
9
8
|
note?: boolean;
|
|
10
9
|
contentWidth?: number;
|
|
10
|
+
titleDelete?: string;
|
|
11
|
+
handleDelete: Function;
|
|
11
12
|
}
|
|
12
|
-
declare const CardItem: ({ title, description, status, id,
|
|
13
|
+
declare const CardItem: ({ title, description, status, id, handleEdit, note, contentWidth, handleDelete }: Props) => JSX.Element;
|
|
13
14
|
export default CardItem;
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
handleClickOpen: Function;
|
|
6
6
|
isAllowedEdit?: boolean;
|
|
7
7
|
updateAllow: Function;
|
|
8
|
+
isTeacher?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow }: Props) => JSX.Element;
|
|
10
|
+
declare const CardSwitch: ({ title, handleClickOpen, isAllowedEdit, updateAllow, isTeacher }: Props) => JSX.Element;
|
|
10
11
|
export default CardSwitch;
|
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
name?: string;
|
|
6
6
|
isAddIcon?: boolean;
|
|
7
7
|
handleAddItem?: Function;
|
|
8
|
+
placeholder?: string;
|
|
8
9
|
}
|
|
9
|
-
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem }: Props) => JSX.Element;
|
|
10
|
+
declare const InputComponent: ({ valueText, onChange, name, isAddIcon, handleAddItem, placeholder }: Props) => JSX.Element;
|
|
10
11
|
export default InputComponent;
|
|
@@ -12,6 +12,8 @@ interface Props {
|
|
|
12
12
|
data?: any;
|
|
13
13
|
imageFileName?: any;
|
|
14
14
|
imageFile?: any;
|
|
15
|
+
isCheckPoint?: boolean;
|
|
16
|
+
index?: number;
|
|
15
17
|
}
|
|
16
|
-
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue, imageFile }: Props) => JSX.Element;
|
|
18
|
+
declare const UploadFileImage: ({ title, description, color, setFileImage, name, setFieldValue, data, handleSetNameFile, indexValue, imageFile, isCheckPoint, index }: Props) => JSX.Element;
|
|
17
19
|
export default UploadFileImage;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface Props {
|
|
3
|
-
point:
|
|
3
|
+
point: string;
|
|
4
|
+
target?: string;
|
|
4
5
|
status: string;
|
|
5
6
|
isProgress?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export default function CheckPoint({ point, status, isProgress }: Props): JSX.Element;
|
|
8
|
+
export default function CheckPoint({ point, status, isProgress, target }: Props): JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -5,3 +5,16 @@ export interface ABOUT_MY_LEARNING {
|
|
|
5
5
|
type: string;
|
|
6
6
|
sectionFields: any;
|
|
7
7
|
}
|
|
8
|
+
export interface ABOUT_MY_LEARNING_DIALOG {
|
|
9
|
+
onClose: Function;
|
|
10
|
+
setOpen: Function;
|
|
11
|
+
selectedValue?: string;
|
|
12
|
+
open: boolean;
|
|
13
|
+
idItem?: number;
|
|
14
|
+
create: Function;
|
|
15
|
+
update: Function;
|
|
16
|
+
getById: Function;
|
|
17
|
+
dataItem: any;
|
|
18
|
+
setDataItem: any;
|
|
19
|
+
onDelete: Function;
|
|
20
|
+
}
|
|
@@ -6,9 +6,21 @@ declare const useAboutMyLearning: () => {
|
|
|
6
6
|
deleteById: (id: number) => Promise<void>;
|
|
7
7
|
updateAllow: (data: any) => Promise<void>;
|
|
8
8
|
listData: any;
|
|
9
|
-
|
|
9
|
+
dataItem: {
|
|
10
|
+
title: string;
|
|
11
|
+
sectionFields: {
|
|
12
|
+
title: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
10
15
|
isAllowedEdit: boolean;
|
|
11
16
|
setIsAllowedEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
12
17
|
studentId: any;
|
|
18
|
+
isTeacher: any;
|
|
19
|
+
setDataItem: import("react").Dispatch<import("react").SetStateAction<{
|
|
20
|
+
title: string;
|
|
21
|
+
sectionFields: {
|
|
22
|
+
title: string;
|
|
23
|
+
}[];
|
|
24
|
+
}>>;
|
|
13
25
|
};
|
|
14
26
|
export default useAboutMyLearning;
|
|
@@ -9,5 +9,18 @@ declare const useAccommodation: () => {
|
|
|
9
9
|
accommodationData: any;
|
|
10
10
|
isAllowedEdit: boolean;
|
|
11
11
|
studentId: any;
|
|
12
|
+
isTeacher: any;
|
|
13
|
+
dataItem: {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
studentId: number;
|
|
17
|
+
type: number;
|
|
18
|
+
};
|
|
19
|
+
setDataItem: import("react").Dispatch<import("react").SetStateAction<{
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
studentId: number;
|
|
23
|
+
type: number;
|
|
24
|
+
}>>;
|
|
12
25
|
};
|
|
13
26
|
export default useAccommodation;
|
|
@@ -4,3 +4,4 @@ export declare const getDataClassNameApi: () => Promise<import("axios").AxiosRes
|
|
|
4
4
|
export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const putIsDoneApi: (id: any, isDone: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
actionId: number;
|
|
4
|
+
reloadRef: React.MutableRefObject<any>;
|
|
5
|
+
};
|
|
6
|
+
declare const useDialogRequest: (_props: PropsType, ref: any) => {
|
|
3
7
|
open: any;
|
|
4
8
|
isTeacher: any;
|
|
5
9
|
classList: never[];
|
|
@@ -16,9 +20,11 @@ declare const useDialogRequest: (_props: any, ref: any) => {
|
|
|
16
20
|
handleChangeNotiCount: (e: React.ChangeEvent<{
|
|
17
21
|
value: unknown;
|
|
18
22
|
}>) => void;
|
|
19
|
-
handleCreate: () => Promise<void>;
|
|
23
|
+
handleCreate: (cb?: Function | undefined) => Promise<void>;
|
|
20
24
|
handleClickClose: () => void;
|
|
21
25
|
handleCheckbox: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
22
|
-
submitUpdate: () => Promise<void>;
|
|
26
|
+
submitUpdate: (cb?: Function | undefined) => Promise<void>;
|
|
27
|
+
handleDeleteItem: (cb?: Function | undefined) => Promise<void>;
|
|
28
|
+
handleCloseNoti: () => void;
|
|
23
29
|
};
|
|
24
30
|
export default useDialogRequest;
|
|
@@ -3,3 +3,4 @@ export declare const getDataClassName: (dispatch: any) => Promise<any>;
|
|
|
3
3
|
export declare const createActionPoint: (dispatch: any, formData: FORM_REQUEST) => Promise<void>;
|
|
4
4
|
export declare const getActionPointById: (dispatch: any, id: any) => Promise<any>;
|
|
5
5
|
export declare const updateActionPoint: (dispatch: any, id: any, formData: any) => Promise<void>;
|
|
6
|
+
export declare const deleteActionPoint: (dispatch: any, id: any) => Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const useGoalDetail: () => {
|
|
2
3
|
create: (data: any, baseLines: any, checkpoint: any) => Promise<void>;
|
|
3
4
|
update: (id: number, data: any) => Promise<void>;
|
|
@@ -8,5 +9,7 @@ declare const useGoalDetail: () => {
|
|
|
8
9
|
createCheckPoint: (id: number, data: any, isDelete: any) => Promise<void>;
|
|
9
10
|
updateCheckPoint: (goalId: number, checkPointId: number, data: any) => Promise<void>;
|
|
10
11
|
deleteCheckPoint: (goalId: number, checkPointId: number) => Promise<void>;
|
|
12
|
+
goalBaseLineItem: never[];
|
|
13
|
+
setGoalBaseLineItem: import("react").Dispatch<import("react").SetStateAction<never[]>>;
|
|
11
14
|
};
|
|
12
15
|
export default useGoalDetail;
|
|
@@ -5,7 +5,8 @@ declare const useLearningStrategy: () => {
|
|
|
5
5
|
setGetOneData: import("react").Dispatch<any>;
|
|
6
6
|
getAllow: (studentId: number) => Promise<void>;
|
|
7
7
|
getOneData: any;
|
|
8
|
-
toggleAllow:
|
|
8
|
+
toggleAllow: boolean;
|
|
9
|
+
setToggleAllow: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
9
10
|
getById: (id: number, studentId: number) => Promise<void>;
|
|
10
11
|
getAll: (filters: any) => Promise<void>;
|
|
11
12
|
create: (data: any, studentId: string) => Promise<void>;
|
|
@@ -6,9 +6,14 @@ declare const useEditLearningStrategies: () => {
|
|
|
6
6
|
learningStrategyData: any;
|
|
7
7
|
handleDelete: (id: number) => Promise<void>;
|
|
8
8
|
handleUpdateAllow: (e: boolean) => void;
|
|
9
|
-
toggleAllow:
|
|
9
|
+
toggleAllow: boolean;
|
|
10
10
|
studentId: any;
|
|
11
11
|
getOneData: any;
|
|
12
|
-
updateItem: () => void
|
|
12
|
+
updateItem: () => Promise<void>;
|
|
13
|
+
handleOpenConfirmDeleteDialog: (id: number) => void;
|
|
14
|
+
handleCloseConfirmDeleteDialog: () => void;
|
|
15
|
+
openConfirmDelete: boolean;
|
|
16
|
+
idItem: any;
|
|
17
|
+
isTeacher: any;
|
|
13
18
|
};
|
|
14
19
|
export default useEditLearningStrategies;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote,
|
|
2
|
+
declare const DialogEditLearningStrategy: ({ id, handleClose, open, getOneData, handleChangeNote, updateItem, handleBestFit, handleOpenConfirmDeleteDialog }: any) => JSX.Element;
|
|
3
3
|
export default DialogEditLearningStrategy;
|
package/dist/containers/PersonalLearningPlan/PersonalInterests/apiClient/personalInterestApi.d.ts
CHANGED
|
@@ -4,3 +4,5 @@ export declare const getDataPersonalInterestApi: (id: number) => Promise<import(
|
|
|
4
4
|
export declare const editDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const updateDataPersonalInterestApi: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const allowEdit: (id: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const getAllowEdit: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const usePersonalInterest: (studentId: number) => {
|
|
2
3
|
upDateData: () => Promise<void>;
|
|
3
4
|
editData: (id: number) => Promise<void>;
|
|
@@ -32,5 +33,9 @@ declare const usePersonalInterest: (studentId: number) => {
|
|
|
32
33
|
onChangeSetDataEdit: (e: any) => void;
|
|
33
34
|
onChangeSetDataEditNote: (e: any) => void;
|
|
34
35
|
deleteDataItemEdit: () => Promise<void>;
|
|
36
|
+
isAllowedEdit: boolean;
|
|
37
|
+
updateAllowToEdit: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
38
|
+
isCheckChange: boolean;
|
|
39
|
+
setIsCheckChange: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
35
40
|
};
|
|
36
41
|
export default usePersonalInterest;
|
|
@@ -4,3 +4,5 @@ export declare const upDateDataPersonalInterest: (dispatch: any, idupdate: numbe
|
|
|
4
4
|
export declare const deleteataPersonalInterest: (dispatch: any, iddelete: number) => Promise<void>;
|
|
5
5
|
export declare const uploadFilePersonalInterest: (dispatch: any, file: string) => Promise<any>;
|
|
6
6
|
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
7
|
+
export declare const updateAllow: (dispatch: any, studentId: any, data: any) => Promise<void>;
|
|
8
|
+
export declare const getAllow: (dispatch: any, studentId: any) => Promise<any>;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
declare type AllowToEdit = {
|
|
2
|
+
PersonalInterest: boolean;
|
|
3
|
+
LearningStrategie: boolean;
|
|
4
|
+
};
|
|
1
5
|
declare const usePersonalInterest: (studentId: number) => {
|
|
2
6
|
listPersonalInterest: any;
|
|
3
7
|
listLearningStrategories: any;
|
|
8
|
+
allowToEdit: AllowToEdit;
|
|
9
|
+
updateAllowToEdit: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
4
10
|
};
|
|
5
11
|
export default usePersonalInterest;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createDataPersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const uploadFilePersonalInterestApi: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const editDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const updateDataPersonalInterestApi: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const deleteDataPersonalInterestApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const createDataPersonalInterest: (dispatch: any, data: any) => Promise<void>;
|
|
2
|
+
export declare const getDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
3
|
+
export declare const upDateDataPersonalInterest: (dispatch: any, idupdate: number, dataUpload: any) => Promise<void>;
|
|
4
|
+
export declare const deleteataPersonalInterest: (dispatch: any, iddelete: number) => Promise<void>;
|
|
5
|
+
export declare const uploadFilePersonalInterest: (dispatch: any, file: string) => Promise<any>;
|
|
6
|
+
export declare const editDataPersonalInterest: (dispatch: any, id: number) => Promise<any>;
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
declare const usePersonalInterest: () => {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
upDateData: () => Promise<void>;
|
|
3
|
+
editData: (id: number) => Promise<void>;
|
|
4
|
+
sendDataCreate: () => Promise<void>;
|
|
5
|
+
deleteDataItem: () => Promise<void>;
|
|
6
|
+
handleClose: () => void;
|
|
7
|
+
handleCloseEdit: () => void;
|
|
8
|
+
handUpload: (e: any) => void;
|
|
9
|
+
handleCloseDelete: () => void;
|
|
10
|
+
dataList: any;
|
|
11
|
+
handUploadEdit: (e: any) => void;
|
|
12
|
+
openModal: boolean;
|
|
13
|
+
openModalDelete: boolean;
|
|
14
|
+
openModalEdit: boolean;
|
|
15
|
+
targetImage: any;
|
|
16
|
+
fileUploadEdit: string;
|
|
17
|
+
fileAvatarEdit: string;
|
|
18
|
+
deleteData: (id: number) => void;
|
|
19
|
+
handOpenModal: () => void;
|
|
20
|
+
handCloseModalEdit: () => void;
|
|
21
|
+
handCloseModalDelete: () => void;
|
|
22
|
+
value: string;
|
|
23
|
+
fileAvatar: string;
|
|
24
|
+
valueAddActivity: string;
|
|
25
|
+
onChangeSetData: (e: any) => void;
|
|
26
|
+
onChangeSetDataNote: (e: any) => void;
|
|
27
|
+
dataEdit: {
|
|
28
|
+
id: string;
|
|
29
|
+
Title: string;
|
|
30
|
+
Note: string;
|
|
31
|
+
studentId: string;
|
|
32
|
+
};
|
|
33
|
+
onChangeSetDataEdit: (e: any) => void;
|
|
34
|
+
onChangeSetDataEditNote: (e: any) => void;
|
|
4
35
|
};
|
|
5
36
|
export default usePersonalInterest;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
declare const useStrengthsChallenges: () => {
|
|
2
2
|
strengthsChallengesData: any;
|
|
3
|
-
getStrengthChallenge: (
|
|
3
|
+
getStrengthChallenge: () => Promise<void>;
|
|
4
4
|
postStrengthChallenge: (formData: any) => Promise<void>;
|
|
5
5
|
putStrengthChallenge: (id: any, formData: any) => Promise<void>;
|
|
6
6
|
deleteStrengthChallenge: (id: any) => Promise<void>;
|
|
7
|
+
goBack: () => void;
|
|
8
|
+
isTeacher: any;
|
|
9
|
+
currentId: any;
|
|
10
|
+
studentId: any;
|
|
11
|
+
handleUpdateAllow: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
isAllowedEdit: boolean;
|
|
7
13
|
};
|
|
8
14
|
export default useStrengthsChallenges;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
|
+
isTeacher?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const SummaryStrengthsAndChallenges: ({ isTeacher }: Props) => JSX.Element;
|
|
3
6
|
export default SummaryStrengthsAndChallenges;
|