From 888f941ae16c850c0f1a844ec9436058840920bd Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 24 四月 2026 09:19:02 +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