touchstudy-core 0.1.84 → 0.1.86

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.
Files changed (71) hide show
  1. package/dist/abc/index.d.ts +2 -0
  2. package/dist/abc.js +4 -0
  3. package/dist/abc.js.map +1 -0
  4. package/dist/abc.modern.js +4 -0
  5. package/dist/abc.modern.js.map +1 -0
  6. package/dist/containers/Login/configs/types.d.ts +11 -0
  7. package/dist/index.js +6 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.modern.js +6 -2
  10. package/dist/index.modern.js.map +1 -1
  11. package/package.json +1 -1
  12. package/dist/components/ErrorHandler.d.ts +0 -6
  13. package/dist/components/LabelRequired.d.ts +0 -8
  14. package/dist/components/Selectors/InActiveAcademySelector.d.ts +0 -16
  15. package/dist/components/Selectors/TimeZoneSelector.d.ts +0 -9
  16. package/dist/components/Selectors/configs/enums.d.ts +0 -6
  17. package/dist/components/Selects/styles.d.ts +0 -6
  18. package/dist/containers/Classes/apiClients/classService.d.ts +0 -16
  19. package/dist/containers/Classes/apiClients/teacherService.d.ts +0 -2
  20. package/dist/containers/Classes/components/ClassForm.d.ts +0 -4
  21. package/dist/containers/Classes/components/CorrectAnswerSelector.d.ts +0 -7
  22. package/dist/containers/Classes/components/LessonFormBody.d.ts +0 -4
  23. package/dist/containers/Classes/components/LessonFormDialog.d.ts +0 -14
  24. package/dist/containers/Classes/components/LessonList.d.ts +0 -27
  25. package/dist/containers/Classes/components/SelectDialog.d.ts +0 -30
  26. package/dist/containers/Classes/components/StudentList.d.ts +0 -21
  27. package/dist/containers/Classes/components/TeacherList.d.ts +0 -21
  28. package/dist/containers/Classes/components/TeacherSelector.d.ts +0 -11
  29. package/dist/containers/Classes/configs/constants.d.ts +0 -70
  30. package/dist/containers/Classes/configs/interfaces.d.ts +0 -23
  31. package/dist/containers/Classes/configs/types.d.ts +0 -215
  32. package/dist/containers/Classes/hooks/useClassDetail.d.ts +0 -105
  33. package/dist/containers/Classes/hooks/useClassList.d.ts +0 -20
  34. package/dist/containers/Classes/hooks/useLessonClassList.d.ts +0 -20
  35. package/dist/containers/Classes/hooks/useStudentClassList.d.ts +0 -22
  36. package/dist/containers/Classes/hooks/useTab.d.ts +0 -5
  37. package/dist/containers/Classes/hooks/useTeacherClassList.d.ts +0 -22
  38. package/dist/containers/Classes/hooks/useTeacherList.d.ts +0 -6
  39. package/dist/containers/Classes/views/ClassDetail.d.ts +0 -10
  40. package/dist/containers/Classes/views/ClassList.d.ts +0 -10
  41. package/dist/containers/ExamResult/components/Dialog/PrintDialog.d.ts +0 -6
  42. package/dist/containers/ExamResult/views/ExamResultView.d.ts +0 -11
  43. package/dist/containers/ExamResult/views/PrintPdfExamResult.d.ts +0 -12
  44. package/dist/containers/Textbooks/components/ChapterNameDialog.d.ts +0 -10
  45. package/dist/containers/Users/apiClient/userService.d.ts +0 -9
  46. package/dist/containers/Users/components/Dialogs/DeleteUserCsvDialog.d.ts +0 -10
  47. package/dist/containers/Users/components/Dialogs/RecentUserActionDialog.d.ts +0 -9
  48. package/dist/containers/Users/components/Dialogs/UserDialog.d.ts +0 -12
  49. package/dist/containers/Users/configs/constants.d.ts +0 -37
  50. package/dist/containers/Users/configs/types.d.ts +0 -11
  51. package/dist/containers/Users/hooks/useExportUsersCsv.d.ts +0 -5
  52. package/dist/containers/Users/hooks/useRecentUserAction.d.ts +0 -10
  53. package/dist/containers/Users/hooks/useUserList.d.ts +0 -40
  54. package/dist/containers/Users/views/UserList.d.ts +0 -7
  55. package/dist/test/performance_login.d.ts +0 -5
  56. package/dist/tests/performances/do-exam-session-list-student.d.ts +0 -19
  57. package/dist/tests/performances/do-exam-session-request-answer-one-time.d.ts +0 -19
  58. package/dist/tests/performances/do-exam-session-skip-answer.d.ts +0 -19
  59. package/dist/tests/performances/do-exam-session2.d.ts +0 -19
  60. package/dist/tests/performances/do-exam.d.ts +0 -15
  61. package/dist/tests/performances/join-exam.d.ts +0 -13
  62. package/dist/tests/performances/login.d.ts +0 -20
  63. package/dist/tests/performances/ramping-vus.d.ts +0 -7
  64. package/dist/utilities.d.ts +0 -1
  65. package/dist/utils/enums/UserSortColumn.d.ts +0 -11
  66. package/dist/utils/enums/orderBy.d.ts +0 -4
  67. package/dist/utils/hooks/useCheckExam.d.ts +0 -5
  68. package/dist/utils/toLocalTime.d.ts +0 -1
  69. package/dist/utils/types/user.d.ts +0 -3
  70. package/dist/utils/types/users.d.ts +0 -17
  71. /package/dist/utils/types/{PagingResponse.d.ts → pagingResponse.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- import { ClassQuery, ClassResponse, ClassSortBy } from "../configs/types";
3
- import { PagingResponse } from "../../../utils/types/pagingResponse";
4
- declare const useClassList: (history: any, classCreateUrl?: string | undefined, classUpdateUrl?: string | undefined) => {
5
- paging: PagingResponse;
6
- classList: ClassResponse[];
7
- classFilter: ClassQuery;
8
- textSearchRef: import("react").RefObject<HTMLInputElement>;
9
- selectedClass: ClassResponse | undefined;
10
- t: any;
11
- handleOpenDeleteClassDialog: (value: ClassResponse) => void;
12
- handleCloseConfirmDialog: () => void;
13
- handleSort: (key: ClassSortBy) => void;
14
- handleChangeSearchText: (e: ChangeEvent<HTMLInputElement>) => void;
15
- handleCreateClass: () => void;
16
- handleUpdateClass: (value: ClassResponse) => void;
17
- handleChangePage: (_: any, page: number) => void;
18
- handleDeleteClass: () => Promise<void>;
19
- };
20
- export default useClassList;
@@ -1,20 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- import { LessonResponse, LessonQuery, LessonSortBy } from "../configs/types";
3
- import { PagingResponse } from "../../../utils/types/pagingResponse";
4
- export declare type DialogType = "Update" | "Remove" | "Create";
5
- declare const useLessonClassList: (courseId: number) => {
6
- paging: PagingResponse;
7
- classList: LessonResponse[];
8
- filter: LessonQuery;
9
- selectedLesson: LessonResponse | undefined;
10
- openDialog: "Update" | "Remove" | "Create" | undefined;
11
- t: any;
12
- handleOpenCreateOrUpdateDialog: (value?: LessonResponse | undefined) => void;
13
- handleOpenDeleteClassDialog: (value: LessonResponse) => void;
14
- handleCloseConfirmDialog: () => void;
15
- handleSort: (key: LessonSortBy) => void;
16
- handleChangeSearchText: (e: ChangeEvent<HTMLInputElement>) => void;
17
- handleChangePage: (_: any, page: number) => void;
18
- getLessons: () => Promise<void>;
19
- };
20
- export default useLessonClassList;
@@ -1,22 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- import { StudentClassQuery, UserClassSortBy, StudentClassResponse } from "../configs/types";
3
- import _ from "lodash";
4
- import { PagingResponse } from "../../../utils/types/pagingResponse";
5
- declare const useStudentClassList: (courseId: number) => {
6
- paging: PagingResponse;
7
- classList: StudentClassResponse[];
8
- filter: StudentClassQuery;
9
- selectedStudent: StudentClassResponse | undefined;
10
- t: any;
11
- textSearchRef: import("react").RefObject<HTMLInputElement>;
12
- debounceSearch: _.DebouncedFunc<() => void>;
13
- handleOpenDeleteClassDialog: (value: StudentClassResponse) => void;
14
- handleCloseConfirmDialog: () => void;
15
- handleSort: (key: UserClassSortBy) => void;
16
- handleChangeSearchText: (e: ChangeEvent<HTMLInputElement>) => void;
17
- handleChangePage: (_: any, page: number) => void;
18
- handleRemoveStudentFromClass: () => Promise<void>;
19
- getStudents: () => Promise<void>;
20
- resetData: () => void;
21
- };
22
- export default useStudentClassList;
@@ -1,5 +0,0 @@
1
- declare const useTab: () => {
2
- selected: number;
3
- handleChangeTab: (newValue: number) => void;
4
- };
5
- export default useTab;
@@ -1,22 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- import { StudentClassQuery, TeacherClassResponse, UserClassSortBy } from "../configs/types";
3
- import _ from "lodash";
4
- import { PagingResponse } from "../../../utils/types/pagingResponse";
5
- declare const useTeacherClassList: (courseId: number) => {
6
- paging: PagingResponse;
7
- classList: TeacherClassResponse[];
8
- filter: StudentClassQuery;
9
- selectedTeacher: TeacherClassResponse | undefined;
10
- t: any;
11
- textSearchRef: import("react").RefObject<HTMLInputElement>;
12
- debounceSearch: _.DebouncedFunc<() => void>;
13
- handleOpenDeleteClassDialog: (value: TeacherClassResponse) => void;
14
- handleCloseConfirmDialog: () => void;
15
- handleSort: (key: UserClassSortBy) => void;
16
- handleChangeSearchText: (e: ChangeEvent<HTMLInputElement>) => void;
17
- handleChangePage: (_: any, page: number) => void;
18
- handleRemoveTeacherFromClass: () => Promise<void>;
19
- getTeachers: () => Promise<void>;
20
- resetData: () => void;
21
- };
22
- export default useTeacherClassList;
@@ -1,6 +0,0 @@
1
- import { TeacherSimpleResponse } from "../configs/types";
2
- declare const useTeacherList: () => {
3
- teachers: TeacherSimpleResponse[];
4
- handleChangeTextSearch: (text: string) => void;
5
- };
6
- export default useTeacherList;
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- import { Role } from "../../../utils/constants";
3
- interface Props {
4
- id?: string;
5
- classListUrl: string;
6
- history: any;
7
- role: Role;
8
- }
9
- declare const ClassDetail: FC<Props>;
10
- export default ClassDetail;
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- import { Role } from "../../../utils/constants";
3
- interface Props {
4
- history: any;
5
- role: Role;
6
- classCreateUrl?: string;
7
- classUpdateUrl?: string;
8
- }
9
- declare const ClassList: FC<Props>;
10
- export default ClassList;
@@ -1,6 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- interface Props extends PropsWithChildren {
3
- onPrint: any;
4
- }
5
- declare const PrintDialog: FC<Props>;
6
- export default PrintDialog;
@@ -1,11 +0,0 @@
1
- import { FC } from "react";
2
- declare type Props = {
3
- searchParams: string;
4
- history: any;
5
- examSessionId?: number;
6
- studentId?: number;
7
- code?: string;
8
- isMyStoryStudent?: boolean;
9
- };
10
- declare const ExamResultV2: FC<Props>;
11
- export default ExamResultV2;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- declare type Props = {
3
- searchParams: string;
4
- history: any;
5
- examSessionId?: number;
6
- studentId?: number;
7
- code?: string;
8
- isMyStoryStudent?: boolean;
9
- setNotFound?: Function;
10
- };
11
- declare const PrintPdfExamResult: FC<Props>;
12
- export default PrintPdfExamResult;
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- import { ChapterOption } from "../configs/types";
3
- interface Props {
4
- open: boolean;
5
- chapter?: ChapterOption;
6
- onClose: () => void;
7
- onSubmitForm: (name: string) => void;
8
- }
9
- declare const ChapterNameDialog: FC<Props>;
10
- export default ChapterNameDialog;
@@ -1,9 +0,0 @@
1
- import { UserSearchQuery } from "../../../utils/types/users";
2
- import { UserForm } from "../configs/types";
3
- export declare const getUserListApi: (query: UserSearchQuery) => Promise<import("axios").AxiosResponse<any, any>>;
4
- export declare const getUserTemplateApi: () => Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare const exportUserCsvApi: (query: UserSearchQuery) => Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare const importUserCsvApi: (data: FormData, isDelete: boolean) => Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare const updateUserApi: (data: UserForm, id: number) => Promise<import("axios").AxiosResponse<any, any>>;
8
- export declare const createUserApi: (data: UserForm) => Promise<import("axios").AxiosResponse<any, any>>;
9
- export declare const deleteUserApi: (id: number) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- open: boolean;
4
- file?: File;
5
- onChangeFile: (file?: File) => void;
6
- onClose: () => void;
7
- onSubmit: () => Promise<boolean>;
8
- }
9
- declare const DeleteUserCsvDialog: FC<Props>;
10
- export default DeleteUserCsvDialog;
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- import { Types } from "../../../..";
3
- interface Props {
4
- open: boolean;
5
- onClose: () => void;
6
- recentUserActions?: Types.RecentUserActionResponse[];
7
- }
8
- declare const RecentUserActionDialog: FC<Props>;
9
- export default RecentUserActionDialog;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- import { UserForm } from "../../configs/types";
3
- import { User } from "../../../../utils/types/users";
4
- interface Props {
5
- open: boolean;
6
- data?: User;
7
- disabled?: boolean;
8
- onClose: () => void;
9
- onSubmitForm: (data: UserForm) => void;
10
- }
11
- declare const UserDialog: FC<Props>;
12
- export default UserDialog;
@@ -1,37 +0,0 @@
1
- import { Role } from "../../../utils/constants";
2
- import { UserSortColumn } from "../../../utils/enums";
3
- import * as yup from "yup";
4
- import { User, UserSearchQuery } from "../../../utils/types/users";
5
- export declare const USER_HEADERS: ({
6
- title: string;
7
- sortKey?: undefined;
8
- } | {
9
- title: string;
10
- sortKey: UserSortColumn;
11
- })[];
12
- export declare const DEFAULT_USER_FILTERS: UserSearchQuery;
13
- export declare const UserSchema: yup.ObjectSchema<{
14
- fullName: string;
15
- email: string;
16
- phoneNumber: string;
17
- schoolName: string | undefined;
18
- grade: number | null | undefined;
19
- major: string | undefined;
20
- parentPhoneNumber: string | undefined;
21
- parentName: string | undefined;
22
- }, yup.AnyObject, {
23
- fullName: undefined;
24
- email: undefined;
25
- phoneNumber: undefined;
26
- schoolName: undefined;
27
- grade: undefined;
28
- major: undefined;
29
- parentPhoneNumber: undefined;
30
- parentName: undefined;
31
- }, "">;
32
- export declare const DEFAULT_USER: User;
33
- export declare const ROLES: Role[];
34
- export declare const RECENT_USER_ACTION_HEADERS: {
35
- title: string;
36
- }[];
37
- export declare const CSV_PREFIX = "data:text/csv;charset=utf-8,";
@@ -1,11 +0,0 @@
1
- export declare type UserForm = {
2
- fullName: string;
3
- email: string;
4
- phoneNumber: string;
5
- schoolName?: string;
6
- grade?: number | null;
7
- major?: string;
8
- parentName?: string;
9
- parentPhoneNumber?: string;
10
- roles?: string[];
11
- };
@@ -1,5 +0,0 @@
1
- import { UserSearchQuery } from "../../../utils/types/users";
2
- declare const useExportUsersCsv: () => {
3
- exportUsers: (filters: UserSearchQuery) => Promise<void>;
4
- };
5
- export default useExportUsersCsv;
@@ -1,10 +0,0 @@
1
- import { Types } from "../../..";
2
- import { Role } from "../../../utils/constants";
3
- declare const useRecentUserAction: (role: Role) => {
4
- recentUserActions: Types.RecentUserActionResponse[] | undefined;
5
- isOpenRecentUserActionDialog: boolean;
6
- handleOpenRecentUserActionDialog: () => void;
7
- handleCloseRecentUserActionDialog: () => void;
8
- getRecentExam: () => Promise<void>;
9
- };
10
- export default useRecentUserAction;
@@ -1,40 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- import { UserForm } from "../configs/types";
3
- import _ from "lodash";
4
- import { Enums, Role } from "../../..";
5
- import { PagingResponse } from "../../../utils/types/pagingResponse";
6
- import { UserSortColumn } from "../../../utils/enums";
7
- import { User } from "../../../utils/types/users";
8
- declare const useUserList: (role: Role) => {
9
- inputFileRef: import("react").RefObject<HTMLInputElement>;
10
- paging: PagingResponse;
11
- openConfirmDialog: boolean;
12
- openUserDialog: boolean;
13
- userList: User[];
14
- selectedUser: User | undefined;
15
- filter: import("../../../utils/types/searchQuery").BaseSearchQuery<Enums.UserSortColumn>;
16
- textSearchRef: import("react").RefObject<HTMLInputElement>;
17
- deleteFile: File | undefined;
18
- isOpenDeleteUserCsv: boolean;
19
- handleToggleDeleteUserCsv: () => void;
20
- handleDeleteUserCsv: () => Promise<boolean>;
21
- handleChangeDeleteFile: (file?: File | undefined) => void;
22
- handleChangePage: (_: any, page: number) => void;
23
- setUserList: import("react").Dispatch<import("react").SetStateAction<User[]>>;
24
- toggleConfirmDialog: () => void;
25
- openDeleteDialog: (user: User) => void;
26
- handleSort: _.DebouncedFunc<(key: UserSortColumn) => void>;
27
- handleChangeSearchText: (e: ChangeEvent<HTMLInputElement>) => void;
28
- handleOpenUserDialog: (user: User) => Promise<void>;
29
- handleCreateOrUpdateUser: (value: UserForm) => Promise<void>;
30
- handleCloseUserDialog: () => void;
31
- handleDeleteUser: () => Promise<void>;
32
- downloadTemplate: () => Promise<void>;
33
- handleChooseFile: () => void;
34
- handleChangeFileImport: (e: ChangeEvent<HTMLInputElement>) => Promise<void>;
35
- recentUserActions: import("../../../utils/types").RecentUserActionResponse[] | undefined;
36
- isOpenRecentUserActionDialog: boolean;
37
- handleOpenRecentUserActionDialog: () => void;
38
- handleCloseRecentUserActionDialog: () => void;
39
- };
40
- export default useUserList;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- import { Role } from "../../../utils/constants";
3
- interface Props {
4
- role: Role;
5
- }
6
- declare const UserList: FC<Props>;
7
- export default UserList;
@@ -1,5 +0,0 @@
1
- export default function _default(): void;
2
- export namespace options {
3
- export const vus: number;
4
- export const duration: string;
5
- }
@@ -1,19 +0,0 @@
1
- export function setup(): {
2
- id: number;
3
- code: string;
4
- teacherAuthorizeHeaders: {
5
- Authorization: string;
6
- } & {
7
- "Academy-Headers": string;
8
- "Content-Type": string;
9
- "Accept-Language": string;
10
- };
11
- }[];
12
- export default function _default(data: any): void;
13
- export namespace options {
14
- export { MAX_DEMO_STUDENTS as vus };
15
- export { MAX_DEMO_STUDENTS as iterations };
16
- }
17
- declare const AcademyHeaders: "Academy-Headers";
18
- declare const MAX_DEMO_STUDENTS: number;
19
- export {};
@@ -1,19 +0,0 @@
1
- export function setup(): {
2
- id: number;
3
- code: string;
4
- teacherAuthorizeHeaders: {
5
- Authorization: string;
6
- } & {
7
- "Academy-Headers": string;
8
- "Content-Type": string;
9
- "Accept-Language": string;
10
- };
11
- }[];
12
- export default function _default(data: any): void;
13
- export namespace options {
14
- export { MAX_DEMO_STUDENTS as vus };
15
- export { MAX_DEMO_STUDENTS as iterations };
16
- }
17
- declare const AcademyHeaders: "Academy-Headers";
18
- declare const MAX_DEMO_STUDENTS: 200;
19
- export {};
@@ -1,19 +0,0 @@
1
- export function setup(): {
2
- id: number;
3
- code: string;
4
- teacherAuthorizeHeaders: {
5
- Authorization: string;
6
- } & {
7
- "Academy-Headers": string;
8
- "Content-Type": string;
9
- "Accept-Language": string;
10
- };
11
- }[];
12
- export default function _default(data: any): void;
13
- export namespace options {
14
- export { MAX_DEMO_STUDENTS as vus };
15
- export { MAX_DEMO_STUDENTS as iterations };
16
- }
17
- declare const AcademyHeaders: "Academy-Headers";
18
- declare const MAX_DEMO_STUDENTS: 96;
19
- export {};
@@ -1,19 +0,0 @@
1
- export function setup(): {
2
- id: number;
3
- code: string;
4
- teacherAuthorizeHeaders: {
5
- Authorization: string;
6
- } & {
7
- "Academy-Headers": string;
8
- "Content-Type": string;
9
- "Accept-Language": string;
10
- };
11
- }[];
12
- export default function _default(data: any): void;
13
- export namespace options {
14
- export { MAX_DEMO_STUDENTS as vus };
15
- export { MAX_DEMO_STUDENTS as iterations };
16
- }
17
- declare const AcademyHeaders: "Academy-Headers";
18
- declare const MAX_DEMO_STUDENTS: 400;
19
- export {};
@@ -1,15 +0,0 @@
1
- export function teacherScenario(): void;
2
- export function studentsScenario(): void;
3
- export function setup(): {
4
- abc: string;
5
- };
6
- export default function _default(data: any): void;
7
- export namespace options {
8
- export namespace scenarios {
9
- export namespace students_scenario {
10
- export const executor: string;
11
- export const vus: number;
12
- export const iterations: number;
13
- }
14
- }
15
- }
@@ -1,13 +0,0 @@
1
- export function teacherGetOrCreateExamSession(): any;
2
- export function studentsScenario(code: any): void;
3
- export function setup(): any;
4
- export default function _default(data: any): void;
5
- export namespace options {
6
- export namespace scenarios {
7
- export namespace students_scenario {
8
- export const executor: string;
9
- export const vus: number;
10
- export const iterations: number;
11
- }
12
- }
13
- }
@@ -1,20 +0,0 @@
1
- export function teacher_scenario(): void;
2
- export function students_scenario(): void;
3
- export default function _default(): void;
4
- export namespace options {
5
- export namespace scenarios {
6
- export namespace teacher_scenario {
7
- export const executor: string;
8
- export const vus: number;
9
- export const iterations: number;
10
- }
11
- export namespace students_scenario {
12
- const executor_1: string;
13
- export { executor_1 as executor };
14
- const vus_1: number;
15
- export { vus_1 as vus };
16
- const iterations_1: number;
17
- export { iterations_1 as iterations };
18
- }
19
- }
20
- }
@@ -1,7 +0,0 @@
1
- export default function _default(): void;
2
- export namespace options {
3
- export const stages: {
4
- target: number;
5
- duration: string;
6
- }[];
7
- }
@@ -1 +0,0 @@
1
- export { Language as Language } from "./utils/constants";
@@ -1,11 +0,0 @@
1
- export declare enum UserSortColumn {
2
- CreatedAt = "CreatedAt",
3
- FullName = "FullName",
4
- PhoneNumber = "PhoneNumber",
5
- Email = "Email",
6
- SchoolName = "SchoolName",
7
- Major = "Major",
8
- ParentName = "ParentName",
9
- ParentPhoneNumber = "ParentPhoneNumber",
10
- Grade = "Grade"
11
- }
@@ -1,4 +0,0 @@
1
- export declare enum OrderBy {
2
- ASC = "ASC",
3
- DESC = "DESC"
4
- }
@@ -1,5 +0,0 @@
1
- import { ExamStatus } from "../enums";
2
- declare const useCheckExam: (code: string, status?: ExamStatus | undefined) => {
3
- isCheck: any;
4
- };
5
- export default useCheckExam;
@@ -1 +0,0 @@
1
- export declare const toLocalTime: (time?: string | undefined, FORMAT?: string | undefined) => string;
@@ -1,3 +0,0 @@
1
- import { UserSortColumn } from "../enums";
2
- import { BaseSearchQuery } from "./searchQuery";
3
- export declare type UserSearchQuery = BaseSearchQuery<UserSortColumn>;
@@ -1,17 +0,0 @@
1
- import { UserSortColumn } from "../enums";
2
- import { BaseSearchQuery } from "./searchQuery";
3
- export declare type UserSearchQuery = BaseSearchQuery<UserSortColumn>;
4
- export declare type User = {
5
- id: number;
6
- fullName: string;
7
- email: string;
8
- phoneNumber: string;
9
- schoolName: string;
10
- grade?: number;
11
- classes?: string[];
12
- major?: string;
13
- parentName?: string;
14
- parentPhoneNumber?: string;
15
- roles?: string[];
16
- createdAt?: string;
17
- };