@@ -66,20 +66,32 @@ declare global {
6666 // Needed in the cache adapter
6767 /**
6868 * The cache adapter for incremental static regeneration.
69+ * Only available in main functions and in the external middleware when `enableCacheInterception` is `true`.
6970 * Defined in `createMainHandler` and in `adapters/middleware.ts`.
7071 */
7172 var incrementalCache : IncrementalCache ;
73+
7274 /**
7375 * The cache adapter for the tag cache.
76+ * Only available in main functions and in the external middleware when `enableCacheInterception` is `true`.
7477 * Defined in `createMainHandler` and in `adapters/middleware.ts`.
7578 */
7679 var tagCache : TagCache ;
80+
81+ /**
82+ * The queue that is used to handle ISR revalidation requests.
83+ * Only available in main functions and in the external middleware when `enableCacheInterception` is `true`.
84+ * Defined in `createMainHandler` and in `adapters/middleware.ts`.
85+ */
86+ var queue : Queue ;
87+
7788 /**
7889 * A boolean that indicates if the DynamoDB cache is disabled.
7990 * @deprecated This will be removed, use `globalThis.openNextConfig.dangerous?.disableTagCache` instead.
8091 * Defined in esbuild banner for the cache adapter.
8192 */
8293 var disableDynamoDBCache : boolean ;
94+
8395 /**
8496 * A boolean that indicates if the incremental cache is disabled.
8597 * @deprecated This will be removed, use `globalThis.openNextConfig.dangerous?.disableIncrementalCache` instead.
@@ -191,12 +203,6 @@ declare global {
191203 */
192204 var openNextVersion : string ;
193205
194- /**
195- * The queue that is used to handle ISR revalidation requests.
196- * Defined in `createMainHandler` and in `adapters/middleware.ts`.
197- */
198- var queue : Queue ;
199-
200206 /**
201207 * The function that is used when resolving external rewrite requests.
202208 * Only available in main functions
0 commit comments