|
@@ -1,4 +1,4 @@
|
|
|
-import type { PluginOptions, UIPlugin, PluginTarget } from '@uppy/core'
|
|
|
+import type { PluginOptions, UIPlugin, PluginTarget, IndexedObject } from '@uppy/core'
|
|
|
import type { RequestClientOptions } from '@uppy/companion-client'
|
|
|
import UrlLocale from './generatedLocale'
|
|
|
|
|
@@ -9,7 +9,7 @@ export interface UrlOptions extends PluginOptions, RequestClientOptions {
|
|
|
}
|
|
|
|
|
|
declare class Url extends UIPlugin<UrlOptions> {
|
|
|
- public addFile(url: string): undefined | string | never
|
|
|
+ public addFile(url: string, meta?: IndexedObject<any>): undefined | string | never
|
|
|
}
|
|
|
|
|
|
export default Url
|