diff --git a/types/defines/cf.d.ts b/types/defines/cf.d.ts index b245af18ca8..500d3227761 100644 --- a/types/defines/cf.d.ts +++ b/types/defines/cf.d.ts @@ -114,6 +114,7 @@ interface RequestInitCfProperties extends Record { minify?: RequestInitCfPropertiesImageMinify; mirage?: boolean; polish?: "lossy" | "lossless" | "off"; + r2?: RequestInitCfPropertiesR2; /** * Redirects the request to an alternate origin server. You can use this, * for example, to implement load balancing across several origins. @@ -300,6 +301,13 @@ interface RequestInitCfPropertiesImageMinify { html?: boolean; } +interface RequestInitCfPropertiesR2 { + /** + * Colo id of bucket that an object is stored in + */ + bucketColoId?: number; +} + /** * Request metadata provided by Cloudflare's edge. */