@cloudflare/workers-types 3.5.0 → 3.5.1
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/index.d.ts +8 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -993,7 +993,13 @@ interface R2Bucket {
|
|
|
993
993
|
get(key: string, options?: R2GetOptions): Promise<R2ObjectBody | null>;
|
|
994
994
|
put(
|
|
995
995
|
key: string,
|
|
996
|
-
value:
|
|
996
|
+
value:
|
|
997
|
+
| ReadableStream
|
|
998
|
+
| ArrayBuffer
|
|
999
|
+
| ArrayBufferView
|
|
1000
|
+
| string
|
|
1001
|
+
| null
|
|
1002
|
+
| Blob,
|
|
997
1003
|
options?: R2PutOptions
|
|
998
1004
|
): Promise<R2Object>;
|
|
999
1005
|
delete(key: string): Promise<void>;
|
|
@@ -1067,7 +1073,7 @@ interface R2ListOptions {
|
|
|
1067
1073
|
* }
|
|
1068
1074
|
* ```
|
|
1069
1075
|
*/
|
|
1070
|
-
include
|
|
1076
|
+
include?: ("httpMetadata" | "customMetadata")[];
|
|
1071
1077
|
}
|
|
1072
1078
|
|
|
1073
1079
|
/**
|