diff --git a/src/_drivers.ts b/src/_drivers.ts index ada0fbb0..7780ba69 100644 --- a/src/_drivers.ts +++ b/src/_drivers.ts @@ -27,11 +27,12 @@ import type { PlanetscaleDriverOptions as PlanetscaleOptions } from "unstorage/d import type { RedisOptions as RedisOptions } from "unstorage/drivers/redis"; import type { S3DriverOptions as S3Options } from "unstorage/drivers/s3"; import type { SessionStorageOptions as SessionStorageOptions } from "unstorage/drivers/session-storage"; +import type { UploadThingOptions as UploadthingOptions } from "unstorage/drivers/uploadthing"; import type { UpstashOptions as UpstashOptions } from "unstorage/drivers/upstash"; import type { VercelBlobOptions as VercelBlobOptions } from "unstorage/drivers/vercel-blob"; import type { VercelKVOptions as VercelKVOptions } from "unstorage/drivers/vercel-kv"; -export type BuiltinDriverName = "azure-app-configuration" | "azureAppConfiguration" | "azure-cosmos" | "azureCosmos" | "azure-key-vault" | "azureKeyVault" | "azure-storage-blob" | "azureStorageBlob" | "azure-storage-table" | "azureStorageTable" | "capacitor-preferences" | "capacitorPreferences" | "cloudflare-kv-binding" | "cloudflareKVBinding" | "cloudflare-kv-http" | "cloudflareKVHttp" | "cloudflare-r2-binding" | "cloudflareR2Binding" | "db0" | "deno-kv-node" | "denoKVNode" | "deno-kv" | "denoKV" | "fs-lite" | "fsLite" | "fs" | "github" | "http" | "indexedb" | "localstorage" | "lru-cache" | "lruCache" | "memory" | "mongodb" | "netlify-blobs" | "netlifyBlobs" | "null" | "overlay" | "planetscale" | "redis" | "s3" | "session-storage" | "sessionStorage" | "upstash" | "vercel-blob" | "vercelBlob" | "vercel-kv" | "vercelKV"; +export type BuiltinDriverName = "azure-app-configuration" | "azureAppConfiguration" | "azure-cosmos" | "azureCosmos" | "azure-key-vault" | "azureKeyVault" | "azure-storage-blob" | "azureStorageBlob" | "azure-storage-table" | "azureStorageTable" | "capacitor-preferences" | "capacitorPreferences" | "cloudflare-kv-binding" | "cloudflareKVBinding" | "cloudflare-kv-http" | "cloudflareKVHttp" | "cloudflare-r2-binding" | "cloudflareR2Binding" | "db0" | "deno-kv-node" | "denoKVNode" | "deno-kv" | "denoKV" | "fs-lite" | "fsLite" | "fs" | "github" | "http" | "indexedb" | "localstorage" | "lru-cache" | "lruCache" | "memory" | "mongodb" | "netlify-blobs" | "netlifyBlobs" | "null" | "overlay" | "planetscale" | "redis" | "s3" | "session-storage" | "sessionStorage" | "uploadthing" | "upstash" | "vercel-blob" | "vercelBlob" | "vercel-kv" | "vercelKV"; export type BuiltinDriverOptions = { "azure-app-configuration": AzureAppConfigurationOptions; @@ -75,6 +76,7 @@ export type BuiltinDriverOptions = { "s3": S3Options; "session-storage": SessionStorageOptions; "sessionStorage": SessionStorageOptions; + "uploadthing": UploadthingOptions; "upstash": UpstashOptions; "vercel-blob": VercelBlobOptions; "vercelBlob": VercelBlobOptions; @@ -126,6 +128,7 @@ export const builtinDrivers = { "s3": "unstorage/drivers/s3", "session-storage": "unstorage/drivers/session-storage", "sessionStorage": "unstorage/drivers/session-storage", + "uploadthing": "unstorage/drivers/uploadthing", "upstash": "unstorage/drivers/upstash", "vercel-blob": "unstorage/drivers/vercel-blob", "vercelBlob": "unstorage/drivers/vercel-blob",