touchstudy-core 0.1.177 → 0.1.178
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/PreparedTextbook/components/PreparedTextbookForm.d.ts +3 -1
- package/dist/containers/PreparedTextbook/configs/constants.d.ts +2 -0
- package/dist/containers/PreparedTextbook/configs/enums.d.ts +5 -0
- package/dist/containers/PreparedTextbook/hooks/useTextbookManagement.d.ts +2 -1
- package/dist/index.css +13 -0
- package/dist/index.js +772 -24
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +775 -27
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/Header.d.ts +1 -1
- package/dist/services/subjectService.d.ts +4 -0
- package/dist/theme/palette.d.ts +1 -0
- package/dist/utils/enums/index.d.ts +1 -0
- package/dist/utils/functions/times.d.ts +1 -0
- package/dist/utils/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/layouts/Header.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FC } from "react";
|
2
2
|
import { TabType } from "../utils/types/tab";
|
3
|
-
import { Role } from "../utils
|
3
|
+
import { Role } from "../utils";
|
4
4
|
import { AnnouncementResponse } from "../containers/Announcements/configs/types";
|
5
5
|
interface Props {
|
6
6
|
role: Role;
|
@@ -1,2 +1,6 @@
|
|
1
|
+
import { ResumeOrPauseRequest } from "../utils/types/subjects";
|
1
2
|
export declare const getSubjectListAdminApi: (textSearch: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
2
3
|
export declare const getSubjectListApi: (textSearch: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
4
|
+
export declare const getStudentSubjectListApi: () => Promise<import("axios").AxiosResponse<any, any>>;
|
5
|
+
export declare const startStudentSubjectTimerApi: (subjectId: number) => Promise<import("axios").AxiosResponse<any, any>>;
|
6
|
+
export declare const pauseStudentSubjectApi: (subjectId: any, recordId: number, data: ResumeOrPauseRequest) => Promise<import("axios").AxiosResponse<any, any>>;
|
package/dist/theme/palette.d.ts
CHANGED
@@ -7,4 +7,5 @@ import { UserSortColumn } from "./userSortColumn";
|
|
7
7
|
import { NoteType } from '../../containers/Notes/configs/enums';
|
8
8
|
import { TextbookEditorType } from '../../containers/PreparedTextbook/configs/enums';
|
9
9
|
export * from "./academy";
|
10
|
+
export * from "./subject";
|
10
11
|
export { OrderType, QuestionAnswerType, ExamStatus, RecentUserAction, UserSortColumn, ExamEvent, NoteType, TextbookEditorType };
|
@@ -4,3 +4,4 @@ export declare const getUtcDayOfWeek: (localDateTime: moment.Moment, dayOfWeek:
|
|
4
4
|
export declare const timeSpanToLocalMoment: (time: string, date?: string | undefined) => moment.Moment | null;
|
5
5
|
export declare const convertHHMMSStoSeconds: (time: string) => number;
|
6
6
|
export declare const getRemainTime: (startTime: string, duration: string) => number | null;
|
7
|
+
export declare const getCountTime: (startTime: string, duration: number) => number | null;
|