@cloudflare/workers-types 4.20250410.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/experimental/index.d.ts
CHANGED
|
@@ -2092,11 +2092,11 @@ interface R2PutOptions {
|
|
|
2092
2092
|
onlyIf?: R2Conditional | Headers;
|
|
2093
2093
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2094
2094
|
customMetadata?: Record<string, string>;
|
|
2095
|
-
md5?: ArrayBuffer | string;
|
|
2096
|
-
sha1?: ArrayBuffer | string;
|
|
2097
|
-
sha256?: ArrayBuffer | string;
|
|
2098
|
-
sha384?: ArrayBuffer | string;
|
|
2099
|
-
sha512?: ArrayBuffer | string;
|
|
2095
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2096
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2097
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2098
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2099
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2100
2100
|
storageClass?: string;
|
|
2101
2101
|
ssecKey?: ArrayBuffer | string;
|
|
2102
2102
|
}
|
|
@@ -2787,9 +2787,9 @@ declare class URLSearchParams {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
declare class URLPattern {
|
|
2789
2789
|
constructor(
|
|
2790
|
-
input?: string |
|
|
2791
|
-
baseURL?: string |
|
|
2792
|
-
patternOptions?:
|
|
2790
|
+
input?: string | URLPatternInit,
|
|
2791
|
+
baseURL?: string | URLPatternOptions,
|
|
2792
|
+
patternOptions?: URLPatternOptions,
|
|
2793
2793
|
);
|
|
2794
2794
|
get protocol(): string;
|
|
2795
2795
|
get username(): string;
|
|
@@ -2799,13 +2799,14 @@ declare class URLPattern {
|
|
|
2799
2799
|
get pathname(): string;
|
|
2800
2800
|
get search(): string;
|
|
2801
2801
|
get hash(): string;
|
|
2802
|
-
|
|
2802
|
+
get hasRegExpGroups(): boolean;
|
|
2803
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2803
2804
|
exec(
|
|
2804
|
-
input?: string |
|
|
2805
|
+
input?: string | URLPatternInit,
|
|
2805
2806
|
baseURL?: string,
|
|
2806
|
-
):
|
|
2807
|
+
): URLPatternResult | null;
|
|
2807
2808
|
}
|
|
2808
|
-
interface
|
|
2809
|
+
interface URLPatternInit {
|
|
2809
2810
|
protocol?: string;
|
|
2810
2811
|
username?: string;
|
|
2811
2812
|
password?: string;
|
|
@@ -2816,22 +2817,22 @@ interface URLPatternURLPatternInit {
|
|
|
2816
2817
|
hash?: string;
|
|
2817
2818
|
baseURL?: string;
|
|
2818
2819
|
}
|
|
2819
|
-
interface
|
|
2820
|
+
interface URLPatternComponentResult {
|
|
2820
2821
|
input: string;
|
|
2821
2822
|
groups: Record<string, string>;
|
|
2822
2823
|
}
|
|
2823
|
-
interface
|
|
2824
|
-
inputs: (string |
|
|
2825
|
-
protocol:
|
|
2826
|
-
username:
|
|
2827
|
-
password:
|
|
2828
|
-
hostname:
|
|
2829
|
-
port:
|
|
2830
|
-
pathname:
|
|
2831
|
-
search:
|
|
2832
|
-
hash:
|
|
2833
|
-
}
|
|
2834
|
-
interface
|
|
2824
|
+
interface URLPatternResult {
|
|
2825
|
+
inputs: (string | URLPatternInit)[];
|
|
2826
|
+
protocol: URLPatternComponentResult;
|
|
2827
|
+
username: URLPatternComponentResult;
|
|
2828
|
+
password: URLPatternComponentResult;
|
|
2829
|
+
hostname: URLPatternComponentResult;
|
|
2830
|
+
port: URLPatternComponentResult;
|
|
2831
|
+
pathname: URLPatternComponentResult;
|
|
2832
|
+
search: URLPatternComponentResult;
|
|
2833
|
+
hash: URLPatternComponentResult;
|
|
2834
|
+
}
|
|
2835
|
+
interface URLPatternOptions {
|
|
2835
2836
|
ignoreCase?: boolean;
|
|
2836
2837
|
}
|
|
2837
2838
|
/**
|
package/experimental/index.ts
CHANGED
|
@@ -2101,11 +2101,11 @@ export interface R2PutOptions {
|
|
|
2101
2101
|
onlyIf?: R2Conditional | Headers;
|
|
2102
2102
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2103
2103
|
customMetadata?: Record<string, string>;
|
|
2104
|
-
md5?: ArrayBuffer | string;
|
|
2105
|
-
sha1?: ArrayBuffer | string;
|
|
2106
|
-
sha256?: ArrayBuffer | string;
|
|
2107
|
-
sha384?: ArrayBuffer | string;
|
|
2108
|
-
sha512?: ArrayBuffer | string;
|
|
2104
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2105
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2106
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2107
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2108
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2109
2109
|
storageClass?: string;
|
|
2110
2110
|
ssecKey?: ArrayBuffer | string;
|
|
2111
2111
|
}
|
|
@@ -2799,9 +2799,9 @@ export declare class URLSearchParams {
|
|
|
2799
2799
|
}
|
|
2800
2800
|
export declare class URLPattern {
|
|
2801
2801
|
constructor(
|
|
2802
|
-
input?: string |
|
|
2803
|
-
baseURL?: string |
|
|
2804
|
-
patternOptions?:
|
|
2802
|
+
input?: string | URLPatternInit,
|
|
2803
|
+
baseURL?: string | URLPatternOptions,
|
|
2804
|
+
patternOptions?: URLPatternOptions,
|
|
2805
2805
|
);
|
|
2806
2806
|
get protocol(): string;
|
|
2807
2807
|
get username(): string;
|
|
@@ -2811,13 +2811,14 @@ export declare class URLPattern {
|
|
|
2811
2811
|
get pathname(): string;
|
|
2812
2812
|
get search(): string;
|
|
2813
2813
|
get hash(): string;
|
|
2814
|
-
|
|
2814
|
+
get hasRegExpGroups(): boolean;
|
|
2815
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2815
2816
|
exec(
|
|
2816
|
-
input?: string |
|
|
2817
|
+
input?: string | URLPatternInit,
|
|
2817
2818
|
baseURL?: string,
|
|
2818
|
-
):
|
|
2819
|
+
): URLPatternResult | null;
|
|
2819
2820
|
}
|
|
2820
|
-
export interface
|
|
2821
|
+
export interface URLPatternInit {
|
|
2821
2822
|
protocol?: string;
|
|
2822
2823
|
username?: string;
|
|
2823
2824
|
password?: string;
|
|
@@ -2828,22 +2829,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2828
2829
|
hash?: string;
|
|
2829
2830
|
baseURL?: string;
|
|
2830
2831
|
}
|
|
2831
|
-
export interface
|
|
2832
|
+
export interface URLPatternComponentResult {
|
|
2832
2833
|
input: string;
|
|
2833
2834
|
groups: Record<string, string>;
|
|
2834
2835
|
}
|
|
2835
|
-
export interface
|
|
2836
|
-
inputs: (string |
|
|
2837
|
-
protocol:
|
|
2838
|
-
username:
|
|
2839
|
-
password:
|
|
2840
|
-
hostname:
|
|
2841
|
-
port:
|
|
2842
|
-
pathname:
|
|
2843
|
-
search:
|
|
2844
|
-
hash:
|
|
2845
|
-
}
|
|
2846
|
-
export interface
|
|
2836
|
+
export interface URLPatternResult {
|
|
2837
|
+
inputs: (string | URLPatternInit)[];
|
|
2838
|
+
protocol: URLPatternComponentResult;
|
|
2839
|
+
username: URLPatternComponentResult;
|
|
2840
|
+
password: URLPatternComponentResult;
|
|
2841
|
+
hostname: URLPatternComponentResult;
|
|
2842
|
+
port: URLPatternComponentResult;
|
|
2843
|
+
pathname: URLPatternComponentResult;
|
|
2844
|
+
search: URLPatternComponentResult;
|
|
2845
|
+
hash: URLPatternComponentResult;
|
|
2846
|
+
}
|
|
2847
|
+
export interface URLPatternOptions {
|
|
2847
2848
|
ignoreCase?: boolean;
|
|
2848
2849
|
}
|
|
2849
2850
|
/**
|
package/index.d.ts
CHANGED
|
@@ -2005,11 +2005,11 @@ interface R2PutOptions {
|
|
|
2005
2005
|
onlyIf?: R2Conditional | Headers;
|
|
2006
2006
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2007
2007
|
customMetadata?: Record<string, string>;
|
|
2008
|
-
md5?: ArrayBuffer | string;
|
|
2009
|
-
sha1?: ArrayBuffer | string;
|
|
2010
|
-
sha256?: ArrayBuffer | string;
|
|
2011
|
-
sha384?: ArrayBuffer | string;
|
|
2012
|
-
sha512?: ArrayBuffer | string;
|
|
2008
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2009
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2010
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2011
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2012
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2013
2013
|
storageClass?: string;
|
|
2014
2014
|
ssecKey?: ArrayBuffer | string;
|
|
2015
2015
|
}
|
|
@@ -2658,9 +2658,9 @@ declare class URLSearchParams {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
declare class URLPattern {
|
|
2660
2660
|
constructor(
|
|
2661
|
-
input?: string |
|
|
2662
|
-
baseURL?: string |
|
|
2663
|
-
patternOptions?:
|
|
2661
|
+
input?: string | URLPatternInit,
|
|
2662
|
+
baseURL?: string | URLPatternOptions,
|
|
2663
|
+
patternOptions?: URLPatternOptions,
|
|
2664
2664
|
);
|
|
2665
2665
|
get protocol(): string;
|
|
2666
2666
|
get username(): string;
|
|
@@ -2670,13 +2670,13 @@ declare class URLPattern {
|
|
|
2670
2670
|
get pathname(): string;
|
|
2671
2671
|
get search(): string;
|
|
2672
2672
|
get hash(): string;
|
|
2673
|
-
test(input?: string |
|
|
2673
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2674
2674
|
exec(
|
|
2675
|
-
input?: string |
|
|
2675
|
+
input?: string | URLPatternInit,
|
|
2676
2676
|
baseURL?: string,
|
|
2677
|
-
):
|
|
2677
|
+
): URLPatternResult | null;
|
|
2678
2678
|
}
|
|
2679
|
-
interface
|
|
2679
|
+
interface URLPatternInit {
|
|
2680
2680
|
protocol?: string;
|
|
2681
2681
|
username?: string;
|
|
2682
2682
|
password?: string;
|
|
@@ -2687,22 +2687,22 @@ interface URLPatternURLPatternInit {
|
|
|
2687
2687
|
hash?: string;
|
|
2688
2688
|
baseURL?: string;
|
|
2689
2689
|
}
|
|
2690
|
-
interface
|
|
2690
|
+
interface URLPatternComponentResult {
|
|
2691
2691
|
input: string;
|
|
2692
2692
|
groups: Record<string, string>;
|
|
2693
2693
|
}
|
|
2694
|
-
interface
|
|
2695
|
-
inputs: (string |
|
|
2696
|
-
protocol:
|
|
2697
|
-
username:
|
|
2698
|
-
password:
|
|
2699
|
-
hostname:
|
|
2700
|
-
port:
|
|
2701
|
-
pathname:
|
|
2702
|
-
search:
|
|
2703
|
-
hash:
|
|
2704
|
-
}
|
|
2705
|
-
interface
|
|
2694
|
+
interface URLPatternResult {
|
|
2695
|
+
inputs: (string | URLPatternInit)[];
|
|
2696
|
+
protocol: URLPatternComponentResult;
|
|
2697
|
+
username: URLPatternComponentResult;
|
|
2698
|
+
password: URLPatternComponentResult;
|
|
2699
|
+
hostname: URLPatternComponentResult;
|
|
2700
|
+
port: URLPatternComponentResult;
|
|
2701
|
+
pathname: URLPatternComponentResult;
|
|
2702
|
+
search: URLPatternComponentResult;
|
|
2703
|
+
hash: URLPatternComponentResult;
|
|
2704
|
+
}
|
|
2705
|
+
interface URLPatternOptions {
|
|
2706
2706
|
ignoreCase?: boolean;
|
|
2707
2707
|
}
|
|
2708
2708
|
/**
|
package/index.ts
CHANGED
|
@@ -2014,11 +2014,11 @@ export interface R2PutOptions {
|
|
|
2014
2014
|
onlyIf?: R2Conditional | Headers;
|
|
2015
2015
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2016
2016
|
customMetadata?: Record<string, string>;
|
|
2017
|
-
md5?: ArrayBuffer | string;
|
|
2018
|
-
sha1?: ArrayBuffer | string;
|
|
2019
|
-
sha256?: ArrayBuffer | string;
|
|
2020
|
-
sha384?: ArrayBuffer | string;
|
|
2021
|
-
sha512?: ArrayBuffer | string;
|
|
2017
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2018
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2019
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2020
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2021
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2022
2022
|
storageClass?: string;
|
|
2023
2023
|
ssecKey?: ArrayBuffer | string;
|
|
2024
2024
|
}
|
|
@@ -2670,9 +2670,9 @@ export declare class URLSearchParams {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
export declare class URLPattern {
|
|
2672
2672
|
constructor(
|
|
2673
|
-
input?: string |
|
|
2674
|
-
baseURL?: string |
|
|
2675
|
-
patternOptions?:
|
|
2673
|
+
input?: string | URLPatternInit,
|
|
2674
|
+
baseURL?: string | URLPatternOptions,
|
|
2675
|
+
patternOptions?: URLPatternOptions,
|
|
2676
2676
|
);
|
|
2677
2677
|
get protocol(): string;
|
|
2678
2678
|
get username(): string;
|
|
@@ -2682,13 +2682,13 @@ export declare class URLPattern {
|
|
|
2682
2682
|
get pathname(): string;
|
|
2683
2683
|
get search(): string;
|
|
2684
2684
|
get hash(): string;
|
|
2685
|
-
test(input?: string |
|
|
2685
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2686
2686
|
exec(
|
|
2687
|
-
input?: string |
|
|
2687
|
+
input?: string | URLPatternInit,
|
|
2688
2688
|
baseURL?: string,
|
|
2689
|
-
):
|
|
2689
|
+
): URLPatternResult | null;
|
|
2690
2690
|
}
|
|
2691
|
-
export interface
|
|
2691
|
+
export interface URLPatternInit {
|
|
2692
2692
|
protocol?: string;
|
|
2693
2693
|
username?: string;
|
|
2694
2694
|
password?: string;
|
|
@@ -2699,22 +2699,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2699
2699
|
hash?: string;
|
|
2700
2700
|
baseURL?: string;
|
|
2701
2701
|
}
|
|
2702
|
-
export interface
|
|
2702
|
+
export interface URLPatternComponentResult {
|
|
2703
2703
|
input: string;
|
|
2704
2704
|
groups: Record<string, string>;
|
|
2705
2705
|
}
|
|
2706
|
-
export interface
|
|
2707
|
-
inputs: (string |
|
|
2708
|
-
protocol:
|
|
2709
|
-
username:
|
|
2710
|
-
password:
|
|
2711
|
-
hostname:
|
|
2712
|
-
port:
|
|
2713
|
-
pathname:
|
|
2714
|
-
search:
|
|
2715
|
-
hash:
|
|
2716
|
-
}
|
|
2717
|
-
export interface
|
|
2706
|
+
export interface URLPatternResult {
|
|
2707
|
+
inputs: (string | URLPatternInit)[];
|
|
2708
|
+
protocol: URLPatternComponentResult;
|
|
2709
|
+
username: URLPatternComponentResult;
|
|
2710
|
+
password: URLPatternComponentResult;
|
|
2711
|
+
hostname: URLPatternComponentResult;
|
|
2712
|
+
port: URLPatternComponentResult;
|
|
2713
|
+
pathname: URLPatternComponentResult;
|
|
2714
|
+
search: URLPatternComponentResult;
|
|
2715
|
+
hash: URLPatternComponentResult;
|
|
2716
|
+
}
|
|
2717
|
+
export interface URLPatternOptions {
|
|
2718
2718
|
ignoreCase?: boolean;
|
|
2719
2719
|
}
|
|
2720
2720
|
/**
|
package/oldest/index.d.ts
CHANGED
|
@@ -2005,11 +2005,11 @@ interface R2PutOptions {
|
|
|
2005
2005
|
onlyIf?: R2Conditional | Headers;
|
|
2006
2006
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2007
2007
|
customMetadata?: Record<string, string>;
|
|
2008
|
-
md5?: ArrayBuffer | string;
|
|
2009
|
-
sha1?: ArrayBuffer | string;
|
|
2010
|
-
sha256?: ArrayBuffer | string;
|
|
2011
|
-
sha384?: ArrayBuffer | string;
|
|
2012
|
-
sha512?: ArrayBuffer | string;
|
|
2008
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2009
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2010
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2011
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2012
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2013
2013
|
storageClass?: string;
|
|
2014
2014
|
ssecKey?: ArrayBuffer | string;
|
|
2015
2015
|
}
|
|
@@ -2658,9 +2658,9 @@ declare class URLSearchParams {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
declare class URLPattern {
|
|
2660
2660
|
constructor(
|
|
2661
|
-
input?: string |
|
|
2662
|
-
baseURL?: string |
|
|
2663
|
-
patternOptions?:
|
|
2661
|
+
input?: string | URLPatternInit,
|
|
2662
|
+
baseURL?: string | URLPatternOptions,
|
|
2663
|
+
patternOptions?: URLPatternOptions,
|
|
2664
2664
|
);
|
|
2665
2665
|
get protocol(): string;
|
|
2666
2666
|
get username(): string;
|
|
@@ -2670,13 +2670,13 @@ declare class URLPattern {
|
|
|
2670
2670
|
get pathname(): string;
|
|
2671
2671
|
get search(): string;
|
|
2672
2672
|
get hash(): string;
|
|
2673
|
-
test(input?: string |
|
|
2673
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2674
2674
|
exec(
|
|
2675
|
-
input?: string |
|
|
2675
|
+
input?: string | URLPatternInit,
|
|
2676
2676
|
baseURL?: string,
|
|
2677
|
-
):
|
|
2677
|
+
): URLPatternResult | null;
|
|
2678
2678
|
}
|
|
2679
|
-
interface
|
|
2679
|
+
interface URLPatternInit {
|
|
2680
2680
|
protocol?: string;
|
|
2681
2681
|
username?: string;
|
|
2682
2682
|
password?: string;
|
|
@@ -2687,22 +2687,22 @@ interface URLPatternURLPatternInit {
|
|
|
2687
2687
|
hash?: string;
|
|
2688
2688
|
baseURL?: string;
|
|
2689
2689
|
}
|
|
2690
|
-
interface
|
|
2690
|
+
interface URLPatternComponentResult {
|
|
2691
2691
|
input: string;
|
|
2692
2692
|
groups: Record<string, string>;
|
|
2693
2693
|
}
|
|
2694
|
-
interface
|
|
2695
|
-
inputs: (string |
|
|
2696
|
-
protocol:
|
|
2697
|
-
username:
|
|
2698
|
-
password:
|
|
2699
|
-
hostname:
|
|
2700
|
-
port:
|
|
2701
|
-
pathname:
|
|
2702
|
-
search:
|
|
2703
|
-
hash:
|
|
2704
|
-
}
|
|
2705
|
-
interface
|
|
2694
|
+
interface URLPatternResult {
|
|
2695
|
+
inputs: (string | URLPatternInit)[];
|
|
2696
|
+
protocol: URLPatternComponentResult;
|
|
2697
|
+
username: URLPatternComponentResult;
|
|
2698
|
+
password: URLPatternComponentResult;
|
|
2699
|
+
hostname: URLPatternComponentResult;
|
|
2700
|
+
port: URLPatternComponentResult;
|
|
2701
|
+
pathname: URLPatternComponentResult;
|
|
2702
|
+
search: URLPatternComponentResult;
|
|
2703
|
+
hash: URLPatternComponentResult;
|
|
2704
|
+
}
|
|
2705
|
+
interface URLPatternOptions {
|
|
2706
2706
|
ignoreCase?: boolean;
|
|
2707
2707
|
}
|
|
2708
2708
|
/**
|
package/oldest/index.ts
CHANGED
|
@@ -2014,11 +2014,11 @@ export interface R2PutOptions {
|
|
|
2014
2014
|
onlyIf?: R2Conditional | Headers;
|
|
2015
2015
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2016
2016
|
customMetadata?: Record<string, string>;
|
|
2017
|
-
md5?: ArrayBuffer | string;
|
|
2018
|
-
sha1?: ArrayBuffer | string;
|
|
2019
|
-
sha256?: ArrayBuffer | string;
|
|
2020
|
-
sha384?: ArrayBuffer | string;
|
|
2021
|
-
sha512?: ArrayBuffer | string;
|
|
2017
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2018
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2019
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2020
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2021
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2022
2022
|
storageClass?: string;
|
|
2023
2023
|
ssecKey?: ArrayBuffer | string;
|
|
2024
2024
|
}
|
|
@@ -2670,9 +2670,9 @@ export declare class URLSearchParams {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
export declare class URLPattern {
|
|
2672
2672
|
constructor(
|
|
2673
|
-
input?: string |
|
|
2674
|
-
baseURL?: string |
|
|
2675
|
-
patternOptions?:
|
|
2673
|
+
input?: string | URLPatternInit,
|
|
2674
|
+
baseURL?: string | URLPatternOptions,
|
|
2675
|
+
patternOptions?: URLPatternOptions,
|
|
2676
2676
|
);
|
|
2677
2677
|
get protocol(): string;
|
|
2678
2678
|
get username(): string;
|
|
@@ -2682,13 +2682,13 @@ export declare class URLPattern {
|
|
|
2682
2682
|
get pathname(): string;
|
|
2683
2683
|
get search(): string;
|
|
2684
2684
|
get hash(): string;
|
|
2685
|
-
test(input?: string |
|
|
2685
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2686
2686
|
exec(
|
|
2687
|
-
input?: string |
|
|
2687
|
+
input?: string | URLPatternInit,
|
|
2688
2688
|
baseURL?: string,
|
|
2689
|
-
):
|
|
2689
|
+
): URLPatternResult | null;
|
|
2690
2690
|
}
|
|
2691
|
-
export interface
|
|
2691
|
+
export interface URLPatternInit {
|
|
2692
2692
|
protocol?: string;
|
|
2693
2693
|
username?: string;
|
|
2694
2694
|
password?: string;
|
|
@@ -2699,22 +2699,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2699
2699
|
hash?: string;
|
|
2700
2700
|
baseURL?: string;
|
|
2701
2701
|
}
|
|
2702
|
-
export interface
|
|
2702
|
+
export interface URLPatternComponentResult {
|
|
2703
2703
|
input: string;
|
|
2704
2704
|
groups: Record<string, string>;
|
|
2705
2705
|
}
|
|
2706
|
-
export interface
|
|
2707
|
-
inputs: (string |
|
|
2708
|
-
protocol:
|
|
2709
|
-
username:
|
|
2710
|
-
password:
|
|
2711
|
-
hostname:
|
|
2712
|
-
port:
|
|
2713
|
-
pathname:
|
|
2714
|
-
search:
|
|
2715
|
-
hash:
|
|
2716
|
-
}
|
|
2717
|
-
export interface
|
|
2706
|
+
export interface URLPatternResult {
|
|
2707
|
+
inputs: (string | URLPatternInit)[];
|
|
2708
|
+
protocol: URLPatternComponentResult;
|
|
2709
|
+
username: URLPatternComponentResult;
|
|
2710
|
+
password: URLPatternComponentResult;
|
|
2711
|
+
hostname: URLPatternComponentResult;
|
|
2712
|
+
port: URLPatternComponentResult;
|
|
2713
|
+
pathname: URLPatternComponentResult;
|
|
2714
|
+
search: URLPatternComponentResult;
|
|
2715
|
+
hash: URLPatternComponentResult;
|
|
2716
|
+
}
|
|
2717
|
+
export interface URLPatternOptions {
|
|
2718
2718
|
ignoreCase?: boolean;
|
|
2719
2719
|
}
|
|
2720
2720
|
/**
|
package/package.json
CHANGED