touchstudy-core 0.1.3 → 0.1.5

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.
@@ -1,6 +1,7 @@
1
1
  import { FC, PropsWithChildren } from "react";
2
2
  interface Props {
3
3
  onNavigate: (pathname: string) => void;
4
+ role: string;
4
5
  }
5
6
  declare const LayoutContext: FC<Props & PropsWithChildren>;
6
7
  export default LayoutContext;
@@ -2,3 +2,4 @@ export declare const setLoading: import("@reduxjs/toolkit").ActionCreatorWithOpt
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
4
  export declare const setLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
5
+ export declare const reset: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<undefined, string>;
@@ -4,7 +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 BASE_URL = "http://api.touchstudy.kr";
7
+ export declare const BASE_URL: string;
8
8
  export declare const PUSHER_CONFIG: {
9
9
  cluster: string;
10
10
  key: string;
@@ -0,0 +1,2 @@
1
+ declare const isLocalHost: boolean;
2
+ export default isLocalHost;
@@ -3,7 +3,7 @@ interface Props {
3
3
  onFailure?: () => void;
4
4
  }
5
5
  declare const useGoogleSignOut: (props: Props) => {
6
- signOut: () => void;
6
+ handleSignOut: () => void;
7
7
  loaded: boolean;
8
8
  };
9
9
  export default useGoogleSignOut;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchstudy-core",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Contains core components && functions for TouchStudy project",
5
5
  "author": "brss",
6
6
  "license": "MIT",