@tachybase/module-file 0.23.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 (500) hide show
  1. package/README.md +9 -0
  2. package/README.zh-CN.md +9 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/FileManagerProvider.d.ts +4 -0
  6. package/dist/client/FileStorage.d.ts +4 -0
  7. package/dist/client/StorageOptions.d.ts +2 -0
  8. package/dist/client/hooks/index.d.ts +1 -0
  9. package/dist/client/hooks/useUploadFiles.d.ts +9 -0
  10. package/dist/client/index.d.ts +7 -0
  11. package/dist/client/index.js +1 -0
  12. package/dist/client/initializers/UploadActionInitializer.d.ts +2 -0
  13. package/dist/client/initializers/index.d.ts +1 -0
  14. package/dist/client/interfaces/attachment.d.ts +103 -0
  15. package/dist/client/locale/index.d.ts +2 -0
  16. package/dist/client/schemas/storage.d.ts +11 -0
  17. package/dist/client/schemas/storageTypes/ali-oss.d.ts +82 -0
  18. package/dist/client/schemas/storageTypes/index.d.ts +284 -0
  19. package/dist/client/schemas/storageTypes/local.d.ts +56 -0
  20. package/dist/client/schemas/storageTypes/s3.d.ts +77 -0
  21. package/dist/client/schemas/storageTypes/tx-cos.d.ts +71 -0
  22. package/dist/client/templates/file.d.ts +133 -0
  23. package/dist/client/templates/index.d.ts +1 -0
  24. package/dist/externalVersion.js +16 -0
  25. package/dist/index.d.ts +2 -0
  26. package/dist/index.js +39 -0
  27. package/dist/locale/en-US.json +22 -0
  28. package/dist/locale/fr-FR.json +21 -0
  29. package/dist/locale/ja-JP.json +18 -0
  30. package/dist/locale/ko_KR.json +32 -0
  31. package/dist/locale/ru-RU.json +18 -0
  32. package/dist/locale/tr-TR.json +17 -0
  33. package/dist/locale/zh-CN.json +32 -0
  34. package/dist/node_modules/@aws-sdk/client-s3/LICENSE +201 -0
  35. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
  36. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
  37. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
  38. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -0
  39. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +47 -0
  40. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +69 -0
  41. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +46 -0
  43. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +203 -0
  44. package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +60 -0
  45. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  46. package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
  47. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +28 -0
  48. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +31 -0
  49. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +33 -0
  50. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +31 -0
  51. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
  52. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +31 -0
  53. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +29 -0
  54. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +26 -0
  55. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +26 -0
  56. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +26 -0
  57. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +26 -0
  58. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +26 -0
  59. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +26 -0
  60. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +26 -0
  61. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  62. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +26 -0
  63. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +26 -0
  64. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +26 -0
  65. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +26 -0
  66. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +26 -0
  67. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +26 -0
  68. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +28 -0
  69. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +27 -0
  70. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +32 -0
  71. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +26 -0
  72. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +28 -0
  73. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +28 -0
  74. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +28 -0
  75. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +28 -0
  76. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +29 -0
  77. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +28 -0
  78. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +29 -0
  79. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +28 -0
  80. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +28 -0
  81. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +28 -0
  82. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  83. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +28 -0
  84. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +28 -0
  85. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +28 -0
  86. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +28 -0
  87. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +28 -0
  88. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +28 -0
  89. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +28 -0
  90. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +28 -0
  91. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +28 -0
  92. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +28 -0
  93. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +28 -0
  94. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +30 -0
  95. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +37 -0
  96. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +27 -0
  97. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +27 -0
  98. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +27 -0
  99. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +27 -0
  100. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +26 -0
  101. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +28 -0
  102. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +27 -0
  103. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +32 -0
  104. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +28 -0
  105. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +28 -0
  106. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +29 -0
  107. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +27 -0
  108. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +24 -0
  109. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +27 -0
  110. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +28 -0
  111. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +28 -0
  112. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +28 -0
  113. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +28 -0
  114. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +31 -0
  115. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +31 -0
  116. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +31 -0
  117. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +26 -0
  118. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +31 -0
  119. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +32 -0
  120. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +26 -0
  121. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +27 -0
  122. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +33 -0
  123. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +31 -0
  124. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +26 -0
  125. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +26 -0
  126. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +30 -0
  127. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +31 -0
  128. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +31 -0
  129. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +31 -0
  130. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +31 -0
  131. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +31 -0
  132. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +31 -0
  133. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +33 -0
  134. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +37 -0
  135. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +32 -0
  136. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +32 -0
  137. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +32 -0
  138. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +32 -0
  139. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +31 -0
  140. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +33 -0
  141. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +34 -0
  142. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +36 -0
  143. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +31 -0
  144. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +26 -0
  145. package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +98 -0
  146. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +24 -0
  147. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +29 -0
  148. package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +4 -0
  149. package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
  150. package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +7 -0
  151. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +8 -0
  152. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +2 -0
  153. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +580 -0
  154. package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +198 -0
  155. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +1 -0
  156. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
  157. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +4 -0
  158. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +4 -0
  159. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +4 -0
  160. package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +5 -0
  161. package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +7635 -0
  162. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +42 -0
  163. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +64 -0
  164. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +11 -0
  165. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +42 -0
  166. package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +21 -0
  167. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +4 -0
  168. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +26 -0
  169. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +25 -0
  170. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +26 -0
  171. package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +25 -0
  172. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +698 -0
  173. package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +331 -0
  174. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  175. package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
  176. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +179 -0
  177. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +311 -0
  178. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +348 -0
  179. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +283 -0
  180. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  181. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +399 -0
  182. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +196 -0
  183. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +101 -0
  184. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +138 -0
  185. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +104 -0
  186. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +130 -0
  187. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +94 -0
  188. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +99 -0
  189. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +150 -0
  190. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  191. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +107 -0
  192. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +91 -0
  193. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +147 -0
  194. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +108 -0
  195. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +100 -0
  196. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +107 -0
  197. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +205 -0
  198. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +131 -0
  199. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +317 -0
  200. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +100 -0
  201. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +102 -0
  202. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +115 -0
  203. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +135 -0
  204. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +145 -0
  205. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +143 -0
  206. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +121 -0
  207. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +129 -0
  208. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +254 -0
  209. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +116 -0
  210. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +110 -0
  211. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  212. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +128 -0
  213. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +154 -0
  214. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +99 -0
  215. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +159 -0
  216. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +105 -0
  217. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +195 -0
  218. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +101 -0
  219. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +134 -0
  220. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +115 -0
  221. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +139 -0
  222. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +189 -0
  223. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +326 -0
  224. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +367 -0
  225. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +90 -0
  226. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +94 -0
  227. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +91 -0
  228. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +163 -0
  229. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +107 -0
  230. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +116 -0
  231. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +157 -0
  232. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +315 -0
  233. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +147 -0
  234. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +126 -0
  235. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +142 -0
  236. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +136 -0
  237. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +130 -0
  238. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +107 -0
  239. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +344 -0
  240. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +213 -0
  241. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +196 -0
  242. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +261 -0
  243. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +238 -0
  244. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +115 -0
  245. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +309 -0
  246. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +208 -0
  247. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +193 -0
  248. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +209 -0
  249. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +153 -0
  250. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +185 -0
  251. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +293 -0
  252. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +209 -0
  253. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +141 -0
  254. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +206 -0
  255. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +99 -0
  256. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +162 -0
  257. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +233 -0
  258. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +109 -0
  259. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +163 -0
  260. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +143 -0
  261. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +244 -0
  262. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +307 -0
  263. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +449 -0
  264. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +86 -0
  265. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +109 -0
  266. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +89 -0
  267. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +169 -0
  268. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +117 -0
  269. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +383 -0
  270. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +254 -0
  271. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +307 -0
  272. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +375 -0
  273. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +147 -0
  274. package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +98 -0
  275. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +83 -0
  276. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +5 -0
  277. package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +2 -0
  278. package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +9 -0
  279. package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +15 -0
  280. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +14 -0
  281. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +2 -0
  282. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +13234 -0
  283. package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +3948 -0
  284. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +8 -0
  285. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
  286. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
  287. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +7 -0
  288. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +7 -0
  289. package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +5 -0
  290. package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +884 -0
  291. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +68 -0
  292. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +69 -0
  293. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +67 -0
  294. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +28 -0
  295. package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
  296. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +1751 -0
  297. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +732 -0
  298. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  299. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
  300. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +51 -0
  301. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +51 -0
  302. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +47 -0
  303. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +47 -0
  304. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  305. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +51 -0
  306. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +47 -0
  307. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +47 -0
  308. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +45 -0
  309. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +45 -0
  310. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +46 -0
  311. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
  312. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +47 -0
  313. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +46 -0
  314. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  315. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +47 -0
  316. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +47 -0
  317. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +46 -0
  318. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +47 -0
  319. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +46 -0
  320. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +46 -0
  321. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +47 -0
  322. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +51 -0
  323. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +47 -0
  324. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +47 -0
  325. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +51 -0
  326. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +47 -0
  327. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +51 -0
  328. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +47 -0
  329. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +51 -0
  330. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +51 -0
  331. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +51 -0
  332. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +51 -0
  333. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +51 -0
  334. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +50 -0
  335. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  336. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +51 -0
  337. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +51 -0
  338. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +51 -0
  339. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +50 -0
  340. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +51 -0
  341. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +51 -0
  342. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +51 -0
  343. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +50 -0
  344. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +51 -0
  345. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +50 -0
  346. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +47 -0
  347. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +51 -0
  348. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +52 -0
  349. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +51 -0
  350. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +51 -0
  351. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +51 -0
  352. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +50 -0
  353. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +58 -0
  354. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +51 -0
  355. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +47 -0
  356. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +47 -0
  357. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +51 -0
  358. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +51 -0
  359. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +51 -0
  360. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +51 -0
  361. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +47 -0
  362. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +51 -0
  363. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +51 -0
  364. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +51 -0
  365. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +47 -0
  366. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +47 -0
  367. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +47 -0
  368. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +47 -0
  369. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +45 -0
  370. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +47 -0
  371. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +45 -0
  372. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +46 -0
  373. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
  374. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +47 -0
  375. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -0
  376. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +45 -0
  377. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +47 -0
  378. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +47 -0
  379. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +47 -0
  380. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +45 -0
  381. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +46 -0
  382. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +47 -0
  383. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +45 -0
  384. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +46 -0
  385. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +45 -0
  386. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +47 -0
  387. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +53 -0
  388. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +51 -0
  389. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +51 -0
  390. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +51 -0
  391. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +50 -0
  392. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +46 -0
  393. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +47 -0
  394. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +51 -0
  395. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +53 -0
  396. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +50 -0
  397. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +54 -0
  398. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +98 -0
  399. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +94 -0
  400. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  401. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  402. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  403. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +10 -0
  404. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +9 -0
  405. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +2 -0
  406. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2074 -0
  407. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +742 -0
  408. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  409. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
  410. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
  411. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +11 -0
  412. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +11 -0
  413. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +5 -0
  414. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +1185 -0
  415. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +145 -0
  416. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +147 -0
  417. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +133 -0
  418. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +36 -0
  419. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  420. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +4 -0
  421. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +11 -0
  422. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +11 -0
  423. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +11 -0
  424. package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +11 -0
  425. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +4 -0
  426. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +14 -0
  427. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +14 -0
  428. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +14 -0
  429. package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +14 -0
  430. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -0
  431. package/dist/node_modules/mime-match/.travis.yml +11 -0
  432. package/dist/node_modules/mime-match/example.js +17 -0
  433. package/dist/node_modules/mime-match/index.js +1 -0
  434. package/dist/node_modules/mime-match/package.json +1 -0
  435. package/dist/node_modules/mime-match/test.js +45 -0
  436. package/dist/node_modules/mkdirp/LICENSE +21 -0
  437. package/dist/node_modules/mkdirp/bin/cmd.js +33 -0
  438. package/dist/node_modules/mkdirp/bin/usage.txt +12 -0
  439. package/dist/node_modules/mkdirp/index.js +1 -0
  440. package/dist/node_modules/mkdirp/package.json +1 -0
  441. package/dist/node_modules/mkdirp/readme.markdown +100 -0
  442. package/dist/node_modules/multer-aliyun-oss/index.js +74 -0
  443. package/dist/node_modules/multer-aliyun-oss/package.json +1 -0
  444. package/dist/node_modules/multer-cos/LICENSE +24 -0
  445. package/dist/node_modules/multer-cos/demo/index.js +39 -0
  446. package/dist/node_modules/multer-cos/demo/myMulter.js +88 -0
  447. package/dist/node_modules/multer-cos/index.js +220 -0
  448. package/dist/node_modules/multer-cos/package.json +1 -0
  449. package/dist/node_modules/multer-s3/.gitattributes +1 -0
  450. package/dist/node_modules/multer-s3/.travis.yml +6 -0
  451. package/dist/node_modules/multer-s3/LICENSE +22 -0
  452. package/dist/node_modules/multer-s3/index.js +5 -0
  453. package/dist/node_modules/multer-s3/package.json +1 -0
  454. package/dist/node_modules/multer-s3/test/basic.js +293 -0
  455. package/dist/node_modules/multer-s3/test/files/a.txt +1 -0
  456. package/dist/node_modules/multer-s3/test/files/test.svg +3 -0
  457. package/dist/node_modules/multer-s3/test/files/test2.svg +9 -0
  458. package/dist/node_modules/multer-s3/test/util/mock-s3.js +17 -0
  459. package/dist/server/FileModel.d.ts +4 -0
  460. package/dist/server/FileModel.js +45 -0
  461. package/dist/server/actions/attachments.d.ts +3 -0
  462. package/dist/server/actions/attachments.js +183 -0
  463. package/dist/server/actions/index.d.ts +3 -0
  464. package/dist/server/actions/index.js +39 -0
  465. package/dist/server/collections/attachments.d.ts +2 -0
  466. package/dist/server/collections/attachments.js +87 -0
  467. package/dist/server/collections/storages.d.ts +2 -0
  468. package/dist/server/collections/storages.js +85 -0
  469. package/dist/server/constants.d.ts +7 -0
  470. package/dist/server/constants.js +45 -0
  471. package/dist/server/index.d.ts +2 -0
  472. package/dist/server/index.js +39 -0
  473. package/dist/server/migrations/20230831160742-fix-attachment-field.d.ts +5 -0
  474. package/dist/server/migrations/20230831160742-fix-attachment-field.js +62 -0
  475. package/dist/server/migrations/20231120142523-fix-storage.d.ts +5 -0
  476. package/dist/server/migrations/20231120142523-fix-storage.js +63 -0
  477. package/dist/server/migrations/20240306223006-update-target.d.ts +6 -0
  478. package/dist/server/migrations/20240306223006-update-target.js +45 -0
  479. package/dist/server/rules/index.d.ts +1 -0
  480. package/dist/server/rules/index.js +37 -0
  481. package/dist/server/rules/mimetype.d.ts +1 -0
  482. package/dist/server/rules/mimetype.js +36 -0
  483. package/dist/server/server.d.ts +11 -0
  484. package/dist/server/server.js +130 -0
  485. package/dist/server/storages/ali-oss.d.ts +18 -0
  486. package/dist/server/storages/ali-oss.js +55 -0
  487. package/dist/server/storages/index.d.ts +33 -0
  488. package/dist/server/storages/index.js +52 -0
  489. package/dist/server/storages/local.d.ts +16 -0
  490. package/dist/server/storages/local.js +87 -0
  491. package/dist/server/storages/s3.d.ts +19 -0
  492. package/dist/server/storages/s3.js +82 -0
  493. package/dist/server/storages/tx-cos.d.ts +19 -0
  494. package/dist/server/storages/tx-cos.js +61 -0
  495. package/dist/server/utils.d.ts +2 -0
  496. package/dist/server/utils.js +53 -0
  497. package/dist/swagger/index.json +81 -0
  498. package/package.json +46 -0
  499. package/server.d.ts +2 -0
  500. package/server.js +1 -0
@@ -0,0 +1,145 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { S3ClientConfig } from "./S3Client";
3
+ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
+ defaultUserAgentProvider: (
13
+ config?:
14
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
15
+ | undefined
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
18
+ maxAttempts: number | import("@smithy/types").Provider<number>;
19
+ md5: import("@smithy/types").HashConstructor;
20
+ region: string | import("@smithy/types").Provider<any>;
21
+ requestHandler:
22
+ | import("@smithy/protocol-http").HttpHandler<any>
23
+ | RequestHandler;
24
+ retryMode: string | import("@smithy/types").Provider<string>;
25
+ sha1: import("@smithy/types").HashConstructor;
26
+ sha256: import("@smithy/types").HashConstructor;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
+ streamHasher:
29
+ | import("@smithy/types").StreamHasher<import("stream").Readable>
30
+ | import("@smithy/types").StreamHasher<Blob>;
31
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
+ apiVersion: string;
34
+ cacheMiddleware?: boolean | undefined;
35
+ urlParser: import("@smithy/types").UrlParser;
36
+ base64Decoder: import("@smithy/types").Decoder;
37
+ base64Encoder: (_input: string | Uint8Array) => string;
38
+ utf8Decoder: import("@smithy/types").Decoder;
39
+ utf8Encoder: (input: string | Uint8Array) => string;
40
+ disableHostPrefix: boolean;
41
+ serviceId: string;
42
+ profile?: string | undefined;
43
+ getAwsChunkedEncodingStream:
44
+ | import("@smithy/types").GetAwsChunkedEncodingStream<any>
45
+ | import("@smithy/types").GetAwsChunkedEncodingStream<
46
+ import("stream").Readable
47
+ >;
48
+ logger: import("@smithy/types").Logger;
49
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
50
+ signingEscapePath: boolean;
51
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
52
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
53
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
54
+ userAgentAppId?:
55
+ | string
56
+ | import("@smithy/types").Provider<string | undefined>
57
+ | undefined;
58
+ requestChecksumCalculation?:
59
+ | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
60
+ | import("@smithy/types").Provider<
61
+ import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
62
+ >
63
+ | undefined;
64
+ responseChecksumValidation?:
65
+ | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
66
+ | import("@smithy/types").Provider<
67
+ import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
68
+ >
69
+ | undefined;
70
+ retryStrategy?:
71
+ | import("@smithy/types").RetryStrategy
72
+ | import("@smithy/types").RetryStrategyV2
73
+ | undefined;
74
+ endpoint?:
75
+ | ((
76
+ | string
77
+ | import("@smithy/types").Endpoint
78
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
79
+ | import("@smithy/types").EndpointV2
80
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
81
+ ) &
82
+ (
83
+ | string
84
+ | import("@smithy/types").Provider<string>
85
+ | import("@smithy/types").Endpoint
86
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
87
+ | import("@smithy/types").EndpointV2
88
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
89
+ ))
90
+ | undefined;
91
+ endpointProvider: (
92
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
93
+ context?: {
94
+ logger?: import("@smithy/types").Logger | undefined;
95
+ }
96
+ ) => import("@smithy/types").EndpointV2;
97
+ tls?: boolean | undefined;
98
+ serviceConfiguredEndpoint?: undefined;
99
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
100
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
101
+ credentials?:
102
+ | import("@smithy/types").AwsCredentialIdentity
103
+ | import("@smithy/types").AwsCredentialIdentityProvider
104
+ | undefined;
105
+ signer?:
106
+ | import("@smithy/types").RequestSigner
107
+ | ((
108
+ authScheme?: import("@smithy/types").AuthScheme | undefined
109
+ ) => Promise<import("@smithy/types").RequestSigner>)
110
+ | undefined;
111
+ systemClockOffset?: number | undefined;
112
+ signingRegion?: string | undefined;
113
+ signerConstructor:
114
+ | (new (
115
+ options: import("@smithy/signature-v4").SignatureV4Init &
116
+ import("@smithy/signature-v4").SignatureV4CryptoInit
117
+ ) => import("@smithy/types").RequestSigner)
118
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
119
+ sigv4aSigningRegionSet?:
120
+ | string[]
121
+ | import("@smithy/types").Provider<string[] | undefined>
122
+ | undefined;
123
+ forcePathStyle?:
124
+ | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
125
+ | undefined;
126
+ useAccelerateEndpoint?:
127
+ | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
128
+ | undefined;
129
+ disableMultiregionAccessPoints?:
130
+ | (boolean & (boolean | import("@smithy/types").Provider<boolean>))
131
+ | undefined;
132
+ followRegionRedirects?: boolean | undefined;
133
+ s3ExpressIdentityProvider?:
134
+ | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
135
+ | undefined;
136
+ bucketEndpoint?: boolean | undefined;
137
+ useGlobalEndpoint?:
138
+ | boolean
139
+ | import("@smithy/types").Provider<boolean>
140
+ | undefined;
141
+ disableS3ExpressSessionAuth?:
142
+ | boolean
143
+ | import("@smithy/types").Provider<boolean>
144
+ | undefined;
145
+ };
@@ -0,0 +1,147 @@
1
+ import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
2
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
3
+ import { S3ClientConfig } from "./S3Client";
4
+ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<
7
+ import("@smithy/smithy-client").ResolvedDefaultsMode
8
+ >;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (
11
+ init?:
12
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ | undefined
14
+ ) => import("@aws-sdk/types").MemoizedProvider<
15
+ import("@aws-sdk/types").AwsCredentialIdentity
16
+ >;
17
+ defaultUserAgentProvider: (
18
+ config?:
19
+ | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
20
+ | undefined
21
+ ) => Promise<import("@aws-sdk/types").UserAgent>;
22
+ disableS3ExpressSessionAuth:
23
+ | boolean
24
+ | import("@aws-sdk/types").Provider<boolean>;
25
+ eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
26
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
27
+ md5: __HashConstructor;
28
+ region: string | import("@aws-sdk/types").Provider<string>;
29
+ requestChecksumCalculation:
30
+ | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
31
+ | import("@aws-sdk/types").Provider<
32
+ import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
33
+ >;
34
+ requestHandler:
35
+ | RequestHandler
36
+ | import("@smithy/protocol-http").HttpHandler<any>;
37
+ responseChecksumValidation:
38
+ | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
39
+ | import("@aws-sdk/types").Provider<
40
+ import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
41
+ >;
42
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
43
+ sha1: __HashConstructor;
44
+ sha256: __HashConstructor;
45
+ sigv4aSigningRegionSet:
46
+ | string[]
47
+ | import("@aws-sdk/types").Provider<string[] | undefined>;
48
+ streamCollector: import("@aws-sdk/types").StreamCollector;
49
+ streamHasher:
50
+ | import("@aws-sdk/types").StreamHasher<import("stream").Readable>
51
+ | import("@aws-sdk/types").StreamHasher<Blob>;
52
+ useArnRegion: boolean | import("@aws-sdk/types").Provider<boolean>;
53
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
54
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
55
+ userAgentAppId:
56
+ | string
57
+ | import("@aws-sdk/types").Provider<string | undefined>;
58
+ apiVersion: string;
59
+ cacheMiddleware?: boolean | undefined;
60
+ urlParser: import("@aws-sdk/types").UrlParser;
61
+ base64Decoder: import("@aws-sdk/types").Decoder;
62
+ base64Encoder: (_input: string | Uint8Array) => string;
63
+ utf8Decoder: import("@aws-sdk/types").Decoder;
64
+ utf8Encoder: (input: string | Uint8Array) => string;
65
+ disableHostPrefix: boolean;
66
+ serviceId: string;
67
+ profile?: string | undefined;
68
+ getAwsChunkedEncodingStream:
69
+ | import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
70
+ | import("@aws-sdk/types").GetAwsChunkedEncodingStream<
71
+ import("stream").Readable
72
+ >;
73
+ logger: import("@aws-sdk/types").Logger;
74
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
75
+ signingEscapePath: boolean;
76
+ sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
77
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
78
+ retryStrategy?:
79
+ | import("@aws-sdk/types").RetryStrategy
80
+ | import("@aws-sdk/types").RetryStrategyV2
81
+ | undefined;
82
+ endpoint?:
83
+ | ((
84
+ | string
85
+ | import("@aws-sdk/types").Endpoint
86
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
87
+ | import("@aws-sdk/types").EndpointV2
88
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
89
+ ) &
90
+ (
91
+ | string
92
+ | import("@aws-sdk/types").Provider<string>
93
+ | import("@aws-sdk/types").Endpoint
94
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
95
+ | import("@aws-sdk/types").EndpointV2
96
+ | import("@aws-sdk/types").Provider<
97
+ import("@aws-sdk/types").EndpointV2
98
+ >
99
+ ))
100
+ | undefined;
101
+ endpointProvider: (
102
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
103
+ context?: {
104
+ logger?: import("@aws-sdk/types").Logger | undefined;
105
+ }
106
+ ) => import("@aws-sdk/types").EndpointV2;
107
+ tls?: boolean | undefined;
108
+ serviceConfiguredEndpoint?: undefined;
109
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
110
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
111
+ credentials?:
112
+ | import("@aws-sdk/types").AwsCredentialIdentity
113
+ | import("@aws-sdk/types").AwsCredentialIdentityProvider
114
+ | undefined;
115
+ signer?:
116
+ | import("@aws-sdk/types").RequestSigner
117
+ | ((
118
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
119
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
120
+ | undefined;
121
+ systemClockOffset?: number | undefined;
122
+ signingRegion?: string | undefined;
123
+ signerConstructor:
124
+ | (new (
125
+ options: import("@smithy/signature-v4").SignatureV4Init &
126
+ import("@smithy/signature-v4").SignatureV4CryptoInit
127
+ ) => import("@aws-sdk/types").RequestSigner)
128
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
129
+ forcePathStyle?:
130
+ | (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>))
131
+ | undefined;
132
+ useAccelerateEndpoint?:
133
+ | (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>))
134
+ | undefined;
135
+ disableMultiregionAccessPoints?:
136
+ | (boolean & (boolean | import("@aws-sdk/types").Provider<boolean>))
137
+ | undefined;
138
+ followRegionRedirects?: boolean | undefined;
139
+ s3ExpressIdentityProvider?:
140
+ | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
141
+ | undefined;
142
+ bucketEndpoint?: boolean | undefined;
143
+ useGlobalEndpoint?:
144
+ | boolean
145
+ | import("@aws-sdk/types").Provider<boolean>
146
+ | undefined;
147
+ };
@@ -0,0 +1,133 @@
1
+ import { S3ClientConfig } from "./S3Client";
2
+ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
10
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
+ apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: (_input: string | Uint8Array) => string;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: (input: string | Uint8Array) => string;
20
+ disableHostPrefix: boolean;
21
+ serviceId: string;
22
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
26
+ defaultUserAgentProvider: (
27
+ config?:
28
+ | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
+ | undefined
30
+ ) => Promise<import("@smithy/types").UserAgent>;
31
+ streamHasher:
32
+ | import("@smithy/types").StreamHasher<import("stream").Readable>
33
+ | import("@smithy/types").StreamHasher<Blob>;
34
+ md5: import("@smithy/types").HashConstructor;
35
+ sha1: import("@smithy/types").HashConstructor;
36
+ getAwsChunkedEncodingStream:
37
+ | import("@smithy/types").GetAwsChunkedEncodingStream<any>
38
+ | import("@smithy/types").GetAwsChunkedEncodingStream<
39
+ import("stream").Readable
40
+ >;
41
+ credentialDefaultProvider: (
42
+ input: any
43
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
44
+ maxAttempts: number | import("@smithy/types").Provider<number>;
45
+ retryMode: string | import("@smithy/types").Provider<string>;
46
+ logger: import("@smithy/types").Logger;
47
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
48
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
49
+ defaultsMode:
50
+ | import("@smithy/smithy-client").DefaultsMode
51
+ | import("@smithy/types").Provider<
52
+ import("@smithy/smithy-client").DefaultsMode
53
+ >;
54
+ signingEscapePath: boolean;
55
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
56
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
57
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
58
+ userAgentAppId?:
59
+ | string
60
+ | import("@smithy/types").Provider<string | undefined>
61
+ | undefined;
62
+ requestChecksumCalculation?:
63
+ | import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
64
+ | import("@smithy/types").Provider<
65
+ import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation
66
+ >
67
+ | undefined;
68
+ responseChecksumValidation?:
69
+ | import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
70
+ | import("@smithy/types").Provider<
71
+ import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation
72
+ >
73
+ | undefined;
74
+ retryStrategy?:
75
+ | import("@smithy/types").RetryStrategy
76
+ | import("@smithy/types").RetryStrategyV2
77
+ | undefined;
78
+ endpoint?:
79
+ | string
80
+ | import("@smithy/types").Endpoint
81
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
82
+ | import("@smithy/types").EndpointV2
83
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
84
+ | undefined;
85
+ endpointProvider: (
86
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
87
+ context?: {
88
+ logger?: import("@smithy/types").Logger | undefined;
89
+ }
90
+ ) => import("@smithy/types").EndpointV2;
91
+ tls?: boolean | undefined;
92
+ serviceConfiguredEndpoint?: undefined;
93
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
94
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
95
+ credentials?:
96
+ | import("@smithy/types").AwsCredentialIdentity
97
+ | import("@smithy/types").AwsCredentialIdentityProvider
98
+ | undefined;
99
+ signer?:
100
+ | import("@smithy/types").RequestSigner
101
+ | ((
102
+ authScheme?: import("@smithy/types").AuthScheme | undefined
103
+ ) => Promise<import("@smithy/types").RequestSigner>)
104
+ | undefined;
105
+ systemClockOffset?: number | undefined;
106
+ signingRegion?: string | undefined;
107
+ signerConstructor:
108
+ | (new (
109
+ options: import("@smithy/signature-v4").SignatureV4Init &
110
+ import("@smithy/signature-v4").SignatureV4CryptoInit
111
+ ) => import("@smithy/types").RequestSigner)
112
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
113
+ sigv4aSigningRegionSet?:
114
+ | string[]
115
+ | import("@smithy/types").Provider<string[] | undefined>
116
+ | undefined;
117
+ forcePathStyle?: boolean | undefined;
118
+ useAccelerateEndpoint?: boolean | undefined;
119
+ disableMultiregionAccessPoints?: boolean | undefined;
120
+ followRegionRedirects?: boolean | undefined;
121
+ s3ExpressIdentityProvider?:
122
+ | import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
123
+ | undefined;
124
+ bucketEndpoint?: boolean | undefined;
125
+ useGlobalEndpoint?:
126
+ | boolean
127
+ | import("@smithy/types").Provider<boolean>
128
+ | undefined;
129
+ disableS3ExpressSessionAuth?:
130
+ | boolean
131
+ | import("@smithy/types").Provider<boolean>
132
+ | undefined;
133
+ };
@@ -0,0 +1,36 @@
1
+ import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
2
+ import { S3ClientConfig } from "./S3Client";
3
+ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
4
+ apiVersion: string;
5
+ base64Decoder: import("@smithy/types").Decoder;
6
+ base64Encoder: (_input: string | Uint8Array) => string;
7
+ disableHostPrefix: boolean;
8
+ endpointProvider: (
9
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
+ context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }
13
+ ) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ getAwsChunkedEncodingStream:
16
+ | import("@smithy/types").GetAwsChunkedEncodingStream<any>
17
+ | import("@smithy/types").GetAwsChunkedEncodingStream<
18
+ import("stream").Readable
19
+ >;
20
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3HttpAuthSchemeProvider;
21
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
22
+ logger: import("@smithy/types").Logger;
23
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
24
+ serviceId: string;
25
+ signerConstructor:
26
+ | (new (
27
+ options: import("@smithy/signature-v4").SignatureV4Init &
28
+ import("@smithy/signature-v4").SignatureV4CryptoInit
29
+ ) => import("@smithy/types").RequestSigner)
30
+ | typeof SignatureV4MultiRegion;
31
+ signingEscapePath: boolean;
32
+ urlParser: import("@smithy/types").UrlParser;
33
+ useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
34
+ utf8Decoder: import("@smithy/types").Decoder;
35
+ utf8Encoder: (input: string | Uint8Array) => string;
36
+ };
@@ -0,0 +1,11 @@
1
+ import { S3ExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: S3ExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
@@ -0,0 +1,4 @@
1
+ export * from "./waitForBucketExists";
2
+ export * from "./waitForBucketNotExists";
3
+ export * from "./waitForObjectExists";
4
+ export * from "./waitForObjectNotExists";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import { S3Client } from "../S3Client";
4
+ export declare const waitForBucketExists: (
5
+ params: WaiterConfiguration<S3Client>,
6
+ input: HeadBucketCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilBucketExists: (
9
+ params: WaiterConfiguration<S3Client>,
10
+ input: HeadBucketCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import { S3Client } from "../S3Client";
4
+ export declare const waitForBucketNotExists: (
5
+ params: WaiterConfiguration<S3Client>,
6
+ input: HeadBucketCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilBucketNotExists: (
9
+ params: WaiterConfiguration<S3Client>,
10
+ input: HeadBucketCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import { S3Client } from "../S3Client";
4
+ export declare const waitForObjectExists: (
5
+ params: WaiterConfiguration<S3Client>,
6
+ input: HeadObjectCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilObjectExists: (
9
+ params: WaiterConfiguration<S3Client>,
10
+ input: HeadObjectCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import { S3Client } from "../S3Client";
4
+ export declare const waitForObjectNotExists: (
5
+ params: WaiterConfiguration<S3Client>,
6
+ input: HeadObjectCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilObjectNotExists: (
9
+ params: WaiterConfiguration<S3Client>,
10
+ input: HeadObjectCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,4 @@
1
+ export * from "./waitForBucketExists";
2
+ export * from "./waitForBucketNotExists";
3
+ export * from "./waitForObjectExists";
4
+ export * from "./waitForObjectNotExists";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import { S3Client } from "../S3Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilBucketExists instead. waitForBucketExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to HeadBucketCommand for polling.
13
+ */
14
+ export declare const waitUntilBucketExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadBucketCommandInput } from "../commands/HeadBucketCommand";
3
+ import { S3Client } from "../S3Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilBucketNotExists instead. waitForBucketNotExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to HeadBucketCommand for polling.
13
+ */
14
+ export declare const waitUntilBucketNotExists: (params: WaiterConfiguration<S3Client>, input: HeadBucketCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import { S3Client } from "../S3Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilObjectExists instead. waitForObjectExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to HeadObjectCommand for polling.
13
+ */
14
+ export declare const waitUntilObjectExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { HeadObjectCommandInput } from "../commands/HeadObjectCommand";
3
+ import { S3Client } from "../S3Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilObjectNotExists instead. waitForObjectNotExists does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to HeadObjectCommand for polling.
13
+ */
14
+ export declare const waitUntilObjectNotExists: (params: WaiterConfiguration<S3Client>, input: HeadObjectCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1 @@
1
+ {"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.717.0","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && vitest run -c vitest.config.browser.ts --mode development","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.716.0","@aws-sdk/client-sts":"3.716.0","@aws-sdk/core":"3.716.0","@aws-sdk/credential-provider-node":"3.716.0","@aws-sdk/middleware-bucket-endpoint":"3.714.0","@aws-sdk/middleware-expect-continue":"3.714.0","@aws-sdk/middleware-flexible-checksums":"3.717.0","@aws-sdk/middleware-host-header":"3.714.0","@aws-sdk/middleware-location-constraint":"3.714.0","@aws-sdk/middleware-logger":"3.714.0","@aws-sdk/middleware-recursion-detection":"3.714.0","@aws-sdk/middleware-sdk-s3":"3.716.0","@aws-sdk/middleware-ssec":"3.714.0","@aws-sdk/middleware-user-agent":"3.716.0","@aws-sdk/region-config-resolver":"3.714.0","@aws-sdk/signature-v4-multi-region":"3.716.0","@aws-sdk/types":"3.714.0","@aws-sdk/util-endpoints":"3.714.0","@aws-sdk/util-user-agent-browser":"3.714.0","@aws-sdk/util-user-agent-node":"3.716.0","@aws-sdk/xml-builder":"3.709.0","@smithy/config-resolver":"^3.0.13","@smithy/core":"^2.5.5","@smithy/eventstream-serde-browser":"^3.0.14","@smithy/eventstream-serde-config-resolver":"^3.0.11","@smithy/eventstream-serde-node":"^3.0.13","@smithy/fetch-http-handler":"^4.1.2","@smithy/hash-blob-browser":"^3.1.10","@smithy/hash-node":"^3.0.11","@smithy/hash-stream-node":"^3.1.10","@smithy/invalid-dependency":"^3.0.11","@smithy/md5-js":"^3.0.11","@smithy/middleware-content-length":"^3.0.13","@smithy/middleware-endpoint":"^3.2.6","@smithy/middleware-retry":"^3.0.31","@smithy/middleware-serde":"^3.0.11","@smithy/middleware-stack":"^3.0.11","@smithy/node-config-provider":"^3.1.12","@smithy/node-http-handler":"^3.3.2","@smithy/protocol-http":"^4.1.8","@smithy/smithy-client":"^3.5.1","@smithy/types":"^3.7.2","@smithy/url-parser":"^3.0.11","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.31","@smithy/util-defaults-mode-node":"^3.0.31","@smithy/util-endpoints":"^2.1.7","@smithy/util-middleware":"^3.0.11","@smithy/util-retry":"^3.0.11","@smithy/util-stream":"^3.3.2","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.2.0","tslib":"^2.6.2"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.716.0","@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"},"_lastModified":"2024-12-22T16:00:48.140Z"}
@@ -0,0 +1,11 @@
1
+ language: node_js
2
+ node_js:
3
+ - "4"
4
+ - "5"
5
+ - "6"
6
+
7
+ notifications:
8
+ email:
9
+ - damon.oehlman@gmail.com
10
+
11
+ sudo: false
@@ -0,0 +1,17 @@
1
+ var match = require('./');
2
+
3
+ // exact match
4
+ console.log(match('image/jpeg', 'image/jpeg'));
5
+ // --> true
6
+
7
+ // wildcard match
8
+ console.log(match('image/jpeg', 'image/*'));
9
+ // --> true
10
+
11
+ // find which of our wildcard patterns matches a specific mimetype
12
+ console.log(['application/*', 'image/*'].filter(match('image/jpeg')));
13
+ // --> ['image/*']
14
+
15
+ // charset suffix is ignored
16
+ console.log(match('application/json', 'application/json; charset=utf-8'));
17
+ // --> true
@@ -0,0 +1 @@
1
+ (function(){var e={935:function(e,t,r){var i=r(644);var n=/[\/\+\.]/;e.exports=function(e,t){function test(t){var r=i(t,e,n);return r&&r.length>=2}return t?test(t.split(";")[0]):test}},644:function(e){"use strict";function WildcardMatcher(e,t){this.text=e=e||"";this.hasWild=~e.indexOf("*");this.separator=t;this.parts=e.split(t)}WildcardMatcher.prototype.match=function(e){var t=true;var r=this.parts;var i;var n=r.length;var a;if(typeof e=="string"||e instanceof String){if(!this.hasWild&&this.text!=e){t=false}else{a=(e||"").split(this.separator);for(i=0;t&&i<n;i++){if(r[i]==="*"){continue}else if(i<a.length){t=r[i]===a[i]}else{t=false}}t=t&&a}}else if(typeof e.splice=="function"){t=[];for(i=e.length;i--;){if(this.match(e[i])){t[t.length]=e[i]}}}else if(typeof e=="object"){t={};for(var s in e){if(this.match(s)){t[s]=e[s]}}}return t};e.exports=function(e,t,r){var i=new WildcardMatcher(e,r||/[\/\.]/);if(typeof t!="undefined"){return i.match(t)}return i}}};var t={};function __nccwpck_require__(r){var i=t[r];if(i!==undefined){return i.exports}var n=t[r]={exports:{}};var a=true;try{e[r](n,n.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(935);module.exports=r})();