chore: run lint and prettier on entire codebase
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user