@cloudflare/workers-types 4.20240404.0 → 4.20240405.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 +4 -1
- package/2021-11-03/index.ts +4 -1
- package/2022-01-31/index.d.ts +4 -1
- package/2022-01-31/index.ts +4 -1
- package/2022-03-21/index.d.ts +4 -1
- package/2022-03-21/index.ts +4 -1
- package/2022-08-04/index.d.ts +4 -1
- package/2022-08-04/index.ts +4 -1
- package/2022-10-31/index.d.ts +4 -1
- package/2022-10-31/index.ts +4 -1
- package/2022-11-30/index.d.ts +4 -1
- package/2022-11-30/index.ts +4 -1
- package/2023-03-01/index.d.ts +4 -1
- package/2023-03-01/index.ts +4 -1
- package/2023-07-01/index.d.ts +4 -1
- package/2023-07-01/index.ts +4 -1
- package/experimental/index.d.ts +4 -1
- package/experimental/index.ts +4 -1
- package/index.d.ts +4 -1
- package/index.ts +4 -1
- package/oldest/index.d.ts +4 -1
- package/oldest/index.ts +4 -1
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -1673,6 +1673,7 @@ declare abstract class R2Object {
|
|
|
1673
1673
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1674
1674
|
readonly customMetadata?: Record<string, string>;
|
|
1675
1675
|
readonly range?: R2Range;
|
|
1676
|
+
readonly storageClass: string;
|
|
1676
1677
|
writeHttpMetadata(headers: Headers): void;
|
|
1677
1678
|
}
|
|
1678
1679
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1715,10 +1716,12 @@ declare interface R2PutOptions {
|
|
|
1715
1716
|
sha256?: ArrayBuffer | string;
|
|
1716
1717
|
sha384?: ArrayBuffer | string;
|
|
1717
1718
|
sha512?: ArrayBuffer | string;
|
|
1719
|
+
storageClass?: string;
|
|
1718
1720
|
}
|
|
1719
1721
|
declare interface R2MultipartOptions {
|
|
1720
1722
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1721
1723
|
customMetadata?: Record<string, string>;
|
|
1724
|
+
storageClass?: string;
|
|
1722
1725
|
}
|
|
1723
1726
|
declare interface R2Checksums {
|
|
1724
1727
|
readonly md5?: ArrayBuffer;
|
|
@@ -4075,7 +4078,7 @@ declare interface Hyperdrive {
|
|
|
4075
4078
|
/*
|
|
4076
4079
|
* The port that must be paired the the host field when connecting.
|
|
4077
4080
|
*/
|
|
4078
|
-
readonly port:
|
|
4081
|
+
readonly port: number;
|
|
4079
4082
|
/*
|
|
4080
4083
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4081
4084
|
* Unlike the host and password, this will be the same every time
|
package/2021-11-03/index.ts
CHANGED
|
@@ -1675,6 +1675,7 @@ export declare abstract class R2Object {
|
|
|
1675
1675
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1676
1676
|
readonly customMetadata?: Record<string, string>;
|
|
1677
1677
|
readonly range?: R2Range;
|
|
1678
|
+
readonly storageClass: string;
|
|
1678
1679
|
writeHttpMetadata(headers: Headers): void;
|
|
1679
1680
|
}
|
|
1680
1681
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1717,10 +1718,12 @@ export interface R2PutOptions {
|
|
|
1717
1718
|
sha256?: ArrayBuffer | string;
|
|
1718
1719
|
sha384?: ArrayBuffer | string;
|
|
1719
1720
|
sha512?: ArrayBuffer | string;
|
|
1721
|
+
storageClass?: string;
|
|
1720
1722
|
}
|
|
1721
1723
|
export interface R2MultipartOptions {
|
|
1722
1724
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1723
1725
|
customMetadata?: Record<string, string>;
|
|
1726
|
+
storageClass?: string;
|
|
1724
1727
|
}
|
|
1725
1728
|
export interface R2Checksums {
|
|
1726
1729
|
readonly md5?: ArrayBuffer;
|
|
@@ -4073,7 +4076,7 @@ export interface Hyperdrive {
|
|
|
4073
4076
|
/*
|
|
4074
4077
|
* The port that must be paired the the host field when connecting.
|
|
4075
4078
|
*/
|
|
4076
|
-
readonly port:
|
|
4079
|
+
readonly port: number;
|
|
4077
4080
|
/*
|
|
4078
4081
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4079
4082
|
* Unlike the host and password, this will be the same every time
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -1679,6 +1679,7 @@ declare abstract class R2Object {
|
|
|
1679
1679
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1680
1680
|
readonly customMetadata?: Record<string, string>;
|
|
1681
1681
|
readonly range?: R2Range;
|
|
1682
|
+
readonly storageClass: string;
|
|
1682
1683
|
writeHttpMetadata(headers: Headers): void;
|
|
1683
1684
|
}
|
|
1684
1685
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1721,10 +1722,12 @@ declare interface R2PutOptions {
|
|
|
1721
1722
|
sha256?: ArrayBuffer | string;
|
|
1722
1723
|
sha384?: ArrayBuffer | string;
|
|
1723
1724
|
sha512?: ArrayBuffer | string;
|
|
1725
|
+
storageClass?: string;
|
|
1724
1726
|
}
|
|
1725
1727
|
declare interface R2MultipartOptions {
|
|
1726
1728
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1727
1729
|
customMetadata?: Record<string, string>;
|
|
1730
|
+
storageClass?: string;
|
|
1728
1731
|
}
|
|
1729
1732
|
declare interface R2Checksums {
|
|
1730
1733
|
readonly md5?: ArrayBuffer;
|
|
@@ -4101,7 +4104,7 @@ declare interface Hyperdrive {
|
|
|
4101
4104
|
/*
|
|
4102
4105
|
* The port that must be paired the the host field when connecting.
|
|
4103
4106
|
*/
|
|
4104
|
-
readonly port:
|
|
4107
|
+
readonly port: number;
|
|
4105
4108
|
/*
|
|
4106
4109
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4107
4110
|
* Unlike the host and password, this will be the same every time
|
package/2022-01-31/index.ts
CHANGED
|
@@ -1681,6 +1681,7 @@ export declare abstract class R2Object {
|
|
|
1681
1681
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1682
1682
|
readonly customMetadata?: Record<string, string>;
|
|
1683
1683
|
readonly range?: R2Range;
|
|
1684
|
+
readonly storageClass: string;
|
|
1684
1685
|
writeHttpMetadata(headers: Headers): void;
|
|
1685
1686
|
}
|
|
1686
1687
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1723,10 +1724,12 @@ export interface R2PutOptions {
|
|
|
1723
1724
|
sha256?: ArrayBuffer | string;
|
|
1724
1725
|
sha384?: ArrayBuffer | string;
|
|
1725
1726
|
sha512?: ArrayBuffer | string;
|
|
1727
|
+
storageClass?: string;
|
|
1726
1728
|
}
|
|
1727
1729
|
export interface R2MultipartOptions {
|
|
1728
1730
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1729
1731
|
customMetadata?: Record<string, string>;
|
|
1732
|
+
storageClass?: string;
|
|
1730
1733
|
}
|
|
1731
1734
|
export interface R2Checksums {
|
|
1732
1735
|
readonly md5?: ArrayBuffer;
|
|
@@ -4099,7 +4102,7 @@ export interface Hyperdrive {
|
|
|
4099
4102
|
/*
|
|
4100
4103
|
* The port that must be paired the the host field when connecting.
|
|
4101
4104
|
*/
|
|
4102
|
-
readonly port:
|
|
4105
|
+
readonly port: number;
|
|
4103
4106
|
/*
|
|
4104
4107
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4105
4108
|
* Unlike the host and password, this will be the same every time
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -1696,6 +1696,7 @@ declare abstract class R2Object {
|
|
|
1696
1696
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1697
1697
|
readonly customMetadata?: Record<string, string>;
|
|
1698
1698
|
readonly range?: R2Range;
|
|
1699
|
+
readonly storageClass: string;
|
|
1699
1700
|
writeHttpMetadata(headers: Headers): void;
|
|
1700
1701
|
}
|
|
1701
1702
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1738,10 +1739,12 @@ declare interface R2PutOptions {
|
|
|
1738
1739
|
sha256?: ArrayBuffer | string;
|
|
1739
1740
|
sha384?: ArrayBuffer | string;
|
|
1740
1741
|
sha512?: ArrayBuffer | string;
|
|
1742
|
+
storageClass?: string;
|
|
1741
1743
|
}
|
|
1742
1744
|
declare interface R2MultipartOptions {
|
|
1743
1745
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1744
1746
|
customMetadata?: Record<string, string>;
|
|
1747
|
+
storageClass?: string;
|
|
1745
1748
|
}
|
|
1746
1749
|
declare interface R2Checksums {
|
|
1747
1750
|
readonly md5?: ArrayBuffer;
|
|
@@ -4127,7 +4130,7 @@ declare interface Hyperdrive {
|
|
|
4127
4130
|
/*
|
|
4128
4131
|
* The port that must be paired the the host field when connecting.
|
|
4129
4132
|
*/
|
|
4130
|
-
readonly port:
|
|
4133
|
+
readonly port: number;
|
|
4131
4134
|
/*
|
|
4132
4135
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4133
4136
|
* Unlike the host and password, this will be the same every time
|
package/2022-03-21/index.ts
CHANGED
|
@@ -1698,6 +1698,7 @@ export declare abstract class R2Object {
|
|
|
1698
1698
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1699
1699
|
readonly customMetadata?: Record<string, string>;
|
|
1700
1700
|
readonly range?: R2Range;
|
|
1701
|
+
readonly storageClass: string;
|
|
1701
1702
|
writeHttpMetadata(headers: Headers): void;
|
|
1702
1703
|
}
|
|
1703
1704
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1740,10 +1741,12 @@ export interface R2PutOptions {
|
|
|
1740
1741
|
sha256?: ArrayBuffer | string;
|
|
1741
1742
|
sha384?: ArrayBuffer | string;
|
|
1742
1743
|
sha512?: ArrayBuffer | string;
|
|
1744
|
+
storageClass?: string;
|
|
1743
1745
|
}
|
|
1744
1746
|
export interface R2MultipartOptions {
|
|
1745
1747
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1746
1748
|
customMetadata?: Record<string, string>;
|
|
1749
|
+
storageClass?: string;
|
|
1747
1750
|
}
|
|
1748
1751
|
export interface R2Checksums {
|
|
1749
1752
|
readonly md5?: ArrayBuffer;
|
|
@@ -4125,7 +4128,7 @@ export interface Hyperdrive {
|
|
|
4125
4128
|
/*
|
|
4126
4129
|
* The port that must be paired the the host field when connecting.
|
|
4127
4130
|
*/
|
|
4128
|
-
readonly port:
|
|
4131
|
+
readonly port: number;
|
|
4129
4132
|
/*
|
|
4130
4133
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4131
4134
|
* Unlike the host and password, this will be the same every time
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -1697,6 +1697,7 @@ declare abstract class R2Object {
|
|
|
1697
1697
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1698
1698
|
readonly customMetadata?: Record<string, string>;
|
|
1699
1699
|
readonly range?: R2Range;
|
|
1700
|
+
readonly storageClass: string;
|
|
1700
1701
|
writeHttpMetadata(headers: Headers): void;
|
|
1701
1702
|
}
|
|
1702
1703
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1739,10 +1740,12 @@ declare interface R2PutOptions {
|
|
|
1739
1740
|
sha256?: ArrayBuffer | string;
|
|
1740
1741
|
sha384?: ArrayBuffer | string;
|
|
1741
1742
|
sha512?: ArrayBuffer | string;
|
|
1743
|
+
storageClass?: string;
|
|
1742
1744
|
}
|
|
1743
1745
|
declare interface R2MultipartOptions {
|
|
1744
1746
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1745
1747
|
customMetadata?: Record<string, string>;
|
|
1748
|
+
storageClass?: string;
|
|
1746
1749
|
}
|
|
1747
1750
|
declare interface R2Checksums {
|
|
1748
1751
|
readonly md5?: ArrayBuffer;
|
|
@@ -4128,7 +4131,7 @@ declare interface Hyperdrive {
|
|
|
4128
4131
|
/*
|
|
4129
4132
|
* The port that must be paired the the host field when connecting.
|
|
4130
4133
|
*/
|
|
4131
|
-
readonly port:
|
|
4134
|
+
readonly port: number;
|
|
4132
4135
|
/*
|
|
4133
4136
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4134
4137
|
* Unlike the host and password, this will be the same every time
|
package/2022-08-04/index.ts
CHANGED
|
@@ -1699,6 +1699,7 @@ export declare abstract class R2Object {
|
|
|
1699
1699
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1700
1700
|
readonly customMetadata?: Record<string, string>;
|
|
1701
1701
|
readonly range?: R2Range;
|
|
1702
|
+
readonly storageClass: string;
|
|
1702
1703
|
writeHttpMetadata(headers: Headers): void;
|
|
1703
1704
|
}
|
|
1704
1705
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1741,10 +1742,12 @@ export interface R2PutOptions {
|
|
|
1741
1742
|
sha256?: ArrayBuffer | string;
|
|
1742
1743
|
sha384?: ArrayBuffer | string;
|
|
1743
1744
|
sha512?: ArrayBuffer | string;
|
|
1745
|
+
storageClass?: string;
|
|
1744
1746
|
}
|
|
1745
1747
|
export interface R2MultipartOptions {
|
|
1746
1748
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1747
1749
|
customMetadata?: Record<string, string>;
|
|
1750
|
+
storageClass?: string;
|
|
1748
1751
|
}
|
|
1749
1752
|
export interface R2Checksums {
|
|
1750
1753
|
readonly md5?: ArrayBuffer;
|
|
@@ -4126,7 +4129,7 @@ export interface Hyperdrive {
|
|
|
4126
4129
|
/*
|
|
4127
4130
|
* The port that must be paired the the host field when connecting.
|
|
4128
4131
|
*/
|
|
4129
|
-
readonly port:
|
|
4132
|
+
readonly port: number;
|
|
4130
4133
|
/*
|
|
4131
4134
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4132
4135
|
* Unlike the host and password, this will be the same every time
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -1697,6 +1697,7 @@ declare abstract class R2Object {
|
|
|
1697
1697
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1698
1698
|
readonly customMetadata?: Record<string, string>;
|
|
1699
1699
|
readonly range?: R2Range;
|
|
1700
|
+
readonly storageClass: string;
|
|
1700
1701
|
writeHttpMetadata(headers: Headers): void;
|
|
1701
1702
|
}
|
|
1702
1703
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1739,10 +1740,12 @@ declare interface R2PutOptions {
|
|
|
1739
1740
|
sha256?: ArrayBuffer | string;
|
|
1740
1741
|
sha384?: ArrayBuffer | string;
|
|
1741
1742
|
sha512?: ArrayBuffer | string;
|
|
1743
|
+
storageClass?: string;
|
|
1742
1744
|
}
|
|
1743
1745
|
declare interface R2MultipartOptions {
|
|
1744
1746
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1745
1747
|
customMetadata?: Record<string, string>;
|
|
1748
|
+
storageClass?: string;
|
|
1746
1749
|
}
|
|
1747
1750
|
declare interface R2Checksums {
|
|
1748
1751
|
readonly md5?: ArrayBuffer;
|
|
@@ -4127,7 +4130,7 @@ declare interface Hyperdrive {
|
|
|
4127
4130
|
/*
|
|
4128
4131
|
* The port that must be paired the the host field when connecting.
|
|
4129
4132
|
*/
|
|
4130
|
-
readonly port:
|
|
4133
|
+
readonly port: number;
|
|
4131
4134
|
/*
|
|
4132
4135
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4133
4136
|
* Unlike the host and password, this will be the same every time
|
package/2022-10-31/index.ts
CHANGED
|
@@ -1699,6 +1699,7 @@ export declare abstract class R2Object {
|
|
|
1699
1699
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1700
1700
|
readonly customMetadata?: Record<string, string>;
|
|
1701
1701
|
readonly range?: R2Range;
|
|
1702
|
+
readonly storageClass: string;
|
|
1702
1703
|
writeHttpMetadata(headers: Headers): void;
|
|
1703
1704
|
}
|
|
1704
1705
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1741,10 +1742,12 @@ export interface R2PutOptions {
|
|
|
1741
1742
|
sha256?: ArrayBuffer | string;
|
|
1742
1743
|
sha384?: ArrayBuffer | string;
|
|
1743
1744
|
sha512?: ArrayBuffer | string;
|
|
1745
|
+
storageClass?: string;
|
|
1744
1746
|
}
|
|
1745
1747
|
export interface R2MultipartOptions {
|
|
1746
1748
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1747
1749
|
customMetadata?: Record<string, string>;
|
|
1750
|
+
storageClass?: string;
|
|
1748
1751
|
}
|
|
1749
1752
|
export interface R2Checksums {
|
|
1750
1753
|
readonly md5?: ArrayBuffer;
|
|
@@ -4125,7 +4128,7 @@ export interface Hyperdrive {
|
|
|
4125
4128
|
/*
|
|
4126
4129
|
* The port that must be paired the the host field when connecting.
|
|
4127
4130
|
*/
|
|
4128
|
-
readonly port:
|
|
4131
|
+
readonly port: number;
|
|
4129
4132
|
/*
|
|
4130
4133
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4131
4134
|
* Unlike the host and password, this will be the same every time
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -1701,6 +1701,7 @@ declare abstract class R2Object {
|
|
|
1701
1701
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1702
1702
|
readonly customMetadata?: Record<string, string>;
|
|
1703
1703
|
readonly range?: R2Range;
|
|
1704
|
+
readonly storageClass: string;
|
|
1704
1705
|
writeHttpMetadata(headers: Headers): void;
|
|
1705
1706
|
}
|
|
1706
1707
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1743,10 +1744,12 @@ declare interface R2PutOptions {
|
|
|
1743
1744
|
sha256?: ArrayBuffer | string;
|
|
1744
1745
|
sha384?: ArrayBuffer | string;
|
|
1745
1746
|
sha512?: ArrayBuffer | string;
|
|
1747
|
+
storageClass?: string;
|
|
1746
1748
|
}
|
|
1747
1749
|
declare interface R2MultipartOptions {
|
|
1748
1750
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1749
1751
|
customMetadata?: Record<string, string>;
|
|
1752
|
+
storageClass?: string;
|
|
1750
1753
|
}
|
|
1751
1754
|
declare interface R2Checksums {
|
|
1752
1755
|
readonly md5?: ArrayBuffer;
|
|
@@ -4123,7 +4126,7 @@ declare interface Hyperdrive {
|
|
|
4123
4126
|
/*
|
|
4124
4127
|
* The port that must be paired the the host field when connecting.
|
|
4125
4128
|
*/
|
|
4126
|
-
readonly port:
|
|
4129
|
+
readonly port: number;
|
|
4127
4130
|
/*
|
|
4128
4131
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4129
4132
|
* Unlike the host and password, this will be the same every time
|
package/2022-11-30/index.ts
CHANGED
|
@@ -1703,6 +1703,7 @@ export declare abstract class R2Object {
|
|
|
1703
1703
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1704
1704
|
readonly customMetadata?: Record<string, string>;
|
|
1705
1705
|
readonly range?: R2Range;
|
|
1706
|
+
readonly storageClass: string;
|
|
1706
1707
|
writeHttpMetadata(headers: Headers): void;
|
|
1707
1708
|
}
|
|
1708
1709
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1745,10 +1746,12 @@ export interface R2PutOptions {
|
|
|
1745
1746
|
sha256?: ArrayBuffer | string;
|
|
1746
1747
|
sha384?: ArrayBuffer | string;
|
|
1747
1748
|
sha512?: ArrayBuffer | string;
|
|
1749
|
+
storageClass?: string;
|
|
1748
1750
|
}
|
|
1749
1751
|
export interface R2MultipartOptions {
|
|
1750
1752
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1751
1753
|
customMetadata?: Record<string, string>;
|
|
1754
|
+
storageClass?: string;
|
|
1752
1755
|
}
|
|
1753
1756
|
export interface R2Checksums {
|
|
1754
1757
|
readonly md5?: ArrayBuffer;
|
|
@@ -4121,7 +4124,7 @@ export interface Hyperdrive {
|
|
|
4121
4124
|
/*
|
|
4122
4125
|
* The port that must be paired the the host field when connecting.
|
|
4123
4126
|
*/
|
|
4124
|
-
readonly port:
|
|
4127
|
+
readonly port: number;
|
|
4125
4128
|
/*
|
|
4126
4129
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4127
4130
|
* Unlike the host and password, this will be the same every time
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -1702,6 +1702,7 @@ declare abstract class R2Object {
|
|
|
1702
1702
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1703
1703
|
readonly customMetadata?: Record<string, string>;
|
|
1704
1704
|
readonly range?: R2Range;
|
|
1705
|
+
readonly storageClass: string;
|
|
1705
1706
|
writeHttpMetadata(headers: Headers): void;
|
|
1706
1707
|
}
|
|
1707
1708
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1744,10 +1745,12 @@ declare interface R2PutOptions {
|
|
|
1744
1745
|
sha256?: ArrayBuffer | string;
|
|
1745
1746
|
sha384?: ArrayBuffer | string;
|
|
1746
1747
|
sha512?: ArrayBuffer | string;
|
|
1748
|
+
storageClass?: string;
|
|
1747
1749
|
}
|
|
1748
1750
|
declare interface R2MultipartOptions {
|
|
1749
1751
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1750
1752
|
customMetadata?: Record<string, string>;
|
|
1753
|
+
storageClass?: string;
|
|
1751
1754
|
}
|
|
1752
1755
|
declare interface R2Checksums {
|
|
1753
1756
|
readonly md5?: ArrayBuffer;
|
|
@@ -4124,7 +4127,7 @@ declare interface Hyperdrive {
|
|
|
4124
4127
|
/*
|
|
4125
4128
|
* The port that must be paired the the host field when connecting.
|
|
4126
4129
|
*/
|
|
4127
|
-
readonly port:
|
|
4130
|
+
readonly port: number;
|
|
4128
4131
|
/*
|
|
4129
4132
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4130
4133
|
* Unlike the host and password, this will be the same every time
|
package/2023-03-01/index.ts
CHANGED
|
@@ -1704,6 +1704,7 @@ export declare abstract class R2Object {
|
|
|
1704
1704
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1705
1705
|
readonly customMetadata?: Record<string, string>;
|
|
1706
1706
|
readonly range?: R2Range;
|
|
1707
|
+
readonly storageClass: string;
|
|
1707
1708
|
writeHttpMetadata(headers: Headers): void;
|
|
1708
1709
|
}
|
|
1709
1710
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1746,10 +1747,12 @@ export interface R2PutOptions {
|
|
|
1746
1747
|
sha256?: ArrayBuffer | string;
|
|
1747
1748
|
sha384?: ArrayBuffer | string;
|
|
1748
1749
|
sha512?: ArrayBuffer | string;
|
|
1750
|
+
storageClass?: string;
|
|
1749
1751
|
}
|
|
1750
1752
|
export interface R2MultipartOptions {
|
|
1751
1753
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1752
1754
|
customMetadata?: Record<string, string>;
|
|
1755
|
+
storageClass?: string;
|
|
1753
1756
|
}
|
|
1754
1757
|
export interface R2Checksums {
|
|
1755
1758
|
readonly md5?: ArrayBuffer;
|
|
@@ -4122,7 +4125,7 @@ export interface Hyperdrive {
|
|
|
4122
4125
|
/*
|
|
4123
4126
|
* The port that must be paired the the host field when connecting.
|
|
4124
4127
|
*/
|
|
4125
|
-
readonly port:
|
|
4128
|
+
readonly port: number;
|
|
4126
4129
|
/*
|
|
4127
4130
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4128
4131
|
* Unlike the host and password, this will be the same every time
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -1702,6 +1702,7 @@ declare abstract class R2Object {
|
|
|
1702
1702
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1703
1703
|
readonly customMetadata?: Record<string, string>;
|
|
1704
1704
|
readonly range?: R2Range;
|
|
1705
|
+
readonly storageClass: string;
|
|
1705
1706
|
writeHttpMetadata(headers: Headers): void;
|
|
1706
1707
|
}
|
|
1707
1708
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1744,10 +1745,12 @@ declare interface R2PutOptions {
|
|
|
1744
1745
|
sha256?: ArrayBuffer | string;
|
|
1745
1746
|
sha384?: ArrayBuffer | string;
|
|
1746
1747
|
sha512?: ArrayBuffer | string;
|
|
1748
|
+
storageClass?: string;
|
|
1747
1749
|
}
|
|
1748
1750
|
declare interface R2MultipartOptions {
|
|
1749
1751
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1750
1752
|
customMetadata?: Record<string, string>;
|
|
1753
|
+
storageClass?: string;
|
|
1751
1754
|
}
|
|
1752
1755
|
declare interface R2Checksums {
|
|
1753
1756
|
readonly md5?: ArrayBuffer;
|
|
@@ -4124,7 +4127,7 @@ declare interface Hyperdrive {
|
|
|
4124
4127
|
/*
|
|
4125
4128
|
* The port that must be paired the the host field when connecting.
|
|
4126
4129
|
*/
|
|
4127
|
-
readonly port:
|
|
4130
|
+
readonly port: number;
|
|
4128
4131
|
/*
|
|
4129
4132
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4130
4133
|
* Unlike the host and password, this will be the same every time
|
package/2023-07-01/index.ts
CHANGED
|
@@ -1704,6 +1704,7 @@ export declare abstract class R2Object {
|
|
|
1704
1704
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1705
1705
|
readonly customMetadata?: Record<string, string>;
|
|
1706
1706
|
readonly range?: R2Range;
|
|
1707
|
+
readonly storageClass: string;
|
|
1707
1708
|
writeHttpMetadata(headers: Headers): void;
|
|
1708
1709
|
}
|
|
1709
1710
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1746,10 +1747,12 @@ export interface R2PutOptions {
|
|
|
1746
1747
|
sha256?: ArrayBuffer | string;
|
|
1747
1748
|
sha384?: ArrayBuffer | string;
|
|
1748
1749
|
sha512?: ArrayBuffer | string;
|
|
1750
|
+
storageClass?: string;
|
|
1749
1751
|
}
|
|
1750
1752
|
export interface R2MultipartOptions {
|
|
1751
1753
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1752
1754
|
customMetadata?: Record<string, string>;
|
|
1755
|
+
storageClass?: string;
|
|
1753
1756
|
}
|
|
1754
1757
|
export interface R2Checksums {
|
|
1755
1758
|
readonly md5?: ArrayBuffer;
|
|
@@ -4122,7 +4125,7 @@ export interface Hyperdrive {
|
|
|
4122
4125
|
/*
|
|
4123
4126
|
* The port that must be paired the the host field when connecting.
|
|
4124
4127
|
*/
|
|
4125
|
-
readonly port:
|
|
4128
|
+
readonly port: number;
|
|
4126
4129
|
/*
|
|
4127
4130
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4128
4131
|
* Unlike the host and password, this will be the same every time
|
package/experimental/index.d.ts
CHANGED
|
@@ -1748,6 +1748,7 @@ declare abstract class R2Object {
|
|
|
1748
1748
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1749
1749
|
readonly customMetadata?: Record<string, string>;
|
|
1750
1750
|
readonly range?: R2Range;
|
|
1751
|
+
readonly storageClass: string;
|
|
1751
1752
|
writeHttpMetadata(headers: Headers): void;
|
|
1752
1753
|
}
|
|
1753
1754
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1790,10 +1791,12 @@ declare interface R2PutOptions {
|
|
|
1790
1791
|
sha256?: ArrayBuffer | string;
|
|
1791
1792
|
sha384?: ArrayBuffer | string;
|
|
1792
1793
|
sha512?: ArrayBuffer | string;
|
|
1794
|
+
storageClass?: string;
|
|
1793
1795
|
}
|
|
1794
1796
|
declare interface R2MultipartOptions {
|
|
1795
1797
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1796
1798
|
customMetadata?: Record<string, string>;
|
|
1799
|
+
storageClass?: string;
|
|
1797
1800
|
}
|
|
1798
1801
|
declare interface R2Checksums {
|
|
1799
1802
|
readonly md5?: ArrayBuffer;
|
|
@@ -4193,7 +4196,7 @@ declare interface Hyperdrive {
|
|
|
4193
4196
|
/*
|
|
4194
4197
|
* The port that must be paired the the host field when connecting.
|
|
4195
4198
|
*/
|
|
4196
|
-
readonly port:
|
|
4199
|
+
readonly port: number;
|
|
4197
4200
|
/*
|
|
4198
4201
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4199
4202
|
* Unlike the host and password, this will be the same every time
|
package/experimental/index.ts
CHANGED
|
@@ -1750,6 +1750,7 @@ export declare abstract class R2Object {
|
|
|
1750
1750
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1751
1751
|
readonly customMetadata?: Record<string, string>;
|
|
1752
1752
|
readonly range?: R2Range;
|
|
1753
|
+
readonly storageClass: string;
|
|
1753
1754
|
writeHttpMetadata(headers: Headers): void;
|
|
1754
1755
|
}
|
|
1755
1756
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1792,10 +1793,12 @@ export interface R2PutOptions {
|
|
|
1792
1793
|
sha256?: ArrayBuffer | string;
|
|
1793
1794
|
sha384?: ArrayBuffer | string;
|
|
1794
1795
|
sha512?: ArrayBuffer | string;
|
|
1796
|
+
storageClass?: string;
|
|
1795
1797
|
}
|
|
1796
1798
|
export interface R2MultipartOptions {
|
|
1797
1799
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1798
1800
|
customMetadata?: Record<string, string>;
|
|
1801
|
+
storageClass?: string;
|
|
1799
1802
|
}
|
|
1800
1803
|
export interface R2Checksums {
|
|
1801
1804
|
readonly md5?: ArrayBuffer;
|
|
@@ -4191,7 +4194,7 @@ export interface Hyperdrive {
|
|
|
4191
4194
|
/*
|
|
4192
4195
|
* The port that must be paired the the host field when connecting.
|
|
4193
4196
|
*/
|
|
4194
|
-
readonly port:
|
|
4197
|
+
readonly port: number;
|
|
4195
4198
|
/*
|
|
4196
4199
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4197
4200
|
* Unlike the host and password, this will be the same every time
|
package/index.d.ts
CHANGED
|
@@ -1673,6 +1673,7 @@ declare abstract class R2Object {
|
|
|
1673
1673
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1674
1674
|
readonly customMetadata?: Record<string, string>;
|
|
1675
1675
|
readonly range?: R2Range;
|
|
1676
|
+
readonly storageClass: string;
|
|
1676
1677
|
writeHttpMetadata(headers: Headers): void;
|
|
1677
1678
|
}
|
|
1678
1679
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1715,10 +1716,12 @@ declare interface R2PutOptions {
|
|
|
1715
1716
|
sha256?: ArrayBuffer | string;
|
|
1716
1717
|
sha384?: ArrayBuffer | string;
|
|
1717
1718
|
sha512?: ArrayBuffer | string;
|
|
1719
|
+
storageClass?: string;
|
|
1718
1720
|
}
|
|
1719
1721
|
declare interface R2MultipartOptions {
|
|
1720
1722
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1721
1723
|
customMetadata?: Record<string, string>;
|
|
1724
|
+
storageClass?: string;
|
|
1722
1725
|
}
|
|
1723
1726
|
declare interface R2Checksums {
|
|
1724
1727
|
readonly md5?: ArrayBuffer;
|
|
@@ -4075,7 +4078,7 @@ declare interface Hyperdrive {
|
|
|
4075
4078
|
/*
|
|
4076
4079
|
* The port that must be paired the the host field when connecting.
|
|
4077
4080
|
*/
|
|
4078
|
-
readonly port:
|
|
4081
|
+
readonly port: number;
|
|
4079
4082
|
/*
|
|
4080
4083
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4081
4084
|
* Unlike the host and password, this will be the same every time
|
package/index.ts
CHANGED
|
@@ -1675,6 +1675,7 @@ export declare abstract class R2Object {
|
|
|
1675
1675
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1676
1676
|
readonly customMetadata?: Record<string, string>;
|
|
1677
1677
|
readonly range?: R2Range;
|
|
1678
|
+
readonly storageClass: string;
|
|
1678
1679
|
writeHttpMetadata(headers: Headers): void;
|
|
1679
1680
|
}
|
|
1680
1681
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1717,10 +1718,12 @@ export interface R2PutOptions {
|
|
|
1717
1718
|
sha256?: ArrayBuffer | string;
|
|
1718
1719
|
sha384?: ArrayBuffer | string;
|
|
1719
1720
|
sha512?: ArrayBuffer | string;
|
|
1721
|
+
storageClass?: string;
|
|
1720
1722
|
}
|
|
1721
1723
|
export interface R2MultipartOptions {
|
|
1722
1724
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1723
1725
|
customMetadata?: Record<string, string>;
|
|
1726
|
+
storageClass?: string;
|
|
1724
1727
|
}
|
|
1725
1728
|
export interface R2Checksums {
|
|
1726
1729
|
readonly md5?: ArrayBuffer;
|
|
@@ -4073,7 +4076,7 @@ export interface Hyperdrive {
|
|
|
4073
4076
|
/*
|
|
4074
4077
|
* The port that must be paired the the host field when connecting.
|
|
4075
4078
|
*/
|
|
4076
|
-
readonly port:
|
|
4079
|
+
readonly port: number;
|
|
4077
4080
|
/*
|
|
4078
4081
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4079
4082
|
* Unlike the host and password, this will be the same every time
|
package/oldest/index.d.ts
CHANGED
|
@@ -1673,6 +1673,7 @@ declare abstract class R2Object {
|
|
|
1673
1673
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1674
1674
|
readonly customMetadata?: Record<string, string>;
|
|
1675
1675
|
readonly range?: R2Range;
|
|
1676
|
+
readonly storageClass: string;
|
|
1676
1677
|
writeHttpMetadata(headers: Headers): void;
|
|
1677
1678
|
}
|
|
1678
1679
|
declare interface R2ObjectBody extends R2Object {
|
|
@@ -1715,10 +1716,12 @@ declare interface R2PutOptions {
|
|
|
1715
1716
|
sha256?: ArrayBuffer | string;
|
|
1716
1717
|
sha384?: ArrayBuffer | string;
|
|
1717
1718
|
sha512?: ArrayBuffer | string;
|
|
1719
|
+
storageClass?: string;
|
|
1718
1720
|
}
|
|
1719
1721
|
declare interface R2MultipartOptions {
|
|
1720
1722
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1721
1723
|
customMetadata?: Record<string, string>;
|
|
1724
|
+
storageClass?: string;
|
|
1722
1725
|
}
|
|
1723
1726
|
declare interface R2Checksums {
|
|
1724
1727
|
readonly md5?: ArrayBuffer;
|
|
@@ -4075,7 +4078,7 @@ declare interface Hyperdrive {
|
|
|
4075
4078
|
/*
|
|
4076
4079
|
* The port that must be paired the the host field when connecting.
|
|
4077
4080
|
*/
|
|
4078
|
-
readonly port:
|
|
4081
|
+
readonly port: number;
|
|
4079
4082
|
/*
|
|
4080
4083
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4081
4084
|
* Unlike the host and password, this will be the same every time
|
package/oldest/index.ts
CHANGED
|
@@ -1675,6 +1675,7 @@ export declare abstract class R2Object {
|
|
|
1675
1675
|
readonly httpMetadata?: R2HTTPMetadata;
|
|
1676
1676
|
readonly customMetadata?: Record<string, string>;
|
|
1677
1677
|
readonly range?: R2Range;
|
|
1678
|
+
readonly storageClass: string;
|
|
1678
1679
|
writeHttpMetadata(headers: Headers): void;
|
|
1679
1680
|
}
|
|
1680
1681
|
export interface R2ObjectBody extends R2Object {
|
|
@@ -1717,10 +1718,12 @@ export interface R2PutOptions {
|
|
|
1717
1718
|
sha256?: ArrayBuffer | string;
|
|
1718
1719
|
sha384?: ArrayBuffer | string;
|
|
1719
1720
|
sha512?: ArrayBuffer | string;
|
|
1721
|
+
storageClass?: string;
|
|
1720
1722
|
}
|
|
1721
1723
|
export interface R2MultipartOptions {
|
|
1722
1724
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
1723
1725
|
customMetadata?: Record<string, string>;
|
|
1726
|
+
storageClass?: string;
|
|
1724
1727
|
}
|
|
1725
1728
|
export interface R2Checksums {
|
|
1726
1729
|
readonly md5?: ArrayBuffer;
|
|
@@ -4073,7 +4076,7 @@ export interface Hyperdrive {
|
|
|
4073
4076
|
/*
|
|
4074
4077
|
* The port that must be paired the the host field when connecting.
|
|
4075
4078
|
*/
|
|
4076
|
-
readonly port:
|
|
4079
|
+
readonly port: number;
|
|
4077
4080
|
/*
|
|
4078
4081
|
* The username to use when authenticating to your database via Hyperdrive.
|
|
4079
4082
|
* Unlike the host and password, this will be the same every time
|
package/package.json
CHANGED