diff --git a/packages/@uppy/core/src/index.ts b/packages/@uppy/core/src/index.ts index 6f906b21dd..236c57a17a 100644 --- a/packages/@uppy/core/src/index.ts +++ b/packages/@uppy/core/src/index.ts @@ -9,12 +9,15 @@ export { type UppyEventMap, type UppyOptions, } from './Uppy.js' + export { default as UIPlugin } from './UIPlugin.js' +export type { UIPluginOptions } from './UIPlugin.js' + export { default as BasePlugin } from './BasePlugin.js' +export type { DefinePluginOpts, PluginOpts } from './BasePlugin.js' + export { debugLogger } from './loggers.js' export type { Store } from '@uppy/store-default' -export type { UIPluginOptions } from './UIPlugin.js' - export type { UppyFile, Meta, Body } from '@uppy/utils/lib/UppyFile' diff --git a/packages/@uppy/provider-views/src/SearchProviderView/SearchProviderView.tsx b/packages/@uppy/provider-views/src/SearchProviderView/SearchProviderView.tsx index 2dcc8d4fda..5b8069cb94 100644 --- a/packages/@uppy/provider-views/src/SearchProviderView/SearchProviderView.tsx +++ b/packages/@uppy/provider-views/src/SearchProviderView/SearchProviderView.tsx @@ -13,7 +13,7 @@ import type { CompanionFile } from '@uppy/utils/lib/CompanionFile' import classNames from 'classnames' import type { ValidateableFile } from '@uppy/core/lib/Restricter.js' import remoteFileObjToLocal from '@uppy/utils/lib/remoteFileObjToLocal' -import type { DefinePluginOpts } from '@uppy/core/src/BasePlugin.js' +import type { DefinePluginOpts } from '@uppy/core' import SearchInput from '../SearchInput.jsx' import Browser from '../Browser.jsx'