@fctc/interface-logic 1.7.9 → 1.7.10
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/configs.d.mts +4 -1
- package/dist/configs.d.ts +4 -1
- package/dist/configs.js +12 -15
- package/dist/configs.mjs +12 -15
- package/dist/environment.d.mts +36 -19
- package/dist/environment.d.ts +36 -19
- package/dist/environment.js +92 -76
- package/dist/environment.mjs +90 -76
- package/dist/hooks.d.mts +7 -2
- package/dist/hooks.d.ts +7 -2
- package/dist/hooks.js +230 -189
- package/dist/hooks.mjs +189 -149
- package/dist/provider.d.mts +3 -4
- package/dist/provider.d.ts +3 -4
- package/dist/provider.js +89 -79
- package/dist/provider.mjs +89 -79
- package/dist/services.d.mts +2 -1
- package/dist/services.d.ts +2 -1
- package/dist/services.js +104 -79
- package/dist/services.mjs +104 -79
- package/dist/store.d.mts +569 -18
- package/dist/store.d.ts +569 -18
- package/dist/store.js +4 -4
- package/dist/store.mjs +4 -4
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{view-type-D8ukwj_2.d.mts → view-type-BGJfDe73.d.mts} +1 -1
- package/dist/{view-type-D8ukwj_2.d.ts → view-type-BGJfDe73.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/store-DvWeB4jm.d.mts +0 -294
- package/dist/store-DvWeB4jm.d.ts +0 -294
package/dist/provider.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
2
|
|
|
4
3
|
declare const MainProvider: ({ children }: {
|
|
5
4
|
children: ReactNode;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => JSX.Element;
|
|
7
6
|
|
|
8
7
|
declare const ReactQueryProvider: ({ children }: {
|
|
9
8
|
children: ReactNode;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => JSX.Element;
|
|
11
10
|
|
|
12
11
|
declare const VersionGate: ({ children }: {
|
|
13
12
|
children: ReactNode;
|
|
14
|
-
}) =>
|
|
13
|
+
}) => JSX.Element | null;
|
|
15
14
|
|
|
16
15
|
export { MainProvider, ReactQueryProvider, VersionGate };
|
package/dist/provider.js
CHANGED
|
@@ -2861,9 +2861,9 @@ var sessionStorageUtils = () => {
|
|
|
2861
2861
|
// src/configs/axios-client.ts
|
|
2862
2862
|
var axiosClient = {
|
|
2863
2863
|
init(config) {
|
|
2864
|
-
const localStorage2 = config
|
|
2865
|
-
const sessionStorage2 = config
|
|
2866
|
-
const db = config
|
|
2864
|
+
const localStorage2 = config.localStorageUtils ?? localStorageUtils();
|
|
2865
|
+
const sessionStorage2 = config.sessionStorageUtils ?? sessionStorageUtils();
|
|
2866
|
+
const db = config.db;
|
|
2867
2867
|
let isRefreshing = false;
|
|
2868
2868
|
let failedQueue = [];
|
|
2869
2869
|
const processQueue = (error, token = null) => {
|
|
@@ -2882,19 +2882,16 @@ var axiosClient = {
|
|
|
2882
2882
|
timeout: 5e4,
|
|
2883
2883
|
paramsSerializer: (params) => new URLSearchParams(params).toString()
|
|
2884
2884
|
});
|
|
2885
|
-
instance.interceptors.request.use(
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
Promise.reject(error);
|
|
2896
|
-
}
|
|
2897
|
-
);
|
|
2885
|
+
instance.interceptors.request.use(async (config2) => {
|
|
2886
|
+
const { useRefreshToken, useActionToken, actionToken } = config2;
|
|
2887
|
+
if (useActionToken && actionToken) {
|
|
2888
|
+
config2.headers["Action-Token"] = actionToken;
|
|
2889
|
+
}
|
|
2890
|
+
const getToken = useRefreshToken ? localStorage2.getRefreshToken : localStorage2.getAccessToken;
|
|
2891
|
+
const token = await getToken?.();
|
|
2892
|
+
if (token) config2.headers["Authorization"] = `Bearer ${token}`;
|
|
2893
|
+
return config2;
|
|
2894
|
+
}, Promise.reject);
|
|
2898
2895
|
instance.interceptors.response.use(
|
|
2899
2896
|
(response) => {
|
|
2900
2897
|
return handleResponse(response);
|
|
@@ -3035,69 +3032,84 @@ var axiosClient = {
|
|
|
3035
3032
|
};
|
|
3036
3033
|
|
|
3037
3034
|
// src/environment/EnvStore.ts
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3035
|
+
var EnvStore = class {
|
|
3036
|
+
envStore;
|
|
3037
|
+
baseUrl;
|
|
3038
|
+
requests;
|
|
3039
|
+
context;
|
|
3040
|
+
defaultCompany;
|
|
3041
|
+
config;
|
|
3042
|
+
companies;
|
|
3043
|
+
user;
|
|
3044
|
+
db;
|
|
3045
|
+
localStorageUtils;
|
|
3046
|
+
sessionStorageUtils;
|
|
3047
|
+
refreshTokenEndpoint;
|
|
3048
|
+
constructor(envStore2, localStorageUtils2, sessionStorageUtils2) {
|
|
3049
|
+
this.envStore = envStore2;
|
|
3050
|
+
this.localStorageUtils = localStorageUtils2;
|
|
3051
|
+
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3052
|
+
this.setup();
|
|
3053
|
+
}
|
|
3054
|
+
setup() {
|
|
3055
|
+
const env2 = this.envStore.getState().env;
|
|
3056
|
+
this.baseUrl = env2?.baseUrl;
|
|
3057
|
+
this.requests = env2?.requests;
|
|
3058
|
+
this.context = env2?.context;
|
|
3059
|
+
this.defaultCompany = env2?.defaultCompany;
|
|
3060
|
+
this.config = env2?.config;
|
|
3061
|
+
this.companies = env2?.companies || [];
|
|
3062
|
+
this.user = env2?.user;
|
|
3063
|
+
this.db = env2?.db;
|
|
3064
|
+
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3065
|
+
}
|
|
3066
|
+
setupEnv(envConfig) {
|
|
3067
|
+
const dispatch = this.envStore.dispatch;
|
|
3068
|
+
const env2 = {
|
|
3046
3069
|
...envConfig,
|
|
3047
|
-
localStorageUtils:
|
|
3048
|
-
sessionStorageUtils:
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
);
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
}
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
}
|
|
3084
|
-
|
|
3085
|
-
getEnvData,
|
|
3086
|
-
setupEnv,
|
|
3087
|
-
setLangValue,
|
|
3088
|
-
setUidValue,
|
|
3089
|
-
setAllowCompaniesValue,
|
|
3090
|
-
setCompaniesValue,
|
|
3091
|
-
setDefaultCompanyValue,
|
|
3092
|
-
setUserInfoValue
|
|
3093
|
-
};
|
|
3094
|
-
}
|
|
3070
|
+
localStorageUtils: this.localStorageUtils,
|
|
3071
|
+
sessionStorageUtils: this.sessionStorageUtils
|
|
3072
|
+
};
|
|
3073
|
+
const requests = axiosClient.init(env2);
|
|
3074
|
+
dispatch(setEnv({ ...env2, requests }));
|
|
3075
|
+
this.setup();
|
|
3076
|
+
}
|
|
3077
|
+
setUid(uid) {
|
|
3078
|
+
const dispatch = this.envStore.dispatch;
|
|
3079
|
+
dispatch(setUid(uid));
|
|
3080
|
+
this.setup();
|
|
3081
|
+
}
|
|
3082
|
+
setLang(lang) {
|
|
3083
|
+
const dispatch = this.envStore.dispatch;
|
|
3084
|
+
dispatch(setLang(lang));
|
|
3085
|
+
this.setup();
|
|
3086
|
+
}
|
|
3087
|
+
setAllowCompanies(allowCompanies) {
|
|
3088
|
+
const dispatch = this.envStore.dispatch;
|
|
3089
|
+
dispatch(setAllowCompanies(allowCompanies));
|
|
3090
|
+
this.setup();
|
|
3091
|
+
}
|
|
3092
|
+
setCompanies(companies) {
|
|
3093
|
+
const dispatch = this.envStore.dispatch;
|
|
3094
|
+
dispatch(setCompanies(companies));
|
|
3095
|
+
this.setup();
|
|
3096
|
+
}
|
|
3097
|
+
setDefaultCompany(company) {
|
|
3098
|
+
const dispatch = this.envStore.dispatch;
|
|
3099
|
+
dispatch(setDefaultCompany(company));
|
|
3100
|
+
this.setup();
|
|
3101
|
+
}
|
|
3102
|
+
setUserInfo(userInfo) {
|
|
3103
|
+
const dispatch = this.envStore.dispatch;
|
|
3104
|
+
dispatch(setUser(userInfo));
|
|
3105
|
+
this.setup();
|
|
3106
|
+
}
|
|
3107
|
+
};
|
|
3095
3108
|
var env = null;
|
|
3096
3109
|
function getEnv() {
|
|
3097
|
-
if (!env)
|
|
3098
|
-
env =
|
|
3099
|
-
|
|
3100
|
-
return env?.getEnvData();
|
|
3110
|
+
if (!env)
|
|
3111
|
+
env = new EnvStore(envStore, localStorageUtils(), sessionStorageUtils());
|
|
3112
|
+
return env;
|
|
3101
3113
|
}
|
|
3102
3114
|
|
|
3103
3115
|
// src/services/view-service/index.ts
|
|
@@ -3361,8 +3373,7 @@ var ViewService = {
|
|
|
3361
3373
|
},
|
|
3362
3374
|
async getVersion() {
|
|
3363
3375
|
const env2 = getEnv();
|
|
3364
|
-
|
|
3365
|
-
return env2?.requests?.get("", {
|
|
3376
|
+
return env2?.requests.get("", {
|
|
3366
3377
|
headers: {
|
|
3367
3378
|
"Content-Type": "application/json"
|
|
3368
3379
|
}
|
|
@@ -3559,7 +3570,6 @@ var VersionGate = ({ children }) => {
|
|
|
3559
3570
|
};
|
|
3560
3571
|
const validateVersion = async () => {
|
|
3561
3572
|
const serverVersion = await view_service_default.getVersion();
|
|
3562
|
-
console.log("serverVersion", serverVersion);
|
|
3563
3573
|
const cached = localStorage.getItem("__api_version__");
|
|
3564
3574
|
if (cached !== serverVersion?.api_version) {
|
|
3565
3575
|
clearVersion();
|
package/dist/provider.mjs
CHANGED
|
@@ -2823,9 +2823,9 @@ var sessionStorageUtils = () => {
|
|
|
2823
2823
|
// src/configs/axios-client.ts
|
|
2824
2824
|
var axiosClient = {
|
|
2825
2825
|
init(config) {
|
|
2826
|
-
const localStorage2 = config
|
|
2827
|
-
const sessionStorage2 = config
|
|
2828
|
-
const db = config
|
|
2826
|
+
const localStorage2 = config.localStorageUtils ?? localStorageUtils();
|
|
2827
|
+
const sessionStorage2 = config.sessionStorageUtils ?? sessionStorageUtils();
|
|
2828
|
+
const db = config.db;
|
|
2829
2829
|
let isRefreshing = false;
|
|
2830
2830
|
let failedQueue = [];
|
|
2831
2831
|
const processQueue = (error, token = null) => {
|
|
@@ -2844,19 +2844,16 @@ var axiosClient = {
|
|
|
2844
2844
|
timeout: 5e4,
|
|
2845
2845
|
paramsSerializer: (params) => new URLSearchParams(params).toString()
|
|
2846
2846
|
});
|
|
2847
|
-
instance.interceptors.request.use(
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
Promise.reject(error);
|
|
2858
|
-
}
|
|
2859
|
-
);
|
|
2847
|
+
instance.interceptors.request.use(async (config2) => {
|
|
2848
|
+
const { useRefreshToken, useActionToken, actionToken } = config2;
|
|
2849
|
+
if (useActionToken && actionToken) {
|
|
2850
|
+
config2.headers["Action-Token"] = actionToken;
|
|
2851
|
+
}
|
|
2852
|
+
const getToken = useRefreshToken ? localStorage2.getRefreshToken : localStorage2.getAccessToken;
|
|
2853
|
+
const token = await getToken?.();
|
|
2854
|
+
if (token) config2.headers["Authorization"] = `Bearer ${token}`;
|
|
2855
|
+
return config2;
|
|
2856
|
+
}, Promise.reject);
|
|
2860
2857
|
instance.interceptors.response.use(
|
|
2861
2858
|
(response) => {
|
|
2862
2859
|
return handleResponse(response);
|
|
@@ -2997,69 +2994,84 @@ var axiosClient = {
|
|
|
2997
2994
|
};
|
|
2998
2995
|
|
|
2999
2996
|
// src/environment/EnvStore.ts
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
2997
|
+
var EnvStore = class {
|
|
2998
|
+
envStore;
|
|
2999
|
+
baseUrl;
|
|
3000
|
+
requests;
|
|
3001
|
+
context;
|
|
3002
|
+
defaultCompany;
|
|
3003
|
+
config;
|
|
3004
|
+
companies;
|
|
3005
|
+
user;
|
|
3006
|
+
db;
|
|
3007
|
+
localStorageUtils;
|
|
3008
|
+
sessionStorageUtils;
|
|
3009
|
+
refreshTokenEndpoint;
|
|
3010
|
+
constructor(envStore2, localStorageUtils2, sessionStorageUtils2) {
|
|
3011
|
+
this.envStore = envStore2;
|
|
3012
|
+
this.localStorageUtils = localStorageUtils2;
|
|
3013
|
+
this.sessionStorageUtils = sessionStorageUtils2;
|
|
3014
|
+
this.setup();
|
|
3015
|
+
}
|
|
3016
|
+
setup() {
|
|
3017
|
+
const env2 = this.envStore.getState().env;
|
|
3018
|
+
this.baseUrl = env2?.baseUrl;
|
|
3019
|
+
this.requests = env2?.requests;
|
|
3020
|
+
this.context = env2?.context;
|
|
3021
|
+
this.defaultCompany = env2?.defaultCompany;
|
|
3022
|
+
this.config = env2?.config;
|
|
3023
|
+
this.companies = env2?.companies || [];
|
|
3024
|
+
this.user = env2?.user;
|
|
3025
|
+
this.db = env2?.db;
|
|
3026
|
+
this.refreshTokenEndpoint = env2?.refreshTokenEndpoint;
|
|
3027
|
+
}
|
|
3028
|
+
setupEnv(envConfig) {
|
|
3029
|
+
const dispatch = this.envStore.dispatch;
|
|
3030
|
+
const env2 = {
|
|
3008
3031
|
...envConfig,
|
|
3009
|
-
localStorageUtils:
|
|
3010
|
-
sessionStorageUtils:
|
|
3011
|
-
}
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
);
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
getEnvData,
|
|
3048
|
-
setupEnv,
|
|
3049
|
-
setLangValue,
|
|
3050
|
-
setUidValue,
|
|
3051
|
-
setAllowCompaniesValue,
|
|
3052
|
-
setCompaniesValue,
|
|
3053
|
-
setDefaultCompanyValue,
|
|
3054
|
-
setUserInfoValue
|
|
3055
|
-
};
|
|
3056
|
-
}
|
|
3032
|
+
localStorageUtils: this.localStorageUtils,
|
|
3033
|
+
sessionStorageUtils: this.sessionStorageUtils
|
|
3034
|
+
};
|
|
3035
|
+
const requests = axiosClient.init(env2);
|
|
3036
|
+
dispatch(setEnv({ ...env2, requests }));
|
|
3037
|
+
this.setup();
|
|
3038
|
+
}
|
|
3039
|
+
setUid(uid) {
|
|
3040
|
+
const dispatch = this.envStore.dispatch;
|
|
3041
|
+
dispatch(setUid(uid));
|
|
3042
|
+
this.setup();
|
|
3043
|
+
}
|
|
3044
|
+
setLang(lang) {
|
|
3045
|
+
const dispatch = this.envStore.dispatch;
|
|
3046
|
+
dispatch(setLang(lang));
|
|
3047
|
+
this.setup();
|
|
3048
|
+
}
|
|
3049
|
+
setAllowCompanies(allowCompanies) {
|
|
3050
|
+
const dispatch = this.envStore.dispatch;
|
|
3051
|
+
dispatch(setAllowCompanies(allowCompanies));
|
|
3052
|
+
this.setup();
|
|
3053
|
+
}
|
|
3054
|
+
setCompanies(companies) {
|
|
3055
|
+
const dispatch = this.envStore.dispatch;
|
|
3056
|
+
dispatch(setCompanies(companies));
|
|
3057
|
+
this.setup();
|
|
3058
|
+
}
|
|
3059
|
+
setDefaultCompany(company) {
|
|
3060
|
+
const dispatch = this.envStore.dispatch;
|
|
3061
|
+
dispatch(setDefaultCompany(company));
|
|
3062
|
+
this.setup();
|
|
3063
|
+
}
|
|
3064
|
+
setUserInfo(userInfo) {
|
|
3065
|
+
const dispatch = this.envStore.dispatch;
|
|
3066
|
+
dispatch(setUser(userInfo));
|
|
3067
|
+
this.setup();
|
|
3068
|
+
}
|
|
3069
|
+
};
|
|
3057
3070
|
var env = null;
|
|
3058
3071
|
function getEnv() {
|
|
3059
|
-
if (!env)
|
|
3060
|
-
env =
|
|
3061
|
-
|
|
3062
|
-
return env?.getEnvData();
|
|
3072
|
+
if (!env)
|
|
3073
|
+
env = new EnvStore(envStore, localStorageUtils(), sessionStorageUtils());
|
|
3074
|
+
return env;
|
|
3063
3075
|
}
|
|
3064
3076
|
|
|
3065
3077
|
// src/services/view-service/index.ts
|
|
@@ -3323,8 +3335,7 @@ var ViewService = {
|
|
|
3323
3335
|
},
|
|
3324
3336
|
async getVersion() {
|
|
3325
3337
|
const env2 = getEnv();
|
|
3326
|
-
|
|
3327
|
-
return env2?.requests?.get("", {
|
|
3338
|
+
return env2?.requests.get("", {
|
|
3328
3339
|
headers: {
|
|
3329
3340
|
"Content-Type": "application/json"
|
|
3330
3341
|
}
|
|
@@ -3521,7 +3532,6 @@ var VersionGate = ({ children }) => {
|
|
|
3521
3532
|
};
|
|
3522
3533
|
const validateVersion = async () => {
|
|
3523
3534
|
const serverVersion = await view_service_default.getVersion();
|
|
3524
|
-
console.log("serverVersion", serverVersion);
|
|
3525
3535
|
const cached = localStorage.getItem("__api_version__");
|
|
3526
3536
|
if (cached !== serverVersion?.api_version) {
|
|
3527
3537
|
clearVersion();
|
package/dist/services.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams,
|
|
1
|
+
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-BGJfDe73.mjs';
|
|
2
2
|
|
|
3
3
|
declare const ActionService: {
|
|
4
4
|
loadAction({ idAction, context, }: {
|
|
@@ -51,6 +51,7 @@ declare const AuthService: {
|
|
|
51
51
|
}): Promise<any>;
|
|
52
52
|
updatePassword(data: UpdatePasswordRequest, token: string | null): Promise<any>;
|
|
53
53
|
isValidToken(token: string | null): Promise<any>;
|
|
54
|
+
isValidActionToken(actionToken: string | null, path: string): Promise<any>;
|
|
54
55
|
loginSocial({ db, state, access_token, }: {
|
|
55
56
|
db: string;
|
|
56
57
|
state: object;
|
package/dist/services.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams,
|
|
1
|
+
import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, a as GetDetailParams, S as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, f as GetViewParams, c as GetSelectionType } from './view-type-BGJfDe73.js';
|
|
2
2
|
|
|
3
3
|
declare const ActionService: {
|
|
4
4
|
loadAction({ idAction, context, }: {
|
|
@@ -51,6 +51,7 @@ declare const AuthService: {
|
|
|
51
51
|
}): Promise<any>;
|
|
52
52
|
updatePassword(data: UpdatePasswordRequest, token: string | null): Promise<any>;
|
|
53
53
|
isValidToken(token: string | null): Promise<any>;
|
|
54
|
+
isValidActionToken(actionToken: string | null, path: string): Promise<any>;
|
|
54
55
|
loginSocial({ db, state, access_token, }: {
|
|
55
56
|
db: string;
|
|
56
57
|
state: object;
|