giime 0.7.6 → 0.7.8

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 (96) hide show
  1. package/dist/index.css +101 -101
  2. package/es/api/resource/controller/ZiYuanGuanLi/index.d.ts +0 -2
  3. package/es/api/resource/controller/ZiYuanGuanLi/index.mjs +0 -2
  4. package/es/api/resource/controller/ZiYuanGuanLi/index.mjs.map +1 -1
  5. package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts +5 -1
  6. package/es/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs.map +1 -1
  7. package/es/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.d.ts +81 -1
  8. package/es/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.mjs.map +1 -1
  9. package/es/api/resource/controller/index.mjs +0 -2
  10. package/es/api/resource/controller/index.mjs.map +1 -1
  11. package/es/api/resource/interface/apiTypes/GenerateUploadUrlRequest.d.ts +1 -1
  12. package/es/api/resource/interface/apiTypes/RMapStringObject.d.ts +13 -0
  13. package/es/api/resource/interface/apiTypes/RMapStringObject.mjs +2 -0
  14. package/es/api/resource/interface/apiTypes/RMapStringObject.mjs.map +1 -0
  15. package/es/api/resource/interface/apiTypes/ResourceUrlResponse.d.ts +8 -0
  16. package/es/api/resource/interface/apiTypes/Rurl.d.ts +10 -0
  17. package/es/api/resource/interface/apiTypes/Rurl.mjs +2 -0
  18. package/es/api/resource/interface/apiTypes/Rurl.mjs.map +1 -0
  19. package/es/api/resource/interface/index.d.ts +2 -0
  20. package/es/api/resource/interface/index.mjs +2 -0
  21. package/es/api/resource/interface/index.mjs.map +1 -1
  22. package/es/components/src/business/uploadPro/UploadPro.vue.d.ts +225 -225
  23. package/es/components/src/business/uploadPro/UploadPro.vue.mjs +1 -1
  24. package/es/components/src/business/uploadPro/UploadPro.vue2.mjs +1 -1
  25. package/es/components/src/business/uploadPro/UploadPro.vue2.mjs.map +1 -1
  26. package/es/components/src/business/uploadPro/index.d.ts +16 -16
  27. package/es/components/src/business/uploadPro/uploadPro.d.ts +31 -31
  28. package/es/components/src/business/uploadPro/uploadPro.mjs.map +1 -1
  29. package/es/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
  30. package/es/components/src/composite/uploadFile/UploadFile.vue.mjs +1 -1
  31. package/es/components/src/composite/uploadFile/UploadFile.vue2.mjs +2 -2
  32. package/es/components/src/composite/uploadFile/UploadFile.vue2.mjs.map +1 -1
  33. package/es/components/src/composite/uploadFile/index.d.ts +3 -3
  34. package/es/giime/version.d.ts +1 -1
  35. package/es/giime/version.mjs +1 -1
  36. package/es/giime/version.mjs.map +1 -1
  37. package/es/hooks/base/useUploadFile/index.d.ts +15 -1
  38. package/es/hooks/base/useUploadFile/index.mjs +1 -0
  39. package/es/hooks/base/useUploadFile/index.mjs.map +1 -1
  40. package/es/hooks/store/useUploadTask/index.mjs +1 -1
  41. package/es/hooks/store/useUploadTask/index.mjs.map +1 -1
  42. package/es/index.css +101 -101
  43. package/lib/api/resource/controller/ZiYuanGuanLi/index.d.ts +0 -2
  44. package/lib/api/resource/controller/ZiYuanGuanLi/index.js +0 -4
  45. package/lib/api/resource/controller/ZiYuanGuanLi/index.js.map +1 -1
  46. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts +5 -1
  47. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.js.map +1 -1
  48. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.d.ts +81 -1
  49. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.js.map +1 -1
  50. package/lib/api/resource/controller/index.js +0 -4
  51. package/lib/api/resource/controller/index.js.map +1 -1
  52. package/lib/api/resource/interface/apiTypes/GenerateUploadUrlRequest.d.ts +1 -1
  53. package/lib/api/resource/interface/apiTypes/RMapStringObject.d.ts +13 -0
  54. package/lib/api/resource/interface/apiTypes/RMapStringObject.js +3 -0
  55. package/lib/api/resource/interface/apiTypes/RMapStringObject.js.map +1 -0
  56. package/lib/api/resource/interface/apiTypes/ResourceUrlResponse.d.ts +8 -0
  57. package/lib/api/resource/interface/apiTypes/Rurl.d.ts +10 -0
  58. package/lib/api/resource/interface/apiTypes/Rurl.js +3 -0
  59. package/lib/api/resource/interface/apiTypes/Rurl.js.map +1 -0
  60. package/lib/api/resource/interface/index.d.ts +2 -0
  61. package/lib/api/resource/interface/index.js +2 -0
  62. package/lib/api/resource/interface/index.js.map +1 -1
  63. package/lib/components/src/business/uploadPro/UploadPro.vue.d.ts +225 -225
  64. package/lib/components/src/business/uploadPro/UploadPro.vue.js +1 -1
  65. package/lib/components/src/business/uploadPro/UploadPro.vue2.js +1 -1
  66. package/lib/components/src/business/uploadPro/UploadPro.vue2.js.map +1 -1
  67. package/lib/components/src/business/uploadPro/index.d.ts +16 -16
  68. package/lib/components/src/business/uploadPro/uploadPro.d.ts +31 -31
  69. package/lib/components/src/business/uploadPro/uploadPro.js.map +1 -1
  70. package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +3 -3
  71. package/lib/components/src/composite/uploadFile/UploadFile.vue.js +1 -1
  72. package/lib/components/src/composite/uploadFile/UploadFile.vue2.js +2 -2
  73. package/lib/components/src/composite/uploadFile/UploadFile.vue2.js.map +1 -1
  74. package/lib/components/src/composite/uploadFile/index.d.ts +3 -3
  75. package/lib/giime/version.d.ts +1 -1
  76. package/lib/giime/version.js +1 -1
  77. package/lib/giime/version.js.map +1 -1
  78. package/lib/hooks/base/useUploadFile/index.d.ts +15 -1
  79. package/lib/hooks/base/useUploadFile/index.js +1 -0
  80. package/lib/hooks/base/useUploadFile/index.js.map +1 -1
  81. package/lib/hooks/store/useUploadTask/index.js +1 -1
  82. package/lib/hooks/store/useUploadTask/index.js.map +1 -1
  83. package/lib/index.css +101 -101
  84. package/package.json +1 -1
  85. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  86. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs +0 -24
  87. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs.map +0 -1
  88. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  89. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs +0 -34
  90. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs.map +0 -1
  91. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  92. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js +0 -26
  93. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js.map +0 -1
  94. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  95. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js +0 -36
  96. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js.map +0 -1
package/dist/index.css CHANGED
@@ -873,12 +873,18 @@ video {
873
873
  .gm-group:hover .group-hover\:gm-block {
874
874
  display: block;
875
875
  }
876
- .gm-flex-center[data-v-c17deec9] {
877
- align-items: center;
876
+
877
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
878
+ margin: 0;
878
879
  }
879
880
 
880
- .gm-flex-justify-between[data-v-c17deec9] {
881
- justify-content: space-between;
881
+ .gm-upload-pro-preview-dialog[data-v-40d129e4] [data-v-40d129e4] .el-dialog__body {
882
+ padding: 0;
883
+ }
884
+
885
+ .gm-upload-pro-file-picture-card[data-v-40d129e4] [data-v-40d129e4] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-40d129e4] [data-v-40d129e4] .el-upload--picture-card {
886
+ width: auto;
887
+ height: auto;
882
888
  }
883
889
  .circular[data-v-d7b04fae] {
884
890
  animation: loading-rotate-d7b04fae 2s linear infinite;
@@ -911,19 +917,6 @@ video {
911
917
  stroke-dashoffset: -120px;
912
918
  }
913
919
  }
914
-
915
- .gm-range-number .el-form-item[data-v-1ae16d96] {
916
- margin: 0;
917
- }
918
-
919
- .gm-upload-pro-preview-dialog[data-v-e2251a0c] [data-v-e2251a0c] .el-dialog__body {
920
- padding: 0;
921
- }
922
-
923
- .gm-upload-pro-file-picture-card[data-v-e2251a0c] [data-v-e2251a0c] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-e2251a0c] [data-v-e2251a0c] .el-upload--picture-card {
924
- width: auto;
925
- height: auto;
926
- }
927
920
  .gm-upload-pro-file {
928
921
  line-height: normal;
929
922
  }
@@ -962,10 +955,66 @@ video {
962
955
  .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
963
956
  display: none;
964
957
  }
958
+ .gm-flex-center[data-v-c17deec9] {
959
+ align-items: center;
960
+ }
961
+
962
+ .gm-flex-justify-between[data-v-c17deec9] {
963
+ justify-content: space-between;
964
+ }
965
965
  [data-v-488ca110] .gmSearchForm .el-form-item {
966
966
  margin-right: 0;
967
967
  margin-bottom: 4px;
968
968
  }
969
+ .gm-number-interval-single[data-v-4e6f4d6f] {
970
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
971
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
972
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
973
+ }
974
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
975
+ box-shadow: none;
976
+ background: none;
977
+ }
978
+
979
+ .gm-number-interval-close[data-v-4e6f4d6f] {
980
+ display: none;
981
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
982
+ }
983
+
984
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
985
+ display: flex;
986
+ }
987
+ .gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
988
+ padding: 0;
989
+ }
990
+
991
+ .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
992
+ width: auto;
993
+ height: auto;
994
+ }
995
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
996
+ border-right: none;
997
+ }
998
+
999
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1000
+ height: 0;
1001
+ }
1002
+
1003
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1004
+ height: 0;
1005
+ }
1006
+
1007
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1008
+ height: 0;
1009
+ }
1010
+
1011
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1012
+ height: 0;
1013
+ }
1014
+
1015
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1016
+ height: 0;
1017
+ }
969
1018
  [data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
970
1019
  border-right: none;
971
1020
  }
@@ -989,33 +1038,50 @@ video {
989
1038
  [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
990
1039
  height: 0;
991
1040
  }
992
-
993
- .pagination-container[data-v-47d35e7b] {
994
- background: #fff;
995
- padding-top: 12px;
1041
+ .gm-upload-file {
1042
+ line-height: normal;
996
1043
  }
997
- .pagination-container.hidden[data-v-47d35e7b] {
998
- display: none;
1044
+ .gm-upload-file .el-checkbox {
1045
+ position: absolute;
1046
+ left: 10px;
1047
+ top: 0;
1048
+ z-index: 9;
999
1049
  }
1000
-
1001
- .gm-number-interval-single[data-v-4e6f4d6f] {
1002
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1003
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
1004
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
1050
+ .gm-upload-file .el-upload-list--picture-card {
1051
+ gap: 10px;
1005
1052
  }
1006
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1007
- box-shadow: none;
1008
- background: none;
1053
+ .gm-upload-file .el-upload-list__item {
1054
+ margin: 0;
1055
+ }
1056
+ .gm-upload-file .el-upload-list__item-file-name {
1057
+ line-height: normal;
1058
+ }
1059
+ .gm-upload-file .el-upload-dragger {
1060
+ padding: 0;
1061
+ border: none;
1062
+ width: 100%;
1063
+ height: 100%;
1064
+ display: flex;
1065
+ }
1066
+ .gm-upload-file .el-upload--picture-card {
1067
+ border: none;
1009
1068
  }
1010
1069
 
1011
- .gm-number-interval-close[data-v-4e6f4d6f] {
1070
+ .gm-upload-file-disabled .el-upload--picture-card {
1071
+ display: none;
1072
+ }
1073
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
1012
1074
  display: none;
1013
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1014
1075
  }
1015
1076
 
1016
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1017
- display: flex;
1077
+ .pagination-container[data-v-47d35e7b] {
1078
+ background: #fff;
1079
+ padding-top: 12px;
1080
+ }
1081
+ .pagination-container.hidden[data-v-47d35e7b] {
1082
+ display: none;
1018
1083
  }
1084
+
1019
1085
  @charset "UTF-8";
1020
1086
  .custom-operate-drawer .el-drawer__header {
1021
1087
  padding: 10px 15px;
@@ -1072,29 +1138,6 @@ video {
1072
1138
  border-radius: 10px;
1073
1139
  background: #eee;
1074
1140
  }
1075
- [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1076
- border-right: none;
1077
- }
1078
-
1079
- [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1080
- height: 0;
1081
- }
1082
-
1083
- [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1084
- height: 0;
1085
- }
1086
-
1087
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1088
- height: 0;
1089
- }
1090
-
1091
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1092
- height: 0;
1093
- }
1094
-
1095
- [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1096
- height: 0;
1097
- }
1098
1141
  @charset "UTF-8";
1099
1142
  .table-custom-header-drawer .el-drawer__header {
1100
1143
  padding: 10px 15px;
@@ -1150,47 +1193,4 @@ video {
1150
1193
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1151
1194
  border-radius: 10px;
1152
1195
  background: #eee;
1153
- }
1154
- .gm-upload-preview-dialog[data-v-12e65ac7] [data-v-12e65ac7] .el-dialog__body {
1155
- padding: 0;
1156
- }
1157
-
1158
- .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload-list__item, .gm-upload-file-picture-card[data-v-12e65ac7] [data-v-12e65ac7] .el-upload--picture-card {
1159
- width: auto;
1160
- height: auto;
1161
- }
1162
- .gm-upload-file {
1163
- line-height: normal;
1164
- }
1165
- .gm-upload-file .el-checkbox {
1166
- position: absolute;
1167
- left: 10px;
1168
- top: 0;
1169
- z-index: 9;
1170
- }
1171
- .gm-upload-file .el-upload-list--picture-card {
1172
- gap: 10px;
1173
- }
1174
- .gm-upload-file .el-upload-list__item {
1175
- margin: 0;
1176
- }
1177
- .gm-upload-file .el-upload-list__item-file-name {
1178
- line-height: normal;
1179
- }
1180
- .gm-upload-file .el-upload-dragger {
1181
- padding: 0;
1182
- border: none;
1183
- width: 100%;
1184
- height: 100%;
1185
- display: flex;
1186
- }
1187
- .gm-upload-file .el-upload--picture-card {
1188
- border: none;
1189
- }
1190
-
1191
- .gm-upload-file-disabled .el-upload--picture-card {
1192
- display: none;
1193
- }
1194
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1195
- display: none;
1196
1196
  }
@@ -1,4 +1,2 @@
1
- export * from "./getResourceV1ResourcesUrl";
2
- export * from "./useGetResourceV1ResourcesUrl";
3
1
  export * from "./postResourceV1ResourcesUrl";
4
2
  export * from "./usePostResourceV1ResourcesUrl";
@@ -1,5 +1,3 @@
1
- export { getResourceV1ResourcesUrl } from './getResourceV1ResourcesUrl.mjs';
2
- export { useGetResourceV1ResourcesUrl } from './useGetResourceV1ResourcesUrl.mjs';
3
1
  export { postResourceV1ResourcesUrl } from './postResourceV1ResourcesUrl.mjs';
4
2
  export { usePostResourceV1ResourcesUrl } from './usePostResourceV1ResourcesUrl.mjs';
5
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -4,7 +4,7 @@ import { type AxiosRequestConfig } from "axios";
4
4
  * 查询资源上传链接
5
5
  * /resource/v1/resources/url
6
6
  */
7
- export declare function postResourceV1ResourcesUrl(input?: GenerateUploadUrlRequest, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
7
+ export declare function postResourceV1ResourcesUrl(input: GenerateUploadUrlRequest, config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<{
8
8
  code: number;
9
9
  bizCode: number;
10
10
  data: {
@@ -12,6 +12,10 @@ export declare function postResourceV1ResourcesUrl(input?: GenerateUploadUrlRequ
12
12
  exists: boolean;
13
13
  uploadUrl: string;
14
14
  key: string;
15
+ fileName: string;
16
+ md5: string;
17
+ contentType: string;
18
+ size: number;
15
19
  };
16
20
  msg: string;
17
21
  }, any>>;
@@ -1 +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
+ {"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,OAAiC,MAA6B,EAAA;AACrG,EAAA,OAAOA,OAAQ,CAAA,IAAA,CAAyC,CAA8B,0BAAA,CAAA,EAAA,KAAA,EAAO,MAAM,CAAA,CAAA;AACvG;;;;"}
@@ -6,7 +6,7 @@ import { type DeepRequired, type RResourceUrlResponse, type GenerateUploadUrlReq
6
6
  * /resource/v1/resources/url
7
7
  */
8
8
  export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfig, options?: UseAxiosOptions<DeepRequired<RResourceUrlResponse>>): {
9
- exec: (input?: GenerateUploadUrlRequest, axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
9
+ exec: (input: GenerateUploadUrlRequest, axiosConfig?: AxiosRequestConfig) => Promise<import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
10
10
  code: number;
11
11
  bizCode: number;
12
12
  data: {
@@ -14,6 +14,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
14
14
  exists: boolean;
15
15
  uploadUrl: string;
16
16
  key: string;
17
+ fileName: string;
18
+ md5: string;
19
+ contentType: string;
20
+ size: number;
17
21
  };
18
22
  msg: string;
19
23
  }, import("axios").AxiosResponse<{
@@ -24,6 +28,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
24
28
  exists: boolean;
25
29
  uploadUrl: string;
26
30
  key: string;
31
+ fileName: string;
32
+ md5: string;
33
+ contentType: string;
34
+ size: number;
27
35
  };
28
36
  msg: string;
29
37
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -34,6 +42,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
34
42
  exists: boolean;
35
43
  uploadUrl: string;
36
44
  key: string;
45
+ fileName: string;
46
+ md5: string;
47
+ contentType: string;
48
+ size: number;
37
49
  };
38
50
  msg: string;
39
51
  }>>>;
@@ -45,6 +57,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
45
57
  exists: boolean;
46
58
  uploadUrl: string;
47
59
  key: string;
60
+ fileName: string;
61
+ md5: string;
62
+ contentType: string;
63
+ size: number;
48
64
  };
49
65
  msg: string;
50
66
  }, import("axios").AxiosResponse<{
@@ -55,6 +71,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
55
71
  exists: boolean;
56
72
  uploadUrl: string;
57
73
  key: string;
74
+ fileName: string;
75
+ md5: string;
76
+ contentType: string;
77
+ size: number;
58
78
  };
59
79
  msg: string;
60
80
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -65,6 +85,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
65
85
  exists: boolean;
66
86
  uploadUrl: string;
67
87
  key: string;
88
+ fileName: string;
89
+ md5: string;
90
+ contentType: string;
91
+ size: number;
68
92
  };
69
93
  msg: string;
70
94
  }>>>;
@@ -76,6 +100,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
76
100
  exists: boolean;
77
101
  uploadUrl: string;
78
102
  key: string;
103
+ fileName: string;
104
+ md5: string;
105
+ contentType: string;
106
+ size: number;
79
107
  };
80
108
  msg: string;
81
109
  }, any> | undefined>;
@@ -87,6 +115,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
87
115
  exists: boolean;
88
116
  uploadUrl: string;
89
117
  key: string;
118
+ fileName: string;
119
+ md5: string;
120
+ contentType: string;
121
+ size: number;
90
122
  };
91
123
  msg: string;
92
124
  } | undefined>;
@@ -105,6 +137,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
105
137
  exists: boolean;
106
138
  uploadUrl: string;
107
139
  key: string;
140
+ fileName: string;
141
+ md5: string;
142
+ contentType: string;
143
+ size: number;
108
144
  };
109
145
  msg: string;
110
146
  }, import("axios").AxiosResponse<{
@@ -115,6 +151,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
115
151
  exists: boolean;
116
152
  uploadUrl: string;
117
153
  key: string;
154
+ fileName: string;
155
+ md5: string;
156
+ contentType: string;
157
+ size: number;
118
158
  };
119
159
  msg: string;
120
160
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -125,6 +165,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
125
165
  exists: boolean;
126
166
  uploadUrl: string;
127
167
  key: string;
168
+ fileName: string;
169
+ md5: string;
170
+ contentType: string;
171
+ size: number;
128
172
  };
129
173
  msg: string;
130
174
  }>>, TResult2 = never>(onfulfilled?: ((value: import("../../../../hooks/base/useAxios").StrictUseAxiosReturn<{
@@ -135,6 +179,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
135
179
  exists: boolean;
136
180
  uploadUrl: string;
137
181
  key: string;
182
+ fileName: string;
183
+ md5: string;
184
+ contentType: string;
185
+ size: number;
138
186
  };
139
187
  msg: string;
140
188
  }, import("axios").AxiosResponse<{
@@ -145,6 +193,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
145
193
  exists: boolean;
146
194
  uploadUrl: string;
147
195
  key: string;
196
+ fileName: string;
197
+ md5: string;
198
+ contentType: string;
199
+ size: number;
148
200
  };
149
201
  msg: string;
150
202
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -155,6 +207,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
155
207
  exists: boolean;
156
208
  uploadUrl: string;
157
209
  key: string;
210
+ fileName: string;
211
+ md5: string;
212
+ contentType: string;
213
+ size: number;
158
214
  };
159
215
  msg: string;
160
216
  }>>) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
@@ -166,6 +222,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
166
222
  exists: boolean;
167
223
  uploadUrl: string;
168
224
  key: string;
225
+ fileName: string;
226
+ md5: string;
227
+ contentType: string;
228
+ size: number;
169
229
  };
170
230
  msg: string;
171
231
  }, import("axios").AxiosResponse<{
@@ -176,6 +236,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
176
236
  exists: boolean;
177
237
  uploadUrl: string;
178
238
  key: string;
239
+ fileName: string;
240
+ md5: string;
241
+ contentType: string;
242
+ size: number;
179
243
  };
180
244
  msg: string;
181
245
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -186,6 +250,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
186
250
  exists: boolean;
187
251
  uploadUrl: string;
188
252
  key: string;
253
+ fileName: string;
254
+ md5: string;
255
+ contentType: string;
256
+ size: number;
189
257
  };
190
258
  msg: string;
191
259
  }>> | TResult>;
@@ -197,6 +265,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
197
265
  exists: boolean;
198
266
  uploadUrl: string;
199
267
  key: string;
268
+ fileName: string;
269
+ md5: string;
270
+ contentType: string;
271
+ size: number;
200
272
  };
201
273
  msg: string;
202
274
  }, import("axios").AxiosResponse<{
@@ -207,6 +279,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
207
279
  exists: boolean;
208
280
  uploadUrl: string;
209
281
  key: string;
282
+ fileName: string;
283
+ md5: string;
284
+ contentType: string;
285
+ size: number;
210
286
  };
211
287
  msg: string;
212
288
  }, any>, any, import("../../../../hooks/base/useAxios").UseAxiosOptionsBase<{
@@ -217,6 +293,10 @@ export declare function usePostResourceV1ResourcesUrl(config?: AxiosRequestConfi
217
293
  exists: boolean;
218
294
  uploadUrl: string;
219
295
  key: string;
296
+ fileName: string;
297
+ md5: string;
298
+ contentType: string;
299
+ size: number;
220
300
  };
221
301
  msg: string;
222
302
  }>>>;
@@ -1 +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
+ {"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,OAAiC,WAAkC,EAAA;AAC7E,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,4 @@
1
1
  import './ZiYuanGuanLi/index.mjs';
2
- export { getResourceV1ResourcesUrl } from './ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs';
3
- export { useGetResourceV1ResourcesUrl } from './ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs';
4
2
  export { postResourceV1ResourcesUrl } from './ZiYuanGuanLi/postResourceV1ResourcesUrl.mjs';
5
3
  export { usePostResourceV1ResourcesUrl } from './ZiYuanGuanLi/usePostResourceV1ResourcesUrl.mjs';
6
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -12,7 +12,7 @@ export interface GenerateUploadUrlRequest {
12
12
  /** 文件权限,默认继承桶 */
13
13
  acl?: string;
14
14
  /** 场景编码 */
15
- sceneCode?: string;
15
+ sceneCode: string;
16
16
  /** 有效期限,时间毫秒数 */
17
17
  expires?: number;
18
18
  /** 是否覆盖同名文件 0 否 1 是 */
@@ -0,0 +1,13 @@
1
+ export interface RMapStringObject {
2
+ /** 状态码 */
3
+ code: number;
4
+ /** 业务状态码 */
5
+ bizCode: number;
6
+ /** 承载数据 */
7
+ data?: RMapStringObjectData;
8
+ /** 返回消息 */
9
+ msg: string;
10
+ }
11
+ export interface RMapStringObjectData {
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=RMapStringObject.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RMapStringObject.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -7,4 +7,12 @@ export interface ResourceUrlResponse {
7
7
  uploadUrl?: string;
8
8
  /** 资源路径 */
9
9
  key?: string;
10
+ /** 资源名称 */
11
+ fileName?: string;
12
+ /** 资源内容Md5 */
13
+ md5?: string;
14
+ /** 资源类型 */
15
+ contentType?: string;
16
+ /** 资源大小 */
17
+ size?: number;
10
18
  }
@@ -0,0 +1,10 @@
1
+ export interface Rurl {
2
+ /** 状态码 */
3
+ code: number;
4
+ /** 业务状态码 */
5
+ bizCode: number;
6
+ /** 承载数据 */
7
+ data?: string;
8
+ /** 返回消息 */
9
+ msg: string;
10
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=Rurl.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Rurl.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -8,7 +8,9 @@ export * from "./apiTypes/RResourceUrlResponse";
8
8
  export * from "./apiTypes/ResourceUrlResponse";
9
9
  export * from "./apiTypes/Authenticator";
10
10
  export * from "./apiTypes/Browser";
11
+ export * from "./apiTypes/RMapStringObject";
11
12
  export * from "./apiTypes/Engine";
13
+ export * from "./apiTypes/Rurl";
12
14
  export * from "./apiTypes/Filter";
13
15
  export * from "./apiTypes/HttpContext";
14
16
  export * from "./apiTypes/HttpExchange";
@@ -8,7 +8,9 @@ import './apiTypes/RResourceUrlResponse.mjs';
8
8
  import './apiTypes/ResourceUrlResponse.mjs';
9
9
  import './apiTypes/Authenticator.mjs';
10
10
  import './apiTypes/Browser.mjs';
11
+ import './apiTypes/RMapStringObject.mjs';
11
12
  import './apiTypes/Engine.mjs';
13
+ import './apiTypes/Rurl.mjs';
12
14
  import './apiTypes/Filter.mjs';
13
15
  import './apiTypes/HttpContext.mjs';
14
16
  import './apiTypes/HttpExchange.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}