@cloudflare/workers-types 4.20240529.0 → 4.20240603.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2021-11-03/index.d.ts +12 -5
- package/2021-11-03/index.ts +12 -5
- package/2022-01-31/index.d.ts +12 -5
- package/2022-01-31/index.ts +12 -5
- package/2022-03-21/index.d.ts +12 -5
- package/2022-03-21/index.ts +12 -5
- package/2022-08-04/index.d.ts +12 -5
- package/2022-08-04/index.ts +12 -5
- package/2022-10-31/index.d.ts +12 -5
- package/2022-10-31/index.ts +12 -5
- package/2022-11-30/index.d.ts +12 -5
- package/2022-11-30/index.ts +12 -5
- package/2023-03-01/index.d.ts +12 -5
- package/2023-03-01/index.ts +12 -5
- package/2023-07-01/index.d.ts +12 -5
- package/2023-07-01/index.ts +12 -5
- package/experimental/index.d.ts +12 -5
- package/experimental/index.ts +12 -5
- package/index.d.ts +12 -5
- package/index.ts +12 -5
- package/oldest/index.d.ts +12 -5
- package/oldest/index.ts +12 -5
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -1750,11 +1750,11 @@ declare interface R2MultipartOptions {
|
|
|
1750
1750
|
storageClass?: string;
|
|
1751
1751
|
}
|
|
1752
1752
|
declare interface R2Checksums {
|
|
1753
|
-
readonly md5?:
|
|
1754
|
-
readonly sha1?:
|
|
1755
|
-
readonly sha256?:
|
|
1756
|
-
readonly sha384?:
|
|
1757
|
-
readonly sha512?:
|
|
1753
|
+
readonly md5?: ArrayBufferView;
|
|
1754
|
+
readonly sha1?: ArrayBufferView;
|
|
1755
|
+
readonly sha256?: ArrayBufferView;
|
|
1756
|
+
readonly sha384?: ArrayBufferView;
|
|
1757
|
+
readonly sha512?: ArrayBufferView;
|
|
1758
1758
|
toJSON(): R2StringChecksums;
|
|
1759
1759
|
}
|
|
1760
1760
|
declare interface R2StringChecksums {
|
|
@@ -3349,6 +3349,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3349
3349
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3350
3350
|
mirage?: boolean;
|
|
3351
3351
|
polish?: "lossy" | "lossless" | "off";
|
|
3352
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3352
3353
|
/**
|
|
3353
3354
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3354
3355
|
* for example, to implement load balancing across several origins.
|
|
@@ -3533,6 +3534,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3533
3534
|
css?: boolean;
|
|
3534
3535
|
html?: boolean;
|
|
3535
3536
|
}
|
|
3537
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3538
|
+
/**
|
|
3539
|
+
* Colo id of bucket that an object is stored in
|
|
3540
|
+
*/
|
|
3541
|
+
bucketColoId?: number;
|
|
3542
|
+
}
|
|
3536
3543
|
/**
|
|
3537
3544
|
* Request metadata provided by Cloudflare's edge.
|
|
3538
3545
|
*/
|
package/2021-11-03/index.ts
CHANGED
|
@@ -1752,11 +1752,11 @@ export interface R2MultipartOptions {
|
|
|
1752
1752
|
storageClass?: string;
|
|
1753
1753
|
}
|
|
1754
1754
|
export interface R2Checksums {
|
|
1755
|
-
readonly md5?:
|
|
1756
|
-
readonly sha1?:
|
|
1757
|
-
readonly sha256?:
|
|
1758
|
-
readonly sha384?:
|
|
1759
|
-
readonly sha512?:
|
|
1755
|
+
readonly md5?: ArrayBufferView;
|
|
1756
|
+
readonly sha1?: ArrayBufferView;
|
|
1757
|
+
readonly sha256?: ArrayBufferView;
|
|
1758
|
+
readonly sha384?: ArrayBufferView;
|
|
1759
|
+
readonly sha512?: ArrayBufferView;
|
|
1760
1760
|
toJSON(): R2StringChecksums;
|
|
1761
1761
|
}
|
|
1762
1762
|
export interface R2StringChecksums {
|
|
@@ -3354,6 +3354,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3354
3354
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3355
3355
|
mirage?: boolean;
|
|
3356
3356
|
polish?: "lossy" | "lossless" | "off";
|
|
3357
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3357
3358
|
/**
|
|
3358
3359
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3359
3360
|
* for example, to implement load balancing across several origins.
|
|
@@ -3538,6 +3539,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3538
3539
|
css?: boolean;
|
|
3539
3540
|
html?: boolean;
|
|
3540
3541
|
}
|
|
3542
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3543
|
+
/**
|
|
3544
|
+
* Colo id of bucket that an object is stored in
|
|
3545
|
+
*/
|
|
3546
|
+
bucketColoId?: number;
|
|
3547
|
+
}
|
|
3541
3548
|
/**
|
|
3542
3549
|
* Request metadata provided by Cloudflare's edge.
|
|
3543
3550
|
*/
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -1756,11 +1756,11 @@ declare interface R2MultipartOptions {
|
|
|
1756
1756
|
storageClass?: string;
|
|
1757
1757
|
}
|
|
1758
1758
|
declare interface R2Checksums {
|
|
1759
|
-
readonly md5?:
|
|
1760
|
-
readonly sha1?:
|
|
1761
|
-
readonly sha256?:
|
|
1762
|
-
readonly sha384?:
|
|
1763
|
-
readonly sha512?:
|
|
1759
|
+
readonly md5?: ArrayBufferView;
|
|
1760
|
+
readonly sha1?: ArrayBufferView;
|
|
1761
|
+
readonly sha256?: ArrayBufferView;
|
|
1762
|
+
readonly sha384?: ArrayBufferView;
|
|
1763
|
+
readonly sha512?: ArrayBufferView;
|
|
1764
1764
|
toJSON(): R2StringChecksums;
|
|
1765
1765
|
}
|
|
1766
1766
|
declare interface R2StringChecksums {
|
|
@@ -3375,6 +3375,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3375
3375
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3376
3376
|
mirage?: boolean;
|
|
3377
3377
|
polish?: "lossy" | "lossless" | "off";
|
|
3378
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3378
3379
|
/**
|
|
3379
3380
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3380
3381
|
* for example, to implement load balancing across several origins.
|
|
@@ -3559,6 +3560,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3559
3560
|
css?: boolean;
|
|
3560
3561
|
html?: boolean;
|
|
3561
3562
|
}
|
|
3563
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3564
|
+
/**
|
|
3565
|
+
* Colo id of bucket that an object is stored in
|
|
3566
|
+
*/
|
|
3567
|
+
bucketColoId?: number;
|
|
3568
|
+
}
|
|
3562
3569
|
/**
|
|
3563
3570
|
* Request metadata provided by Cloudflare's edge.
|
|
3564
3571
|
*/
|
package/2022-01-31/index.ts
CHANGED
|
@@ -1758,11 +1758,11 @@ export interface R2MultipartOptions {
|
|
|
1758
1758
|
storageClass?: string;
|
|
1759
1759
|
}
|
|
1760
1760
|
export interface R2Checksums {
|
|
1761
|
-
readonly md5?:
|
|
1762
|
-
readonly sha1?:
|
|
1763
|
-
readonly sha256?:
|
|
1764
|
-
readonly sha384?:
|
|
1765
|
-
readonly sha512?:
|
|
1761
|
+
readonly md5?: ArrayBufferView;
|
|
1762
|
+
readonly sha1?: ArrayBufferView;
|
|
1763
|
+
readonly sha256?: ArrayBufferView;
|
|
1764
|
+
readonly sha384?: ArrayBufferView;
|
|
1765
|
+
readonly sha512?: ArrayBufferView;
|
|
1766
1766
|
toJSON(): R2StringChecksums;
|
|
1767
1767
|
}
|
|
1768
1768
|
export interface R2StringChecksums {
|
|
@@ -3380,6 +3380,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3380
3380
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3381
3381
|
mirage?: boolean;
|
|
3382
3382
|
polish?: "lossy" | "lossless" | "off";
|
|
3383
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3383
3384
|
/**
|
|
3384
3385
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3385
3386
|
* for example, to implement load balancing across several origins.
|
|
@@ -3564,6 +3565,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3564
3565
|
css?: boolean;
|
|
3565
3566
|
html?: boolean;
|
|
3566
3567
|
}
|
|
3568
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3569
|
+
/**
|
|
3570
|
+
* Colo id of bucket that an object is stored in
|
|
3571
|
+
*/
|
|
3572
|
+
bucketColoId?: number;
|
|
3573
|
+
}
|
|
3567
3574
|
/**
|
|
3568
3575
|
* Request metadata provided by Cloudflare's edge.
|
|
3569
3576
|
*/
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -1773,11 +1773,11 @@ declare interface R2MultipartOptions {
|
|
|
1773
1773
|
storageClass?: string;
|
|
1774
1774
|
}
|
|
1775
1775
|
declare interface R2Checksums {
|
|
1776
|
-
readonly md5?:
|
|
1777
|
-
readonly sha1?:
|
|
1778
|
-
readonly sha256?:
|
|
1779
|
-
readonly sha384?:
|
|
1780
|
-
readonly sha512?:
|
|
1776
|
+
readonly md5?: ArrayBufferView;
|
|
1777
|
+
readonly sha1?: ArrayBufferView;
|
|
1778
|
+
readonly sha256?: ArrayBufferView;
|
|
1779
|
+
readonly sha384?: ArrayBufferView;
|
|
1780
|
+
readonly sha512?: ArrayBufferView;
|
|
1781
1781
|
toJSON(): R2StringChecksums;
|
|
1782
1782
|
}
|
|
1783
1783
|
declare interface R2StringChecksums {
|
|
@@ -3401,6 +3401,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3401
3401
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3402
3402
|
mirage?: boolean;
|
|
3403
3403
|
polish?: "lossy" | "lossless" | "off";
|
|
3404
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3404
3405
|
/**
|
|
3405
3406
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3406
3407
|
* for example, to implement load balancing across several origins.
|
|
@@ -3585,6 +3586,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3585
3586
|
css?: boolean;
|
|
3586
3587
|
html?: boolean;
|
|
3587
3588
|
}
|
|
3589
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3590
|
+
/**
|
|
3591
|
+
* Colo id of bucket that an object is stored in
|
|
3592
|
+
*/
|
|
3593
|
+
bucketColoId?: number;
|
|
3594
|
+
}
|
|
3588
3595
|
/**
|
|
3589
3596
|
* Request metadata provided by Cloudflare's edge.
|
|
3590
3597
|
*/
|
package/2022-03-21/index.ts
CHANGED
|
@@ -1775,11 +1775,11 @@ export interface R2MultipartOptions {
|
|
|
1775
1775
|
storageClass?: string;
|
|
1776
1776
|
}
|
|
1777
1777
|
export interface R2Checksums {
|
|
1778
|
-
readonly md5?:
|
|
1779
|
-
readonly sha1?:
|
|
1780
|
-
readonly sha256?:
|
|
1781
|
-
readonly sha384?:
|
|
1782
|
-
readonly sha512?:
|
|
1778
|
+
readonly md5?: ArrayBufferView;
|
|
1779
|
+
readonly sha1?: ArrayBufferView;
|
|
1780
|
+
readonly sha256?: ArrayBufferView;
|
|
1781
|
+
readonly sha384?: ArrayBufferView;
|
|
1782
|
+
readonly sha512?: ArrayBufferView;
|
|
1783
1783
|
toJSON(): R2StringChecksums;
|
|
1784
1784
|
}
|
|
1785
1785
|
export interface R2StringChecksums {
|
|
@@ -3406,6 +3406,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3406
3406
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3407
3407
|
mirage?: boolean;
|
|
3408
3408
|
polish?: "lossy" | "lossless" | "off";
|
|
3409
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3409
3410
|
/**
|
|
3410
3411
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3411
3412
|
* for example, to implement load balancing across several origins.
|
|
@@ -3590,6 +3591,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3590
3591
|
css?: boolean;
|
|
3591
3592
|
html?: boolean;
|
|
3592
3593
|
}
|
|
3594
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3595
|
+
/**
|
|
3596
|
+
* Colo id of bucket that an object is stored in
|
|
3597
|
+
*/
|
|
3598
|
+
bucketColoId?: number;
|
|
3599
|
+
}
|
|
3593
3600
|
/**
|
|
3594
3601
|
* Request metadata provided by Cloudflare's edge.
|
|
3595
3602
|
*/
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -1774,11 +1774,11 @@ declare interface R2MultipartOptions {
|
|
|
1774
1774
|
storageClass?: string;
|
|
1775
1775
|
}
|
|
1776
1776
|
declare interface R2Checksums {
|
|
1777
|
-
readonly md5?:
|
|
1778
|
-
readonly sha1?:
|
|
1779
|
-
readonly sha256?:
|
|
1780
|
-
readonly sha384?:
|
|
1781
|
-
readonly sha512?:
|
|
1777
|
+
readonly md5?: ArrayBufferView;
|
|
1778
|
+
readonly sha1?: ArrayBufferView;
|
|
1779
|
+
readonly sha256?: ArrayBufferView;
|
|
1780
|
+
readonly sha384?: ArrayBufferView;
|
|
1781
|
+
readonly sha512?: ArrayBufferView;
|
|
1782
1782
|
toJSON(): R2StringChecksums;
|
|
1783
1783
|
}
|
|
1784
1784
|
declare interface R2StringChecksums {
|
|
@@ -3402,6 +3402,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3402
3402
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3403
3403
|
mirage?: boolean;
|
|
3404
3404
|
polish?: "lossy" | "lossless" | "off";
|
|
3405
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3405
3406
|
/**
|
|
3406
3407
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3407
3408
|
* for example, to implement load balancing across several origins.
|
|
@@ -3586,6 +3587,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3586
3587
|
css?: boolean;
|
|
3587
3588
|
html?: boolean;
|
|
3588
3589
|
}
|
|
3590
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3591
|
+
/**
|
|
3592
|
+
* Colo id of bucket that an object is stored in
|
|
3593
|
+
*/
|
|
3594
|
+
bucketColoId?: number;
|
|
3595
|
+
}
|
|
3589
3596
|
/**
|
|
3590
3597
|
* Request metadata provided by Cloudflare's edge.
|
|
3591
3598
|
*/
|
package/2022-08-04/index.ts
CHANGED
|
@@ -1776,11 +1776,11 @@ export interface R2MultipartOptions {
|
|
|
1776
1776
|
storageClass?: string;
|
|
1777
1777
|
}
|
|
1778
1778
|
export interface R2Checksums {
|
|
1779
|
-
readonly md5?:
|
|
1780
|
-
readonly sha1?:
|
|
1781
|
-
readonly sha256?:
|
|
1782
|
-
readonly sha384?:
|
|
1783
|
-
readonly sha512?:
|
|
1779
|
+
readonly md5?: ArrayBufferView;
|
|
1780
|
+
readonly sha1?: ArrayBufferView;
|
|
1781
|
+
readonly sha256?: ArrayBufferView;
|
|
1782
|
+
readonly sha384?: ArrayBufferView;
|
|
1783
|
+
readonly sha512?: ArrayBufferView;
|
|
1784
1784
|
toJSON(): R2StringChecksums;
|
|
1785
1785
|
}
|
|
1786
1786
|
export interface R2StringChecksums {
|
|
@@ -3407,6 +3407,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3407
3407
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3408
3408
|
mirage?: boolean;
|
|
3409
3409
|
polish?: "lossy" | "lossless" | "off";
|
|
3410
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3410
3411
|
/**
|
|
3411
3412
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3412
3413
|
* for example, to implement load balancing across several origins.
|
|
@@ -3591,6 +3592,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3591
3592
|
css?: boolean;
|
|
3592
3593
|
html?: boolean;
|
|
3593
3594
|
}
|
|
3595
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3596
|
+
/**
|
|
3597
|
+
* Colo id of bucket that an object is stored in
|
|
3598
|
+
*/
|
|
3599
|
+
bucketColoId?: number;
|
|
3600
|
+
}
|
|
3594
3601
|
/**
|
|
3595
3602
|
* Request metadata provided by Cloudflare's edge.
|
|
3596
3603
|
*/
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -1774,11 +1774,11 @@ declare interface R2MultipartOptions {
|
|
|
1774
1774
|
storageClass?: string;
|
|
1775
1775
|
}
|
|
1776
1776
|
declare interface R2Checksums {
|
|
1777
|
-
readonly md5?:
|
|
1778
|
-
readonly sha1?:
|
|
1779
|
-
readonly sha256?:
|
|
1780
|
-
readonly sha384?:
|
|
1781
|
-
readonly sha512?:
|
|
1777
|
+
readonly md5?: ArrayBufferView;
|
|
1778
|
+
readonly sha1?: ArrayBufferView;
|
|
1779
|
+
readonly sha256?: ArrayBufferView;
|
|
1780
|
+
readonly sha384?: ArrayBufferView;
|
|
1781
|
+
readonly sha512?: ArrayBufferView;
|
|
1782
1782
|
toJSON(): R2StringChecksums;
|
|
1783
1783
|
}
|
|
1784
1784
|
declare interface R2StringChecksums {
|
|
@@ -3401,6 +3401,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3401
3401
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3402
3402
|
mirage?: boolean;
|
|
3403
3403
|
polish?: "lossy" | "lossless" | "off";
|
|
3404
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3404
3405
|
/**
|
|
3405
3406
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3406
3407
|
* for example, to implement load balancing across several origins.
|
|
@@ -3585,6 +3586,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3585
3586
|
css?: boolean;
|
|
3586
3587
|
html?: boolean;
|
|
3587
3588
|
}
|
|
3589
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3590
|
+
/**
|
|
3591
|
+
* Colo id of bucket that an object is stored in
|
|
3592
|
+
*/
|
|
3593
|
+
bucketColoId?: number;
|
|
3594
|
+
}
|
|
3588
3595
|
/**
|
|
3589
3596
|
* Request metadata provided by Cloudflare's edge.
|
|
3590
3597
|
*/
|
package/2022-10-31/index.ts
CHANGED
|
@@ -1776,11 +1776,11 @@ export interface R2MultipartOptions {
|
|
|
1776
1776
|
storageClass?: string;
|
|
1777
1777
|
}
|
|
1778
1778
|
export interface R2Checksums {
|
|
1779
|
-
readonly md5?:
|
|
1780
|
-
readonly sha1?:
|
|
1781
|
-
readonly sha256?:
|
|
1782
|
-
readonly sha384?:
|
|
1783
|
-
readonly sha512?:
|
|
1779
|
+
readonly md5?: ArrayBufferView;
|
|
1780
|
+
readonly sha1?: ArrayBufferView;
|
|
1781
|
+
readonly sha256?: ArrayBufferView;
|
|
1782
|
+
readonly sha384?: ArrayBufferView;
|
|
1783
|
+
readonly sha512?: ArrayBufferView;
|
|
1784
1784
|
toJSON(): R2StringChecksums;
|
|
1785
1785
|
}
|
|
1786
1786
|
export interface R2StringChecksums {
|
|
@@ -3406,6 +3406,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3406
3406
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3407
3407
|
mirage?: boolean;
|
|
3408
3408
|
polish?: "lossy" | "lossless" | "off";
|
|
3409
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3409
3410
|
/**
|
|
3410
3411
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3411
3412
|
* for example, to implement load balancing across several origins.
|
|
@@ -3590,6 +3591,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3590
3591
|
css?: boolean;
|
|
3591
3592
|
html?: boolean;
|
|
3592
3593
|
}
|
|
3594
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3595
|
+
/**
|
|
3596
|
+
* Colo id of bucket that an object is stored in
|
|
3597
|
+
*/
|
|
3598
|
+
bucketColoId?: number;
|
|
3599
|
+
}
|
|
3593
3600
|
/**
|
|
3594
3601
|
* Request metadata provided by Cloudflare's edge.
|
|
3595
3602
|
*/
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -1779,11 +1779,11 @@ declare interface R2MultipartOptions {
|
|
|
1779
1779
|
storageClass?: string;
|
|
1780
1780
|
}
|
|
1781
1781
|
declare interface R2Checksums {
|
|
1782
|
-
readonly md5?:
|
|
1783
|
-
readonly sha1?:
|
|
1784
|
-
readonly sha256?:
|
|
1785
|
-
readonly sha384?:
|
|
1786
|
-
readonly sha512?:
|
|
1782
|
+
readonly md5?: ArrayBufferView;
|
|
1783
|
+
readonly sha1?: ArrayBufferView;
|
|
1784
|
+
readonly sha256?: ArrayBufferView;
|
|
1785
|
+
readonly sha384?: ArrayBufferView;
|
|
1786
|
+
readonly sha512?: ArrayBufferView;
|
|
1787
1787
|
toJSON(): R2StringChecksums;
|
|
1788
1788
|
}
|
|
1789
1789
|
declare interface R2StringChecksums {
|
|
@@ -3397,6 +3397,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3397
3397
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3398
3398
|
mirage?: boolean;
|
|
3399
3399
|
polish?: "lossy" | "lossless" | "off";
|
|
3400
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3400
3401
|
/**
|
|
3401
3402
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3402
3403
|
* for example, to implement load balancing across several origins.
|
|
@@ -3581,6 +3582,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3581
3582
|
css?: boolean;
|
|
3582
3583
|
html?: boolean;
|
|
3583
3584
|
}
|
|
3585
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3586
|
+
/**
|
|
3587
|
+
* Colo id of bucket that an object is stored in
|
|
3588
|
+
*/
|
|
3589
|
+
bucketColoId?: number;
|
|
3590
|
+
}
|
|
3584
3591
|
/**
|
|
3585
3592
|
* Request metadata provided by Cloudflare's edge.
|
|
3586
3593
|
*/
|
package/2022-11-30/index.ts
CHANGED
|
@@ -1781,11 +1781,11 @@ export interface R2MultipartOptions {
|
|
|
1781
1781
|
storageClass?: string;
|
|
1782
1782
|
}
|
|
1783
1783
|
export interface R2Checksums {
|
|
1784
|
-
readonly md5?:
|
|
1785
|
-
readonly sha1?:
|
|
1786
|
-
readonly sha256?:
|
|
1787
|
-
readonly sha384?:
|
|
1788
|
-
readonly sha512?:
|
|
1784
|
+
readonly md5?: ArrayBufferView;
|
|
1785
|
+
readonly sha1?: ArrayBufferView;
|
|
1786
|
+
readonly sha256?: ArrayBufferView;
|
|
1787
|
+
readonly sha384?: ArrayBufferView;
|
|
1788
|
+
readonly sha512?: ArrayBufferView;
|
|
1789
1789
|
toJSON(): R2StringChecksums;
|
|
1790
1790
|
}
|
|
1791
1791
|
export interface R2StringChecksums {
|
|
@@ -3402,6 +3402,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3402
3402
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3403
3403
|
mirage?: boolean;
|
|
3404
3404
|
polish?: "lossy" | "lossless" | "off";
|
|
3405
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3405
3406
|
/**
|
|
3406
3407
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3407
3408
|
* for example, to implement load balancing across several origins.
|
|
@@ -3586,6 +3587,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3586
3587
|
css?: boolean;
|
|
3587
3588
|
html?: boolean;
|
|
3588
3589
|
}
|
|
3590
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3591
|
+
/**
|
|
3592
|
+
* Colo id of bucket that an object is stored in
|
|
3593
|
+
*/
|
|
3594
|
+
bucketColoId?: number;
|
|
3595
|
+
}
|
|
3589
3596
|
/**
|
|
3590
3597
|
* Request metadata provided by Cloudflare's edge.
|
|
3591
3598
|
*/
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -1780,11 +1780,11 @@ declare interface R2MultipartOptions {
|
|
|
1780
1780
|
storageClass?: string;
|
|
1781
1781
|
}
|
|
1782
1782
|
declare interface R2Checksums {
|
|
1783
|
-
readonly md5?:
|
|
1784
|
-
readonly sha1?:
|
|
1785
|
-
readonly sha256?:
|
|
1786
|
-
readonly sha384?:
|
|
1787
|
-
readonly sha512?:
|
|
1783
|
+
readonly md5?: ArrayBufferView;
|
|
1784
|
+
readonly sha1?: ArrayBufferView;
|
|
1785
|
+
readonly sha256?: ArrayBufferView;
|
|
1786
|
+
readonly sha384?: ArrayBufferView;
|
|
1787
|
+
readonly sha512?: ArrayBufferView;
|
|
1788
1788
|
toJSON(): R2StringChecksums;
|
|
1789
1789
|
}
|
|
1790
1790
|
declare interface R2StringChecksums {
|
|
@@ -3398,6 +3398,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3398
3398
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3399
3399
|
mirage?: boolean;
|
|
3400
3400
|
polish?: "lossy" | "lossless" | "off";
|
|
3401
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3401
3402
|
/**
|
|
3402
3403
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3403
3404
|
* for example, to implement load balancing across several origins.
|
|
@@ -3582,6 +3583,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3582
3583
|
css?: boolean;
|
|
3583
3584
|
html?: boolean;
|
|
3584
3585
|
}
|
|
3586
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3587
|
+
/**
|
|
3588
|
+
* Colo id of bucket that an object is stored in
|
|
3589
|
+
*/
|
|
3590
|
+
bucketColoId?: number;
|
|
3591
|
+
}
|
|
3585
3592
|
/**
|
|
3586
3593
|
* Request metadata provided by Cloudflare's edge.
|
|
3587
3594
|
*/
|
package/2023-03-01/index.ts
CHANGED
|
@@ -1782,11 +1782,11 @@ export interface R2MultipartOptions {
|
|
|
1782
1782
|
storageClass?: string;
|
|
1783
1783
|
}
|
|
1784
1784
|
export interface R2Checksums {
|
|
1785
|
-
readonly md5?:
|
|
1786
|
-
readonly sha1?:
|
|
1787
|
-
readonly sha256?:
|
|
1788
|
-
readonly sha384?:
|
|
1789
|
-
readonly sha512?:
|
|
1785
|
+
readonly md5?: ArrayBufferView;
|
|
1786
|
+
readonly sha1?: ArrayBufferView;
|
|
1787
|
+
readonly sha256?: ArrayBufferView;
|
|
1788
|
+
readonly sha384?: ArrayBufferView;
|
|
1789
|
+
readonly sha512?: ArrayBufferView;
|
|
1790
1790
|
toJSON(): R2StringChecksums;
|
|
1791
1791
|
}
|
|
1792
1792
|
export interface R2StringChecksums {
|
|
@@ -3403,6 +3403,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3403
3403
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3404
3404
|
mirage?: boolean;
|
|
3405
3405
|
polish?: "lossy" | "lossless" | "off";
|
|
3406
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3406
3407
|
/**
|
|
3407
3408
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3408
3409
|
* for example, to implement load balancing across several origins.
|
|
@@ -3587,6 +3588,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3587
3588
|
css?: boolean;
|
|
3588
3589
|
html?: boolean;
|
|
3589
3590
|
}
|
|
3591
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3592
|
+
/**
|
|
3593
|
+
* Colo id of bucket that an object is stored in
|
|
3594
|
+
*/
|
|
3595
|
+
bucketColoId?: number;
|
|
3596
|
+
}
|
|
3590
3597
|
/**
|
|
3591
3598
|
* Request metadata provided by Cloudflare's edge.
|
|
3592
3599
|
*/
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -1780,11 +1780,11 @@ declare interface R2MultipartOptions {
|
|
|
1780
1780
|
storageClass?: string;
|
|
1781
1781
|
}
|
|
1782
1782
|
declare interface R2Checksums {
|
|
1783
|
-
readonly md5?:
|
|
1784
|
-
readonly sha1?:
|
|
1785
|
-
readonly sha256?:
|
|
1786
|
-
readonly sha384?:
|
|
1787
|
-
readonly sha512?:
|
|
1783
|
+
readonly md5?: ArrayBufferView;
|
|
1784
|
+
readonly sha1?: ArrayBufferView;
|
|
1785
|
+
readonly sha256?: ArrayBufferView;
|
|
1786
|
+
readonly sha384?: ArrayBufferView;
|
|
1787
|
+
readonly sha512?: ArrayBufferView;
|
|
1788
1788
|
toJSON(): R2StringChecksums;
|
|
1789
1789
|
}
|
|
1790
1790
|
declare interface R2StringChecksums {
|
|
@@ -3398,6 +3398,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3398
3398
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3399
3399
|
mirage?: boolean;
|
|
3400
3400
|
polish?: "lossy" | "lossless" | "off";
|
|
3401
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3401
3402
|
/**
|
|
3402
3403
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3403
3404
|
* for example, to implement load balancing across several origins.
|
|
@@ -3582,6 +3583,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3582
3583
|
css?: boolean;
|
|
3583
3584
|
html?: boolean;
|
|
3584
3585
|
}
|
|
3586
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3587
|
+
/**
|
|
3588
|
+
* Colo id of bucket that an object is stored in
|
|
3589
|
+
*/
|
|
3590
|
+
bucketColoId?: number;
|
|
3591
|
+
}
|
|
3585
3592
|
/**
|
|
3586
3593
|
* Request metadata provided by Cloudflare's edge.
|
|
3587
3594
|
*/
|
package/2023-07-01/index.ts
CHANGED
|
@@ -1782,11 +1782,11 @@ export interface R2MultipartOptions {
|
|
|
1782
1782
|
storageClass?: string;
|
|
1783
1783
|
}
|
|
1784
1784
|
export interface R2Checksums {
|
|
1785
|
-
readonly md5?:
|
|
1786
|
-
readonly sha1?:
|
|
1787
|
-
readonly sha256?:
|
|
1788
|
-
readonly sha384?:
|
|
1789
|
-
readonly sha512?:
|
|
1785
|
+
readonly md5?: ArrayBufferView;
|
|
1786
|
+
readonly sha1?: ArrayBufferView;
|
|
1787
|
+
readonly sha256?: ArrayBufferView;
|
|
1788
|
+
readonly sha384?: ArrayBufferView;
|
|
1789
|
+
readonly sha512?: ArrayBufferView;
|
|
1790
1790
|
toJSON(): R2StringChecksums;
|
|
1791
1791
|
}
|
|
1792
1792
|
export interface R2StringChecksums {
|
|
@@ -3403,6 +3403,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3403
3403
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3404
3404
|
mirage?: boolean;
|
|
3405
3405
|
polish?: "lossy" | "lossless" | "off";
|
|
3406
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3406
3407
|
/**
|
|
3407
3408
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3408
3409
|
* for example, to implement load balancing across several origins.
|
|
@@ -3587,6 +3588,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3587
3588
|
css?: boolean;
|
|
3588
3589
|
html?: boolean;
|
|
3589
3590
|
}
|
|
3591
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3592
|
+
/**
|
|
3593
|
+
* Colo id of bucket that an object is stored in
|
|
3594
|
+
*/
|
|
3595
|
+
bucketColoId?: number;
|
|
3596
|
+
}
|
|
3590
3597
|
/**
|
|
3591
3598
|
* Request metadata provided by Cloudflare's edge.
|
|
3592
3599
|
*/
|
package/experimental/index.d.ts
CHANGED
|
@@ -1832,11 +1832,11 @@ declare interface R2MultipartOptions {
|
|
|
1832
1832
|
storageClass?: string;
|
|
1833
1833
|
}
|
|
1834
1834
|
declare interface R2Checksums {
|
|
1835
|
-
readonly md5?:
|
|
1836
|
-
readonly sha1?:
|
|
1837
|
-
readonly sha256?:
|
|
1838
|
-
readonly sha384?:
|
|
1839
|
-
readonly sha512?:
|
|
1835
|
+
readonly md5?: ArrayBufferView;
|
|
1836
|
+
readonly sha1?: ArrayBufferView;
|
|
1837
|
+
readonly sha256?: ArrayBufferView;
|
|
1838
|
+
readonly sha384?: ArrayBufferView;
|
|
1839
|
+
readonly sha512?: ArrayBufferView;
|
|
1840
1840
|
toJSON(): R2StringChecksums;
|
|
1841
1841
|
}
|
|
1842
1842
|
declare interface R2StringChecksums {
|
|
@@ -3479,6 +3479,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3479
3479
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3480
3480
|
mirage?: boolean;
|
|
3481
3481
|
polish?: "lossy" | "lossless" | "off";
|
|
3482
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3482
3483
|
/**
|
|
3483
3484
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3484
3485
|
* for example, to implement load balancing across several origins.
|
|
@@ -3663,6 +3664,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3663
3664
|
css?: boolean;
|
|
3664
3665
|
html?: boolean;
|
|
3665
3666
|
}
|
|
3667
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3668
|
+
/**
|
|
3669
|
+
* Colo id of bucket that an object is stored in
|
|
3670
|
+
*/
|
|
3671
|
+
bucketColoId?: number;
|
|
3672
|
+
}
|
|
3666
3673
|
/**
|
|
3667
3674
|
* Request metadata provided by Cloudflare's edge.
|
|
3668
3675
|
*/
|
package/experimental/index.ts
CHANGED
|
@@ -1834,11 +1834,11 @@ export interface R2MultipartOptions {
|
|
|
1834
1834
|
storageClass?: string;
|
|
1835
1835
|
}
|
|
1836
1836
|
export interface R2Checksums {
|
|
1837
|
-
readonly md5?:
|
|
1838
|
-
readonly sha1?:
|
|
1839
|
-
readonly sha256?:
|
|
1840
|
-
readonly sha384?:
|
|
1841
|
-
readonly sha512?:
|
|
1837
|
+
readonly md5?: ArrayBufferView;
|
|
1838
|
+
readonly sha1?: ArrayBufferView;
|
|
1839
|
+
readonly sha256?: ArrayBufferView;
|
|
1840
|
+
readonly sha384?: ArrayBufferView;
|
|
1841
|
+
readonly sha512?: ArrayBufferView;
|
|
1842
1842
|
toJSON(): R2StringChecksums;
|
|
1843
1843
|
}
|
|
1844
1844
|
export interface R2StringChecksums {
|
|
@@ -3484,6 +3484,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3484
3484
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3485
3485
|
mirage?: boolean;
|
|
3486
3486
|
polish?: "lossy" | "lossless" | "off";
|
|
3487
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3487
3488
|
/**
|
|
3488
3489
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3489
3490
|
* for example, to implement load balancing across several origins.
|
|
@@ -3668,6 +3669,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3668
3669
|
css?: boolean;
|
|
3669
3670
|
html?: boolean;
|
|
3670
3671
|
}
|
|
3672
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3673
|
+
/**
|
|
3674
|
+
* Colo id of bucket that an object is stored in
|
|
3675
|
+
*/
|
|
3676
|
+
bucketColoId?: number;
|
|
3677
|
+
}
|
|
3671
3678
|
/**
|
|
3672
3679
|
* Request metadata provided by Cloudflare's edge.
|
|
3673
3680
|
*/
|
package/index.d.ts
CHANGED
|
@@ -1750,11 +1750,11 @@ declare interface R2MultipartOptions {
|
|
|
1750
1750
|
storageClass?: string;
|
|
1751
1751
|
}
|
|
1752
1752
|
declare interface R2Checksums {
|
|
1753
|
-
readonly md5?:
|
|
1754
|
-
readonly sha1?:
|
|
1755
|
-
readonly sha256?:
|
|
1756
|
-
readonly sha384?:
|
|
1757
|
-
readonly sha512?:
|
|
1753
|
+
readonly md5?: ArrayBufferView;
|
|
1754
|
+
readonly sha1?: ArrayBufferView;
|
|
1755
|
+
readonly sha256?: ArrayBufferView;
|
|
1756
|
+
readonly sha384?: ArrayBufferView;
|
|
1757
|
+
readonly sha512?: ArrayBufferView;
|
|
1758
1758
|
toJSON(): R2StringChecksums;
|
|
1759
1759
|
}
|
|
1760
1760
|
declare interface R2StringChecksums {
|
|
@@ -3349,6 +3349,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3349
3349
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3350
3350
|
mirage?: boolean;
|
|
3351
3351
|
polish?: "lossy" | "lossless" | "off";
|
|
3352
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3352
3353
|
/**
|
|
3353
3354
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3354
3355
|
* for example, to implement load balancing across several origins.
|
|
@@ -3533,6 +3534,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3533
3534
|
css?: boolean;
|
|
3534
3535
|
html?: boolean;
|
|
3535
3536
|
}
|
|
3537
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3538
|
+
/**
|
|
3539
|
+
* Colo id of bucket that an object is stored in
|
|
3540
|
+
*/
|
|
3541
|
+
bucketColoId?: number;
|
|
3542
|
+
}
|
|
3536
3543
|
/**
|
|
3537
3544
|
* Request metadata provided by Cloudflare's edge.
|
|
3538
3545
|
*/
|
package/index.ts
CHANGED
|
@@ -1752,11 +1752,11 @@ export interface R2MultipartOptions {
|
|
|
1752
1752
|
storageClass?: string;
|
|
1753
1753
|
}
|
|
1754
1754
|
export interface R2Checksums {
|
|
1755
|
-
readonly md5?:
|
|
1756
|
-
readonly sha1?:
|
|
1757
|
-
readonly sha256?:
|
|
1758
|
-
readonly sha384?:
|
|
1759
|
-
readonly sha512?:
|
|
1755
|
+
readonly md5?: ArrayBufferView;
|
|
1756
|
+
readonly sha1?: ArrayBufferView;
|
|
1757
|
+
readonly sha256?: ArrayBufferView;
|
|
1758
|
+
readonly sha384?: ArrayBufferView;
|
|
1759
|
+
readonly sha512?: ArrayBufferView;
|
|
1760
1760
|
toJSON(): R2StringChecksums;
|
|
1761
1761
|
}
|
|
1762
1762
|
export interface R2StringChecksums {
|
|
@@ -3354,6 +3354,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3354
3354
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3355
3355
|
mirage?: boolean;
|
|
3356
3356
|
polish?: "lossy" | "lossless" | "off";
|
|
3357
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3357
3358
|
/**
|
|
3358
3359
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3359
3360
|
* for example, to implement load balancing across several origins.
|
|
@@ -3538,6 +3539,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3538
3539
|
css?: boolean;
|
|
3539
3540
|
html?: boolean;
|
|
3540
3541
|
}
|
|
3542
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3543
|
+
/**
|
|
3544
|
+
* Colo id of bucket that an object is stored in
|
|
3545
|
+
*/
|
|
3546
|
+
bucketColoId?: number;
|
|
3547
|
+
}
|
|
3541
3548
|
/**
|
|
3542
3549
|
* Request metadata provided by Cloudflare's edge.
|
|
3543
3550
|
*/
|
package/oldest/index.d.ts
CHANGED
|
@@ -1750,11 +1750,11 @@ declare interface R2MultipartOptions {
|
|
|
1750
1750
|
storageClass?: string;
|
|
1751
1751
|
}
|
|
1752
1752
|
declare interface R2Checksums {
|
|
1753
|
-
readonly md5?:
|
|
1754
|
-
readonly sha1?:
|
|
1755
|
-
readonly sha256?:
|
|
1756
|
-
readonly sha384?:
|
|
1757
|
-
readonly sha512?:
|
|
1753
|
+
readonly md5?: ArrayBufferView;
|
|
1754
|
+
readonly sha1?: ArrayBufferView;
|
|
1755
|
+
readonly sha256?: ArrayBufferView;
|
|
1756
|
+
readonly sha384?: ArrayBufferView;
|
|
1757
|
+
readonly sha512?: ArrayBufferView;
|
|
1758
1758
|
toJSON(): R2StringChecksums;
|
|
1759
1759
|
}
|
|
1760
1760
|
declare interface R2StringChecksums {
|
|
@@ -3349,6 +3349,7 @@ declare interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3349
3349
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3350
3350
|
mirage?: boolean;
|
|
3351
3351
|
polish?: "lossy" | "lossless" | "off";
|
|
3352
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3352
3353
|
/**
|
|
3353
3354
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3354
3355
|
* for example, to implement load balancing across several origins.
|
|
@@ -3533,6 +3534,12 @@ declare interface RequestInitCfPropertiesImageMinify {
|
|
|
3533
3534
|
css?: boolean;
|
|
3534
3535
|
html?: boolean;
|
|
3535
3536
|
}
|
|
3537
|
+
declare interface RequestInitCfPropertiesR2 {
|
|
3538
|
+
/**
|
|
3539
|
+
* Colo id of bucket that an object is stored in
|
|
3540
|
+
*/
|
|
3541
|
+
bucketColoId?: number;
|
|
3542
|
+
}
|
|
3536
3543
|
/**
|
|
3537
3544
|
* Request metadata provided by Cloudflare's edge.
|
|
3538
3545
|
*/
|
package/oldest/index.ts
CHANGED
|
@@ -1752,11 +1752,11 @@ export interface R2MultipartOptions {
|
|
|
1752
1752
|
storageClass?: string;
|
|
1753
1753
|
}
|
|
1754
1754
|
export interface R2Checksums {
|
|
1755
|
-
readonly md5?:
|
|
1756
|
-
readonly sha1?:
|
|
1757
|
-
readonly sha256?:
|
|
1758
|
-
readonly sha384?:
|
|
1759
|
-
readonly sha512?:
|
|
1755
|
+
readonly md5?: ArrayBufferView;
|
|
1756
|
+
readonly sha1?: ArrayBufferView;
|
|
1757
|
+
readonly sha256?: ArrayBufferView;
|
|
1758
|
+
readonly sha384?: ArrayBufferView;
|
|
1759
|
+
readonly sha512?: ArrayBufferView;
|
|
1760
1760
|
toJSON(): R2StringChecksums;
|
|
1761
1761
|
}
|
|
1762
1762
|
export interface R2StringChecksums {
|
|
@@ -3354,6 +3354,7 @@ export interface RequestInitCfProperties extends Record<string, unknown> {
|
|
|
3354
3354
|
minify?: RequestInitCfPropertiesImageMinify;
|
|
3355
3355
|
mirage?: boolean;
|
|
3356
3356
|
polish?: "lossy" | "lossless" | "off";
|
|
3357
|
+
r2?: RequestInitCfPropertiesR2;
|
|
3357
3358
|
/**
|
|
3358
3359
|
* Redirects the request to an alternate origin server. You can use this,
|
|
3359
3360
|
* for example, to implement load balancing across several origins.
|
|
@@ -3538,6 +3539,12 @@ export interface RequestInitCfPropertiesImageMinify {
|
|
|
3538
3539
|
css?: boolean;
|
|
3539
3540
|
html?: boolean;
|
|
3540
3541
|
}
|
|
3542
|
+
export interface RequestInitCfPropertiesR2 {
|
|
3543
|
+
/**
|
|
3544
|
+
* Colo id of bucket that an object is stored in
|
|
3545
|
+
*/
|
|
3546
|
+
bucketColoId?: number;
|
|
3547
|
+
}
|
|
3541
3548
|
/**
|
|
3542
3549
|
* Request metadata provided by Cloudflare's edge.
|
|
3543
3550
|
*/
|
package/package.json
CHANGED