chore: run lint and prettier on entire codebase

This commit is contained in:
Alessio Gravili
2024-07-11 15:27:01 -04:00
parent f8ab5a9f1e
commit 83fd4c6622
364 changed files with 2578 additions and 2658 deletions

View File

@@ -5,10 +5,10 @@ import path from 'path'
import type { VercelBlobStorageOptions } from './index.js'
type HandleUploadArgs = Omit<VercelBlobStorageOptions, 'collections'> & {
type HandleUploadArgs = {
baseUrl: string
prefix?: string
}
} & Omit<VercelBlobStorageOptions, 'collections'>
export const getHandleUpload = ({
access = 'public',

View File

@@ -132,7 +132,7 @@ export const vercelBlobStorage: VercelBlobStoragePlugin =
}
function vercelBlobStorageInternal(
options: VercelBlobStorageOptions & { baseUrl: string },
options: { baseUrl: string } & VercelBlobStorageOptions,
): Adapter {
return ({ collection, prefix }): GeneratedAdapter => {
const { access, addRandomSuffix, baseUrl, cacheControlMaxAge, token } = options