@cloudflare/workers-types 4.20250409.0 → 4.20250412.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 +25 -25
- package/2021-11-03/index.ts +25 -25
- package/2022-01-31/index.d.ts +25 -25
- package/2022-01-31/index.ts +25 -25
- package/2022-03-21/index.d.ts +25 -25
- package/2022-03-21/index.ts +25 -25
- package/2022-08-04/index.d.ts +25 -25
- package/2022-08-04/index.ts +25 -25
- package/2022-10-31/index.d.ts +25 -25
- package/2022-10-31/index.ts +25 -25
- package/2022-11-30/index.d.ts +25 -25
- package/2022-11-30/index.ts +25 -25
- package/2023-03-01/index.d.ts +25 -25
- package/2023-03-01/index.ts +25 -25
- package/2023-07-01/index.d.ts +25 -25
- package/2023-07-01/index.ts +25 -25
- package/experimental/index.d.ts +26 -25
- package/experimental/index.ts +26 -25
- package/index.d.ts +25 -25
- package/index.ts +25 -25
- package/oldest/index.d.ts +25 -25
- package/oldest/index.ts +25 -25
- package/package.json +1 -1
package/2022-10-31/index.d.ts
CHANGED
|
@@ -2030,11 +2030,11 @@ interface R2PutOptions {
|
|
|
2030
2030
|
onlyIf?: R2Conditional | Headers;
|
|
2031
2031
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2032
2032
|
customMetadata?: Record<string, string>;
|
|
2033
|
-
md5?: ArrayBuffer | string;
|
|
2034
|
-
sha1?: ArrayBuffer | string;
|
|
2035
|
-
sha256?: ArrayBuffer | string;
|
|
2036
|
-
sha384?: ArrayBuffer | string;
|
|
2037
|
-
sha512?: ArrayBuffer | string;
|
|
2033
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2034
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2035
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2036
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2037
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2038
2038
|
storageClass?: string;
|
|
2039
2039
|
ssecKey?: ArrayBuffer | string;
|
|
2040
2040
|
}
|
|
@@ -2707,9 +2707,9 @@ declare class URLSearchParams {
|
|
|
2707
2707
|
}
|
|
2708
2708
|
declare class URLPattern {
|
|
2709
2709
|
constructor(
|
|
2710
|
-
input?: string |
|
|
2711
|
-
baseURL?: string |
|
|
2712
|
-
patternOptions?:
|
|
2710
|
+
input?: string | URLPatternInit,
|
|
2711
|
+
baseURL?: string | URLPatternOptions,
|
|
2712
|
+
patternOptions?: URLPatternOptions,
|
|
2713
2713
|
);
|
|
2714
2714
|
get protocol(): string;
|
|
2715
2715
|
get username(): string;
|
|
@@ -2719,13 +2719,13 @@ declare class URLPattern {
|
|
|
2719
2719
|
get pathname(): string;
|
|
2720
2720
|
get search(): string;
|
|
2721
2721
|
get hash(): string;
|
|
2722
|
-
test(input?: string |
|
|
2722
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2723
2723
|
exec(
|
|
2724
|
-
input?: string |
|
|
2724
|
+
input?: string | URLPatternInit,
|
|
2725
2725
|
baseURL?: string,
|
|
2726
|
-
):
|
|
2726
|
+
): URLPatternResult | null;
|
|
2727
2727
|
}
|
|
2728
|
-
interface
|
|
2728
|
+
interface URLPatternInit {
|
|
2729
2729
|
protocol?: string;
|
|
2730
2730
|
username?: string;
|
|
2731
2731
|
password?: string;
|
|
@@ -2736,22 +2736,22 @@ interface URLPatternURLPatternInit {
|
|
|
2736
2736
|
hash?: string;
|
|
2737
2737
|
baseURL?: string;
|
|
2738
2738
|
}
|
|
2739
|
-
interface
|
|
2739
|
+
interface URLPatternComponentResult {
|
|
2740
2740
|
input: string;
|
|
2741
2741
|
groups: Record<string, string>;
|
|
2742
2742
|
}
|
|
2743
|
-
interface
|
|
2744
|
-
inputs: (string |
|
|
2745
|
-
protocol:
|
|
2746
|
-
username:
|
|
2747
|
-
password:
|
|
2748
|
-
hostname:
|
|
2749
|
-
port:
|
|
2750
|
-
pathname:
|
|
2751
|
-
search:
|
|
2752
|
-
hash:
|
|
2753
|
-
}
|
|
2754
|
-
interface
|
|
2743
|
+
interface URLPatternResult {
|
|
2744
|
+
inputs: (string | URLPatternInit)[];
|
|
2745
|
+
protocol: URLPatternComponentResult;
|
|
2746
|
+
username: URLPatternComponentResult;
|
|
2747
|
+
password: URLPatternComponentResult;
|
|
2748
|
+
hostname: URLPatternComponentResult;
|
|
2749
|
+
port: URLPatternComponentResult;
|
|
2750
|
+
pathname: URLPatternComponentResult;
|
|
2751
|
+
search: URLPatternComponentResult;
|
|
2752
|
+
hash: URLPatternComponentResult;
|
|
2753
|
+
}
|
|
2754
|
+
interface URLPatternOptions {
|
|
2755
2755
|
ignoreCase?: boolean;
|
|
2756
2756
|
}
|
|
2757
2757
|
/**
|
package/2022-10-31/index.ts
CHANGED
|
@@ -2039,11 +2039,11 @@ export interface R2PutOptions {
|
|
|
2039
2039
|
onlyIf?: R2Conditional | Headers;
|
|
2040
2040
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2041
2041
|
customMetadata?: Record<string, string>;
|
|
2042
|
-
md5?: ArrayBuffer | string;
|
|
2043
|
-
sha1?: ArrayBuffer | string;
|
|
2044
|
-
sha256?: ArrayBuffer | string;
|
|
2045
|
-
sha384?: ArrayBuffer | string;
|
|
2046
|
-
sha512?: ArrayBuffer | string;
|
|
2042
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2043
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2044
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2045
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2046
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2047
2047
|
storageClass?: string;
|
|
2048
2048
|
ssecKey?: ArrayBuffer | string;
|
|
2049
2049
|
}
|
|
@@ -2719,9 +2719,9 @@ export declare class URLSearchParams {
|
|
|
2719
2719
|
}
|
|
2720
2720
|
export declare class URLPattern {
|
|
2721
2721
|
constructor(
|
|
2722
|
-
input?: string |
|
|
2723
|
-
baseURL?: string |
|
|
2724
|
-
patternOptions?:
|
|
2722
|
+
input?: string | URLPatternInit,
|
|
2723
|
+
baseURL?: string | URLPatternOptions,
|
|
2724
|
+
patternOptions?: URLPatternOptions,
|
|
2725
2725
|
);
|
|
2726
2726
|
get protocol(): string;
|
|
2727
2727
|
get username(): string;
|
|
@@ -2731,13 +2731,13 @@ export declare class URLPattern {
|
|
|
2731
2731
|
get pathname(): string;
|
|
2732
2732
|
get search(): string;
|
|
2733
2733
|
get hash(): string;
|
|
2734
|
-
test(input?: string |
|
|
2734
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2735
2735
|
exec(
|
|
2736
|
-
input?: string |
|
|
2736
|
+
input?: string | URLPatternInit,
|
|
2737
2737
|
baseURL?: string,
|
|
2738
|
-
):
|
|
2738
|
+
): URLPatternResult | null;
|
|
2739
2739
|
}
|
|
2740
|
-
export interface
|
|
2740
|
+
export interface URLPatternInit {
|
|
2741
2741
|
protocol?: string;
|
|
2742
2742
|
username?: string;
|
|
2743
2743
|
password?: string;
|
|
@@ -2748,22 +2748,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2748
2748
|
hash?: string;
|
|
2749
2749
|
baseURL?: string;
|
|
2750
2750
|
}
|
|
2751
|
-
export interface
|
|
2751
|
+
export interface URLPatternComponentResult {
|
|
2752
2752
|
input: string;
|
|
2753
2753
|
groups: Record<string, string>;
|
|
2754
2754
|
}
|
|
2755
|
-
export interface
|
|
2756
|
-
inputs: (string |
|
|
2757
|
-
protocol:
|
|
2758
|
-
username:
|
|
2759
|
-
password:
|
|
2760
|
-
hostname:
|
|
2761
|
-
port:
|
|
2762
|
-
pathname:
|
|
2763
|
-
search:
|
|
2764
|
-
hash:
|
|
2765
|
-
}
|
|
2766
|
-
export interface
|
|
2755
|
+
export interface URLPatternResult {
|
|
2756
|
+
inputs: (string | URLPatternInit)[];
|
|
2757
|
+
protocol: URLPatternComponentResult;
|
|
2758
|
+
username: URLPatternComponentResult;
|
|
2759
|
+
password: URLPatternComponentResult;
|
|
2760
|
+
hostname: URLPatternComponentResult;
|
|
2761
|
+
port: URLPatternComponentResult;
|
|
2762
|
+
pathname: URLPatternComponentResult;
|
|
2763
|
+
search: URLPatternComponentResult;
|
|
2764
|
+
hash: URLPatternComponentResult;
|
|
2765
|
+
}
|
|
2766
|
+
export interface URLPatternOptions {
|
|
2767
2767
|
ignoreCase?: boolean;
|
|
2768
2768
|
}
|
|
2769
2769
|
/**
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -2035,11 +2035,11 @@ interface R2PutOptions {
|
|
|
2035
2035
|
onlyIf?: R2Conditional | Headers;
|
|
2036
2036
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2037
2037
|
customMetadata?: Record<string, string>;
|
|
2038
|
-
md5?: ArrayBuffer | string;
|
|
2039
|
-
sha1?: ArrayBuffer | string;
|
|
2040
|
-
sha256?: ArrayBuffer | string;
|
|
2041
|
-
sha384?: ArrayBuffer | string;
|
|
2042
|
-
sha512?: ArrayBuffer | string;
|
|
2038
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2039
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2040
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2041
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2042
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2043
2043
|
storageClass?: string;
|
|
2044
2044
|
ssecKey?: ArrayBuffer | string;
|
|
2045
2045
|
}
|
|
@@ -2712,9 +2712,9 @@ declare class URLSearchParams {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
declare class URLPattern {
|
|
2714
2714
|
constructor(
|
|
2715
|
-
input?: string |
|
|
2716
|
-
baseURL?: string |
|
|
2717
|
-
patternOptions?:
|
|
2715
|
+
input?: string | URLPatternInit,
|
|
2716
|
+
baseURL?: string | URLPatternOptions,
|
|
2717
|
+
patternOptions?: URLPatternOptions,
|
|
2718
2718
|
);
|
|
2719
2719
|
get protocol(): string;
|
|
2720
2720
|
get username(): string;
|
|
@@ -2724,13 +2724,13 @@ declare class URLPattern {
|
|
|
2724
2724
|
get pathname(): string;
|
|
2725
2725
|
get search(): string;
|
|
2726
2726
|
get hash(): string;
|
|
2727
|
-
test(input?: string |
|
|
2727
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2728
2728
|
exec(
|
|
2729
|
-
input?: string |
|
|
2729
|
+
input?: string | URLPatternInit,
|
|
2730
2730
|
baseURL?: string,
|
|
2731
|
-
):
|
|
2731
|
+
): URLPatternResult | null;
|
|
2732
2732
|
}
|
|
2733
|
-
interface
|
|
2733
|
+
interface URLPatternInit {
|
|
2734
2734
|
protocol?: string;
|
|
2735
2735
|
username?: string;
|
|
2736
2736
|
password?: string;
|
|
@@ -2741,22 +2741,22 @@ interface URLPatternURLPatternInit {
|
|
|
2741
2741
|
hash?: string;
|
|
2742
2742
|
baseURL?: string;
|
|
2743
2743
|
}
|
|
2744
|
-
interface
|
|
2744
|
+
interface URLPatternComponentResult {
|
|
2745
2745
|
input: string;
|
|
2746
2746
|
groups: Record<string, string>;
|
|
2747
2747
|
}
|
|
2748
|
-
interface
|
|
2749
|
-
inputs: (string |
|
|
2750
|
-
protocol:
|
|
2751
|
-
username:
|
|
2752
|
-
password:
|
|
2753
|
-
hostname:
|
|
2754
|
-
port:
|
|
2755
|
-
pathname:
|
|
2756
|
-
search:
|
|
2757
|
-
hash:
|
|
2758
|
-
}
|
|
2759
|
-
interface
|
|
2748
|
+
interface URLPatternResult {
|
|
2749
|
+
inputs: (string | URLPatternInit)[];
|
|
2750
|
+
protocol: URLPatternComponentResult;
|
|
2751
|
+
username: URLPatternComponentResult;
|
|
2752
|
+
password: URLPatternComponentResult;
|
|
2753
|
+
hostname: URLPatternComponentResult;
|
|
2754
|
+
port: URLPatternComponentResult;
|
|
2755
|
+
pathname: URLPatternComponentResult;
|
|
2756
|
+
search: URLPatternComponentResult;
|
|
2757
|
+
hash: URLPatternComponentResult;
|
|
2758
|
+
}
|
|
2759
|
+
interface URLPatternOptions {
|
|
2760
2760
|
ignoreCase?: boolean;
|
|
2761
2761
|
}
|
|
2762
2762
|
/**
|
package/2022-11-30/index.ts
CHANGED
|
@@ -2044,11 +2044,11 @@ export interface R2PutOptions {
|
|
|
2044
2044
|
onlyIf?: R2Conditional | Headers;
|
|
2045
2045
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2046
2046
|
customMetadata?: Record<string, string>;
|
|
2047
|
-
md5?: ArrayBuffer | string;
|
|
2048
|
-
sha1?: ArrayBuffer | string;
|
|
2049
|
-
sha256?: ArrayBuffer | string;
|
|
2050
|
-
sha384?: ArrayBuffer | string;
|
|
2051
|
-
sha512?: ArrayBuffer | string;
|
|
2047
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2048
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2049
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2050
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2051
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2052
2052
|
storageClass?: string;
|
|
2053
2053
|
ssecKey?: ArrayBuffer | string;
|
|
2054
2054
|
}
|
|
@@ -2724,9 +2724,9 @@ export declare class URLSearchParams {
|
|
|
2724
2724
|
}
|
|
2725
2725
|
export declare class URLPattern {
|
|
2726
2726
|
constructor(
|
|
2727
|
-
input?: string |
|
|
2728
|
-
baseURL?: string |
|
|
2729
|
-
patternOptions?:
|
|
2727
|
+
input?: string | URLPatternInit,
|
|
2728
|
+
baseURL?: string | URLPatternOptions,
|
|
2729
|
+
patternOptions?: URLPatternOptions,
|
|
2730
2730
|
);
|
|
2731
2731
|
get protocol(): string;
|
|
2732
2732
|
get username(): string;
|
|
@@ -2736,13 +2736,13 @@ export declare class URLPattern {
|
|
|
2736
2736
|
get pathname(): string;
|
|
2737
2737
|
get search(): string;
|
|
2738
2738
|
get hash(): string;
|
|
2739
|
-
test(input?: string |
|
|
2739
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2740
2740
|
exec(
|
|
2741
|
-
input?: string |
|
|
2741
|
+
input?: string | URLPatternInit,
|
|
2742
2742
|
baseURL?: string,
|
|
2743
|
-
):
|
|
2743
|
+
): URLPatternResult | null;
|
|
2744
2744
|
}
|
|
2745
|
-
export interface
|
|
2745
|
+
export interface URLPatternInit {
|
|
2746
2746
|
protocol?: string;
|
|
2747
2747
|
username?: string;
|
|
2748
2748
|
password?: string;
|
|
@@ -2753,22 +2753,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2753
2753
|
hash?: string;
|
|
2754
2754
|
baseURL?: string;
|
|
2755
2755
|
}
|
|
2756
|
-
export interface
|
|
2756
|
+
export interface URLPatternComponentResult {
|
|
2757
2757
|
input: string;
|
|
2758
2758
|
groups: Record<string, string>;
|
|
2759
2759
|
}
|
|
2760
|
-
export interface
|
|
2761
|
-
inputs: (string |
|
|
2762
|
-
protocol:
|
|
2763
|
-
username:
|
|
2764
|
-
password:
|
|
2765
|
-
hostname:
|
|
2766
|
-
port:
|
|
2767
|
-
pathname:
|
|
2768
|
-
search:
|
|
2769
|
-
hash:
|
|
2770
|
-
}
|
|
2771
|
-
export interface
|
|
2760
|
+
export interface URLPatternResult {
|
|
2761
|
+
inputs: (string | URLPatternInit)[];
|
|
2762
|
+
protocol: URLPatternComponentResult;
|
|
2763
|
+
username: URLPatternComponentResult;
|
|
2764
|
+
password: URLPatternComponentResult;
|
|
2765
|
+
hostname: URLPatternComponentResult;
|
|
2766
|
+
port: URLPatternComponentResult;
|
|
2767
|
+
pathname: URLPatternComponentResult;
|
|
2768
|
+
search: URLPatternComponentResult;
|
|
2769
|
+
hash: URLPatternComponentResult;
|
|
2770
|
+
}
|
|
2771
|
+
export interface URLPatternOptions {
|
|
2772
2772
|
ignoreCase?: boolean;
|
|
2773
2773
|
}
|
|
2774
2774
|
/**
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -2037,11 +2037,11 @@ interface R2PutOptions {
|
|
|
2037
2037
|
onlyIf?: R2Conditional | Headers;
|
|
2038
2038
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2039
2039
|
customMetadata?: Record<string, string>;
|
|
2040
|
-
md5?: ArrayBuffer | string;
|
|
2041
|
-
sha1?: ArrayBuffer | string;
|
|
2042
|
-
sha256?: ArrayBuffer | string;
|
|
2043
|
-
sha384?: ArrayBuffer | string;
|
|
2044
|
-
sha512?: ArrayBuffer | string;
|
|
2040
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2041
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2042
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2043
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2044
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2045
2045
|
storageClass?: string;
|
|
2046
2046
|
ssecKey?: ArrayBuffer | string;
|
|
2047
2047
|
}
|
|
@@ -2714,9 +2714,9 @@ declare class URLSearchParams {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
declare class URLPattern {
|
|
2716
2716
|
constructor(
|
|
2717
|
-
input?: string |
|
|
2718
|
-
baseURL?: string |
|
|
2719
|
-
patternOptions?:
|
|
2717
|
+
input?: string | URLPatternInit,
|
|
2718
|
+
baseURL?: string | URLPatternOptions,
|
|
2719
|
+
patternOptions?: URLPatternOptions,
|
|
2720
2720
|
);
|
|
2721
2721
|
get protocol(): string;
|
|
2722
2722
|
get username(): string;
|
|
@@ -2726,13 +2726,13 @@ declare class URLPattern {
|
|
|
2726
2726
|
get pathname(): string;
|
|
2727
2727
|
get search(): string;
|
|
2728
2728
|
get hash(): string;
|
|
2729
|
-
test(input?: string |
|
|
2729
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2730
2730
|
exec(
|
|
2731
|
-
input?: string |
|
|
2731
|
+
input?: string | URLPatternInit,
|
|
2732
2732
|
baseURL?: string,
|
|
2733
|
-
):
|
|
2733
|
+
): URLPatternResult | null;
|
|
2734
2734
|
}
|
|
2735
|
-
interface
|
|
2735
|
+
interface URLPatternInit {
|
|
2736
2736
|
protocol?: string;
|
|
2737
2737
|
username?: string;
|
|
2738
2738
|
password?: string;
|
|
@@ -2743,22 +2743,22 @@ interface URLPatternURLPatternInit {
|
|
|
2743
2743
|
hash?: string;
|
|
2744
2744
|
baseURL?: string;
|
|
2745
2745
|
}
|
|
2746
|
-
interface
|
|
2746
|
+
interface URLPatternComponentResult {
|
|
2747
2747
|
input: string;
|
|
2748
2748
|
groups: Record<string, string>;
|
|
2749
2749
|
}
|
|
2750
|
-
interface
|
|
2751
|
-
inputs: (string |
|
|
2752
|
-
protocol:
|
|
2753
|
-
username:
|
|
2754
|
-
password:
|
|
2755
|
-
hostname:
|
|
2756
|
-
port:
|
|
2757
|
-
pathname:
|
|
2758
|
-
search:
|
|
2759
|
-
hash:
|
|
2760
|
-
}
|
|
2761
|
-
interface
|
|
2750
|
+
interface URLPatternResult {
|
|
2751
|
+
inputs: (string | URLPatternInit)[];
|
|
2752
|
+
protocol: URLPatternComponentResult;
|
|
2753
|
+
username: URLPatternComponentResult;
|
|
2754
|
+
password: URLPatternComponentResult;
|
|
2755
|
+
hostname: URLPatternComponentResult;
|
|
2756
|
+
port: URLPatternComponentResult;
|
|
2757
|
+
pathname: URLPatternComponentResult;
|
|
2758
|
+
search: URLPatternComponentResult;
|
|
2759
|
+
hash: URLPatternComponentResult;
|
|
2760
|
+
}
|
|
2761
|
+
interface URLPatternOptions {
|
|
2762
2762
|
ignoreCase?: boolean;
|
|
2763
2763
|
}
|
|
2764
2764
|
/**
|
package/2023-03-01/index.ts
CHANGED
|
@@ -2046,11 +2046,11 @@ export interface R2PutOptions {
|
|
|
2046
2046
|
onlyIf?: R2Conditional | Headers;
|
|
2047
2047
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2048
2048
|
customMetadata?: Record<string, string>;
|
|
2049
|
-
md5?: ArrayBuffer | string;
|
|
2050
|
-
sha1?: ArrayBuffer | string;
|
|
2051
|
-
sha256?: ArrayBuffer | string;
|
|
2052
|
-
sha384?: ArrayBuffer | string;
|
|
2053
|
-
sha512?: ArrayBuffer | string;
|
|
2049
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2050
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2051
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2052
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2053
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2054
2054
|
storageClass?: string;
|
|
2055
2055
|
ssecKey?: ArrayBuffer | string;
|
|
2056
2056
|
}
|
|
@@ -2726,9 +2726,9 @@ export declare class URLSearchParams {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
export declare class URLPattern {
|
|
2728
2728
|
constructor(
|
|
2729
|
-
input?: string |
|
|
2730
|
-
baseURL?: string |
|
|
2731
|
-
patternOptions?:
|
|
2729
|
+
input?: string | URLPatternInit,
|
|
2730
|
+
baseURL?: string | URLPatternOptions,
|
|
2731
|
+
patternOptions?: URLPatternOptions,
|
|
2732
2732
|
);
|
|
2733
2733
|
get protocol(): string;
|
|
2734
2734
|
get username(): string;
|
|
@@ -2738,13 +2738,13 @@ export declare class URLPattern {
|
|
|
2738
2738
|
get pathname(): string;
|
|
2739
2739
|
get search(): string;
|
|
2740
2740
|
get hash(): string;
|
|
2741
|
-
test(input?: string |
|
|
2741
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2742
2742
|
exec(
|
|
2743
|
-
input?: string |
|
|
2743
|
+
input?: string | URLPatternInit,
|
|
2744
2744
|
baseURL?: string,
|
|
2745
|
-
):
|
|
2745
|
+
): URLPatternResult | null;
|
|
2746
2746
|
}
|
|
2747
|
-
export interface
|
|
2747
|
+
export interface URLPatternInit {
|
|
2748
2748
|
protocol?: string;
|
|
2749
2749
|
username?: string;
|
|
2750
2750
|
password?: string;
|
|
@@ -2755,22 +2755,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2755
2755
|
hash?: string;
|
|
2756
2756
|
baseURL?: string;
|
|
2757
2757
|
}
|
|
2758
|
-
export interface
|
|
2758
|
+
export interface URLPatternComponentResult {
|
|
2759
2759
|
input: string;
|
|
2760
2760
|
groups: Record<string, string>;
|
|
2761
2761
|
}
|
|
2762
|
-
export interface
|
|
2763
|
-
inputs: (string |
|
|
2764
|
-
protocol:
|
|
2765
|
-
username:
|
|
2766
|
-
password:
|
|
2767
|
-
hostname:
|
|
2768
|
-
port:
|
|
2769
|
-
pathname:
|
|
2770
|
-
search:
|
|
2771
|
-
hash:
|
|
2772
|
-
}
|
|
2773
|
-
export interface
|
|
2762
|
+
export interface URLPatternResult {
|
|
2763
|
+
inputs: (string | URLPatternInit)[];
|
|
2764
|
+
protocol: URLPatternComponentResult;
|
|
2765
|
+
username: URLPatternComponentResult;
|
|
2766
|
+
password: URLPatternComponentResult;
|
|
2767
|
+
hostname: URLPatternComponentResult;
|
|
2768
|
+
port: URLPatternComponentResult;
|
|
2769
|
+
pathname: URLPatternComponentResult;
|
|
2770
|
+
search: URLPatternComponentResult;
|
|
2771
|
+
hash: URLPatternComponentResult;
|
|
2772
|
+
}
|
|
2773
|
+
export interface URLPatternOptions {
|
|
2774
2774
|
ignoreCase?: boolean;
|
|
2775
2775
|
}
|
|
2776
2776
|
/**
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -2037,11 +2037,11 @@ interface R2PutOptions {
|
|
|
2037
2037
|
onlyIf?: R2Conditional | Headers;
|
|
2038
2038
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2039
2039
|
customMetadata?: Record<string, string>;
|
|
2040
|
-
md5?: ArrayBuffer | string;
|
|
2041
|
-
sha1?: ArrayBuffer | string;
|
|
2042
|
-
sha256?: ArrayBuffer | string;
|
|
2043
|
-
sha384?: ArrayBuffer | string;
|
|
2044
|
-
sha512?: ArrayBuffer | string;
|
|
2040
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2041
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2042
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2043
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2044
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2045
2045
|
storageClass?: string;
|
|
2046
2046
|
ssecKey?: ArrayBuffer | string;
|
|
2047
2047
|
}
|
|
@@ -2714,9 +2714,9 @@ declare class URLSearchParams {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
declare class URLPattern {
|
|
2716
2716
|
constructor(
|
|
2717
|
-
input?: string |
|
|
2718
|
-
baseURL?: string |
|
|
2719
|
-
patternOptions?:
|
|
2717
|
+
input?: string | URLPatternInit,
|
|
2718
|
+
baseURL?: string | URLPatternOptions,
|
|
2719
|
+
patternOptions?: URLPatternOptions,
|
|
2720
2720
|
);
|
|
2721
2721
|
get protocol(): string;
|
|
2722
2722
|
get username(): string;
|
|
@@ -2726,13 +2726,13 @@ declare class URLPattern {
|
|
|
2726
2726
|
get pathname(): string;
|
|
2727
2727
|
get search(): string;
|
|
2728
2728
|
get hash(): string;
|
|
2729
|
-
test(input?: string |
|
|
2729
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2730
2730
|
exec(
|
|
2731
|
-
input?: string |
|
|
2731
|
+
input?: string | URLPatternInit,
|
|
2732
2732
|
baseURL?: string,
|
|
2733
|
-
):
|
|
2733
|
+
): URLPatternResult | null;
|
|
2734
2734
|
}
|
|
2735
|
-
interface
|
|
2735
|
+
interface URLPatternInit {
|
|
2736
2736
|
protocol?: string;
|
|
2737
2737
|
username?: string;
|
|
2738
2738
|
password?: string;
|
|
@@ -2743,22 +2743,22 @@ interface URLPatternURLPatternInit {
|
|
|
2743
2743
|
hash?: string;
|
|
2744
2744
|
baseURL?: string;
|
|
2745
2745
|
}
|
|
2746
|
-
interface
|
|
2746
|
+
interface URLPatternComponentResult {
|
|
2747
2747
|
input: string;
|
|
2748
2748
|
groups: Record<string, string>;
|
|
2749
2749
|
}
|
|
2750
|
-
interface
|
|
2751
|
-
inputs: (string |
|
|
2752
|
-
protocol:
|
|
2753
|
-
username:
|
|
2754
|
-
password:
|
|
2755
|
-
hostname:
|
|
2756
|
-
port:
|
|
2757
|
-
pathname:
|
|
2758
|
-
search:
|
|
2759
|
-
hash:
|
|
2760
|
-
}
|
|
2761
|
-
interface
|
|
2750
|
+
interface URLPatternResult {
|
|
2751
|
+
inputs: (string | URLPatternInit)[];
|
|
2752
|
+
protocol: URLPatternComponentResult;
|
|
2753
|
+
username: URLPatternComponentResult;
|
|
2754
|
+
password: URLPatternComponentResult;
|
|
2755
|
+
hostname: URLPatternComponentResult;
|
|
2756
|
+
port: URLPatternComponentResult;
|
|
2757
|
+
pathname: URLPatternComponentResult;
|
|
2758
|
+
search: URLPatternComponentResult;
|
|
2759
|
+
hash: URLPatternComponentResult;
|
|
2760
|
+
}
|
|
2761
|
+
interface URLPatternOptions {
|
|
2762
2762
|
ignoreCase?: boolean;
|
|
2763
2763
|
}
|
|
2764
2764
|
/**
|
package/2023-07-01/index.ts
CHANGED
|
@@ -2046,11 +2046,11 @@ export interface R2PutOptions {
|
|
|
2046
2046
|
onlyIf?: R2Conditional | Headers;
|
|
2047
2047
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2048
2048
|
customMetadata?: Record<string, string>;
|
|
2049
|
-
md5?: ArrayBuffer | string;
|
|
2050
|
-
sha1?: ArrayBuffer | string;
|
|
2051
|
-
sha256?: ArrayBuffer | string;
|
|
2052
|
-
sha384?: ArrayBuffer | string;
|
|
2053
|
-
sha512?: ArrayBuffer | string;
|
|
2049
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2050
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2051
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2052
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2053
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2054
2054
|
storageClass?: string;
|
|
2055
2055
|
ssecKey?: ArrayBuffer | string;
|
|
2056
2056
|
}
|
|
@@ -2726,9 +2726,9 @@ export declare class URLSearchParams {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
export declare class URLPattern {
|
|
2728
2728
|
constructor(
|
|
2729
|
-
input?: string |
|
|
2730
|
-
baseURL?: string |
|
|
2731
|
-
patternOptions?:
|
|
2729
|
+
input?: string | URLPatternInit,
|
|
2730
|
+
baseURL?: string | URLPatternOptions,
|
|
2731
|
+
patternOptions?: URLPatternOptions,
|
|
2732
2732
|
);
|
|
2733
2733
|
get protocol(): string;
|
|
2734
2734
|
get username(): string;
|
|
@@ -2738,13 +2738,13 @@ export declare class URLPattern {
|
|
|
2738
2738
|
get pathname(): string;
|
|
2739
2739
|
get search(): string;
|
|
2740
2740
|
get hash(): string;
|
|
2741
|
-
test(input?: string |
|
|
2741
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2742
2742
|
exec(
|
|
2743
|
-
input?: string |
|
|
2743
|
+
input?: string | URLPatternInit,
|
|
2744
2744
|
baseURL?: string,
|
|
2745
|
-
):
|
|
2745
|
+
): URLPatternResult | null;
|
|
2746
2746
|
}
|
|
2747
|
-
export interface
|
|
2747
|
+
export interface URLPatternInit {
|
|
2748
2748
|
protocol?: string;
|
|
2749
2749
|
username?: string;
|
|
2750
2750
|
password?: string;
|
|
@@ -2755,22 +2755,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2755
2755
|
hash?: string;
|
|
2756
2756
|
baseURL?: string;
|
|
2757
2757
|
}
|
|
2758
|
-
export interface
|
|
2758
|
+
export interface URLPatternComponentResult {
|
|
2759
2759
|
input: string;
|
|
2760
2760
|
groups: Record<string, string>;
|
|
2761
2761
|
}
|
|
2762
|
-
export interface
|
|
2763
|
-
inputs: (string |
|
|
2764
|
-
protocol:
|
|
2765
|
-
username:
|
|
2766
|
-
password:
|
|
2767
|
-
hostname:
|
|
2768
|
-
port:
|
|
2769
|
-
pathname:
|
|
2770
|
-
search:
|
|
2771
|
-
hash:
|
|
2772
|
-
}
|
|
2773
|
-
export interface
|
|
2762
|
+
export interface URLPatternResult {
|
|
2763
|
+
inputs: (string | URLPatternInit)[];
|
|
2764
|
+
protocol: URLPatternComponentResult;
|
|
2765
|
+
username: URLPatternComponentResult;
|
|
2766
|
+
password: URLPatternComponentResult;
|
|
2767
|
+
hostname: URLPatternComponentResult;
|
|
2768
|
+
port: URLPatternComponentResult;
|
|
2769
|
+
pathname: URLPatternComponentResult;
|
|
2770
|
+
search: URLPatternComponentResult;
|
|
2771
|
+
hash: URLPatternComponentResult;
|
|
2772
|
+
}
|
|
2773
|
+
export interface URLPatternOptions {
|
|
2774
2774
|
ignoreCase?: boolean;
|
|
2775
2775
|
}
|
|
2776
2776
|
/**
|