فهرست منبع

Export AwsS3UploadParameters & AwsS3Options interfaces (#3956)

Antonina Vertsinskaya 2 سال پیش
والد
کامیت
a5c73c3210
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/@uppy/aws-s3/types/index.d.ts

+ 2 - 2
packages/@uppy/aws-s3/types/index.d.ts

@@ -2,14 +2,14 @@ import type { PluginOptions, BasePlugin, UppyFile } from '@uppy/core'
 
 
 type MaybePromise<T> = T | Promise<T>
 type MaybePromise<T> = T | Promise<T>
 
 
-interface AwsS3UploadParameters {
+export interface AwsS3UploadParameters {
     method?: string
     method?: string
     url: string
     url: string
     fields?: { [type: string]: string }
     fields?: { [type: string]: string }
     headers?: { [type: string]: string }
     headers?: { [type: string]: string }
 }
 }
 
 
-interface AwsS3Options extends PluginOptions {
+export interface AwsS3Options extends PluginOptions {
     companionUrl?: string
     companionUrl?: string
     getUploadParameters?: (file: UppyFile) => MaybePromise<AwsS3UploadParameters>
     getUploadParameters?: (file: UppyFile) => MaybePromise<AwsS3UploadParameters>
     metaFields?: string[]
     metaFields?: string[]