@das-fed/utils 7.0.7-hot.56 → 7.0.7-hot.58

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.
Files changed (32) hide show
  1. package/api-services/modules/app-manage/index.js +800 -782
  2. package/api-services/modules/app-manage/index.js.gz +0 -0
  3. package/api-services/modules/authentication/index.js +800 -782
  4. package/api-services/modules/authentication/index.js.gz +0 -0
  5. package/api-services/modules/duty-manage/index.js +782 -800
  6. package/api-services/modules/duty-manage/index.js.gz +0 -0
  7. package/api-services/modules/enterpriseright/index.js +773 -759
  8. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  9. package/api-services/modules/file/index.js +907 -889
  10. package/api-services/modules/file/index.js.gz +0 -0
  11. package/api-services/modules/portal/index.js +800 -782
  12. package/api-services/modules/portal/index.js.gz +0 -0
  13. package/api-services/modules/space-manage/index.js +782 -800
  14. package/api-services/modules/space-manage/index.js.gz +0 -0
  15. package/api-services/modules/supplier/index.js +631 -635
  16. package/api-services/modules/supplier/index.js.gz +0 -0
  17. package/api-services/modules/systemConfiguration/index.js +759 -773
  18. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  19. package/create-api-service/sso/index.d.ts +3 -16
  20. package/create-api-service/sso/index.js +524 -518
  21. package/create-api-service/sso/index.js.gz +0 -0
  22. package/create-api-service/sso/utils.d.ts +6 -0
  23. package/create-api-service/thirdLogout/index.js +390 -369
  24. package/create-api-service/thirdLogout/index.js.gz +0 -0
  25. package/create-api-service/thirdLogout/sso/utils.d.ts +8 -0
  26. package/create-api-service/thirdLogout/{index.d.ts → thirdLogout/index.d.ts} +1 -1
  27. package/curring-http/type.d.ts +93 -93
  28. package/esm-map.json +3 -1
  29. package/package.json +4 -4
  30. package/token-tools/index.d.ts +35 -0
  31. package/token-tools/index.js +59 -25
  32. package/token-tools/index.js.gz +0 -0
@@ -1,4 +1,5 @@
1
- import { getQuery } from './utils';
1
+ import { tokenStorage } from '@das-fed/utils/token-tools';
2
+ import { getLoginType, getQuery } from './utils';
2
3
 
3
4
  declare const real_uri: any;
4
5
  declare const getTokenParams: any;
@@ -13,18 +14,4 @@ declare const login: (_params: any) => any;
13
14
  * @returns 刷新或项目恢复后的访问令牌
14
15
  */
15
16
  declare const refreshToken: (params: any) => unknown;
16
- declare const tokenStorage: () => {
17
- getData: () => {
18
- accessToken: any;
19
- accessTokenExpiredAt: any;
20
- refreshToken: any;
21
- };
22
- save: (data: {
23
- accessToken: string | null;
24
- accessTokenExpiredAt: number;
25
- refreshToken: string | null;
26
- info: any;
27
- }) => void;
28
- remove: () => void;
29
- };
30
- export { getTokenParams, getTokenFromCode, real_uri, getQuery, getToken, tokenStorage, login, refreshToken };
17
+ export { getTokenParams, getTokenFromCode, real_uri, getLoginType, getQuery, getToken, tokenStorage, login, refreshToken, };