@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/2021-11-03/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/2021-11-03/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/2022-01-31/index.d.ts
CHANGED
|
@@ -2011,11 +2011,11 @@ interface R2PutOptions {
|
|
|
2011
2011
|
onlyIf?: R2Conditional | Headers;
|
|
2012
2012
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2013
2013
|
customMetadata?: Record<string, string>;
|
|
2014
|
-
md5?: ArrayBuffer | string;
|
|
2015
|
-
sha1?: ArrayBuffer | string;
|
|
2016
|
-
sha256?: ArrayBuffer | string;
|
|
2017
|
-
sha384?: ArrayBuffer | string;
|
|
2018
|
-
sha512?: ArrayBuffer | string;
|
|
2014
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2015
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2016
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2017
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2018
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2019
2019
|
storageClass?: string;
|
|
2020
2020
|
ssecKey?: ArrayBuffer | string;
|
|
2021
2021
|
}
|
|
@@ -2684,9 +2684,9 @@ declare class URLSearchParams {
|
|
|
2684
2684
|
}
|
|
2685
2685
|
declare class URLPattern {
|
|
2686
2686
|
constructor(
|
|
2687
|
-
input?: string |
|
|
2688
|
-
baseURL?: string |
|
|
2689
|
-
patternOptions?:
|
|
2687
|
+
input?: string | URLPatternInit,
|
|
2688
|
+
baseURL?: string | URLPatternOptions,
|
|
2689
|
+
patternOptions?: URLPatternOptions,
|
|
2690
2690
|
);
|
|
2691
2691
|
get protocol(): string;
|
|
2692
2692
|
get username(): string;
|
|
@@ -2696,13 +2696,13 @@ declare class URLPattern {
|
|
|
2696
2696
|
get pathname(): string;
|
|
2697
2697
|
get search(): string;
|
|
2698
2698
|
get hash(): string;
|
|
2699
|
-
test(input?: string |
|
|
2699
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2700
2700
|
exec(
|
|
2701
|
-
input?: string |
|
|
2701
|
+
input?: string | URLPatternInit,
|
|
2702
2702
|
baseURL?: string,
|
|
2703
|
-
):
|
|
2703
|
+
): URLPatternResult | null;
|
|
2704
2704
|
}
|
|
2705
|
-
interface
|
|
2705
|
+
interface URLPatternInit {
|
|
2706
2706
|
protocol?: string;
|
|
2707
2707
|
username?: string;
|
|
2708
2708
|
password?: string;
|
|
@@ -2713,22 +2713,22 @@ interface URLPatternURLPatternInit {
|
|
|
2713
2713
|
hash?: string;
|
|
2714
2714
|
baseURL?: string;
|
|
2715
2715
|
}
|
|
2716
|
-
interface
|
|
2716
|
+
interface URLPatternComponentResult {
|
|
2717
2717
|
input: string;
|
|
2718
2718
|
groups: Record<string, string>;
|
|
2719
2719
|
}
|
|
2720
|
-
interface
|
|
2721
|
-
inputs: (string |
|
|
2722
|
-
protocol:
|
|
2723
|
-
username:
|
|
2724
|
-
password:
|
|
2725
|
-
hostname:
|
|
2726
|
-
port:
|
|
2727
|
-
pathname:
|
|
2728
|
-
search:
|
|
2729
|
-
hash:
|
|
2730
|
-
}
|
|
2731
|
-
interface
|
|
2720
|
+
interface URLPatternResult {
|
|
2721
|
+
inputs: (string | URLPatternInit)[];
|
|
2722
|
+
protocol: URLPatternComponentResult;
|
|
2723
|
+
username: URLPatternComponentResult;
|
|
2724
|
+
password: URLPatternComponentResult;
|
|
2725
|
+
hostname: URLPatternComponentResult;
|
|
2726
|
+
port: URLPatternComponentResult;
|
|
2727
|
+
pathname: URLPatternComponentResult;
|
|
2728
|
+
search: URLPatternComponentResult;
|
|
2729
|
+
hash: URLPatternComponentResult;
|
|
2730
|
+
}
|
|
2731
|
+
interface URLPatternOptions {
|
|
2732
2732
|
ignoreCase?: boolean;
|
|
2733
2733
|
}
|
|
2734
2734
|
/**
|
package/2022-01-31/index.ts
CHANGED
|
@@ -2020,11 +2020,11 @@ export interface R2PutOptions {
|
|
|
2020
2020
|
onlyIf?: R2Conditional | Headers;
|
|
2021
2021
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2022
2022
|
customMetadata?: Record<string, string>;
|
|
2023
|
-
md5?: ArrayBuffer | string;
|
|
2024
|
-
sha1?: ArrayBuffer | string;
|
|
2025
|
-
sha256?: ArrayBuffer | string;
|
|
2026
|
-
sha384?: ArrayBuffer | string;
|
|
2027
|
-
sha512?: ArrayBuffer | string;
|
|
2023
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2024
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2025
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2026
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2027
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2028
2028
|
storageClass?: string;
|
|
2029
2029
|
ssecKey?: ArrayBuffer | string;
|
|
2030
2030
|
}
|
|
@@ -2696,9 +2696,9 @@ export declare class URLSearchParams {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
export declare class URLPattern {
|
|
2698
2698
|
constructor(
|
|
2699
|
-
input?: string |
|
|
2700
|
-
baseURL?: string |
|
|
2701
|
-
patternOptions?:
|
|
2699
|
+
input?: string | URLPatternInit,
|
|
2700
|
+
baseURL?: string | URLPatternOptions,
|
|
2701
|
+
patternOptions?: URLPatternOptions,
|
|
2702
2702
|
);
|
|
2703
2703
|
get protocol(): string;
|
|
2704
2704
|
get username(): string;
|
|
@@ -2708,13 +2708,13 @@ export declare class URLPattern {
|
|
|
2708
2708
|
get pathname(): string;
|
|
2709
2709
|
get search(): string;
|
|
2710
2710
|
get hash(): string;
|
|
2711
|
-
test(input?: string |
|
|
2711
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2712
2712
|
exec(
|
|
2713
|
-
input?: string |
|
|
2713
|
+
input?: string | URLPatternInit,
|
|
2714
2714
|
baseURL?: string,
|
|
2715
|
-
):
|
|
2715
|
+
): URLPatternResult | null;
|
|
2716
2716
|
}
|
|
2717
|
-
export interface
|
|
2717
|
+
export interface URLPatternInit {
|
|
2718
2718
|
protocol?: string;
|
|
2719
2719
|
username?: string;
|
|
2720
2720
|
password?: string;
|
|
@@ -2725,22 +2725,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2725
2725
|
hash?: string;
|
|
2726
2726
|
baseURL?: string;
|
|
2727
2727
|
}
|
|
2728
|
-
export interface
|
|
2728
|
+
export interface URLPatternComponentResult {
|
|
2729
2729
|
input: string;
|
|
2730
2730
|
groups: Record<string, string>;
|
|
2731
2731
|
}
|
|
2732
|
-
export interface
|
|
2733
|
-
inputs: (string |
|
|
2734
|
-
protocol:
|
|
2735
|
-
username:
|
|
2736
|
-
password:
|
|
2737
|
-
hostname:
|
|
2738
|
-
port:
|
|
2739
|
-
pathname:
|
|
2740
|
-
search:
|
|
2741
|
-
hash:
|
|
2742
|
-
}
|
|
2743
|
-
export interface
|
|
2732
|
+
export interface URLPatternResult {
|
|
2733
|
+
inputs: (string | URLPatternInit)[];
|
|
2734
|
+
protocol: URLPatternComponentResult;
|
|
2735
|
+
username: URLPatternComponentResult;
|
|
2736
|
+
password: URLPatternComponentResult;
|
|
2737
|
+
hostname: URLPatternComponentResult;
|
|
2738
|
+
port: URLPatternComponentResult;
|
|
2739
|
+
pathname: URLPatternComponentResult;
|
|
2740
|
+
search: URLPatternComponentResult;
|
|
2741
|
+
hash: URLPatternComponentResult;
|
|
2742
|
+
}
|
|
2743
|
+
export interface URLPatternOptions {
|
|
2744
2744
|
ignoreCase?: boolean;
|
|
2745
2745
|
}
|
|
2746
2746
|
/**
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -2029,11 +2029,11 @@ interface R2PutOptions {
|
|
|
2029
2029
|
onlyIf?: R2Conditional | Headers;
|
|
2030
2030
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2031
2031
|
customMetadata?: Record<string, string>;
|
|
2032
|
-
md5?: ArrayBuffer | string;
|
|
2033
|
-
sha1?: ArrayBuffer | string;
|
|
2034
|
-
sha256?: ArrayBuffer | string;
|
|
2035
|
-
sha384?: ArrayBuffer | string;
|
|
2036
|
-
sha512?: ArrayBuffer | string;
|
|
2032
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2033
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2034
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2035
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2036
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2037
2037
|
storageClass?: string;
|
|
2038
2038
|
ssecKey?: ArrayBuffer | string;
|
|
2039
2039
|
}
|
|
@@ -2702,9 +2702,9 @@ declare class URLSearchParams {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
declare class URLPattern {
|
|
2704
2704
|
constructor(
|
|
2705
|
-
input?: string |
|
|
2706
|
-
baseURL?: string |
|
|
2707
|
-
patternOptions?:
|
|
2705
|
+
input?: string | URLPatternInit,
|
|
2706
|
+
baseURL?: string | URLPatternOptions,
|
|
2707
|
+
patternOptions?: URLPatternOptions,
|
|
2708
2708
|
);
|
|
2709
2709
|
get protocol(): string;
|
|
2710
2710
|
get username(): string;
|
|
@@ -2714,13 +2714,13 @@ declare class URLPattern {
|
|
|
2714
2714
|
get pathname(): string;
|
|
2715
2715
|
get search(): string;
|
|
2716
2716
|
get hash(): string;
|
|
2717
|
-
test(input?: string |
|
|
2717
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2718
2718
|
exec(
|
|
2719
|
-
input?: string |
|
|
2719
|
+
input?: string | URLPatternInit,
|
|
2720
2720
|
baseURL?: string,
|
|
2721
|
-
):
|
|
2721
|
+
): URLPatternResult | null;
|
|
2722
2722
|
}
|
|
2723
|
-
interface
|
|
2723
|
+
interface URLPatternInit {
|
|
2724
2724
|
protocol?: string;
|
|
2725
2725
|
username?: string;
|
|
2726
2726
|
password?: string;
|
|
@@ -2731,22 +2731,22 @@ interface URLPatternURLPatternInit {
|
|
|
2731
2731
|
hash?: string;
|
|
2732
2732
|
baseURL?: string;
|
|
2733
2733
|
}
|
|
2734
|
-
interface
|
|
2734
|
+
interface URLPatternComponentResult {
|
|
2735
2735
|
input: string;
|
|
2736
2736
|
groups: Record<string, string>;
|
|
2737
2737
|
}
|
|
2738
|
-
interface
|
|
2739
|
-
inputs: (string |
|
|
2740
|
-
protocol:
|
|
2741
|
-
username:
|
|
2742
|
-
password:
|
|
2743
|
-
hostname:
|
|
2744
|
-
port:
|
|
2745
|
-
pathname:
|
|
2746
|
-
search:
|
|
2747
|
-
hash:
|
|
2748
|
-
}
|
|
2749
|
-
interface
|
|
2738
|
+
interface URLPatternResult {
|
|
2739
|
+
inputs: (string | URLPatternInit)[];
|
|
2740
|
+
protocol: URLPatternComponentResult;
|
|
2741
|
+
username: URLPatternComponentResult;
|
|
2742
|
+
password: URLPatternComponentResult;
|
|
2743
|
+
hostname: URLPatternComponentResult;
|
|
2744
|
+
port: URLPatternComponentResult;
|
|
2745
|
+
pathname: URLPatternComponentResult;
|
|
2746
|
+
search: URLPatternComponentResult;
|
|
2747
|
+
hash: URLPatternComponentResult;
|
|
2748
|
+
}
|
|
2749
|
+
interface URLPatternOptions {
|
|
2750
2750
|
ignoreCase?: boolean;
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
package/2022-03-21/index.ts
CHANGED
|
@@ -2038,11 +2038,11 @@ export interface R2PutOptions {
|
|
|
2038
2038
|
onlyIf?: R2Conditional | Headers;
|
|
2039
2039
|
httpMetadata?: R2HTTPMetadata | Headers;
|
|
2040
2040
|
customMetadata?: Record<string, string>;
|
|
2041
|
-
md5?: ArrayBuffer | string;
|
|
2042
|
-
sha1?: ArrayBuffer | string;
|
|
2043
|
-
sha256?: ArrayBuffer | string;
|
|
2044
|
-
sha384?: ArrayBuffer | string;
|
|
2045
|
-
sha512?: ArrayBuffer | string;
|
|
2041
|
+
md5?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2042
|
+
sha1?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2043
|
+
sha256?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2044
|
+
sha384?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2045
|
+
sha512?: (ArrayBuffer | ArrayBufferView) | string;
|
|
2046
2046
|
storageClass?: string;
|
|
2047
2047
|
ssecKey?: ArrayBuffer | string;
|
|
2048
2048
|
}
|
|
@@ -2714,9 +2714,9 @@ export declare class URLSearchParams {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
export 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 @@ export 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
|
-
export interface
|
|
2735
|
+
export interface URLPatternInit {
|
|
2736
2736
|
protocol?: string;
|
|
2737
2737
|
username?: string;
|
|
2738
2738
|
password?: string;
|
|
@@ -2743,22 +2743,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2743
2743
|
hash?: string;
|
|
2744
2744
|
baseURL?: string;
|
|
2745
2745
|
}
|
|
2746
|
-
export interface
|
|
2746
|
+
export interface URLPatternComponentResult {
|
|
2747
2747
|
input: string;
|
|
2748
2748
|
groups: Record<string, string>;
|
|
2749
2749
|
}
|
|
2750
|
-
export interface
|
|
2751
|
-
inputs: (string |
|
|
2752
|
-
protocol:
|
|
2753
|
-
username:
|
|
2754
|
-
password:
|
|
2755
|
-
hostname:
|
|
2756
|
-
port:
|
|
2757
|
-
pathname:
|
|
2758
|
-
search:
|
|
2759
|
-
hash:
|
|
2760
|
-
}
|
|
2761
|
-
export interface
|
|
2750
|
+
export 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
|
+
export interface URLPatternOptions {
|
|
2762
2762
|
ignoreCase?: boolean;
|
|
2763
2763
|
}
|
|
2764
2764
|
/**
|
package/2022-08-04/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
|
}
|
|
@@ -2703,9 +2703,9 @@ declare class URLSearchParams {
|
|
|
2703
2703
|
}
|
|
2704
2704
|
declare class URLPattern {
|
|
2705
2705
|
constructor(
|
|
2706
|
-
input?: string |
|
|
2707
|
-
baseURL?: string |
|
|
2708
|
-
patternOptions?:
|
|
2706
|
+
input?: string | URLPatternInit,
|
|
2707
|
+
baseURL?: string | URLPatternOptions,
|
|
2708
|
+
patternOptions?: URLPatternOptions,
|
|
2709
2709
|
);
|
|
2710
2710
|
get protocol(): string;
|
|
2711
2711
|
get username(): string;
|
|
@@ -2715,13 +2715,13 @@ declare class URLPattern {
|
|
|
2715
2715
|
get pathname(): string;
|
|
2716
2716
|
get search(): string;
|
|
2717
2717
|
get hash(): string;
|
|
2718
|
-
test(input?: string |
|
|
2718
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2719
2719
|
exec(
|
|
2720
|
-
input?: string |
|
|
2720
|
+
input?: string | URLPatternInit,
|
|
2721
2721
|
baseURL?: string,
|
|
2722
|
-
):
|
|
2722
|
+
): URLPatternResult | null;
|
|
2723
2723
|
}
|
|
2724
|
-
interface
|
|
2724
|
+
interface URLPatternInit {
|
|
2725
2725
|
protocol?: string;
|
|
2726
2726
|
username?: string;
|
|
2727
2727
|
password?: string;
|
|
@@ -2732,22 +2732,22 @@ interface URLPatternURLPatternInit {
|
|
|
2732
2732
|
hash?: string;
|
|
2733
2733
|
baseURL?: string;
|
|
2734
2734
|
}
|
|
2735
|
-
interface
|
|
2735
|
+
interface URLPatternComponentResult {
|
|
2736
2736
|
input: string;
|
|
2737
2737
|
groups: Record<string, string>;
|
|
2738
2738
|
}
|
|
2739
|
-
interface
|
|
2740
|
-
inputs: (string |
|
|
2741
|
-
protocol:
|
|
2742
|
-
username:
|
|
2743
|
-
password:
|
|
2744
|
-
hostname:
|
|
2745
|
-
port:
|
|
2746
|
-
pathname:
|
|
2747
|
-
search:
|
|
2748
|
-
hash:
|
|
2749
|
-
}
|
|
2750
|
-
interface
|
|
2739
|
+
interface URLPatternResult {
|
|
2740
|
+
inputs: (string | URLPatternInit)[];
|
|
2741
|
+
protocol: URLPatternComponentResult;
|
|
2742
|
+
username: URLPatternComponentResult;
|
|
2743
|
+
password: URLPatternComponentResult;
|
|
2744
|
+
hostname: URLPatternComponentResult;
|
|
2745
|
+
port: URLPatternComponentResult;
|
|
2746
|
+
pathname: URLPatternComponentResult;
|
|
2747
|
+
search: URLPatternComponentResult;
|
|
2748
|
+
hash: URLPatternComponentResult;
|
|
2749
|
+
}
|
|
2750
|
+
interface URLPatternOptions {
|
|
2751
2751
|
ignoreCase?: boolean;
|
|
2752
2752
|
}
|
|
2753
2753
|
/**
|
package/2022-08-04/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
|
}
|
|
@@ -2715,9 +2715,9 @@ export declare class URLSearchParams {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
export declare class URLPattern {
|
|
2717
2717
|
constructor(
|
|
2718
|
-
input?: string |
|
|
2719
|
-
baseURL?: string |
|
|
2720
|
-
patternOptions?:
|
|
2718
|
+
input?: string | URLPatternInit,
|
|
2719
|
+
baseURL?: string | URLPatternOptions,
|
|
2720
|
+
patternOptions?: URLPatternOptions,
|
|
2721
2721
|
);
|
|
2722
2722
|
get protocol(): string;
|
|
2723
2723
|
get username(): string;
|
|
@@ -2727,13 +2727,13 @@ export declare class URLPattern {
|
|
|
2727
2727
|
get pathname(): string;
|
|
2728
2728
|
get search(): string;
|
|
2729
2729
|
get hash(): string;
|
|
2730
|
-
test(input?: string |
|
|
2730
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
2731
2731
|
exec(
|
|
2732
|
-
input?: string |
|
|
2732
|
+
input?: string | URLPatternInit,
|
|
2733
2733
|
baseURL?: string,
|
|
2734
|
-
):
|
|
2734
|
+
): URLPatternResult | null;
|
|
2735
2735
|
}
|
|
2736
|
-
export interface
|
|
2736
|
+
export interface URLPatternInit {
|
|
2737
2737
|
protocol?: string;
|
|
2738
2738
|
username?: string;
|
|
2739
2739
|
password?: string;
|
|
@@ -2744,22 +2744,22 @@ export interface URLPatternURLPatternInit {
|
|
|
2744
2744
|
hash?: string;
|
|
2745
2745
|
baseURL?: string;
|
|
2746
2746
|
}
|
|
2747
|
-
export interface
|
|
2747
|
+
export interface URLPatternComponentResult {
|
|
2748
2748
|
input: string;
|
|
2749
2749
|
groups: Record<string, string>;
|
|
2750
2750
|
}
|
|
2751
|
-
export interface
|
|
2752
|
-
inputs: (string |
|
|
2753
|
-
protocol:
|
|
2754
|
-
username:
|
|
2755
|
-
password:
|
|
2756
|
-
hostname:
|
|
2757
|
-
port:
|
|
2758
|
-
pathname:
|
|
2759
|
-
search:
|
|
2760
|
-
hash:
|
|
2761
|
-
}
|
|
2762
|
-
export interface
|
|
2751
|
+
export interface URLPatternResult {
|
|
2752
|
+
inputs: (string | URLPatternInit)[];
|
|
2753
|
+
protocol: URLPatternComponentResult;
|
|
2754
|
+
username: URLPatternComponentResult;
|
|
2755
|
+
password: URLPatternComponentResult;
|
|
2756
|
+
hostname: URLPatternComponentResult;
|
|
2757
|
+
port: URLPatternComponentResult;
|
|
2758
|
+
pathname: URLPatternComponentResult;
|
|
2759
|
+
search: URLPatternComponentResult;
|
|
2760
|
+
hash: URLPatternComponentResult;
|
|
2761
|
+
}
|
|
2762
|
+
export interface URLPatternOptions {
|
|
2763
2763
|
ignoreCase?: boolean;
|
|
2764
2764
|
}
|
|
2765
2765
|
/**
|