File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
packages/cloudflare/src/api Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,19 @@ import type { DurableObjectQueueHandler } from "./durable-objects/queue";
44
55declare global {
66 interface CloudflareEnv {
7+ // KV used for the incremental cache
78 NEXT_CACHE_WORKERS_KV ?: KVNamespace ;
9+ // D1 db used for the tag cache
810 NEXT_CACHE_D1 ?: D1Database ;
11+ // D1 table to use for the tag cache for the tag/path mapping
912 NEXT_CACHE_D1_TAGS_TABLE ?: string ;
13+ // D1 table to use for the tag cache for storing the tag and their associated revalidation times
1014 NEXT_CACHE_D1_REVALIDATIONS_TABLE ?: string ;
15+ // Service binding for the worker itself to be able to call itself from within the worker
1116 NEXT_CACHE_REVALIDATION_WORKER ?: Service ;
17+ // Durable Object namespace to use for the durable object queue handler
1218 NEXT_CACHE_REVALIDATION_DURABLE_OBJECT ?: DurableObjectNamespace < DurableObjectQueueHandler > ;
19+ // Asset binding
1320 ASSETS ?: Fetcher ;
1421 }
1522}
You can’t perform that action at this time.
0 commit comments