touchstudy-core 0.1.1 → 0.1.3
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/Dialogs/CommonDialog.d.ts +1 -0
- package/dist/components/Dialogs/ConfirmDialog.d.ts +1 -0
- package/dist/configs/constants.d.ts +11 -0
- package/dist/containers/Login/apiClient/index.d.ts +1 -1
- package/dist/containers/Login/configs/constants.d.ts +4 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.css +96 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +459 -30
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +441 -32
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheLanguageDropdown.d.ts +3 -0
- package/dist/redux/commons/action.d.ts +1 -0
- package/dist/utils/addTime.d.ts +3 -0
- package/dist/utils/constants.d.ts +6 -1
- package/dist/utils/diffFromNow.d.ts +1 -1
- package/dist/utils/minutesToTimeSpan.d.ts +2 -0
- package/dist/utils/toISOString.d.ts +2 -0
- package/dist/utils/types.d.ts +8 -0
- package/dist/utils/useGoogleSignOut.d.ts +9 -0
- package/package.json +4 -1
@@ -1,3 +1,4 @@
|
|
1
1
|
export declare const setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
2
2
|
export declare const setAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
3
3
|
export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
4
|
+
export declare const setLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
@@ -4,6 +4,11 @@ export declare const GOOGLE_RECAPTCHA_ID = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4
|
|
4
4
|
export declare const GOOGLE_RECAPTCHA_SECRET = "6LfNtLUaAAAAAC7zhleGzO61FgFwGF0H5FAsKYux";
|
5
5
|
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
6
6
|
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00+00:00";
|
7
|
-
export declare const BASE_URL = "
|
7
|
+
export declare const BASE_URL = "http://api.touchstudy.kr";
|
8
|
+
export declare const PUSHER_CONFIG: {
|
9
|
+
cluster: string;
|
10
|
+
key: string;
|
11
|
+
};
|
12
|
+
export declare const EXAM_CHANNEL = "EXAM-CHANNEL";
|
8
13
|
export declare const getAccessToken: () => string | null;
|
9
14
|
export declare const encodeParams: (params: any) => string;
|
package/dist/utils/types.d.ts
CHANGED
@@ -1,3 +1,11 @@
|
|
1
1
|
export interface INavigateProps {
|
2
2
|
onNavigate: (pathname: string) => void;
|
3
3
|
}
|
4
|
+
export declare enum ExamEvent {
|
5
|
+
StartExam = "start-exam",
|
6
|
+
TerminateExam = "terminate-exam",
|
7
|
+
JoinExam = "join-exam",
|
8
|
+
AddExtraDuration = "add-extra-duration-exam",
|
9
|
+
TeacherDisconnectChannel = "teacher-disconnect-channel",
|
10
|
+
StudentDisconnectChannel = "student-disconnect-channel"
|
11
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "touchstudy-core",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.3",
|
4
4
|
"description": "Contains core components && functions for TouchStudy project",
|
5
5
|
"author": "brss",
|
6
6
|
"license": "MIT",
|
@@ -17,10 +17,13 @@
|
|
17
17
|
"axios": "^1.6.2",
|
18
18
|
"formik": "^2.4.5",
|
19
19
|
"gapi-script": "^1.2.0",
|
20
|
+
"i18next": "^23.7.16",
|
20
21
|
"link": "^2.1.0",
|
21
22
|
"moment": "^2.29.4",
|
22
23
|
"node-sass": "^7.0.3",
|
23
24
|
"react-google-recaptcha-v3": "^1.10.1",
|
25
|
+
"react-i18next": "^14.0.0",
|
26
|
+
"react-icons": "^4.12.0",
|
24
27
|
"reactstrap": "^9.2.1",
|
25
28
|
"yup": "^1.3.3"
|
26
29
|
},
|