From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/undici-types/cache-interceptor.d.ts | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/node_modules/undici-types/cache-interceptor.d.ts b/node_modules/undici-types/cache-interceptor.d.ts
index e53be60..8588ccd 100644
--- a/node_modules/undici-types/cache-interceptor.d.ts
+++ b/node_modules/undici-types/cache-interceptor.d.ts
@@ -38,6 +38,13 @@
* @default 'shared'
*/
type?: 'shared' | 'private'
+
+ /**
+ * Array of origins to cache. Only requests to these origins will be cached.
+ * Supports strings (case insensitive) and RegExp patterns.
+ * @default undefined (cache all origins)
+ */
+ origins?: (string | RegExp)[]
}
export interface CacheControlDirectives {
--
Gitblit v1.9.3