@das-fed/utils 7.0.7-hot.5 → 7.0.7-hot.51

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 (88) hide show
  1. package/api-services/i18n/index.js.gz +0 -0
  2. package/api-services/index.js +476 -459
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/index.js +192 -176
  5. package/api-services/modules/app-manage/index.js.gz +0 -0
  6. package/api-services/modules/authentication/index.js +192 -176
  7. package/api-services/modules/authentication/index.js.gz +0 -0
  8. package/api-services/modules/bems/index.js +204 -188
  9. package/api-services/modules/bems/index.js.gz +0 -0
  10. package/api-services/modules/contract/index.js +192 -176
  11. package/api-services/modules/contract/index.js.gz +0 -0
  12. package/api-services/modules/duty-manage/index.js +856 -858
  13. package/api-services/modules/duty-manage/index.js.gz +0 -0
  14. package/api-services/modules/enterpriseright/index.js +755 -721
  15. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  16. package/api-services/modules/file/index.js +827 -793
  17. package/api-services/modules/file/index.js.gz +0 -0
  18. package/api-services/modules/gateway-edge/index.js +192 -176
  19. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  20. package/api-services/modules/index.js +1044 -1045
  21. package/api-services/modules/index.js.gz +0 -0
  22. package/api-services/modules/iot/index.js +1003 -969
  23. package/api-services/modules/iot/index.js.gz +0 -0
  24. package/api-services/modules/justauth/index.d.ts +1 -1
  25. package/api-services/modules/justauth/index.js +387 -370
  26. package/api-services/modules/justauth/index.js.gz +0 -0
  27. package/api-services/modules/knowledge/index.js +720 -708
  28. package/api-services/modules/knowledge/index.js.gz +0 -0
  29. package/api-services/modules/link/index.js +192 -176
  30. package/api-services/modules/link/index.js.gz +0 -0
  31. package/api-services/modules/permission/index.js +192 -176
  32. package/api-services/modules/permission/index.js.gz +0 -0
  33. package/api-services/modules/platformManage/index.js +276 -260
  34. package/api-services/modules/platformManage/index.js.gz +0 -0
  35. package/api-services/modules/portal/index.js +755 -721
  36. package/api-services/modules/portal/index.js.gz +0 -0
  37. package/api-services/modules/space-manage/index.js +192 -176
  38. package/api-services/modules/space-manage/index.js.gz +0 -0
  39. package/api-services/modules/super-admin/index.js +207 -191
  40. package/api-services/modules/super-admin/index.js.gz +0 -0
  41. package/api-services/modules/supplier/index.js +853 -855
  42. package/api-services/modules/supplier/index.js.gz +0 -0
  43. package/api-services/modules/supplychain-manage/index.js +192 -176
  44. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  45. package/api-services/modules/systemConfiguration/index.js +192 -176
  46. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  47. package/api-services/modules/tool/index.js +192 -176
  48. package/api-services/modules/tool/index.js.gz +0 -0
  49. package/api-services/src/create-service/index.js +191 -175
  50. package/api-services/src/create-service/index.js.gz +0 -0
  51. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  52. package/common-info/index.d.ts +1 -1
  53. package/common-info/index.js.gz +0 -0
  54. package/common-info/set-personal-info/index.js.gz +0 -0
  55. package/common-tools/extract-file-name/index.js.gz +0 -0
  56. package/common-tools/get-url-params/index.d.ts +7 -0
  57. package/common-tools/get-url-params/index.js +45 -38
  58. package/common-tools/get-url-params/index.js.gz +0 -0
  59. package/common-tools/obj-tools/index.js +1 -1
  60. package/common-tools/platform-tools/index.d.ts +7 -2
  61. package/common-tools/platform-tools/index.js +27 -15
  62. package/common-tools/platform-tools/index.js.gz +0 -0
  63. package/create-api-service/index.js +308 -292
  64. package/create-api-service/index.js.gz +0 -0
  65. package/create-api-service/sso/authorizer.d.ts +1 -0
  66. package/create-api-service/sso/index.d.ts +9 -7
  67. package/create-api-service/sso/index.js +939 -830
  68. package/create-api-service/sso/index.js.gz +0 -0
  69. package/create-api-service/sso/utils.d.ts +2 -0
  70. package/create-api-service/thirdLogout/index.d.ts +19 -0
  71. package/create-api-service/thirdLogout/index.js +1834 -0
  72. package/create-api-service/thirdLogout/index.js.gz +0 -0
  73. package/create-api-service/unauthorized-recovery/index.d.ts +30 -0
  74. package/create-api-service/unauthorized-recovery/index.js +10 -0
  75. package/curring-http/index.js.gz +0 -0
  76. package/curring-http/type.d.ts +93 -87
  77. package/directive/auth/index.js.gz +0 -0
  78. package/esm-map.json +10 -1
  79. package/hooks/use-get-auth/index.js.gz +0 -0
  80. package/nextTiken/index.js.gz +0 -0
  81. package/package.json +4 -4
  82. package/pinyin-first-character/index.js.gz +0 -0
  83. package/style/index.js.gz +0 -0
  84. package/token-tools/index.d.ts +2 -1
  85. package/token-tools/index.js +1 -1
  86. package/token-tools/index.js.gz +0 -0
  87. package/use-low-code/index.js.gz +0 -0
  88. package/webSocket-service/index.js.gz +0 -0
Binary file
@@ -0,0 +1 @@
1
+ export declare const getTokenFromAuthorizer: () => Promise<void>;
@@ -1,9 +1,11 @@
1
- declare const getQuery: (name: any) => any;
2
- declare const real_uri: string;
1
+ import { getQuery } from './utils';
2
+
3
+ declare const real_uri: any;
3
4
  declare const getTokenParams: any;
4
5
  declare const getTokenFromCode: () => unknown;
5
6
  declare const getToken: (config: any) => unknown;
6
7
  declare const login: (_params: any) => any;
8
+ declare const refreshToken: (params: any) => unknown;
7
9
  declare const tokenStorage: () => {
8
10
  getData: () => {
9
11
  accessToken: any;
@@ -11,11 +13,11 @@ declare const tokenStorage: () => {
11
13
  refreshToken: any;
12
14
  };
13
15
  save: (data: {
14
- accessToken?: string | null;
15
- accessTokenExpiredAt?: string | number | null;
16
- refreshToken?: string | null;
17
- info?: any;
16
+ accessToken: string | null;
17
+ accessTokenExpiredAt: number;
18
+ refreshToken: string | null;
19
+ info: any;
18
20
  }) => void;
19
21
  remove: () => void;
20
22
  };
21
- export { getTokenParams, getTokenFromCode, real_uri, getQuery, getToken, tokenStorage, login };
23
+ export { getTokenParams, getTokenFromCode, real_uri, getQuery, getToken, tokenStorage, login, refreshToken };