touchstudy-core 0.1.10 → 0.1.12

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.
@@ -4,6 +4,7 @@ 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 DATE_TIME_MIN_VALUE = "0001-01-01T00:00:00";
7
8
  export declare const BASE_URL: string;
8
9
  export declare const PUSHER_CONFIG: {
9
10
  cluster: string;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Language } from "../configs/constants";
3
+ import "moment/locale/ko.js";
4
+ import "moment/locale/en-au.js";
5
+ declare const useLanguage: () => {
6
+ language: string;
7
+ dropdownOpen: boolean;
8
+ currentLanguage: Language | null;
9
+ toggle: () => void;
10
+ setItemLanguage: import("react").Dispatch<import("react").SetStateAction<string>>;
11
+ };
12
+ export default useLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchstudy-core",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Contains core components && functions for TouchStudy project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -19,6 +19,7 @@
19
19
  "gapi-script": "^1.2.0",
20
20
  "i18next": "^23.7.16",
21
21
  "link": "^2.1.0",
22
+ "lodash": "^4.17.21",
22
23
  "moment": "^2.29.4",
23
24
  "node-sass": "^7.0.3",
24
25
  "pusher-js": "^8.4.0-rc2",
@@ -55,6 +56,7 @@
55
56
  "@testing-library/react": "^13.4.0",
56
57
  "@testing-library/user-event": "^13.5.0",
57
58
  "@types/jest": "^27.5.2",
59
+ "@types/lodash": "^4.14.202",
58
60
  "@types/node": "^16.18.68",
59
61
  "@types/react": "^18.2.45",
60
62
  "@types/react-dom": "^18.2.18",
@@ -1,3 +0,0 @@
1
- import { AxiosInstance } from "axios";
2
- export declare const api: AxiosInstance;
3
- export declare const apiUpload: AxiosInstance;