-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy path_drivers.ts
More file actions
145 lines (141 loc) 路 8.44 KB
/
Copy path_drivers.ts
File metadata and controls
145 lines (141 loc) 路 8.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
// Auto-generated using scripts/gen-drivers.
// Do not manually edit!
import type { AzureAppConfigurationOptions } from "unstorage/drivers/azure-app-configuration";
import type { AzureCosmosOptions } from "unstorage/drivers/azure-cosmos";
import type { AzureKeyVaultOptions } from "unstorage/drivers/azure-key-vault";
import type { AzureStorageBlobOptions } from "unstorage/drivers/azure-storage-blob";
import type { AzureStorageTableOptions } from "unstorage/drivers/azure-storage-table";
import type { CapacitorPreferencesOptions } from "unstorage/drivers/capacitor-preferences";
import type { CacheOptions as CloudflareCacheBindingOptions } from "unstorage/drivers/cloudflare-cache-binding";
import type { KVOptions as CloudflareKVBindingOptions } from "unstorage/drivers/cloudflare-kv-binding";
import type { KVHTTPOptions as CloudflareKVHttpOptions } from "unstorage/drivers/cloudflare-kv-http";
import type { CloudflareR2Options as CloudflareR2BindingOptions } from "unstorage/drivers/cloudflare-r2-binding";
import type { DB0DriverOptions as Db0Options } from "unstorage/drivers/db0";
import type { DenoKvNodeOptions as DenoKVNodeOptions } from "unstorage/drivers/deno-kv-node";
import type { DenoKvOptions as DenoKVOptions } from "unstorage/drivers/deno-kv";
import type { FSStorageOptions as FsLiteOptions } from "unstorage/drivers/fs-lite";
import type { FSStorageOptions as FsOptions } from "unstorage/drivers/fs";
import type { GithubOptions } from "unstorage/drivers/github";
import type { HTTPOptions as HttpOptions } from "unstorage/drivers/http";
import type { IDBKeyvalOptions as IndexedbOptions } from "unstorage/drivers/indexedb";
import type { LocalStorageOptions as LocalstorageOptions } from "unstorage/drivers/localstorage";
import type { LRUDriverOptions as LruCacheOptions } from "unstorage/drivers/lru-cache";
import type { MongoDbOptions as MongodbOptions } from "unstorage/drivers/mongodb";
import type { NetlifyStoreOptions as NetlifyBlobsOptions } from "unstorage/drivers/netlify-blobs";
import type { OverlayStorageOptions as OverlayOptions } from "unstorage/drivers/overlay";
import type { PlanetscaleDriverOptions as PlanetscaleOptions } from "unstorage/drivers/planetscale";
import type { RedisOptions } from "unstorage/drivers/redis";
import type { S3DriverOptions as S3Options } from "unstorage/drivers/s3";
import type { SessionStorageOptions } from "unstorage/drivers/session-storage";
import type { TauriStorageDriverOptions as TauriOptions } from "unstorage/drivers/tauri";
import type { UploadThingOptions as UploadthingOptions } from "unstorage/drivers/uploadthing";
import type { UpstashOptions } from "unstorage/drivers/upstash";
import type { VercelBlobOptions } from "unstorage/drivers/vercel-blob";
import type { VercelCacheOptions as VercelRuntimeCacheOptions } from "unstorage/drivers/vercel-runtime-cache";
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-cache-binding" | "cloudflareCacheBinding" | "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" | "tauri" | "uploadthing" | "upstash" | "vercel-blob" | "vercelBlob" | "vercel-runtime-cache" | "vercelRuntimeCache";
export type BuiltinDriverOptions = {
"azure-app-configuration": AzureAppConfigurationOptions;
"azureAppConfiguration": AzureAppConfigurationOptions;
"azure-cosmos": AzureCosmosOptions;
"azureCosmos": AzureCosmosOptions;
"azure-key-vault": AzureKeyVaultOptions;
"azureKeyVault": AzureKeyVaultOptions;
"azure-storage-blob": AzureStorageBlobOptions;
"azureStorageBlob": AzureStorageBlobOptions;
"azure-storage-table": AzureStorageTableOptions;
"azureStorageTable": AzureStorageTableOptions;
"capacitor-preferences": CapacitorPreferencesOptions;
"capacitorPreferences": CapacitorPreferencesOptions;
"cloudflare-cache-binding": CloudflareCacheBindingOptions;
"cloudflareCacheBinding": CloudflareCacheBindingOptions;
"cloudflare-kv-binding": CloudflareKVBindingOptions;
"cloudflareKVBinding": CloudflareKVBindingOptions;
"cloudflare-kv-http": CloudflareKVHttpOptions;
"cloudflareKVHttp": CloudflareKVHttpOptions;
"cloudflare-r2-binding": CloudflareR2BindingOptions;
"cloudflareR2Binding": CloudflareR2BindingOptions;
"db0": Db0Options;
"deno-kv-node": DenoKVNodeOptions;
"denoKVNode": DenoKVNodeOptions;
"deno-kv": DenoKVOptions;
"denoKV": DenoKVOptions;
"fs-lite": FsLiteOptions;
"fsLite": FsLiteOptions;
"fs": FsOptions;
"github": GithubOptions;
"http": HttpOptions;
"indexedb": IndexedbOptions;
"localstorage": LocalstorageOptions;
"lru-cache": LruCacheOptions;
"lruCache": LruCacheOptions;
"mongodb": MongodbOptions;
"netlify-blobs": NetlifyBlobsOptions;
"netlifyBlobs": NetlifyBlobsOptions;
"overlay": OverlayOptions;
"planetscale": PlanetscaleOptions;
"redis": RedisOptions;
"s3": S3Options;
"session-storage": SessionStorageOptions;
"sessionStorage": SessionStorageOptions;
"tauri": TauriOptions;
"uploadthing": UploadthingOptions;
"upstash": UpstashOptions;
"vercel-blob": VercelBlobOptions;
"vercelBlob": VercelBlobOptions;
"vercel-runtime-cache": VercelRuntimeCacheOptions;
"vercelRuntimeCache": VercelRuntimeCacheOptions;
};
export const builtinDrivers = {
"azure-app-configuration": "unstorage/drivers/azure-app-configuration",
"azureAppConfiguration": "unstorage/drivers/azure-app-configuration",
"azure-cosmos": "unstorage/drivers/azure-cosmos",
"azureCosmos": "unstorage/drivers/azure-cosmos",
"azure-key-vault": "unstorage/drivers/azure-key-vault",
"azureKeyVault": "unstorage/drivers/azure-key-vault",
"azure-storage-blob": "unstorage/drivers/azure-storage-blob",
"azureStorageBlob": "unstorage/drivers/azure-storage-blob",
"azure-storage-table": "unstorage/drivers/azure-storage-table",
"azureStorageTable": "unstorage/drivers/azure-storage-table",
"capacitor-preferences": "unstorage/drivers/capacitor-preferences",
"capacitorPreferences": "unstorage/drivers/capacitor-preferences",
"cloudflare-cache-binding": "unstorage/drivers/cloudflare-cache-binding",
"cloudflareCacheBinding": "unstorage/drivers/cloudflare-cache-binding",
"cloudflare-kv-binding": "unstorage/drivers/cloudflare-kv-binding",
"cloudflareKVBinding": "unstorage/drivers/cloudflare-kv-binding",
"cloudflare-kv-http": "unstorage/drivers/cloudflare-kv-http",
"cloudflareKVHttp": "unstorage/drivers/cloudflare-kv-http",
"cloudflare-r2-binding": "unstorage/drivers/cloudflare-r2-binding",
"cloudflareR2Binding": "unstorage/drivers/cloudflare-r2-binding",
"db0": "unstorage/drivers/db0",
"deno-kv-node": "unstorage/drivers/deno-kv-node",
"denoKVNode": "unstorage/drivers/deno-kv-node",
"deno-kv": "unstorage/drivers/deno-kv",
"denoKV": "unstorage/drivers/deno-kv",
"fs-lite": "unstorage/drivers/fs-lite",
"fsLite": "unstorage/drivers/fs-lite",
"fs": "unstorage/drivers/fs",
"github": "unstorage/drivers/github",
"http": "unstorage/drivers/http",
"indexedb": "unstorage/drivers/indexedb",
"localstorage": "unstorage/drivers/localstorage",
"lru-cache": "unstorage/drivers/lru-cache",
"lruCache": "unstorage/drivers/lru-cache",
"memory": "unstorage/drivers/memory",
"mongodb": "unstorage/drivers/mongodb",
"netlify-blobs": "unstorage/drivers/netlify-blobs",
"netlifyBlobs": "unstorage/drivers/netlify-blobs",
"null": "unstorage/drivers/null",
"overlay": "unstorage/drivers/overlay",
"planetscale": "unstorage/drivers/planetscale",
"redis": "unstorage/drivers/redis",
"s3": "unstorage/drivers/s3",
"session-storage": "unstorage/drivers/session-storage",
"sessionStorage": "unstorage/drivers/session-storage",
"tauri": "unstorage/drivers/tauri",
"uploadthing": "unstorage/drivers/uploadthing",
"upstash": "unstorage/drivers/upstash",
"vercel-blob": "unstorage/drivers/vercel-blob",
"vercelBlob": "unstorage/drivers/vercel-blob",
"vercel-runtime-cache": "unstorage/drivers/vercel-runtime-cache",
"vercelRuntimeCache": "unstorage/drivers/vercel-runtime-cache",
} as const;