chore: remove all unused imports (#7999)
Removes all unused imports. Temporarily swapped in https://github.com/sweepline/eslint-plugin-unused-imports to differentiate between unused imports and unused vars. The default rule does not differentiate.
This commit is contained in:
@@ -56,7 +56,7 @@ export const uploadthingStorage: UploadthingPlugin =
|
||||
uploadthingStorageOptions.options.acl = 'public-read'
|
||||
}
|
||||
|
||||
const adapter = uploadthingInternal(uploadthingStorageOptions, incomingConfig)
|
||||
const adapter = uploadthingInternal(uploadthingStorageOptions)
|
||||
|
||||
// Add adapter to each collection option object
|
||||
const collectionsWithAdapter: CloudStoragePluginOptions['collections'] = Object.entries(
|
||||
@@ -101,7 +101,7 @@ export const uploadthingStorage: UploadthingPlugin =
|
||||
})(config)
|
||||
}
|
||||
|
||||
function uploadthingInternal(options: UploadthingStorageOptions, incomingConfig: Config): Adapter {
|
||||
function uploadthingInternal(options: UploadthingStorageOptions): Adapter {
|
||||
const fields: Field[] = [
|
||||
{
|
||||
name: '_key',
|
||||
|
||||
Reference in New Issue
Block a user