@nocobase/plugin-file-manager 2.2.0-beta.9 → 2.2.0

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 (97) hide show
  1. package/dist/client/UseOriginalUrlRadio.d.ts +12 -0
  2. package/dist/client/index.js +1 -1
  3. package/dist/client/schemas/storageTypes/ali-oss.d.ts +12 -0
  4. package/dist/client/schemas/storageTypes/common.d.ts +12 -0
  5. package/dist/client/schemas/storageTypes/index.d.ts +48 -0
  6. package/dist/client/schemas/storageTypes/local.d.ts +12 -0
  7. package/dist/client/schemas/storageTypes/s3.d.ts +12 -0
  8. package/dist/client/schemas/storageTypes/tx-cos.d.ts +12 -0
  9. package/dist/client-v2/125.9cdb7cf3ef4712ef.js +10 -0
  10. package/dist/client-v2/{229.bd72c2d7aa088310.js → 229.297c431f63a29cb2.js} +1 -1
  11. package/dist/client-v2/{336.1dd1b32466d0c778.js → 336.04d06f2cdcc3d0b5.js} +1 -1
  12. package/dist/client-v2/{43.eb45d53ba3e9828b.js → 43.1ec3e5bf1118d239.js} +1 -1
  13. package/dist/client-v2/450.d49b00f3c0388c74.js +10 -0
  14. package/dist/client-v2/{929.d7e783304cc1f236.js → 929.3744119eff70b3a3.js} +1 -1
  15. package/dist/client-v2/components/PublicAccessField.d.ts +19 -0
  16. package/dist/client-v2/components/UseOriginalUrlField.d.ts +25 -0
  17. package/dist/client-v2/components/index.d.ts +2 -0
  18. package/dist/client-v2/index.d.ts +4 -2
  19. package/dist/client-v2/index.js +1 -1
  20. package/dist/client-v2/interfaces/attachment.d.ts +76 -0
  21. package/dist/client-v2/models/DisplayPreviewFieldModel.d.ts +22 -0
  22. package/dist/client-v2/models/UploadActionModel.d.ts +26 -0
  23. package/dist/client-v2/previewer/filePreviewTypes.d.ts +15 -1
  24. package/dist/externalVersion.js +13 -10
  25. package/dist/locale/de-DE.json +7 -0
  26. package/dist/locale/en-US.json +7 -0
  27. package/dist/locale/es-ES.json +7 -0
  28. package/dist/locale/fr-FR.json +7 -0
  29. package/dist/locale/hu-HU.json +7 -0
  30. package/dist/locale/id-ID.json +7 -0
  31. package/dist/locale/it-IT.json +7 -0
  32. package/dist/locale/ja-JP.json +7 -0
  33. package/dist/locale/ko-KR.json +7 -0
  34. package/dist/locale/nl-NL.json +7 -0
  35. package/dist/locale/pt-BR.json +7 -0
  36. package/dist/locale/ru-RU.json +7 -0
  37. package/dist/locale/tr-TR.json +7 -0
  38. package/dist/locale/uk-UA.json +7 -0
  39. package/dist/locale/vi-VN.json +7 -0
  40. package/dist/locale/zh-CN.json +7 -0
  41. package/dist/locale/zh-TW.json +7 -0
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +59 -116
  43. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  44. package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js +59 -116
  45. package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
  46. package/dist/node_modules/@aws-sdk/s3-request-presigner/LICENSE +201 -0
  47. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +11113 -0
  48. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js +9 -0
  49. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js +66 -0
  50. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js +2 -0
  51. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +58 -0
  52. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts +9 -0
  53. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts +6 -0
  54. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts +2 -0
  55. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +15 -0
  56. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts +9 -0
  57. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts +11 -0
  58. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts +2 -0
  59. package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +40 -0
  60. package/dist/node_modules/@aws-sdk/s3-request-presigner/package.json +1 -0
  61. package/dist/node_modules/ali-oss/package.json +1 -1
  62. package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
  63. package/dist/node_modules/mime-match/package.json +1 -1
  64. package/dist/node_modules/mime-types/package.json +1 -1
  65. package/dist/node_modules/mkdirp/package.json +1 -1
  66. package/dist/node_modules/url-join/package.json +1 -1
  67. package/dist/server/actions/attachments.js +21 -1
  68. package/dist/server/actions/get-file.d.ts +13 -0
  69. package/dist/server/actions/get-file.js +152 -0
  70. package/dist/server/actions/index.d.ts +1 -3
  71. package/dist/server/actions/index.js +8 -1
  72. package/dist/server/commands/repair-filenames.js +34 -14
  73. package/dist/server/file-access.d.ts +11 -0
  74. package/dist/server/file-access.js +134 -0
  75. package/dist/server/index.d.ts +2 -1
  76. package/dist/server/index.js +7 -1
  77. package/dist/server/resolve-file-access-filter.d.ts +11 -0
  78. package/dist/server/resolve-file-access-filter.js +63 -0
  79. package/dist/server/server.d.ts +23 -2
  80. package/dist/server/server.js +108 -15
  81. package/dist/server/storages/ali-oss.d.ts +2 -1
  82. package/dist/server/storages/ali-oss.js +12 -0
  83. package/dist/server/storages/index.d.ts +15 -2
  84. package/dist/server/storages/index.js +28 -5
  85. package/dist/server/storages/local.d.ts +2 -2
  86. package/dist/server/storages/local.js +9 -3
  87. package/dist/server/storages/s3.d.ts +2 -1
  88. package/dist/server/storages/s3.js +14 -0
  89. package/dist/server/storages/tx-cos.d.ts +2 -1
  90. package/dist/server/storages/tx-cos.js +27 -0
  91. package/dist/server/temporary-access.d.ts +31 -0
  92. package/dist/server/temporary-access.js +170 -0
  93. package/dist/server/utils.d.ts +27 -0
  94. package/dist/server/utils.js +83 -2
  95. package/package.json +5 -3
  96. package/dist/client-v2/125.0b8eef1f19b87042.js +0 -10
  97. package/dist/client-v2/450.c060947ac34d26e1.js +0 -10
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import React from 'react';
10
+ import { type UseOriginalUrlRadioProps as UseOriginalUrlRadioViewProps } from '../client-v2/components/UseOriginalUrlField';
11
+ export type UseOriginalUrlRadioProps = Omit<UseOriginalUrlRadioViewProps, 'publicAccessControl' | 't'>;
12
+ export declare const UseOriginalUrlRadio: React.MemoExoticComponent<import("@formily/react").ReactFC<UseOriginalUrlRadioProps>>;