giime 0.7.6 → 0.7.7

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 (86) hide show
  1. package/dist/index.css +105 -105
  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 +1 -1
  30. package/es/components/src/composite/uploadFile/index.d.ts +3 -3
  31. package/es/giime/version.d.ts +1 -1
  32. package/es/giime/version.mjs +1 -1
  33. package/es/giime/version.mjs.map +1 -1
  34. package/es/hooks/base/useUploadFile/index.d.ts +15 -1
  35. package/es/hooks/base/useUploadFile/index.mjs +1 -0
  36. package/es/hooks/base/useUploadFile/index.mjs.map +1 -1
  37. package/es/index.css +105 -105
  38. package/lib/api/resource/controller/ZiYuanGuanLi/index.d.ts +0 -2
  39. package/lib/api/resource/controller/ZiYuanGuanLi/index.js +0 -4
  40. package/lib/api/resource/controller/ZiYuanGuanLi/index.js.map +1 -1
  41. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.d.ts +5 -1
  42. package/lib/api/resource/controller/ZiYuanGuanLi/postResourceV1ResourcesUrl.js.map +1 -1
  43. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.d.ts +81 -1
  44. package/lib/api/resource/controller/ZiYuanGuanLi/usePostResourceV1ResourcesUrl.js.map +1 -1
  45. package/lib/api/resource/controller/index.js +0 -4
  46. package/lib/api/resource/controller/index.js.map +1 -1
  47. package/lib/api/resource/interface/apiTypes/GenerateUploadUrlRequest.d.ts +1 -1
  48. package/lib/api/resource/interface/apiTypes/RMapStringObject.d.ts +13 -0
  49. package/lib/api/resource/interface/apiTypes/RMapStringObject.js +3 -0
  50. package/lib/api/resource/interface/apiTypes/RMapStringObject.js.map +1 -0
  51. package/lib/api/resource/interface/apiTypes/ResourceUrlResponse.d.ts +8 -0
  52. package/lib/api/resource/interface/apiTypes/Rurl.d.ts +10 -0
  53. package/lib/api/resource/interface/apiTypes/Rurl.js +3 -0
  54. package/lib/api/resource/interface/apiTypes/Rurl.js.map +1 -0
  55. package/lib/api/resource/interface/index.d.ts +2 -0
  56. package/lib/api/resource/interface/index.js +2 -0
  57. package/lib/api/resource/interface/index.js.map +1 -1
  58. package/lib/components/src/business/uploadPro/UploadPro.vue.d.ts +225 -225
  59. package/lib/components/src/business/uploadPro/UploadPro.vue.js +1 -1
  60. package/lib/components/src/business/uploadPro/UploadPro.vue2.js +1 -1
  61. package/lib/components/src/business/uploadPro/UploadPro.vue2.js.map +1 -1
  62. package/lib/components/src/business/uploadPro/index.d.ts +16 -16
  63. package/lib/components/src/business/uploadPro/uploadPro.d.ts +31 -31
  64. package/lib/components/src/business/uploadPro/uploadPro.js.map +1 -1
  65. package/lib/components/src/composite/uploadFile/UploadFile.vue.d.ts +1 -1
  66. package/lib/components/src/composite/uploadFile/index.d.ts +3 -3
  67. package/lib/giime/version.d.ts +1 -1
  68. package/lib/giime/version.js +1 -1
  69. package/lib/giime/version.js.map +1 -1
  70. package/lib/hooks/base/useUploadFile/index.d.ts +15 -1
  71. package/lib/hooks/base/useUploadFile/index.js +1 -0
  72. package/lib/hooks/base/useUploadFile/index.js.map +1 -1
  73. package/lib/index.css +105 -105
  74. package/package.json +1 -1
  75. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  76. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs +0 -24
  77. package/es/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.mjs.map +0 -1
  78. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  79. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs +0 -34
  80. package/es/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.mjs.map +0 -1
  81. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.d.ts +0 -46
  82. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js +0 -26
  83. package/lib/api/resource/controller/ZiYuanGuanLi/getResourceV1ResourcesUrl.js.map +0 -1
  84. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.d.ts +0 -225
  85. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js +0 -36
  86. package/lib/api/resource/controller/ZiYuanGuanLi/useGetResourceV1ResourcesUrl.js.map +0 -1
package/dist/index.css CHANGED
@@ -873,12 +873,56 @@ 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;
888
+ }
889
+ .gm-upload-pro-file {
890
+ line-height: normal;
891
+ }
892
+ .gm-upload-pro-file .el-checkbox-group {
893
+ font-size: unset;
894
+ }
895
+ .gm-upload-pro-file .el-checkbox {
896
+ position: absolute;
897
+ left: 10px;
898
+ top: 0;
899
+ z-index: 9;
900
+ }
901
+ .gm-upload-pro-file .el-upload-list--picture-card {
902
+ gap: 10px;
903
+ }
904
+ .gm-upload-pro-file .el-upload-list__item {
905
+ margin: 0;
906
+ }
907
+ .gm-upload-pro-file .el-upload-list__item-file-name {
908
+ line-height: 1.7;
909
+ }
910
+ .gm-upload-pro-file .el-upload-dragger {
911
+ padding: 0;
912
+ border: none;
913
+ width: 100%;
914
+ height: 100%;
915
+ display: flex;
916
+ }
917
+ .gm-upload-pro-file .el-upload--picture-card {
918
+ border: none;
919
+ }
920
+
921
+ .gm-upload-pro-file-disabled .el-upload--picture-card {
922
+ display: none;
923
+ }
924
+ .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
925
+ display: none;
882
926
  }
883
927
  .circular[data-v-d7b04fae] {
884
928
  animation: loading-rotate-d7b04fae 2s linear infinite;
@@ -911,55 +955,95 @@ video {
911
955
  stroke-dashoffset: -120px;
912
956
  }
913
957
  }
958
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
959
+ border-right: none;
960
+ }
914
961
 
915
- .gm-range-number .el-form-item[data-v-1ae16d96] {
916
- margin: 0;
962
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
963
+ height: 0;
964
+ }
965
+
966
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
967
+ height: 0;
968
+ }
969
+
970
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
971
+ height: 0;
917
972
  }
918
973
 
919
- .gm-upload-pro-preview-dialog[data-v-e2251a0c] [data-v-e2251a0c] .el-dialog__body {
974
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
975
+ height: 0;
976
+ }
977
+
978
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
979
+ height: 0;
980
+ }
981
+ .gm-flex-center[data-v-c17deec9] {
982
+ align-items: center;
983
+ }
984
+
985
+ .gm-flex-justify-between[data-v-c17deec9] {
986
+ justify-content: space-between;
987
+ }
988
+ .gm-number-interval-single[data-v-4e6f4d6f] {
989
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
990
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
991
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
992
+ }
993
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
994
+ box-shadow: none;
995
+ background: none;
996
+ }
997
+
998
+ .gm-number-interval-close[data-v-4e6f4d6f] {
999
+ display: none;
1000
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1001
+ }
1002
+
1003
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1004
+ display: flex;
1005
+ }
1006
+ .gm-upload-preview-dialog[data-v-12e65ac7] [data-v-12e65ac7] .el-dialog__body {
920
1007
  padding: 0;
921
1008
  }
922
1009
 
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 {
1010
+ .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 {
924
1011
  width: auto;
925
1012
  height: auto;
926
1013
  }
927
- .gm-upload-pro-file {
1014
+ .gm-upload-file {
928
1015
  line-height: normal;
929
1016
  }
930
- .gm-upload-pro-file .el-checkbox-group {
931
- font-size: unset;
932
- }
933
- .gm-upload-pro-file .el-checkbox {
1017
+ .gm-upload-file .el-checkbox {
934
1018
  position: absolute;
935
1019
  left: 10px;
936
1020
  top: 0;
937
1021
  z-index: 9;
938
1022
  }
939
- .gm-upload-pro-file .el-upload-list--picture-card {
1023
+ .gm-upload-file .el-upload-list--picture-card {
940
1024
  gap: 10px;
941
1025
  }
942
- .gm-upload-pro-file .el-upload-list__item {
1026
+ .gm-upload-file .el-upload-list__item {
943
1027
  margin: 0;
944
1028
  }
945
- .gm-upload-pro-file .el-upload-list__item-file-name {
946
- line-height: 1.7;
1029
+ .gm-upload-file .el-upload-list__item-file-name {
1030
+ line-height: normal;
947
1031
  }
948
- .gm-upload-pro-file .el-upload-dragger {
1032
+ .gm-upload-file .el-upload-dragger {
949
1033
  padding: 0;
950
1034
  border: none;
951
1035
  width: 100%;
952
1036
  height: 100%;
953
1037
  display: flex;
954
1038
  }
955
- .gm-upload-pro-file .el-upload--picture-card {
1039
+ .gm-upload-file .el-upload--picture-card {
956
1040
  border: none;
957
1041
  }
958
1042
 
959
- .gm-upload-pro-file-disabled .el-upload--picture-card {
1043
+ .gm-upload-file-disabled .el-upload--picture-card {
960
1044
  display: none;
961
1045
  }
962
- .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1046
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
963
1047
  display: none;
964
1048
  }
965
1049
  [data-v-488ca110] .gmSearchForm .el-form-item {
@@ -998,24 +1082,6 @@ video {
998
1082
  display: none;
999
1083
  }
1000
1084
 
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));
1005
- }
1006
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1007
- box-shadow: none;
1008
- background: none;
1009
- }
1010
-
1011
- .gm-number-interval-close[data-v-4e6f4d6f] {
1012
- display: none;
1013
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1014
- }
1015
-
1016
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1017
- display: flex;
1018
- }
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}