giime 0.6.42 → 0.6.44
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/index.css +103 -103
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.d.ts +90 -12
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.d.ts +61 -16
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.d.ts +54 -12
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.d.ts +42 -12
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.d.ts +84 -12
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.d.ts +72 -12
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.d.ts +66 -12
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.d.ts +414 -12
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.d.ts +90 -12
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.d.ts +90 -12
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.d.ts +96 -12
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.d.ts +66 -12
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.mjs +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.mjs.map +1 -1
- package/es/api/resource/controller/ZiYuanGuanLi/{getV1ResourcesUrl.d.ts → getResourceV1ResourcesUrl.d.ts} +7 -7
- package/es/api/resource/controller/ZiYuanGuanLi/{getV1ResourcesUrl.mjs → getResourceV1ResourcesUrl.mjs} +4 -4
- package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs.map +1 -0
- package/es/api/resource/controller/ZiYuanGuanLi/index.d.ts +4 -4
- package/es/api/resource/controller/ZiYuanGuanLi/index.mjs +4 -4
- package/{lib/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.d.ts → es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts} +2 -2
- package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs +8 -0
- package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs.map +1 -0
- package/es/api/resource/controller/ZiYuanGuanLi/{useGetV1ResourcesUrl.d.ts → useGetResourceV1ResourcesUrl.d.ts} +75 -15
- package/es/api/resource/controller/ZiYuanGuanLi/{useGetV1ResourcesUrl.mjs → useGetResourceV1ResourcesUrl.mjs} +5 -5
- package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs.map +1 -0
- package/es/api/resource/controller/ZiYuanGuanLi/{usePostV1ResourcesUrl.d.ts → usePostResourceV1ResourcesUrl.d.ts} +74 -14
- package/es/api/resource/controller/ZiYuanGuanLi/{usePostV1ResourcesUrl.mjs → usePostResourceV1ResourcesUrl.mjs} +5 -5
- package/es/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.mjs.map +1 -0
- package/es/api/resource/controller/index.mjs +4 -4
- package/es/api/resource/interface/apiTypes/RString.d.ts +10 -0
- package/es/api/resource/interface/apiTypes/RString.mjs +2 -0
- package/es/api/resource/interface/apiTypes/RString.mjs.map +1 -0
- package/es/api/resource/interface/index.d.ts +1 -0
- package/es/api/resource/interface/index.mjs +1 -0
- package/es/api/resource/interface/index.mjs.map +1 -1
- package/es/api/resource/request.mjs +5 -5
- package/es/api/resource/request.mjs.map +1 -1
- package/es/components/src/base/upload/Upload.vue.d.ts +1 -1
- package/es/components/src/base/upload/index.d.ts +3 -3
- package/es/components/src/business/uploadMaterial/UploadMaterial.vue.d.ts +1 -1
- package/es/components/src/business/uploadMaterial/index.d.ts +3 -3
- package/es/components/src/business/uploadPro/UploadPro.vue.d.ts +3 -3
- package/es/components/src/business/uploadPro/index.d.ts +9 -9
- package/es/components/src/composite/importDialog/ImportDialog.vue.d.ts +1 -1
- package/es/components/src/composite/importDialog/index.d.ts +3 -3
- package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
- package/es/components/src/composite/uploadFile/index.d.ts +9 -9
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/base/useAxios/index.mjs +2 -2
- package/es/hooks/base/useAxios/index.mjs.map +1 -1
- package/es/hooks/base/useUploadFile/index.mjs +2 -2
- package/es/hooks/base/useUploadFile/index.mjs.map +1 -1
- package/es/hooks/store/common/useSystemList/index.d.ts +33 -6
- package/es/hooks/store/useOrgUserList/index.d.ts +45 -6
- package/es/hooks/store/userCenter/useAreaList/index.d.ts +36 -6
- package/es/hooks/store/userCenter/useOrgTreeList/index.d.ts +48 -6
- package/es/index.css +103 -103
- package/es/utils/src/http/devProxy.mjs +1 -1
- package/es/utils/src/http/devProxy.mjs.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.d.ts +90 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.d.ts +61 -16
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.d.ts +54 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/useGetBasicV1ConfigFrontListCustom.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.d.ts +42 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/QianDuanPeiZhiJieKou/usePostBasicV1ConfigFrontListCustom.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.d.ts +84 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.d.ts +72 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.d.ts +66 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.d.ts +414 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/useGetBasicV1UserGetCurrentUser.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.d.ts +90 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.d.ts +90 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.d.ts +96 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.d.ts +66 -12
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.js +2 -2
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.js.map +1 -1
- package/lib/api/resource/controller/ZiYuanGuanLi/{getV1ResourcesUrl.d.ts → getResourceV1ResourcesUrl.d.ts} +7 -7
- package/lib/api/resource/controller/ZiYuanGuanLi/{getV1ResourcesUrl.js → getResourceV1ResourcesUrl.js} +4 -4
- package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js.map +1 -0
- package/lib/api/resource/controller/ZiYuanGuanLi/index.d.ts +4 -4
- package/lib/api/resource/controller/ZiYuanGuanLi/index.js +8 -8
- package/{es/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.d.ts → lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts} +2 -2
- package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.js +10 -0
- package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.js.map +1 -0
- package/lib/api/resource/controller/ZiYuanGuanLi/{useGetV1ResourcesUrl.d.ts → useGetResourceV1ResourcesUrl.d.ts} +75 -15
- package/lib/api/resource/controller/ZiYuanGuanLi/{useGetV1ResourcesUrl.js → useGetResourceV1ResourcesUrl.js} +6 -6
- package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js.map +1 -0
- package/lib/api/resource/controller/ZiYuanGuanLi/{usePostV1ResourcesUrl.d.ts → usePostResourceV1ResourcesUrl.d.ts} +74 -14
- package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.js +20 -0
- package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.js.map +1 -0
- package/lib/api/resource/controller/index.js +8 -8
- package/lib/api/resource/interface/apiTypes/RString.d.ts +10 -0
- package/lib/api/resource/interface/apiTypes/RString.js +3 -0
- package/lib/api/resource/interface/apiTypes/RString.js.map +1 -0
- package/lib/api/resource/interface/index.d.ts +1 -0
- package/lib/api/resource/interface/index.js +1 -0
- package/lib/api/resource/interface/index.js.map +1 -1
- package/lib/api/resource/request.js +5 -5
- package/lib/api/resource/request.js.map +1 -1
- package/lib/components/src/base/upload/Upload.vue.d.ts +1 -1
- package/lib/components/src/base/upload/index.d.ts +3 -3
- package/lib/components/src/business/uploadMaterial/UploadMaterial.vue.d.ts +1 -1
- package/lib/components/src/business/uploadMaterial/index.d.ts +3 -3
- package/lib/components/src/business/uploadPro/UploadPro.vue.d.ts +3 -3
- package/lib/components/src/business/uploadPro/index.d.ts +9 -9
- package/lib/components/src/composite/importDialog/ImportDialog.vue.d.ts +1 -1
- package/lib/components/src/composite/importDialog/index.d.ts +3 -3
- package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
- package/lib/components/src/composite/uploadFile/index.d.ts +9 -9
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/base/useAxios/index.js +2 -2
- package/lib/hooks/base/useAxios/index.js.map +1 -1
- package/lib/hooks/base/useUploadFile/index.js +2 -2
- package/lib/hooks/base/useUploadFile/index.js.map +1 -1
- package/lib/hooks/store/common/useSystemList/index.d.ts +33 -6
- package/lib/hooks/store/useOrgUserList/index.d.ts +45 -6
- package/lib/hooks/store/userCenter/useAreaList/index.d.ts +36 -6
- package/lib/hooks/store/userCenter/useOrgTreeList/index.d.ts +48 -6
- package/lib/index.css +103 -103
- package/lib/utils/src/http/devProxy.js +1 -1
- package/lib/utils/src/http/devProxy.js.map +1 -1
- package/package.json +1 -1
- package/es/api/resource/controller/ZiYuanGuanLi/getV1ResourcesUrl.mjs.map +0 -1
- package/es/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.mjs +0 -8
- package/es/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.mjs.map +0 -1
- package/es/api/resource/controller/ZiYuanGuanLi/useGetV1ResourcesUrl.mjs.map +0 -1
- package/es/api/resource/controller/ZiYuanGuanLi/usePostV1ResourcesUrl.mjs.map +0 -1
- package/lib/api/resource/controller/ZiYuanGuanLi/getV1ResourcesUrl.js.map +0 -1
- package/lib/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.js +0 -10
- package/lib/api/resource/controller/ZiYuanGuanLi/postV1ResourcesUrl.js.map +0 -1
- package/lib/api/resource/controller/ZiYuanGuanLi/useGetV1ResourcesUrl.js.map +0 -1
- package/lib/api/resource/controller/ZiYuanGuanLi/usePostV1ResourcesUrl.js +0 -20
- package/lib/api/resource/controller/ZiYuanGuanLi/usePostV1ResourcesUrl.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type UseAxiosOptions } from "
|
|
1
|
+
import { type UseAxiosOptions } from "../../../../../hooks/base/useAxios";
|
|
2
2
|
import { type AxiosRequestConfig } from "axios";
|
|
3
3
|
import { type DeepRequired, type RListGkFamilyVo } from "../../../interface";
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import { type DeepRequired, type RListGkFamilyVo } from "../../../interface";
|
|
|
6
6
|
* /basic/v1/org/family/list
|
|
7
7
|
*/
|
|
8
8
|
export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RListGkFamilyVo>>): {
|
|
9
|
-
exec: (axiosConfig?: AxiosRequestConfig) => Promise<import("
|
|
9
|
+
exec: (axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
10
10
|
code: number;
|
|
11
11
|
bizCode: number;
|
|
12
12
|
data: {
|
|
@@ -24,8 +24,17 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
24
24
|
name: string;
|
|
25
25
|
}[];
|
|
26
26
|
msg: string;
|
|
27
|
-
}, any>, any
|
|
28
|
-
|
|
27
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
28
|
+
code: number;
|
|
29
|
+
bizCode: number;
|
|
30
|
+
data: {
|
|
31
|
+
id: number;
|
|
32
|
+
code: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}[];
|
|
35
|
+
msg: string;
|
|
36
|
+
}>>>;
|
|
37
|
+
execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
29
38
|
code: number;
|
|
30
39
|
bizCode: number;
|
|
31
40
|
data: {
|
|
@@ -43,7 +52,16 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
43
52
|
name: string;
|
|
44
53
|
}[];
|
|
45
54
|
msg: string;
|
|
46
|
-
}, any>, any
|
|
55
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
56
|
+
code: number;
|
|
57
|
+
bizCode: number;
|
|
58
|
+
data: {
|
|
59
|
+
id: number;
|
|
60
|
+
code: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}[];
|
|
63
|
+
msg: string;
|
|
64
|
+
}>>>;
|
|
47
65
|
response: import("vue").ShallowRef<import("axios").AxiosResponse<{
|
|
48
66
|
code: number;
|
|
49
67
|
bizCode: number;
|
|
@@ -71,7 +89,7 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
71
89
|
abort: (message?: string | undefined) => void;
|
|
72
90
|
cancel: (message?: string | undefined) => void;
|
|
73
91
|
isCanceled: import("vue").Ref<boolean>;
|
|
74
|
-
then<TResult1 = import("
|
|
92
|
+
then<TResult1 = import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
75
93
|
code: number;
|
|
76
94
|
bizCode: number;
|
|
77
95
|
data: {
|
|
@@ -89,7 +107,16 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
89
107
|
name: string;
|
|
90
108
|
}[];
|
|
91
109
|
msg: string;
|
|
92
|
-
}, any>, any
|
|
110
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
111
|
+
code: number;
|
|
112
|
+
bizCode: number;
|
|
113
|
+
data: {
|
|
114
|
+
id: number;
|
|
115
|
+
code: string;
|
|
116
|
+
name: string;
|
|
117
|
+
}[];
|
|
118
|
+
msg: string;
|
|
119
|
+
}>>, TResult2 = never>(onfulfilled?: ((value: import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
93
120
|
code: number;
|
|
94
121
|
bizCode: number;
|
|
95
122
|
data: {
|
|
@@ -107,8 +134,17 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
107
134
|
name: string;
|
|
108
135
|
}[];
|
|
109
136
|
msg: string;
|
|
110
|
-
}, any>, any
|
|
111
|
-
|
|
137
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
138
|
+
code: number;
|
|
139
|
+
bizCode: number;
|
|
140
|
+
data: {
|
|
141
|
+
id: number;
|
|
142
|
+
code: string;
|
|
143
|
+
name: string;
|
|
144
|
+
}[];
|
|
145
|
+
msg: string;
|
|
146
|
+
}>>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
147
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
112
148
|
code: number;
|
|
113
149
|
bizCode: number;
|
|
114
150
|
data: {
|
|
@@ -126,8 +162,17 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
126
162
|
name: string;
|
|
127
163
|
}[];
|
|
128
164
|
msg: string;
|
|
129
|
-
}, any>, any
|
|
130
|
-
|
|
165
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
166
|
+
code: number;
|
|
167
|
+
bizCode: number;
|
|
168
|
+
data: {
|
|
169
|
+
id: number;
|
|
170
|
+
code: string;
|
|
171
|
+
name: string;
|
|
172
|
+
}[];
|
|
173
|
+
msg: string;
|
|
174
|
+
}>> | TResult>;
|
|
175
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<import("../../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
131
176
|
code: number;
|
|
132
177
|
bizCode: number;
|
|
133
178
|
data: {
|
|
@@ -145,6 +190,15 @@ export declare function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig,
|
|
|
145
190
|
name: string;
|
|
146
191
|
}[];
|
|
147
192
|
msg: string;
|
|
148
|
-
}, any>, any
|
|
193
|
+
}, any>, any, import("../../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
194
|
+
code: number;
|
|
195
|
+
bizCode: number;
|
|
196
|
+
data: {
|
|
197
|
+
id: number;
|
|
198
|
+
code: string;
|
|
199
|
+
name: string;
|
|
200
|
+
}[];
|
|
201
|
+
msg: string;
|
|
202
|
+
}>>>;
|
|
149
203
|
[Symbol.toStringTag]: string;
|
|
150
204
|
};
|
package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePostBasicV1OrgFamilyList.mjs","sources":["../../../../../../../../packages/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from \"@
|
|
1
|
+
{"version":3,"file":"usePostBasicV1OrgFamilyList.mjs","sources":["../../../../../../../../packages/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from \"@giime/hooks/base/useAxios\";\nimport { type AxiosRequestConfig } from \"axios\";\nimport { type DeepRequired, type RListGkFamilyVo } from \"../../../interface\";\nimport request from \"@giime/api/guardBasic/request\";\n\n/**\n * 家族列表-giime组件库专用\n * /basic/v1/org/family/list\n */\nexport function usePostBasicV1OrgFamilyList(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RListGkFamilyVo>>) {\n const useAxiosReturn = useAxios<DeepRequired<RListGkFamilyVo>>(\n '/basic/v1/org/family/list',\n { method: 'post', ...config },\n request,\n { immediate: false, ...options }\n )\n\n function exec(axiosConfig?: AxiosRequestConfig) {\n return useAxiosReturn.execute(axiosConfig);\n }\n return { ...useAxiosReturn, exec };\n}\n"],"names":["request"],"mappings":";;;AASgB,SAAA,2BAAA,CAA4B,QAA6B,OAA0D,EAAA;AAC/H,EAAA,MAAM,cAAiB,GAAA,QAAA;AAAA,IACnB,2BAAA;AAAA,IACA,EAAE,MAAA,EAAQ,MAAQ,EAAA,GAAG,MAAO,EAAA;AAAA,IAC5BA,OAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACnC,CAAA;AAEA,EAAA,SAAS,KAAK,WAAkC,EAAA;AAC5C,IAAO,OAAA,cAAA,CAAe,QAAQ,WAAW,CAAA,CAAA;AAAA,GAC7C;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACrC;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type AxiosRequestConfig } from "axios";
|
|
2
2
|
/**
|
|
3
3
|
* 查询资源链接
|
|
4
|
-
* /v1/resources/url
|
|
4
|
+
* /resource/v1/resources/url
|
|
5
5
|
*/
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function getResourceV1ResourcesUrl(params: GetResourceV1ResourcesUrlParams, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
7
7
|
code: number;
|
|
8
8
|
bizCode: number;
|
|
9
9
|
data: {
|
|
@@ -14,7 +14,7 @@ export declare function getV1ResourcesUrl(params: GetV1ResourcesUrlParams, confi
|
|
|
14
14
|
};
|
|
15
15
|
msg: string;
|
|
16
16
|
}, any>>;
|
|
17
|
-
export interface
|
|
17
|
+
export interface GetResourceV1ResourcesUrlParams {
|
|
18
18
|
/** 领域编码 */
|
|
19
19
|
domainCode: string;
|
|
20
20
|
/** 文件名 */
|
|
@@ -34,13 +34,13 @@ export interface GetV1ResourcesUrlParams {
|
|
|
34
34
|
/** 是否覆盖同名文件 0 否 1 是 */
|
|
35
35
|
cover?: number;
|
|
36
36
|
/** 元数据 */
|
|
37
|
-
metaData?:
|
|
37
|
+
metaData?: GetResourceV1ResourcesUrlParamsMetaData;
|
|
38
38
|
/** 扩展数据 */
|
|
39
|
-
extData?:
|
|
39
|
+
extData?: GetResourceV1ResourcesUrlParamsExtData;
|
|
40
40
|
}
|
|
41
|
-
export interface
|
|
41
|
+
export interface GetResourceV1ResourcesUrlParamsMetaData {
|
|
42
42
|
[key: string]: any;
|
|
43
43
|
}
|
|
44
|
-
export interface
|
|
44
|
+
export interface GetResourceV1ResourcesUrlParamsExtData {
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import service from '../../request.mjs';
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function getResourceV1ResourcesUrl(params, config) {
|
|
4
4
|
const paramsInput = {
|
|
5
5
|
domainCode: params.domainCode,
|
|
6
6
|
fileName: params.fileName,
|
|
@@ -14,11 +14,11 @@ function getV1ResourcesUrl(params, config) {
|
|
|
14
14
|
...params.metaData,
|
|
15
15
|
...params.extData
|
|
16
16
|
};
|
|
17
|
-
return service.get(`/v1/resources/url`, {
|
|
17
|
+
return service.get(`/resource/v1/resources/url`, {
|
|
18
18
|
params: paramsInput,
|
|
19
19
|
...config
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export {
|
|
24
|
-
//# sourceMappingURL=
|
|
23
|
+
export { getResourceV1ResourcesUrl };
|
|
24
|
+
//# sourceMappingURL=getResourceV1ResourcesUrl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.ts"],"sourcesContent":["import request from \"@giime/api/resource/request\";\nimport { type RResourceUrlResponse, type DeepRequired } from \"../../interface\";\nimport { type AxiosRequestConfig } from \"axios\";\n\n/**\n * 查询资源链接\n * /resource/v1/resources/url\n */\nexport function getResourceV1ResourcesUrl(params: GetResourceV1ResourcesUrlParams, config?: AxiosRequestConfig) {\n const paramsInput = {\n domainCode: params.domainCode,\n fileName: params.fileName,\n contentType: params.contentType,\n md5: params.md5,\n size: params.size,\n acl: params.acl,\n sceneCode: params.sceneCode,\n expires: params.expires,\n cover: params.cover,\n ...params.metaData,\n ...params.extData,\n };\n return request.get<DeepRequired<RResourceUrlResponse>>(`/resource/v1/resources/url`, {\n params: paramsInput,\n ...config,\n });\n}\n\nexport interface GetResourceV1ResourcesUrlParams {\n /** 领域编码 */\n domainCode: string;\n /** 文件名 */\n fileName?: string;\n /** 内容类型 */\n contentType: string;\n /** 文件MD5值 */\n md5: string;\n /** 文件大小(字节) */\n size: number;\n /** 文件权限,默认继承桶 */\n acl?: string;\n /** 场景编码 */\n sceneCode?: string;\n /** 有效期限,时间毫秒数 */\n expires?: number;\n /** 是否覆盖同名文件 0 否 1 是 */\n cover?: number;\n /** 元数据 */\n metaData?: GetResourceV1ResourcesUrlParamsMetaData;\n /** 扩展数据 */\n extData?: GetResourceV1ResourcesUrlParamsExtData;\n}\n\nexport interface GetResourceV1ResourcesUrlParamsMetaData {\n [key: string]: any;\n}\n\nexport interface GetResourceV1ResourcesUrlParamsExtData {\n [key: string]: any;\n}\n"],"names":["request"],"mappings":";;AAQgB,SAAA,yBAAA,CAA0B,QAAyC,MAA6B,EAAA;AAC5G,EAAA,MAAM,WAAc,GAAA;AAAA,IAChB,YAAY,MAAO,CAAA,UAAA;AAAA,IACnB,UAAU,MAAO,CAAA,QAAA;AAAA,IACjB,aAAa,MAAO,CAAA,WAAA;AAAA,IACpB,KAAK,MAAO,CAAA,GAAA;AAAA,IACZ,MAAM,MAAO,CAAA,IAAA;AAAA,IACb,KAAK,MAAO,CAAA,GAAA;AAAA,IACZ,WAAW,MAAO,CAAA,SAAA;AAAA,IAClB,SAAS,MAAO,CAAA,OAAA;AAAA,IAChB,OAAO,MAAO,CAAA,KAAA;AAAA,IACd,GAAG,MAAO,CAAA,QAAA;AAAA,IACV,GAAG,MAAO,CAAA,OAAA;AAAA,GACd,CAAA;AACA,EAAO,OAAAA,OAAA,CAAQ,IAAwC,CAA8B,0BAAA,CAAA,EAAA;AAAA,IACjF,MAAQ,EAAA,WAAA;AAAA,IACR,GAAG,MAAA;AAAA,GACN,CAAA,CAAA;AACL;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
1
|
+
export * from "./getResourceV1ResourcesUrl";
|
|
2
|
+
export * from "./useGetResourceV1ResourcesUrl";
|
|
3
|
+
export * from "./postResourceV1ResourcesUrl";
|
|
4
|
+
export * from "./usePostResourceV1ResourcesUrl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { getResourceV1ResourcesUrl } from './getResourceV1ResourcesUrl.mjs';
|
|
2
|
+
export { useGetResourceV1ResourcesUrl } from './useGetResourceV1ResourcesUrl.mjs';
|
|
3
|
+
export { postResourceV1ResourcesUrl } from './postResourceV1ResourcesUrl.mjs';
|
|
4
|
+
export { usePostResourceV1ResourcesUrl } from './usePostResourceV1ResourcesUrl.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -2,9 +2,9 @@ import { type GenerateUploadUrlRequest } from "../../interface";
|
|
|
2
2
|
import { type AxiosRequestConfig } from "axios";
|
|
3
3
|
/**
|
|
4
4
|
* 查询资源上传链接
|
|
5
|
-
* /v1/resources/url
|
|
5
|
+
* /resource/v1/resources/url
|
|
6
6
|
*/
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function postResourceV1ResourcesUrl(input?: GenerateUploadUrlRequest, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
8
8
|
code: number;
|
|
9
9
|
bizCode: number;
|
|
10
10
|
data: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import service from '../../request.mjs';
|
|
2
|
+
|
|
3
|
+
function postResourceV1ResourcesUrl(input, config) {
|
|
4
|
+
return service.post(`/resource/v1/resources/url`, input, config);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { postResourceV1ResourcesUrl };
|
|
8
|
+
//# sourceMappingURL=postResourceV1ResourcesUrl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.ts"],"sourcesContent":["import request from \"@giime/api/resource/request\";\nimport { type RResourceUrlResponse, type DeepRequired, type GenerateUploadUrlRequest } from \"../../interface\";\nimport { type AxiosRequestConfig } from \"axios\";\n\n/**\n * 查询资源上传链接\n * /resource/v1/resources/url\n */\nexport function postResourceV1ResourcesUrl(input?: GenerateUploadUrlRequest, config?: AxiosRequestConfig) {\n return request.post<DeepRequired<RResourceUrlResponse>>(`/resource/v1/resources/url`, input, config);\n}\n"],"names":["request"],"mappings":";;AAQgB,SAAA,0BAAA,CAA2B,OAAkC,MAA6B,EAAA;AACtG,EAAA,OAAOA,OAAQ,CAAA,IAAA,CAAyC,CAA8B,0BAAA,CAAA,EAAA,KAAA,EAAO,MAAM,CAAA,CAAA;AACvG;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { type UseAxiosOptions } from "
|
|
1
|
+
import { type UseAxiosOptions } from "../../../../hooks/base/useAxios";
|
|
2
2
|
import { type AxiosRequestConfig } from "axios";
|
|
3
3
|
import { type DeepRequired, type RResourceUrlResponse } from "../../interface";
|
|
4
|
-
import { type
|
|
4
|
+
import { type GetResourceV1ResourcesUrlParams } from "./getResourceV1ResourcesUrl";
|
|
5
5
|
/**
|
|
6
6
|
* 查询资源链接
|
|
7
|
-
* /v1/resources/url
|
|
7
|
+
* /resource/v1/resources/url
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
10
|
-
exec: (params:
|
|
9
|
+
export declare function useGetResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>): {
|
|
10
|
+
exec: (params: GetResourceV1ResourcesUrlParams, axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
11
11
|
code: number;
|
|
12
12
|
bizCode: number;
|
|
13
13
|
data: {
|
|
@@ -27,8 +27,18 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
27
27
|
key: string;
|
|
28
28
|
};
|
|
29
29
|
msg: string;
|
|
30
|
-
}, any>, any
|
|
31
|
-
|
|
30
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
31
|
+
code: number;
|
|
32
|
+
bizCode: number;
|
|
33
|
+
data: {
|
|
34
|
+
url: string;
|
|
35
|
+
exists: boolean;
|
|
36
|
+
uploadUrl: string;
|
|
37
|
+
key: string;
|
|
38
|
+
};
|
|
39
|
+
msg: string;
|
|
40
|
+
}>>>;
|
|
41
|
+
execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
32
42
|
code: number;
|
|
33
43
|
bizCode: number;
|
|
34
44
|
data: {
|
|
@@ -48,7 +58,17 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
48
58
|
key: string;
|
|
49
59
|
};
|
|
50
60
|
msg: string;
|
|
51
|
-
}, any>, any
|
|
61
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
62
|
+
code: number;
|
|
63
|
+
bizCode: number;
|
|
64
|
+
data: {
|
|
65
|
+
url: string;
|
|
66
|
+
exists: boolean;
|
|
67
|
+
uploadUrl: string;
|
|
68
|
+
key: string;
|
|
69
|
+
};
|
|
70
|
+
msg: string;
|
|
71
|
+
}>>>;
|
|
52
72
|
response: import("vue").ShallowRef<import("axios").AxiosResponse<{
|
|
53
73
|
code: number;
|
|
54
74
|
bizCode: number;
|
|
@@ -78,7 +98,7 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
78
98
|
abort: (message?: string | undefined) => void;
|
|
79
99
|
cancel: (message?: string | undefined) => void;
|
|
80
100
|
isCanceled: import("vue").Ref<boolean>;
|
|
81
|
-
then<TResult1 = import("
|
|
101
|
+
then<TResult1 = import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
82
102
|
code: number;
|
|
83
103
|
bizCode: number;
|
|
84
104
|
data: {
|
|
@@ -98,7 +118,17 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
98
118
|
key: string;
|
|
99
119
|
};
|
|
100
120
|
msg: string;
|
|
101
|
-
}, any>, any
|
|
121
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
122
|
+
code: number;
|
|
123
|
+
bizCode: number;
|
|
124
|
+
data: {
|
|
125
|
+
url: string;
|
|
126
|
+
exists: boolean;
|
|
127
|
+
uploadUrl: string;
|
|
128
|
+
key: string;
|
|
129
|
+
};
|
|
130
|
+
msg: string;
|
|
131
|
+
}>>, TResult2 = never>(onfulfilled?: ((value: import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
102
132
|
code: number;
|
|
103
133
|
bizCode: number;
|
|
104
134
|
data: {
|
|
@@ -118,8 +148,18 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
118
148
|
key: string;
|
|
119
149
|
};
|
|
120
150
|
msg: string;
|
|
121
|
-
}, any>, any
|
|
122
|
-
|
|
151
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
152
|
+
code: number;
|
|
153
|
+
bizCode: number;
|
|
154
|
+
data: {
|
|
155
|
+
url: string;
|
|
156
|
+
exists: boolean;
|
|
157
|
+
uploadUrl: string;
|
|
158
|
+
key: string;
|
|
159
|
+
};
|
|
160
|
+
msg: string;
|
|
161
|
+
}>>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
162
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
123
163
|
code: number;
|
|
124
164
|
bizCode: number;
|
|
125
165
|
data: {
|
|
@@ -139,8 +179,18 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
139
179
|
key: string;
|
|
140
180
|
};
|
|
141
181
|
msg: string;
|
|
142
|
-
}, any>, any
|
|
143
|
-
|
|
182
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
183
|
+
code: number;
|
|
184
|
+
bizCode: number;
|
|
185
|
+
data: {
|
|
186
|
+
url: string;
|
|
187
|
+
exists: boolean;
|
|
188
|
+
uploadUrl: string;
|
|
189
|
+
key: string;
|
|
190
|
+
};
|
|
191
|
+
msg: string;
|
|
192
|
+
}>> | TResult>;
|
|
193
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
144
194
|
code: number;
|
|
145
195
|
bizCode: number;
|
|
146
196
|
data: {
|
|
@@ -160,6 +210,16 @@ export declare function useGetV1ResourcesUrl(config?: AxiosRequestConfig, option
|
|
|
160
210
|
key: string;
|
|
161
211
|
};
|
|
162
212
|
msg: string;
|
|
163
|
-
}, any>, any
|
|
213
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
214
|
+
code: number;
|
|
215
|
+
bizCode: number;
|
|
216
|
+
data: {
|
|
217
|
+
url: string;
|
|
218
|
+
exists: boolean;
|
|
219
|
+
uploadUrl: string;
|
|
220
|
+
key: string;
|
|
221
|
+
};
|
|
222
|
+
msg: string;
|
|
223
|
+
}>>>;
|
|
164
224
|
[Symbol.toStringTag]: string;
|
|
165
225
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useAxios } from '
|
|
1
|
+
import { useAxios } from '../../../../hooks/base/useAxios/index.mjs';
|
|
2
2
|
import service from '../../request.mjs';
|
|
3
3
|
|
|
4
|
-
function
|
|
4
|
+
function useGetResourceV1ResourcesUrl(config, options) {
|
|
5
5
|
const useAxiosReturn = useAxios(
|
|
6
|
-
"/v1/resources/url",
|
|
6
|
+
"/resource/v1/resources/url",
|
|
7
7
|
{ method: "get", ...config },
|
|
8
8
|
service,
|
|
9
9
|
{ immediate: false, ...options }
|
|
@@ -30,5 +30,5 @@ function useGetV1ResourcesUrl(config, options) {
|
|
|
30
30
|
return { ...useAxiosReturn, exec };
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export {
|
|
34
|
-
//# sourceMappingURL=
|
|
33
|
+
export { useGetResourceV1ResourcesUrl };
|
|
34
|
+
//# sourceMappingURL=useGetResourceV1ResourcesUrl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from \"@giime/hooks/base/useAxios\";\nimport { type AxiosRequestConfig } from \"axios\";\nimport { type DeepRequired, type RResourceUrlResponse } from \"../../interface\";\nimport request from \"@giime/api/resource/request\";\nimport { type GetResourceV1ResourcesUrlParams } from \"./getResourceV1ResourcesUrl\";\n\n/**\n * 查询资源链接\n * /resource/v1/resources/url\n */\nexport function useGetResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>) {\n const useAxiosReturn = useAxios<DeepRequired<RResourceUrlResponse>>(\n '/resource/v1/resources/url',\n { method: 'get', ...config },\n request,\n { immediate: false, ...options }\n )\n\n function exec(params: GetResourceV1ResourcesUrlParams, axiosConfig?: AxiosRequestConfig) {\n const paramsInput = {\n domainCode: params.domainCode,\n fileName: params.fileName,\n contentType: params.contentType,\n md5: params.md5,\n size: params.size,\n acl: params.acl,\n sceneCode: params.sceneCode,\n expires: params.expires,\n cover: params.cover,\n ...params.metaData,\n ...params.extData,\n };\n return useAxiosReturn.execute({\n params: paramsInput,\n ...axiosConfig,\n });\n }\n return { ...useAxiosReturn, exec };\n}\n"],"names":["request"],"mappings":";;;AAUgB,SAAA,4BAAA,CAA6B,QAA6B,OAA+D,EAAA;AACrI,EAAA,MAAM,cAAiB,GAAA,QAAA;AAAA,IACnB,4BAAA;AAAA,IACA,EAAE,MAAA,EAAQ,KAAO,EAAA,GAAG,MAAO,EAAA;AAAA,IAC3BA,OAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACnC,CAAA;AAEA,EAAS,SAAA,IAAA,CAAK,QAAyC,WAAkC,EAAA;AACrF,IAAA,MAAM,WAAc,GAAA;AAAA,MAChB,YAAY,MAAO,CAAA,UAAA;AAAA,MACnB,UAAU,MAAO,CAAA,QAAA;AAAA,MACjB,aAAa,MAAO,CAAA,WAAA;AAAA,MACpB,KAAK,MAAO,CAAA,GAAA;AAAA,MACZ,MAAM,MAAO,CAAA,IAAA;AAAA,MACb,KAAK,MAAO,CAAA,GAAA;AAAA,MACZ,WAAW,MAAO,CAAA,SAAA;AAAA,MAClB,SAAS,MAAO,CAAA,OAAA;AAAA,MAChB,OAAO,MAAO,CAAA,KAAA;AAAA,MACd,GAAG,MAAO,CAAA,QAAA;AAAA,MACV,GAAG,MAAO,CAAA,OAAA;AAAA,KACd,CAAA;AACA,IAAA,OAAO,eAAe,OAAQ,CAAA;AAAA,MAC1B,MAAQ,EAAA,WAAA;AAAA,MACR,GAAG,WAAA;AAAA,KACN,CAAA,CAAA;AAAA,GACL;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACrC;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { type UseAxiosOptions } from "
|
|
1
|
+
import { type UseAxiosOptions } from "../../../../hooks/base/useAxios";
|
|
2
2
|
import { type AxiosRequestConfig } from "axios";
|
|
3
3
|
import { type DeepRequired, type RResourceUrlResponse, type GenerateUploadUrlRequest } from "../../interface";
|
|
4
4
|
/**
|
|
5
5
|
* 查询资源上传链接
|
|
6
|
-
* /v1/resources/url
|
|
6
|
+
* /resource/v1/resources/url
|
|
7
7
|
*/
|
|
8
|
-
export declare function
|
|
9
|
-
exec: (input?: GenerateUploadUrlRequest, axiosConfig?: AxiosRequestConfig) => Promise<import("
|
|
8
|
+
export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>): {
|
|
9
|
+
exec: (input?: GenerateUploadUrlRequest, axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
10
10
|
code: number;
|
|
11
11
|
bizCode: number;
|
|
12
12
|
data: {
|
|
@@ -26,8 +26,18 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
26
26
|
key: string;
|
|
27
27
|
};
|
|
28
28
|
msg: string;
|
|
29
|
-
}, any>, any
|
|
30
|
-
|
|
29
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
30
|
+
code: number;
|
|
31
|
+
bizCode: number;
|
|
32
|
+
data: {
|
|
33
|
+
url: string;
|
|
34
|
+
exists: boolean;
|
|
35
|
+
uploadUrl: string;
|
|
36
|
+
key: string;
|
|
37
|
+
};
|
|
38
|
+
msg: string;
|
|
39
|
+
}>>>;
|
|
40
|
+
execute: (url?: string | AxiosRequestConfig<any> | undefined, config?: AxiosRequestConfig<any> | undefined) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
31
41
|
code: number;
|
|
32
42
|
bizCode: number;
|
|
33
43
|
data: {
|
|
@@ -47,7 +57,17 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
47
57
|
key: string;
|
|
48
58
|
};
|
|
49
59
|
msg: string;
|
|
50
|
-
}, any>, any
|
|
60
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
61
|
+
code: number;
|
|
62
|
+
bizCode: number;
|
|
63
|
+
data: {
|
|
64
|
+
url: string;
|
|
65
|
+
exists: boolean;
|
|
66
|
+
uploadUrl: string;
|
|
67
|
+
key: string;
|
|
68
|
+
};
|
|
69
|
+
msg: string;
|
|
70
|
+
}>>>;
|
|
51
71
|
response: import("vue").ShallowRef<import("axios").AxiosResponse<{
|
|
52
72
|
code: number;
|
|
53
73
|
bizCode: number;
|
|
@@ -77,7 +97,7 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
77
97
|
abort: (message?: string | undefined) => void;
|
|
78
98
|
cancel: (message?: string | undefined) => void;
|
|
79
99
|
isCanceled: import("vue").Ref<boolean>;
|
|
80
|
-
then<TResult1 = import("
|
|
100
|
+
then<TResult1 = import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
81
101
|
code: number;
|
|
82
102
|
bizCode: number;
|
|
83
103
|
data: {
|
|
@@ -97,7 +117,17 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
97
117
|
key: string;
|
|
98
118
|
};
|
|
99
119
|
msg: string;
|
|
100
|
-
}, any>, any
|
|
120
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
121
|
+
code: number;
|
|
122
|
+
bizCode: number;
|
|
123
|
+
data: {
|
|
124
|
+
url: string;
|
|
125
|
+
exists: boolean;
|
|
126
|
+
uploadUrl: string;
|
|
127
|
+
key: string;
|
|
128
|
+
};
|
|
129
|
+
msg: string;
|
|
130
|
+
}>>, TResult2 = never>(onfulfilled?: ((value: import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
101
131
|
code: number;
|
|
102
132
|
bizCode: number;
|
|
103
133
|
data: {
|
|
@@ -117,8 +147,18 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
117
147
|
key: string;
|
|
118
148
|
};
|
|
119
149
|
msg: string;
|
|
120
|
-
}, any>, any
|
|
121
|
-
|
|
150
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
151
|
+
code: number;
|
|
152
|
+
bizCode: number;
|
|
153
|
+
data: {
|
|
154
|
+
url: string;
|
|
155
|
+
exists: boolean;
|
|
156
|
+
uploadUrl: string;
|
|
157
|
+
key: string;
|
|
158
|
+
};
|
|
159
|
+
msg: string;
|
|
160
|
+
}>>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
161
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
122
162
|
code: number;
|
|
123
163
|
bizCode: number;
|
|
124
164
|
data: {
|
|
@@ -138,8 +178,18 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
138
178
|
key: string;
|
|
139
179
|
};
|
|
140
180
|
msg: string;
|
|
141
|
-
}, any>, any
|
|
142
|
-
|
|
181
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
182
|
+
code: number;
|
|
183
|
+
bizCode: number;
|
|
184
|
+
data: {
|
|
185
|
+
url: string;
|
|
186
|
+
exists: boolean;
|
|
187
|
+
uploadUrl: string;
|
|
188
|
+
key: string;
|
|
189
|
+
};
|
|
190
|
+
msg: string;
|
|
191
|
+
}>> | TResult>;
|
|
192
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
|
|
143
193
|
code: number;
|
|
144
194
|
bizCode: number;
|
|
145
195
|
data: {
|
|
@@ -159,6 +209,16 @@ export declare function usePostV1ResourcesUrl(config?: AxiosRequestConfig, optio
|
|
|
159
209
|
key: string;
|
|
160
210
|
};
|
|
161
211
|
msg: string;
|
|
162
|
-
}, any>, any
|
|
212
|
+
}, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
|
|
213
|
+
code: number;
|
|
214
|
+
bizCode: number;
|
|
215
|
+
data: {
|
|
216
|
+
url: string;
|
|
217
|
+
exists: boolean;
|
|
218
|
+
uploadUrl: string;
|
|
219
|
+
key: string;
|
|
220
|
+
};
|
|
221
|
+
msg: string;
|
|
222
|
+
}>>>;
|
|
163
223
|
[Symbol.toStringTag]: string;
|
|
164
224
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useAxios } from '
|
|
1
|
+
import { useAxios } from '../../../../hooks/base/useAxios/index.mjs';
|
|
2
2
|
import service from '../../request.mjs';
|
|
3
3
|
|
|
4
|
-
function
|
|
4
|
+
function usePostResourceV1ResourcesUrl(config, options) {
|
|
5
5
|
const useAxiosReturn = useAxios(
|
|
6
|
-
"/v1/resources/url",
|
|
6
|
+
"/resource/v1/resources/url",
|
|
7
7
|
{ method: "post", ...config },
|
|
8
8
|
service,
|
|
9
9
|
{ immediate: false, ...options }
|
|
@@ -14,5 +14,5 @@ function usePostV1ResourcesUrl(config, options) {
|
|
|
14
14
|
return { ...useAxiosReturn, exec };
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export {
|
|
18
|
-
//# sourceMappingURL=
|
|
17
|
+
export { usePostResourceV1ResourcesUrl };
|
|
18
|
+
//# sourceMappingURL=usePostResourceV1ResourcesUrl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePostResourceV1ResourcesUrl.mjs","sources":["../../../../../../../packages/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.ts"],"sourcesContent":["import { type UseAxiosOptions, useAxios } from \"@giime/hooks/base/useAxios\";\nimport { type AxiosRequestConfig } from \"axios\";\nimport { type DeepRequired, type RResourceUrlResponse, type GenerateUploadUrlRequest } from \"../../interface\";\nimport request from \"@giime/api/resource/request\";\n\n/**\n * 查询资源上传链接\n * /resource/v1/resources/url\n */\nexport function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>) {\n const useAxiosReturn = useAxios<DeepRequired<RResourceUrlResponse>>(\n '/resource/v1/resources/url',\n { method: 'post', ...config },\n request,\n { immediate: false, ...options }\n )\n\n function exec(input?: GenerateUploadUrlRequest, axiosConfig?: AxiosRequestConfig) {\n return useAxiosReturn.execute({ data: input, ...axiosConfig });\n }\n return { ...useAxiosReturn, exec };\n}\n"],"names":["request"],"mappings":";;;AASgB,SAAA,6BAAA,CAA8B,QAA6B,OAA+D,EAAA;AACtI,EAAA,MAAM,cAAiB,GAAA,QAAA;AAAA,IACnB,4BAAA;AAAA,IACA,EAAE,MAAA,EAAQ,MAAQ,EAAA,GAAG,MAAO,EAAA;AAAA,IAC5BA,OAAA;AAAA,IACA,EAAE,SAAA,EAAW,KAAO,EAAA,GAAG,OAAQ,EAAA;AAAA,GACnC,CAAA;AAEA,EAAS,SAAA,IAAA,CAAK,OAAkC,WAAkC,EAAA;AAC9E,IAAA,OAAO,eAAe,OAAQ,CAAA,EAAE,MAAM,KAAO,EAAA,GAAG,aAAa,CAAA,CAAA;AAAA,GACjE;AACA,EAAO,OAAA,EAAE,GAAG,cAAA,EAAgB,IAAK,EAAA,CAAA;AACrC;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './ZiYuanGuanLi/index.mjs';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export { getResourceV1ResourcesUrl } from './ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs';
|
|
3
|
+
export { useGetResourceV1ResourcesUrl } from './ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs';
|
|
4
|
+
export { postResourceV1ResourcesUrl } from './ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs';
|
|
5
|
+
export { usePostResourceV1ResourcesUrl } from './ZiYuanGuanLi/usePostResourceV1ResourcesUrl.mjs';
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|