acsi-core 1.2.10 → 1.2.11
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,5 +1,5 @@
|
|
|
1
|
-
export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
|
-
export declare const apiLoginGoogle: (body: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
export declare const apiSendEmailCode: (body: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
export declare const apiCheckEmailCode: (params: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare const apiGetImage: () => Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
|
+
export declare const apiLoginGoogle: (body: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3
|
+
export declare const apiSendEmailCode: (body: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
+
export declare const apiCheckEmailCode: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare const apiGetImage: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -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, {}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acsi-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Contains core components && functions for acsi-core project",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
56
|
"react-redux": "^9.0.4",
|
|
57
|
-
"react-router-dom": "^
|
|
57
|
+
"react-router-dom": "^6.16.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "microbundle-crl --no-compress --format modern,cjs",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const _default: (time: string, FORMAT?: string | undefined) => string;
|
|
2
|
-
/**
|
|
3
|
-
* Converts local time to UTC format for server API calls
|
|
4
|
-
* @param time - Local time string (can be ISO format or other moment-parseable formats)
|
|
5
|
-
* @param FORMAT - Optional output format (default: "YYYY-MM-DDTHH:mm:ss[Z]")
|
|
6
|
-
* @returns UTC formatted time string
|
|
7
|
-
*/
|
|
8
|
-
export default _default;
|