@nocobase/plugin-file-manager 2.0.0-alpha.7 → 2.0.0-alpha.71

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 (377) hide show
  1. package/dist/client/index.d.ts +4 -1
  2. package/dist/client/index.js +1 -1
  3. package/dist/client/models/DisplayPreviewFieldModel.d.ts +1 -0
  4. package/dist/client/models/UploadActionModel.d.ts +3 -1
  5. package/dist/client/models/UploadFieldModel.d.ts +22 -0
  6. package/dist/client/previewer/filePreviewTypes.d.ts +39 -0
  7. package/dist/client/schemas/storageTypes/ali-oss.d.ts +31 -0
  8. package/dist/client/schemas/storageTypes/common.d.ts +31 -0
  9. package/dist/client/schemas/storageTypes/index.d.ts +67 -0
  10. package/dist/client/schemas/storageTypes/local.d.ts +12 -0
  11. package/dist/client/schemas/storageTypes/s3.d.ts +12 -0
  12. package/dist/client/schemas/storageTypes/tx-cos.d.ts +12 -0
  13. package/dist/client/templates/file.d.ts +6 -2
  14. package/dist/common/collections/storages.d.ts +22 -0
  15. package/dist/common/collections/storages.js +11 -0
  16. package/dist/externalVersion.js +9 -8
  17. package/dist/locale/de-DE.json +42 -29
  18. package/dist/locale/en-US.json +45 -30
  19. package/dist/locale/es-ES.json +54 -0
  20. package/dist/locale/fr-FR.json +45 -12
  21. package/dist/locale/hu-HU.json +48 -0
  22. package/dist/locale/id-ID.json +48 -0
  23. package/dist/locale/it-IT.json +43 -28
  24. package/dist/locale/ja-JP.json +43 -30
  25. package/dist/locale/ko-KR.json +46 -24
  26. package/dist/locale/nl-NL.json +53 -39
  27. package/dist/locale/pt-BR.json +54 -0
  28. package/dist/locale/ru-RU.json +47 -11
  29. package/dist/locale/tr-TR.json +47 -10
  30. package/dist/locale/uk-UA.json +54 -0
  31. package/dist/locale/vi-VN.json +48 -0
  32. package/dist/locale/zh-CN.json +44 -31
  33. package/dist/locale/zh-TW.json +54 -0
  34. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +7858 -7858
  35. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  36. package/dist/node_modules/@aws-sdk/lib-storage/LICENSE +201 -0
  37. package/dist/node_modules/{multer-s3 → @aws-sdk/lib-storage/dist-cjs}/index.js +15801 -21456
  38. package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.browser.js +8 -0
  39. package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.js +10 -0
  40. package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.native.js +8 -0
  41. package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.shared.js +6 -0
  42. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/Upload.js +304 -0
  43. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/bytelength.js +27 -0
  44. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/chunker.js +24 -0
  45. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/chunks/getChunkStream.js +24 -0
  46. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/chunks/getChunkUint8Array.js +19 -0
  47. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/chunks/getDataReadable.js +11 -0
  48. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/chunks/getDataReadableStream.js +24 -0
  49. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/index.js +2 -0
  50. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.browser.js +5 -0
  51. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.js +7 -0
  52. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.native.js +5 -0
  53. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/runtimeConfig.shared.js +3 -0
  54. package/dist/node_modules/@aws-sdk/lib-storage/dist-es/types.js +1 -0
  55. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/Upload.d.ts +59 -0
  56. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/bytelength.d.ts +1 -0
  57. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/chunker.d.ts +3 -0
  58. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/chunks/getChunkStream.d.ts +2 -0
  59. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/chunks/getChunkUint8Array.d.ts +2 -0
  60. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/chunks/getDataReadable.d.ts +3 -0
  61. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/chunks/getDataReadableStream.d.ts +1 -0
  62. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/index.d.ts +2 -0
  63. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/runtimeConfig.browser.d.ts +7 -0
  64. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/runtimeConfig.d.ts +8 -0
  65. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/runtimeConfig.native.d.ts +7 -0
  66. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/runtimeConfig.shared.d.ts +6 -0
  67. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/Upload.d.ts +43 -0
  68. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/bytelength.d.ts +1 -0
  69. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/chunker.d.ts +6 -0
  70. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/chunks/getChunkStream.d.ts +6 -0
  71. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/chunks/getChunkUint8Array.d.ts +5 -0
  72. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/chunks/getDataReadable.d.ts +4 -0
  73. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/chunks/getDataReadableStream.d.ts +3 -0
  74. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/index.d.ts +2 -0
  75. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  76. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  77. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  78. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -0
  79. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/ts3.4/types.d.ts +22 -0
  80. package/dist/node_modules/@aws-sdk/lib-storage/dist-types/types.d.ts +51 -0
  81. package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -0
  82. package/dist/node_modules/{multer-s3 → ali-oss}/LICENSE +1 -2
  83. package/dist/node_modules/ali-oss/dist/aliyun-oss-sdk.js +44018 -0
  84. package/dist/node_modules/ali-oss/dist/aliyun-oss-sdk.min.js +4 -0
  85. package/dist/node_modules/ali-oss/lib/browser/bucket.js +296 -0
  86. package/dist/node_modules/ali-oss/lib/browser/client.js +452 -0
  87. package/dist/node_modules/ali-oss/lib/browser/managed-upload.js +360 -0
  88. package/dist/node_modules/ali-oss/lib/browser/object.js +385 -0
  89. package/dist/node_modules/ali-oss/lib/browser/version.js +1 -0
  90. package/dist/node_modules/ali-oss/lib/browser.js +6 -0
  91. package/dist/node_modules/ali-oss/lib/bucket.js +337 -0
  92. package/dist/node_modules/{multer-aliyun-oss/index.js → ali-oss/lib/client.js} +2 -2
  93. package/dist/node_modules/ali-oss/lib/cluster.js +228 -0
  94. package/dist/node_modules/ali-oss/lib/common/bucket/abortBucketWorm.d.ts +4 -0
  95. package/dist/node_modules/ali-oss/lib/common/bucket/abortBucketWorm.js +14 -0
  96. package/dist/node_modules/ali-oss/lib/common/bucket/abortBucketWorm.ts +12 -0
  97. package/dist/node_modules/ali-oss/lib/common/bucket/completeBucketWorm.d.ts +4 -0
  98. package/dist/node_modules/ali-oss/lib/common/bucket/completeBucketWorm.js +14 -0
  99. package/dist/node_modules/ali-oss/lib/common/bucket/completeBucketWorm.ts +12 -0
  100. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketEncryption.js +20 -0
  101. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketInventory.d.ts +10 -0
  102. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketInventory.js +22 -0
  103. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketInventory.ts +21 -0
  104. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketLifecycle.js +13 -0
  105. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketPolicy.js +21 -0
  106. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketTags.js +21 -0
  107. package/dist/node_modules/ali-oss/lib/common/bucket/deleteBucketWebsite.js +13 -0
  108. package/dist/node_modules/ali-oss/lib/common/bucket/extendBucketWorm.d.ts +4 -0
  109. package/dist/node_modules/ali-oss/lib/common/bucket/extendBucketWorm.js +23 -0
  110. package/dist/node_modules/ali-oss/lib/common/bucket/extendBucketWorm.ts +21 -0
  111. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketEncryption.js +21 -0
  112. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketInventory.d.ts +11 -0
  113. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketInventory.js +25 -0
  114. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketInventory.ts +24 -0
  115. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketLifecycle.js +33 -0
  116. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketPolicy.js +28 -0
  117. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketRequestPayment.js +25 -0
  118. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketStat.d.ts +23 -0
  119. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketStat.js +17 -0
  120. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketStat.ts +34 -0
  121. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketTags.js +23 -0
  122. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketVersioning.js +22 -0
  123. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketWebsite.js +28 -0
  124. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketWorm.d.ts +1 -0
  125. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketWorm.js +20 -0
  126. package/dist/node_modules/ali-oss/lib/common/bucket/getBucketWorm.ts +22 -0
  127. package/dist/node_modules/ali-oss/lib/common/bucket/index.js +34 -0
  128. package/dist/node_modules/ali-oss/lib/common/bucket/initiateBucketWorm.d.ts +5 -0
  129. package/dist/node_modules/ali-oss/lib/common/bucket/initiateBucketWorm.js +24 -0
  130. package/dist/node_modules/ali-oss/lib/common/bucket/initiateBucketWorm.ts +23 -0
  131. package/dist/node_modules/ali-oss/lib/common/bucket/listBucketInventory.d.ts +13 -0
  132. package/dist/node_modules/ali-oss/lib/common/bucket/listBucketInventory.js +29 -0
  133. package/dist/node_modules/ali-oss/lib/common/bucket/listBucketInventory.ts +32 -0
  134. package/dist/node_modules/ali-oss/lib/common/bucket/putBucket.js +31 -0
  135. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketEncryption.js +36 -0
  136. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketInventory.d.ts +36 -0
  137. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketInventory.js +58 -0
  138. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketInventory.ts +84 -0
  139. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketLifecycle.js +127 -0
  140. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketPolicy.js +27 -0
  141. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketRequestPayment.js +40 -0
  142. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketTags.js +39 -0
  143. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketVersioning.js +35 -0
  144. package/dist/node_modules/ali-oss/lib/common/bucket/putBucketWebsite.js +50 -0
  145. package/dist/node_modules/ali-oss/lib/common/callback.js +27 -0
  146. package/dist/node_modules/ali-oss/lib/common/client/getReqUrl.d.ts +1 -0
  147. package/dist/node_modules/ali-oss/lib/common/client/getReqUrl.js +52 -0
  148. package/dist/node_modules/ali-oss/lib/common/client/getReqUrl.ts +51 -0
  149. package/dist/node_modules/ali-oss/lib/common/client/initOptions.js +72 -0
  150. package/dist/node_modules/ali-oss/lib/common/image/index.js +5 -0
  151. package/dist/node_modules/ali-oss/lib/common/image/processObjectSave.js +45 -0
  152. package/dist/node_modules/ali-oss/lib/common/multipart-copy.js +240 -0
  153. package/dist/node_modules/ali-oss/lib/common/multipart.js +271 -0
  154. package/dist/node_modules/ali-oss/lib/common/object/asyncSignatureUrl.js +57 -0
  155. package/dist/node_modules/ali-oss/lib/common/object/calculatePostSignature.js +35 -0
  156. package/dist/node_modules/ali-oss/lib/common/object/copyObject.js +74 -0
  157. package/dist/node_modules/ali-oss/lib/common/object/delete.js +22 -0
  158. package/dist/node_modules/ali-oss/lib/common/object/deleteMulti.js +57 -0
  159. package/dist/node_modules/ali-oss/lib/common/object/deleteObjectTagging.js +22 -0
  160. package/dist/node_modules/ali-oss/lib/common/object/generateObjectUrl.js +28 -0
  161. package/dist/node_modules/ali-oss/lib/common/object/get.js +64 -0
  162. package/dist/node_modules/ali-oss/lib/common/object/getACL.js +30 -0
  163. package/dist/node_modules/ali-oss/lib/common/object/getAsyncFetch.d.ts +1 -0
  164. package/dist/node_modules/ali-oss/lib/common/object/getAsyncFetch.js +26 -0
  165. package/dist/node_modules/ali-oss/lib/common/object/getAsyncFetch.ts +25 -0
  166. package/dist/node_modules/ali-oss/lib/common/object/getBucketVersions.js +98 -0
  167. package/dist/node_modules/ali-oss/lib/common/object/getObjectMeta.js +23 -0
  168. package/dist/node_modules/ali-oss/lib/common/object/getObjectTagging.js +34 -0
  169. package/dist/node_modules/ali-oss/lib/common/object/getObjectUrl.js +21 -0
  170. package/dist/node_modules/ali-oss/lib/common/object/getSymlink.js +23 -0
  171. package/dist/node_modules/ali-oss/lib/common/object/head.js +40 -0
  172. package/dist/node_modules/ali-oss/lib/common/object/index.js +26 -0
  173. package/dist/node_modules/ali-oss/lib/common/object/postAsyncFetch.d.ts +1 -0
  174. package/dist/node_modules/ali-oss/lib/common/object/postAsyncFetch.js +44 -0
  175. package/dist/node_modules/ali-oss/lib/common/object/postAsyncFetch.ts +46 -0
  176. package/dist/node_modules/ali-oss/lib/common/object/putACL.js +27 -0
  177. package/dist/node_modules/ali-oss/lib/common/object/putObjectTagging.js +43 -0
  178. package/dist/node_modules/ali-oss/lib/common/object/putSymlink.js +33 -0
  179. package/dist/node_modules/ali-oss/lib/common/object/signatureUrl.js +52 -0
  180. package/dist/node_modules/ali-oss/lib/common/object/signatureUrlV4.js +70 -0
  181. package/dist/node_modules/ali-oss/lib/common/parallel.js +177 -0
  182. package/dist/node_modules/ali-oss/lib/common/signUtils.js +355 -0
  183. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketName.d.ts +1 -0
  184. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketName.js +9 -0
  185. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketName.ts +6 -0
  186. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketNameTest.d.ts +1 -0
  187. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketNameTest.js +14 -0
  188. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketNameTest.ts +12 -0
  189. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketTag.d.ts +1 -0
  190. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketTag.js +49 -0
  191. package/dist/node_modules/ali-oss/lib/common/utils/checkBucketTag.ts +52 -0
  192. package/dist/node_modules/ali-oss/lib/common/utils/checkConfigValid.d.ts +1 -0
  193. package/dist/node_modules/ali-oss/lib/common/utils/checkConfigValid.js +30 -0
  194. package/dist/node_modules/ali-oss/lib/common/utils/checkConfigValid.ts +27 -0
  195. package/dist/node_modules/ali-oss/lib/common/utils/checkEnv.d.ts +1 -0
  196. package/dist/node_modules/ali-oss/lib/common/utils/checkEnv.js +9 -0
  197. package/dist/node_modules/ali-oss/lib/common/utils/checkEnv.ts +5 -0
  198. package/dist/node_modules/ali-oss/lib/common/utils/checkObjectTag.d.ts +1 -0
  199. package/dist/node_modules/ali-oss/lib/common/utils/checkObjectTag.js +50 -0
  200. package/dist/node_modules/ali-oss/lib/common/utils/checkObjectTag.ts +53 -0
  201. package/dist/node_modules/ali-oss/lib/common/utils/checkUserAgent.d.ts +1 -0
  202. package/dist/node_modules/ali-oss/lib/common/utils/checkUserAgent.js +7 -0
  203. package/dist/node_modules/ali-oss/lib/common/utils/checkUserAgent.ts +4 -0
  204. package/dist/node_modules/ali-oss/lib/common/utils/checkValid.d.ts +1 -0
  205. package/dist/node_modules/ali-oss/lib/common/utils/checkValid.js +14 -0
  206. package/dist/node_modules/ali-oss/lib/common/utils/checkValid.ts +9 -0
  207. package/dist/node_modules/ali-oss/lib/common/utils/createRequest.d.ts +8 -0
  208. package/dist/node_modules/ali-oss/lib/common/utils/createRequest.js +139 -0
  209. package/dist/node_modules/ali-oss/lib/common/utils/createRequest.ts +169 -0
  210. package/dist/node_modules/ali-oss/lib/common/utils/dataFix.d.ts +12 -0
  211. package/dist/node_modules/ali-oss/lib/common/utils/dataFix.js +63 -0
  212. package/dist/node_modules/ali-oss/lib/common/utils/dataFix.ts +78 -0
  213. package/dist/node_modules/ali-oss/lib/common/utils/deepCopy.d.ts +2 -0
  214. package/dist/node_modules/ali-oss/lib/common/utils/deepCopy.js +41 -0
  215. package/dist/node_modules/ali-oss/lib/common/utils/deepCopy.ts +47 -0
  216. package/dist/node_modules/ali-oss/lib/common/utils/encodeString.d.ts +1 -0
  217. package/dist/node_modules/ali-oss/lib/common/utils/encodeString.js +12 -0
  218. package/dist/node_modules/ali-oss/lib/common/utils/encodeString.ts +7 -0
  219. package/dist/node_modules/ali-oss/lib/common/utils/encoder.d.ts +2 -0
  220. package/dist/node_modules/ali-oss/lib/common/utils/encoder.js +9 -0
  221. package/dist/node_modules/ali-oss/lib/common/utils/encoder.ts +6 -0
  222. package/dist/node_modules/ali-oss/lib/common/utils/formatInventoryConfig.d.ts +1 -0
  223. package/dist/node_modules/ali-oss/lib/common/utils/formatInventoryConfig.js +45 -0
  224. package/dist/node_modules/ali-oss/lib/common/utils/formatInventoryConfig.ts +41 -0
  225. package/dist/node_modules/ali-oss/lib/common/utils/formatObjKey.d.ts +6 -0
  226. package/dist/node_modules/ali-oss/lib/common/utils/formatObjKey.js +34 -0
  227. package/dist/node_modules/ali-oss/lib/common/utils/formatObjKey.ts +35 -0
  228. package/dist/node_modules/ali-oss/lib/common/utils/formatTag.d.ts +1 -0
  229. package/dist/node_modules/ali-oss/lib/common/utils/formatTag.js +22 -0
  230. package/dist/node_modules/ali-oss/lib/common/utils/formatTag.ts +20 -0
  231. package/dist/node_modules/ali-oss/lib/common/utils/getStandardRegion.d.ts +1 -0
  232. package/dist/node_modules/ali-oss/lib/common/utils/getStandardRegion.js +7 -0
  233. package/dist/node_modules/ali-oss/lib/common/utils/getStandardRegion.ts +3 -0
  234. package/dist/node_modules/ali-oss/lib/common/utils/getStrBytesCount.d.ts +1 -0
  235. package/dist/node_modules/ali-oss/lib/common/utils/getStrBytesCount.js +17 -0
  236. package/dist/node_modules/ali-oss/lib/common/utils/getStrBytesCount.ts +12 -0
  237. package/dist/node_modules/ali-oss/lib/common/utils/getUserAgent.d.ts +1 -0
  238. package/dist/node_modules/ali-oss/lib/common/utils/getUserAgent.js +18 -0
  239. package/dist/node_modules/ali-oss/lib/common/utils/getUserAgent.ts +14 -0
  240. package/dist/node_modules/ali-oss/lib/common/utils/isArray.d.ts +1 -0
  241. package/dist/node_modules/ali-oss/lib/common/utils/isArray.js +6 -0
  242. package/dist/node_modules/ali-oss/lib/common/utils/isArray.ts +3 -0
  243. package/dist/node_modules/ali-oss/lib/common/utils/isBlob.d.ts +1 -0
  244. package/dist/node_modules/ali-oss/lib/common/utils/isBlob.js +7 -0
  245. package/dist/node_modules/ali-oss/lib/common/utils/isBlob.ts +3 -0
  246. package/dist/node_modules/ali-oss/lib/common/utils/isBuffer.d.ts +1 -0
  247. package/dist/node_modules/ali-oss/lib/common/utils/isBuffer.js +7 -0
  248. package/dist/node_modules/ali-oss/lib/common/utils/isBuffer.ts +3 -0
  249. package/dist/node_modules/ali-oss/lib/common/utils/isDingTalk.d.ts +1 -0
  250. package/dist/node_modules/ali-oss/lib/common/utils/isDingTalk.js +10 -0
  251. package/dist/node_modules/ali-oss/lib/common/utils/isDingTalk.ts +6 -0
  252. package/dist/node_modules/ali-oss/lib/common/utils/isFile.d.ts +1 -0
  253. package/dist/node_modules/ali-oss/lib/common/utils/isFile.js +6 -0
  254. package/dist/node_modules/ali-oss/lib/common/utils/isFile.ts +3 -0
  255. package/dist/node_modules/ali-oss/lib/common/utils/isFunction.d.ts +1 -0
  256. package/dist/node_modules/ali-oss/lib/common/utils/isFunction.js +6 -0
  257. package/dist/node_modules/ali-oss/lib/common/utils/isFunction.ts +3 -0
  258. package/dist/node_modules/ali-oss/lib/common/utils/isIP.d.ts +6 -0
  259. package/dist/node_modules/ali-oss/lib/common/utils/isIP.js +14 -0
  260. package/dist/node_modules/ali-oss/lib/common/utils/isIP.ts +12 -0
  261. package/dist/node_modules/ali-oss/lib/common/utils/isObject.d.ts +1 -0
  262. package/dist/node_modules/ali-oss/lib/common/utils/isObject.js +6 -0
  263. package/dist/node_modules/ali-oss/lib/common/utils/isObject.ts +3 -0
  264. package/dist/node_modules/ali-oss/lib/common/utils/lowercaseKeyHeader.d.ts +1 -0
  265. package/dist/node_modules/ali-oss/lib/common/utils/lowercaseKeyHeader.js +14 -0
  266. package/dist/node_modules/ali-oss/lib/common/utils/lowercaseKeyHeader.ts +11 -0
  267. package/dist/node_modules/ali-oss/lib/common/utils/obj2xml.d.ts +1 -0
  268. package/dist/node_modules/ali-oss/lib/common/utils/obj2xml.js +43 -0
  269. package/dist/node_modules/ali-oss/lib/common/utils/obj2xml.ts +37 -0
  270. package/dist/node_modules/ali-oss/lib/common/utils/omit.d.ts +1 -0
  271. package/dist/node_modules/ali-oss/lib/common/utils/omit.js +11 -0
  272. package/dist/node_modules/ali-oss/lib/common/utils/omit.ts +9 -0
  273. package/dist/node_modules/ali-oss/lib/common/utils/policy2Str.d.ts +1 -0
  274. package/dist/node_modules/ali-oss/lib/common/utils/policy2Str.js +21 -0
  275. package/dist/node_modules/ali-oss/lib/common/utils/policy2Str.ts +15 -0
  276. package/dist/node_modules/ali-oss/lib/common/utils/retry.d.ts +1 -0
  277. package/dist/node_modules/ali-oss/lib/common/utils/retry.js +30 -0
  278. package/dist/node_modules/ali-oss/lib/common/utils/retry.ts +26 -0
  279. package/dist/node_modules/ali-oss/lib/common/utils/setRegion.d.ts +3 -0
  280. package/dist/node_modules/ali-oss/lib/common/utils/setRegion.js +20 -0
  281. package/dist/node_modules/ali-oss/lib/common/utils/setRegion.ts +15 -0
  282. package/dist/node_modules/ali-oss/lib/common/utils/setSTSToken.d.ts +2 -0
  283. package/dist/node_modules/ali-oss/lib/common/utils/setSTSToken.js +36 -0
  284. package/dist/node_modules/ali-oss/lib/common/utils/setSTSToken.ts +32 -0
  285. package/dist/node_modules/ali-oss/lib/global.d.ts +6 -0
  286. package/dist/node_modules/ali-oss/lib/image.js +146 -0
  287. package/dist/node_modules/ali-oss/lib/managed-upload.js +380 -0
  288. package/dist/node_modules/ali-oss/lib/object.js +420 -0
  289. package/dist/node_modules/ali-oss/lib/rtmp.js +295 -0
  290. package/dist/node_modules/ali-oss/lib/setConfig.d.ts +3 -0
  291. package/dist/node_modules/ali-oss/lib/setConfig.js +42 -0
  292. package/dist/node_modules/ali-oss/lib/setConfig.ts +52 -0
  293. package/dist/node_modules/ali-oss/lib/sts.js +156 -0
  294. package/dist/node_modules/ali-oss/lib/types/experimental.d.ts +1 -0
  295. package/dist/node_modules/ali-oss/lib/types/experimental.js +2 -0
  296. package/dist/node_modules/ali-oss/lib/types/experimental.ts +1 -0
  297. package/dist/node_modules/ali-oss/node_modules/bowser/.editorconfig +17 -0
  298. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/.name +1 -0
  299. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/bowser.iml +8 -0
  300. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/encodings.xml +6 -0
  301. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/inspectionProfiles/Project_Default.xml +6 -0
  302. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/jsLibraryMappings.xml +8 -0
  303. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/markdown-exported-files.xml +8 -0
  304. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/markdown-navigator/profiles_settings.xml +3 -0
  305. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/markdown-navigator.xml +67 -0
  306. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/misc.xml +6 -0
  307. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/modules.xml +8 -0
  308. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/vcs.xml +6 -0
  309. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/watcherTasks.xml +4 -0
  310. package/dist/node_modules/ali-oss/node_modules/bowser/.idea/workspace.xml +696 -0
  311. package/dist/node_modules/ali-oss/node_modules/bowser/.travis.yml +8 -0
  312. package/dist/node_modules/ali-oss/node_modules/bowser/bower.json +33 -0
  313. package/dist/node_modules/ali-oss/node_modules/bowser/bowser.js +644 -0
  314. package/dist/node_modules/ali-oss/node_modules/bowser/bowser.min.js +6 -0
  315. package/dist/node_modules/ali-oss/node_modules/bowser/package.json +38 -0
  316. package/dist/node_modules/ali-oss/node_modules/bowser/src/bowser.js +644 -0
  317. package/dist/node_modules/ali-oss/node_modules/bowser/test/test.js +151 -0
  318. package/dist/node_modules/ali-oss/node_modules/bowser/typings.d.ts +115 -0
  319. package/dist/node_modules/ali-oss/node_modules/dateformat/.vs/ProjectSettings.json +3 -0
  320. package/dist/node_modules/ali-oss/node_modules/dateformat/.vs/config/applicationhost.config +1031 -0
  321. package/dist/node_modules/ali-oss/node_modules/dateformat/.vs/node-dateformat/v15/.suo +0 -0
  322. package/dist/node_modules/ali-oss/node_modules/dateformat/.vs/slnx.sqlite +0 -0
  323. package/dist/node_modules/ali-oss/node_modules/dateformat/lib/dateformat.js +226 -0
  324. package/dist/node_modules/ali-oss/node_modules/dateformat/package.json +30 -0
  325. package/dist/node_modules/ali-oss/node_modules/mime/Mime.js +97 -0
  326. package/dist/node_modules/ali-oss/node_modules/mime/cli.js +46 -0
  327. package/dist/node_modules/ali-oss/node_modules/mime/index.js +4 -0
  328. package/dist/node_modules/ali-oss/node_modules/mime/lite.js +4 -0
  329. package/dist/node_modules/ali-oss/node_modules/mime/package.json +52 -0
  330. package/dist/node_modules/ali-oss/node_modules/mime/types/other.js +1 -0
  331. package/dist/node_modules/ali-oss/node_modules/mime/types/standard.js +1 -0
  332. package/dist/node_modules/ali-oss/package.json +1 -0
  333. package/dist/node_modules/ali-oss/shims/crypto/crypto.js +98 -0
  334. package/dist/node_modules/ali-oss/shims/crypto/helpers.js +36 -0
  335. package/dist/node_modules/ali-oss/shims/crypto/md5.js +152 -0
  336. package/dist/node_modules/ali-oss/shims/crypto/sha.js +91 -0
  337. package/dist/node_modules/ali-oss/shims/crypto/sha256.js +163 -0
  338. package/dist/node_modules/ali-oss/shims/debug.js +3 -0
  339. package/dist/node_modules/ali-oss/shims/is-type-of.js +18 -0
  340. package/dist/node_modules/ali-oss/shims/process.js +35 -0
  341. package/dist/node_modules/ali-oss/shims/stream-http/index.js +82 -0
  342. package/dist/node_modules/ali-oss/shims/stream-http/lib/capability.js +72 -0
  343. package/dist/node_modules/ali-oss/shims/stream-http/lib/request.js +320 -0
  344. package/dist/node_modules/ali-oss/shims/stream-http/lib/response.js +217 -0
  345. package/dist/node_modules/ali-oss/shims/url/index.js +696 -0
  346. package/dist/node_modules/ali-oss/shims/url/util.js +16 -0
  347. package/dist/node_modules/ali-oss/shims/utility.js +25 -0
  348. package/dist/node_modules/ali-oss/shims/xhr.js +798 -0
  349. package/dist/node_modules/mime-match/package.json +1 -1
  350. package/dist/node_modules/mime-types/package.json +1 -1
  351. package/dist/node_modules/mkdirp/package.json +1 -1
  352. package/dist/node_modules/multer-cos/package.json +1 -1
  353. package/dist/node_modules/url-join/package.json +1 -1
  354. package/dist/server/actions/attachments.js +21 -1
  355. package/dist/server/actions/storages.js +4 -6
  356. package/dist/server/server.js +1 -0
  357. package/dist/server/storages/ali-oss.d.ts +15 -1
  358. package/dist/server/storages/ali-oss.js +66 -2
  359. package/dist/server/storages/index.d.ts +2 -0
  360. package/dist/server/storages/index.js +2 -0
  361. package/dist/server/storages/local.d.ts +2 -0
  362. package/dist/server/storages/local.js +28 -6
  363. package/dist/server/storages/s3.d.ts +9 -3
  364. package/dist/server/storages/s3.js +105 -40
  365. package/dist/server/storages/tx-cos.js +1 -1
  366. package/dist/server/utils.d.ts +1 -0
  367. package/dist/server/utils.js +58 -1
  368. package/package.json +7 -3
  369. package/dist/node_modules/multer-aliyun-oss/package.json +0 -1
  370. package/dist/node_modules/multer-s3/.gitattributes +0 -1
  371. package/dist/node_modules/multer-s3/.travis.yml +0 -6
  372. package/dist/node_modules/multer-s3/package.json +0 -1
  373. package/dist/node_modules/multer-s3/test/basic.js +0 -293
  374. package/dist/node_modules/multer-s3/test/files/a.txt +0 -1
  375. package/dist/node_modules/multer-s3/test/files/test.svg +0 -3
  376. package/dist/node_modules/multer-s3/test/files/test2.svg +0 -9
  377. package/dist/node_modules/multer-s3/test/util/mock-s3.js +0 -17
@@ -1,17 +1,54 @@
1
1
  {
2
- "File manager": "Dosya depoları",
3
- "Attachment": "Dosya eki",
4
- "MIME type": "Kabul et",
2
+ "Access base URL": "Access base URL",
3
+ "Aliyun OSS": "Aliyun OSS",
4
+ "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".",
5
5
  "Allow uploading multiple files": "Birden çok dosya yüklemeye izin ver",
6
- "Storage name": "Depo adı",
7
- "Storage type": "Depolama türü",
6
+ "Amazon S3": "Amazon S3",
7
+ "Attachment": "Dosya eki",
8
+ "Base URL": "Base URL",
9
+ "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".",
10
+ "Bucket": "Bucket",
8
11
  "Default storage": "Varsayılan depo",
9
- "Storage base URL": "Depolama temel URLsi",
12
+ "Default storage will be used when not selected": "Default storage will be used when not selected",
10
13
  "Destination": "Hedef",
11
- "Use the built-in static file server": "Yerleşik statik dosya sunucusunu kullanın",
14
+ "Endpoint": "Endpoint",
15
+ "Extension name": "Extension name",
16
+ "File collection": "File collection",
17
+ "File manager": "Dosya depoları",
18
+ "Renaming": "Yeniden Adlandırma",
19
+ "Keep original filename (will be overwrite if filename is existed)": "Orijinal dosya adını koru (dosya varsa üzerine yazılır)",
20
+ "Random string": "Rastgele dize",
21
+ "Append random ID": "Rastgele ID ekle",
22
+ "File name": "File name",
23
+ "File pre-process parameters": "Dosya ön işleme parametreleri",
24
+ "File size limit": "File size limit",
25
+ "File storage": "File storage",
26
+ "File type allowed (in MIME type format)": "İzin verilen dosya türü (MIME türü formatında)",
27
+ "Filename": "Dosya adı",
28
+ "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.",
29
+ "Keep file in storage when destroy record": "Keep file in storage when destroy record",
30
+ "Keep file in storage when destroy the file record": "Keep file in storage when destroy the file record",
12
31
  "Local storage": "Lokal depolama",
13
- "Aliyun OSS": "Aliyun OSS",
14
- "Amazon S3": "Amazon S3",
32
+ "MIME type": "Kabul et",
33
+ "Minimum from 1 byte.": "Minimum from 1 byte.",
34
+ "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
35
+ "Path": "Path",
36
+ "Region": "Region",
37
+ "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
38
+ "Renaming strategy to avoid filename conflicts when uploading files.": "Dosya yüklerken dosya adı çakışmalarını önlemek için yeniden adlandırma stratejisi.",
39
+ "See more": "See more",
40
+ "Size": "Size",
41
+ "Storage": "Storage",
42
+ "Storage base URL": "Depolama temel URLsi",
43
+ "Storage display name": "Storage display name",
44
+ "Storage name": "Depo adı",
45
+ "Storage type": "Depolama türü",
46
+ "Storage type {{type}} is not registered, please check if related plugin is enabled.": "Storage type {{type}} is not registered, please check if related plugin is enabled.",
47
+ "Storages": "Storages",
15
48
  "Tencent COS": "Tencent COS",
16
- "Filename": "Dosya adı"
49
+ "Timeout": "Timeout",
50
+ "URL": "URL",
51
+ "Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
52
+ "Use the built-in static file server": "Yerleşik statik dosya sunucusunu kullanın",
53
+ "Will be used for API": "Will be used for API"
17
54
  }
@@ -0,0 +1,54 @@
1
+ {
2
+ "Access base URL": "Access base URL",
3
+ "Aliyun OSS": "Aliyun OSS",
4
+ "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".",
5
+ "Allow uploading multiple files": "Allow uploading multiple files",
6
+ "Amazon S3": "Amazon S3",
7
+ "Attachment": "Attachment",
8
+ "Base URL": "Base URL",
9
+ "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".",
10
+ "Bucket": "Bucket",
11
+ "Default storage": "Default storage",
12
+ "Default storage will be used when not selected": "Default storage will be used when not selected",
13
+ "Destination": "Destination",
14
+ "Endpoint": "Endpoint",
15
+ "Extension name": "Extension name",
16
+ "File collection": "File collection",
17
+ "File manager": "File manager",
18
+ "Renaming": "Перейменування",
19
+ "Keep original filename (will be overwrite if filename is existed)": "Зберегти оригінальне ім'я (буде перезаписано, якщо файл існує)",
20
+ "Random string": "Випадковий рядок",
21
+ "Append random ID": "Додати випадковий ID",
22
+ "File name": "File name",
23
+ "File pre-process parameters": "File pre-process parameters",
24
+ "File size limit": "File size limit",
25
+ "File storage": "File storage",
26
+ "File type allowed (in MIME type format)": "File type allowed (in MIME type format)",
27
+ "Filename": "Filename",
28
+ "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.",
29
+ "Keep file in storage when destroy record": "Keep file in storage when destroy record",
30
+ "Keep file in storage when destroy the file record": "Keep file in storage when destroy the file record",
31
+ "Local storage": "Local storage",
32
+ "MIME type": "MIME type",
33
+ "Minimum from 1 byte.": "Minimum from 1 byte.",
34
+ "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
35
+ "Path": "Path",
36
+ "Region": "Region",
37
+ "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
38
+ "Renaming strategy to avoid filename conflicts when uploading files.": "Renaming strategy to avoid filename conflicts when uploading files.",
39
+ "See more": "See more",
40
+ "Size": "Size",
41
+ "Storage": "Storage",
42
+ "Storage base URL": "Storage base URL",
43
+ "Storage display name": "Storage display name",
44
+ "Storage name": "Storage name",
45
+ "Storage type": "Storage type",
46
+ "Storage type {{type}} is not registered, please check if related plugin is enabled.": "Storage type {{type}} is not registered, please check if related plugin is enabled.",
47
+ "Storages": "Storages",
48
+ "Tencent COS": "Tencent COS",
49
+ "Timeout": "Timeout",
50
+ "URL": "URL",
51
+ "Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
52
+ "Use the built-in static file server": "Use the built-in static file server",
53
+ "Will be used for API": "Will be used for API"
54
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "Access base URL": "Access base URL",
3
+ "Aliyun OSS": "Aliyun OSS",
4
+ "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".",
5
+ "Allow uploading multiple files": "Allow uploading multiple files",
6
+ "Amazon S3": "Amazon S3",
7
+ "Attachment": "Attachment",
8
+ "Base URL": "Base URL",
9
+ "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".",
10
+ "Bucket": "Bucket",
11
+ "Default storage": "Default storage",
12
+ "Default storage will be used when not selected": "Default storage will be used when not selected",
13
+ "Destination": "Destination",
14
+ "Extension name": "Extension name",
15
+ "File collection": "File collection",
16
+ "File manager": "Quản lý tệp",
17
+ "File name": "File name",
18
+ "File size limit": "File size limit",
19
+ "File storage": "File storage",
20
+ "File type (in MIME type format)": "File type (in MIME type format)",
21
+ "Filename": "Filename",
22
+ "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.",
23
+ "Keep file in storage when destroy record": "Keep file in storage when destroy record",
24
+ "Keep file in storage when destroy the file record": "Keep file in storage when destroy the file record",
25
+ "Local storage": "Local storage",
26
+ "MIME type": "MIME type",
27
+ "Minimum from 1 byte, maximum up to 1GB.": "Minimum from 1 byte, maximum up to 1GB.",
28
+ "Minimum from 1 byte.": "Minimum from 1 byte.",
29
+ "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
30
+ "Path": "Path",
31
+ "Region": "Region",
32
+ "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
33
+ "See more": "See more",
34
+ "Size": "Kích thước",
35
+ "Storage": "Storage",
36
+ "Storage base URL": "Storage base URL",
37
+ "Storage display name": "Storage display name",
38
+ "Storage name": "Storage name",
39
+ "Storage type": "Storage type",
40
+ "Storage type {{type}} is not registered, please check if related plugin is enabled.": "Storage type {{type}} is not registered, please check if related plugin is enabled.",
41
+ "Storages": "Storages",
42
+ "Tencent COS": "Tencent COS",
43
+ "Timeout": "Timeout",
44
+ "URL": "URL",
45
+ "Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
46
+ "Use the built-in static file server": "Use the built-in static file server",
47
+ "Will be used for API": "Will be used for API"
48
+ }
@@ -1,44 +1,57 @@
1
1
  {
2
+ "Additional options for HTTP requests when fetching files from remote storage on server side, such as headers.": "在服务器端从远程存储获取文件时,HTTP 请求的附加选项,例如请求头等。",
3
+ "Access base URL": "访问 URL 基础",
4
+ "Aliyun OSS": "阿里云 OSS",
5
+ "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "阿里云 OSS 存储桶所在区域。例如:\"oss-cn-beijing\"。",
6
+ "Allow uploading multiple files": "允许上传多个文件",
7
+ "Amazon S3": "亚马逊 S3",
8
+ "Append random ID": "追加随机 ID",
9
+ "Attachment": "附件",
10
+ "Base URL": "基础 URL",
11
+ "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "文件访问的基础 URL,可以是你的 CDN 基础 URL。例如:\"https://cdn.nocobase.com\"。",
12
+ "Bucket": "存储桶",
13
+ "Default storage": "默认存储空间",
14
+ "Default storage will be used when not selected": "留空将使用默认存储空间",
15
+ "Destination": "上传目标文件夹",
16
+ "Endpoint": "接入点",
17
+ "Extension name": "扩展名",
2
18
  "File collection": "文件数据表",
19
+ "File manager": "文件管理器",
3
20
  "File name": "文件名",
4
- "Extension name": "扩展名",
5
- "Size": "文件大小",
21
+ "File pre-process parameters": "文件预处理参数",
6
22
  "File size limit": "文件大小限制",
7
- "Minimum from 1 byte.": "最小为 1 字节。",
23
+ "File storage": "文件存储器",
24
+ "File type allowed (in MIME type format)": "允许的文件类型(MIME 格式)",
25
+ "File type is not supported for previewing, please <1>download it to preview</1>": "文件类型不支持预览,请<1>下载后查看</1>",
26
+ "Filename": "文件名",
27
+ "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "只有在删除文件表记录时,文件才会被删除。当删除其他表的记录包含指向文件表的关系字段时,除非关系中配置了级联删除,否则文件不会被删除。",
28
+ "Keep file in storage when destroy record": "删除记录时保留文件",
29
+ "Keep file in storage when destroy the file record": "删除文件记录时保留文件",
30
+ "Keep original filename (will be overwrite if filename is existed)": "保持原名(同名文件将被覆盖)",
31
+ "Local storage": "本地存储",
8
32
  "MIME type": "MIME 类型",
9
- "File type (in MIME type format)": "文件类型(MIME 格式)",
33
+ "Minimum from 1 byte.": "最小为 1 字节。",
10
34
  "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "多个类型用逗号分隔,例如:\"image/*\", \"image/png\", \"image/*, application/pdf\" 等。",
11
- "URL": "URL",
12
- "File storage": "文件存储",
13
- "File manager": "文件管理器",
14
- "Attachment": "附件",
15
- "Allow uploading multiple files": "允许上传多个文件",
35
+ "Path": "路径",
36
+ "Random string": "随机字符串",
37
+ "Region": "区域",
38
+ "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "文件保存的相对路径。留空则为根路径。开始和结尾的斜杠“/”会被忽略。例如:\"user/avatar\"。",
39
+ "Renaming": "重命名",
40
+ "Renaming strategy to avoid filename conflicts when uploading files.": "上传文件时避免文件名冲突的重命名策略。",
41
+ "Request options": "请求选项",
42
+ "See more": "更多请查阅",
43
+ "Size": "文件大小",
16
44
  "Storage": "存储空间",
17
- "Storages": "存储空间",
45
+ "Storage base URL": "Storage base URL",
46
+ "Storage display name": "Storage display name",
18
47
  "Storage name": "存储空间标识",
19
48
  "Storage type": "存储类型",
20
- "Default storage": "默认存储空间",
21
- "Base URL": "基础 URL",
22
- "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "文件访问的基础 URL,可以是你的 CDN 基础 URL。例如:\"https://cdn.nocobase.com\"。",
23
- "Destination": "上传目标文件夹",
24
- "Use the built-in static file server": "使用内置静态文件服务",
25
- "Local storage": "本地存储",
26
- "Aliyun OSS": "阿里云 OSS",
27
- "Amazon S3": "亚马逊 S3",
49
+ "Storage type {{type}} is not registered, please check if related plugin is enabled.": "{{type}} 类型的存储引擎未被注册,请检查相关插件是否已启用。",
50
+ "Storages": "存储空间",
28
51
  "Tencent COS": "腾讯云 COS",
29
- "Region": "区域",
30
- "Bucket": "存储桶",
31
- "Path": "路径",
32
- "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "文件保存的相对路径。留空则为根路径。开始和结尾的斜杠“/”会被忽略。例如:\"user/avatar\"。",
33
- "Filename": "文件名",
34
- "Will be used for API": "将用于 API",
35
- "Default storage will be used when not selected": "留空将使用默认存储空间",
36
- "Keep file in storage when destroy the file record": "删除文件记录时保留文件",
37
- "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "只有在删除文件表记录时,文件才会被删除。当删除其他表的记录包含指向文件表的关系字段时,除非关系中配置了级联删除,否则文件不会被删除。",
38
- "See more": "更多请查阅",
39
-
40
- "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "阿里云 OSS 存储桶所在区域。例如:\"oss-cn-beijing\"。",
41
52
  "Timeout": "超时时间",
53
+ "URL": "URL",
42
54
  "Upload timeout for a single file in milliseconds. Default is 600000.": "上传单个文件的超时时间,单位为毫秒。默认为 600000。",
43
- "Storage configuration not found. Please configure a storage provider first.": "存储配置未找到。请先配置存储提供程序。"
55
+ "Use the built-in static file server": "使用内置静态文件服务",
56
+ "Will be used for API": "将用于 API"
44
57
  }
@@ -0,0 +1,54 @@
1
+ {
2
+ "Access base URL": "Access base URL",
3
+ "Aliyun OSS": "Aliyun OSS",
4
+ "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".": "Aliyun OSS region part of the bucket. For example: \"oss-cn-beijing\".",
5
+ "Allow uploading multiple files": "Allow uploading multiple files",
6
+ "Amazon S3": "Amazon S3",
7
+ "Attachment": "Attachment",
8
+ "Base URL": "Base URL",
9
+ "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".": "Base URL for file access, could be your CDN base URL. For example: \"https://cdn.nocobase.com\".",
10
+ "Bucket": "Bucket",
11
+ "Default storage": "Default storage",
12
+ "Default storage will be used when not selected": "Default storage will be used when not selected",
13
+ "Destination": "Destination",
14
+ "Endpoint": "接入点",
15
+ "Extension name": "Extension name",
16
+ "File collection": "File collection",
17
+ "File manager": "File manager",
18
+ "Renaming": "重新命名",
19
+ "Keep original filename (will be overwrite if filename is existed)": "保留原始檔名(若檔名存在將被覆蓋)",
20
+ "Random string": "隨機字串",
21
+ "Append random ID": "追加隨機 ID",
22
+ "File name": "文件名",
23
+ "File pre-process parameters": "文件預處理參數",
24
+ "File size limit": "文件大小限制",
25
+ "File storage": "文件存儲器",
26
+ "File type allowed (in MIME type format)": "允許的文件類型(MIME 類型格式)",
27
+ "Filename": "文件名",
28
+ "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.": "Files are only removed when their corresponding records in the file collection are deleted. If a record from another collection includes an associating field referencing the file collection, the file will not be deleted unless cascade deletion is enabled for that association.",
29
+ "Keep file in storage when destroy record": "Keep file in storage when destroy record",
30
+ "Keep file in storage when destroy the file record": "Keep file in storage when destroy the file record",
31
+ "Local storage": "Local storage",
32
+ "MIME type": "MIME type",
33
+ "Minimum from 1 byte.": "Minimum from 1 byte.",
34
+ "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.": "Multi-types seperated with comma, for example: \"image/*\", \"image/png\", \"image/*, application/pdf\" etc.",
35
+ "Path": "Path",
36
+ "Region": "Region",
37
+ "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".": "Relative path the file will be saved to. Left blank as root path. The leading and trailing slashes \"/\" will be ignored. For example: \"user/avatar\".",
38
+ "Renaming strategy to avoid filename conflicts when uploading files.": "避免上傳文件時文件名衝突的重命名策略。",
39
+ "See more": "See more",
40
+ "Size": "Size",
41
+ "Storage": "Storage",
42
+ "Storage base URL": "Storage base URL",
43
+ "Storage display name": "Storage display name",
44
+ "Storage name": "Storage name",
45
+ "Storage type": "Storage type",
46
+ "Storage type {{type}} is not registered, please check if related plugin is enabled.": "Storage type {{type}} is not registered, please check if related plugin is enabled.",
47
+ "Storages": "Storages",
48
+ "Tencent COS": "Tencent COS",
49
+ "Timeout": "Timeout",
50
+ "URL": "URL",
51
+ "Upload timeout for a single file in milliseconds. Default is 600000.": "Upload timeout for a single file in milliseconds. Default is 600000.",
52
+ "Use the built-in static file server": "Use the built-in static file server",
53
+ "Will be used for API": "Will be used for API"
54
+ }