touchstudy-core 0.1.39 → 0.1.41
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/ExamResult/components/CompareGrass/index.d.ts +6 -3
- package/dist/containers/ExamResult/components/GradesByTerritory/index.d.ts +6 -3
- package/dist/containers/ExamResult/components/MyAnswer/index.d.ts +2 -1
- package/dist/containers/ExamResult/components/ProtractedProblem/index.d.ts +6 -3
- package/dist/containers/ExamResult/components/TrickyProblem/index.d.ts +6 -3
- package/dist/containers/ExamResult/components/Vulnerable/index.d.ts +6 -3
- package/dist/containers/ExamResult/configs/constants.d.ts +73 -0
- package/dist/containers/ExamResult/hooks/useExamResult.d.ts +105 -25
- package/dist/containers/Login/configs/constants.d.ts +0 -6
- package/dist/containers/Login/views/block/BlockLogin.d.ts +1 -1
- package/dist/containers/Textbooks/apiClient/articleService.d.ts +1 -1
- package/dist/containers/Textbooks/apiClient/chapterService.d.ts +1 -1
- package/dist/containers/Textbooks/apiClient/textbookService.d.ts +1 -1
- package/dist/containers/Textbooks/views/TextbookDetail.d.ts +1 -1
- package/dist/containers/Textbooks/views/TextbookList.d.ts +1 -1
- package/dist/index.css +12 -5
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1561 -1182
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1560 -1181
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/Header.d.ts +1 -1
- package/dist/layouts/TheAcademyDropdown.d.ts +1 -1
- package/dist/utils/constants.d.ts +6 -2
- package/dist/utils/hooks/useSwitchAcademy.d.ts +1 -1
- package/package.json +1 -1
package/dist/layouts/Header.d.ts
CHANGED
@@ -18,8 +18,12 @@ export declare const EXAM_STUDENT_CHANNEL = "EXAM-CHANNEL-{examCode}-STUDENT-{st
|
|
18
18
|
export declare const getAccessToken: () => string | null;
|
19
19
|
export declare const getAcademyDomain: () => string | null;
|
20
20
|
export declare const encodeParams: (params: any) => string;
|
21
|
-
export declare enum
|
21
|
+
export declare enum Role {
|
22
22
|
Student = "Student",
|
23
23
|
Teacher = "Teacher",
|
24
|
-
Admin = "Admin"
|
24
|
+
Admin = "Admin",
|
25
|
+
AcademyAdmin = "AcademyAdmin"
|
25
26
|
}
|
27
|
+
export declare const PrintHeaderClassName = "print-header";
|
28
|
+
export declare const PrintContentClassName = "print-content";
|
29
|
+
export declare const PrintContainerClassName = "print-container";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AcademyResponse } from "../types/academy";
|
2
|
-
import { Role } from "
|
2
|
+
import { Role } from "../constants";
|
3
3
|
declare const useSwitchAcademy: (role: Role | undefined, navigate: (pathname: string) => void, homeAcademyUrl: string, homeUrl: string) => {
|
4
4
|
selectedAcademy: AcademyResponse | undefined;
|
5
5
|
dropdownOpen: boolean;
|