acsi-core 1.0.0 → 1.1.1
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/Login/apiClient/index.d.ts +5 -5
- package/dist/index.js +180 -38
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +181 -39
- package/dist/index.modern.js.map +1 -1
- package/dist/services/accountService.d.ts +6 -6
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/timeSpanToLocalMoment.d.ts +2 -2
- package/package.json +2 -1
- package/dist/components/MarkdownLatexRender/MarkdownLatexRender.d.ts +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LoginAccessTokenRequest, LoginRequest } from "../utils/types/login";
|
|
2
|
-
export declare const getInfo: (role: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
export declare const getSuperAdminInfoFromWeb: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
export declare const apiLoginGoogle: (body: LoginRequest) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare const apiLoginGoogleSuperAdmin: (body: LoginRequest) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
export declare const apiLoginWithAccessToken: (body: LoginAccessTokenRequest, domain?: string | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
export declare const checkToken: (token: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
+
export declare const getInfo: (role: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare const getSuperAdminInfoFromWeb: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
+
export declare const apiLoginGoogle: (body: LoginRequest) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare const apiLoginGoogleSuperAdmin: (body: LoginRequest) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
|
+
export declare const apiLoginWithAccessToken: (body: LoginAccessTokenRequest, domain?: string | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
7
|
+
export declare const checkToken: (token: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -13,6 +13,7 @@ export declare const PUSHER_CONFIG: {
|
|
|
13
13
|
};
|
|
14
14
|
export declare const MICROSOFT_CLIENT_ID: string;
|
|
15
15
|
export declare const MICROSOFT_URL_DIRECT: string;
|
|
16
|
+
export declare const MICROSOFT_SSO_ENABLED: string;
|
|
16
17
|
export declare const OPENSALT_BASE_URL: string;
|
|
17
18
|
export declare const REACT_KEY_TINYMCE = "fe5xc4hh72rshrx4xe59zu9setbnwiftu4hroztpre7trmay";
|
|
18
19
|
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import moment from "moment";
|
|
2
|
-
declare const _default: (time: string) => moment.Moment | null;
|
|
1
|
+
import moment from "moment-timezone";
|
|
2
|
+
declare const _default: (time: string, timezone?: string) => moment.Moment | null;
|
|
3
3
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acsi-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Contains core components && functions for acsi-core project",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"link": "^2.1.0",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"moment": "^2.29.4",
|
|
35
|
+
"moment-timezone": "^0.6.0",
|
|
35
36
|
"node-sass": "^7.0.3",
|
|
36
37
|
"pusher-js": "^8.4.0-rc2",
|
|
37
38
|
"react-google-recaptcha-v3": "^1.10.1",
|