@cloudflare/workers-types 4.20260128.0 → 4.20260130.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 +10 -0
- package/2021-11-03/index.ts +10 -0
- package/2022-01-31/index.d.ts +11 -1
- package/2022-01-31/index.ts +11 -1
- package/2022-03-21/index.d.ts +11 -1
- package/2022-03-21/index.ts +11 -1
- package/2022-08-04/index.d.ts +11 -1
- package/2022-08-04/index.ts +11 -1
- package/2022-10-31/index.d.ts +11 -1
- package/2022-10-31/index.ts +11 -1
- package/2022-11-30/index.d.ts +11 -1
- package/2022-11-30/index.ts +11 -1
- package/2023-03-01/index.d.ts +11 -1
- package/2023-03-01/index.ts +11 -1
- package/2023-07-01/index.d.ts +11 -1
- package/2023-07-01/index.ts +11 -1
- package/experimental/index.d.ts +11 -1
- package/experimental/index.ts +11 -1
- package/index.d.ts +10 -0
- package/index.ts +10 -0
- package/latest/index.d.ts +11 -1
- package/latest/index.ts +11 -1
- package/oldest/index.d.ts +10 -0
- package/oldest/index.ts +10 -0
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -11734,6 +11734,15 @@ declare namespace TailStream {
|
|
|
11734
11734
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11735
11735
|
readonly message: object;
|
|
11736
11736
|
}
|
|
11737
|
+
interface DroppedEventsDiagnostic {
|
|
11738
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11739
|
+
readonly count: number;
|
|
11740
|
+
}
|
|
11741
|
+
interface StreamDiagnostic {
|
|
11742
|
+
readonly type: "streamDiagnostic";
|
|
11743
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11744
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11745
|
+
}
|
|
11737
11746
|
// This marks the worker handler return information.
|
|
11738
11747
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11739
11748
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11766,6 +11775,7 @@ declare namespace TailStream {
|
|
|
11766
11775
|
| DiagnosticChannelEvent
|
|
11767
11776
|
| Exception
|
|
11768
11777
|
| Log
|
|
11778
|
+
| StreamDiagnostic
|
|
11769
11779
|
| Return
|
|
11770
11780
|
| Attributes;
|
|
11771
11781
|
// Context in which this trace event lives.
|
package/2021-11-03/index.ts
CHANGED
|
@@ -11692,6 +11692,15 @@ export declare namespace TailStream {
|
|
|
11692
11692
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11693
11693
|
readonly message: object;
|
|
11694
11694
|
}
|
|
11695
|
+
interface DroppedEventsDiagnostic {
|
|
11696
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11697
|
+
readonly count: number;
|
|
11698
|
+
}
|
|
11699
|
+
interface StreamDiagnostic {
|
|
11700
|
+
readonly type: "streamDiagnostic";
|
|
11701
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11702
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11703
|
+
}
|
|
11695
11704
|
// This marks the worker handler return information.
|
|
11696
11705
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11697
11706
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11724,6 +11733,7 @@ export declare namespace TailStream {
|
|
|
11724
11733
|
| DiagnosticChannelEvent
|
|
11725
11734
|
| Exception
|
|
11726
11735
|
| Log
|
|
11736
|
+
| StreamDiagnostic
|
|
11727
11737
|
| Return
|
|
11728
11738
|
| Attributes;
|
|
11729
11739
|
// Context in which this trace event lives.
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -2045,7 +2045,7 @@ interface Request<
|
|
|
2045
2045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2046
2046
|
*/
|
|
2047
2047
|
signal: AbortSignal;
|
|
2048
|
-
cf
|
|
2048
|
+
cf?: Cf;
|
|
2049
2049
|
/**
|
|
2050
2050
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2051
2051
|
*
|
|
@@ -11801,6 +11801,15 @@ declare namespace TailStream {
|
|
|
11801
11801
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11802
11802
|
readonly message: object;
|
|
11803
11803
|
}
|
|
11804
|
+
interface DroppedEventsDiagnostic {
|
|
11805
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11806
|
+
readonly count: number;
|
|
11807
|
+
}
|
|
11808
|
+
interface StreamDiagnostic {
|
|
11809
|
+
readonly type: "streamDiagnostic";
|
|
11810
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11811
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11812
|
+
}
|
|
11804
11813
|
// This marks the worker handler return information.
|
|
11805
11814
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11806
11815
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11833,6 +11842,7 @@ declare namespace TailStream {
|
|
|
11833
11842
|
| DiagnosticChannelEvent
|
|
11834
11843
|
| Exception
|
|
11835
11844
|
| Log
|
|
11845
|
+
| StreamDiagnostic
|
|
11836
11846
|
| Return
|
|
11837
11847
|
| Attributes;
|
|
11838
11848
|
// Context in which this trace event lives.
|
package/2022-01-31/index.ts
CHANGED
|
@@ -2051,7 +2051,7 @@ export interface Request<
|
|
|
2051
2051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2052
2052
|
*/
|
|
2053
2053
|
signal: AbortSignal;
|
|
2054
|
-
cf
|
|
2054
|
+
cf?: Cf;
|
|
2055
2055
|
/**
|
|
2056
2056
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2057
2057
|
*
|
|
@@ -11759,6 +11759,15 @@ export declare namespace TailStream {
|
|
|
11759
11759
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11760
11760
|
readonly message: object;
|
|
11761
11761
|
}
|
|
11762
|
+
interface DroppedEventsDiagnostic {
|
|
11763
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11764
|
+
readonly count: number;
|
|
11765
|
+
}
|
|
11766
|
+
interface StreamDiagnostic {
|
|
11767
|
+
readonly type: "streamDiagnostic";
|
|
11768
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11769
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11770
|
+
}
|
|
11762
11771
|
// This marks the worker handler return information.
|
|
11763
11772
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11764
11773
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11791,6 +11800,7 @@ export declare namespace TailStream {
|
|
|
11791
11800
|
| DiagnosticChannelEvent
|
|
11792
11801
|
| Exception
|
|
11793
11802
|
| Log
|
|
11803
|
+
| StreamDiagnostic
|
|
11794
11804
|
| Return
|
|
11795
11805
|
| Attributes;
|
|
11796
11806
|
// Context in which this trace event lives.
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -2053,7 +2053,7 @@ interface Request<
|
|
|
2053
2053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2054
2054
|
*/
|
|
2055
2055
|
signal: AbortSignal;
|
|
2056
|
-
cf
|
|
2056
|
+
cf?: Cf;
|
|
2057
2057
|
/**
|
|
2058
2058
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2059
2059
|
*
|
|
@@ -11809,6 +11809,15 @@ declare namespace TailStream {
|
|
|
11809
11809
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11810
11810
|
readonly message: object;
|
|
11811
11811
|
}
|
|
11812
|
+
interface DroppedEventsDiagnostic {
|
|
11813
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11814
|
+
readonly count: number;
|
|
11815
|
+
}
|
|
11816
|
+
interface StreamDiagnostic {
|
|
11817
|
+
readonly type: "streamDiagnostic";
|
|
11818
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11819
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11820
|
+
}
|
|
11812
11821
|
// This marks the worker handler return information.
|
|
11813
11822
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11814
11823
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11841,6 +11850,7 @@ declare namespace TailStream {
|
|
|
11841
11850
|
| DiagnosticChannelEvent
|
|
11842
11851
|
| Exception
|
|
11843
11852
|
| Log
|
|
11853
|
+
| StreamDiagnostic
|
|
11844
11854
|
| Return
|
|
11845
11855
|
| Attributes;
|
|
11846
11856
|
// Context in which this trace event lives.
|
package/2022-03-21/index.ts
CHANGED
|
@@ -2059,7 +2059,7 @@ export interface Request<
|
|
|
2059
2059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2060
2060
|
*/
|
|
2061
2061
|
signal: AbortSignal;
|
|
2062
|
-
cf
|
|
2062
|
+
cf?: Cf;
|
|
2063
2063
|
/**
|
|
2064
2064
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2065
2065
|
*
|
|
@@ -11767,6 +11767,15 @@ export declare namespace TailStream {
|
|
|
11767
11767
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11768
11768
|
readonly message: object;
|
|
11769
11769
|
}
|
|
11770
|
+
interface DroppedEventsDiagnostic {
|
|
11771
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11772
|
+
readonly count: number;
|
|
11773
|
+
}
|
|
11774
|
+
interface StreamDiagnostic {
|
|
11775
|
+
readonly type: "streamDiagnostic";
|
|
11776
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11777
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11778
|
+
}
|
|
11770
11779
|
// This marks the worker handler return information.
|
|
11771
11780
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11772
11781
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11799,6 +11808,7 @@ export declare namespace TailStream {
|
|
|
11799
11808
|
| DiagnosticChannelEvent
|
|
11800
11809
|
| Exception
|
|
11801
11810
|
| Log
|
|
11811
|
+
| StreamDiagnostic
|
|
11802
11812
|
| Return
|
|
11803
11813
|
| Attributes;
|
|
11804
11814
|
// Context in which this trace event lives.
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -2053,7 +2053,7 @@ interface Request<
|
|
|
2053
2053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2054
2054
|
*/
|
|
2055
2055
|
signal: AbortSignal;
|
|
2056
|
-
cf
|
|
2056
|
+
cf?: Cf;
|
|
2057
2057
|
/**
|
|
2058
2058
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2059
2059
|
*
|
|
@@ -11810,6 +11810,15 @@ declare namespace TailStream {
|
|
|
11810
11810
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11811
11811
|
readonly message: object;
|
|
11812
11812
|
}
|
|
11813
|
+
interface DroppedEventsDiagnostic {
|
|
11814
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11815
|
+
readonly count: number;
|
|
11816
|
+
}
|
|
11817
|
+
interface StreamDiagnostic {
|
|
11818
|
+
readonly type: "streamDiagnostic";
|
|
11819
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11820
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11821
|
+
}
|
|
11813
11822
|
// This marks the worker handler return information.
|
|
11814
11823
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11815
11824
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11842,6 +11851,7 @@ declare namespace TailStream {
|
|
|
11842
11851
|
| DiagnosticChannelEvent
|
|
11843
11852
|
| Exception
|
|
11844
11853
|
| Log
|
|
11854
|
+
| StreamDiagnostic
|
|
11845
11855
|
| Return
|
|
11846
11856
|
| Attributes;
|
|
11847
11857
|
// Context in which this trace event lives.
|
package/2022-08-04/index.ts
CHANGED
|
@@ -2059,7 +2059,7 @@ export interface Request<
|
|
|
2059
2059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2060
2060
|
*/
|
|
2061
2061
|
signal: AbortSignal;
|
|
2062
|
-
cf
|
|
2062
|
+
cf?: Cf;
|
|
2063
2063
|
/**
|
|
2064
2064
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2065
2065
|
*
|
|
@@ -11768,6 +11768,15 @@ export declare namespace TailStream {
|
|
|
11768
11768
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11769
11769
|
readonly message: object;
|
|
11770
11770
|
}
|
|
11771
|
+
interface DroppedEventsDiagnostic {
|
|
11772
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11773
|
+
readonly count: number;
|
|
11774
|
+
}
|
|
11775
|
+
interface StreamDiagnostic {
|
|
11776
|
+
readonly type: "streamDiagnostic";
|
|
11777
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11778
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11779
|
+
}
|
|
11771
11780
|
// This marks the worker handler return information.
|
|
11772
11781
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11773
11782
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11800,6 +11809,7 @@ export declare namespace TailStream {
|
|
|
11800
11809
|
| DiagnosticChannelEvent
|
|
11801
11810
|
| Exception
|
|
11802
11811
|
| Log
|
|
11812
|
+
| StreamDiagnostic
|
|
11803
11813
|
| Return
|
|
11804
11814
|
| Attributes;
|
|
11805
11815
|
// Context in which this trace event lives.
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -2053,7 +2053,7 @@ interface Request<
|
|
|
2053
2053
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2054
2054
|
*/
|
|
2055
2055
|
signal: AbortSignal;
|
|
2056
|
-
cf
|
|
2056
|
+
cf?: Cf;
|
|
2057
2057
|
/**
|
|
2058
2058
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2059
2059
|
*
|
|
@@ -11830,6 +11830,15 @@ declare namespace TailStream {
|
|
|
11830
11830
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11831
11831
|
readonly message: object;
|
|
11832
11832
|
}
|
|
11833
|
+
interface DroppedEventsDiagnostic {
|
|
11834
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11835
|
+
readonly count: number;
|
|
11836
|
+
}
|
|
11837
|
+
interface StreamDiagnostic {
|
|
11838
|
+
readonly type: "streamDiagnostic";
|
|
11839
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11840
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11841
|
+
}
|
|
11833
11842
|
// This marks the worker handler return information.
|
|
11834
11843
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11835
11844
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11862,6 +11871,7 @@ declare namespace TailStream {
|
|
|
11862
11871
|
| DiagnosticChannelEvent
|
|
11863
11872
|
| Exception
|
|
11864
11873
|
| Log
|
|
11874
|
+
| StreamDiagnostic
|
|
11865
11875
|
| Return
|
|
11866
11876
|
| Attributes;
|
|
11867
11877
|
// Context in which this trace event lives.
|
package/2022-10-31/index.ts
CHANGED
|
@@ -2059,7 +2059,7 @@ export interface Request<
|
|
|
2059
2059
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2060
2060
|
*/
|
|
2061
2061
|
signal: AbortSignal;
|
|
2062
|
-
cf
|
|
2062
|
+
cf?: Cf;
|
|
2063
2063
|
/**
|
|
2064
2064
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2065
2065
|
*
|
|
@@ -11788,6 +11788,15 @@ export declare namespace TailStream {
|
|
|
11788
11788
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11789
11789
|
readonly message: object;
|
|
11790
11790
|
}
|
|
11791
|
+
interface DroppedEventsDiagnostic {
|
|
11792
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11793
|
+
readonly count: number;
|
|
11794
|
+
}
|
|
11795
|
+
interface StreamDiagnostic {
|
|
11796
|
+
readonly type: "streamDiagnostic";
|
|
11797
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11798
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11799
|
+
}
|
|
11791
11800
|
// This marks the worker handler return information.
|
|
11792
11801
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11793
11802
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11820,6 +11829,7 @@ export declare namespace TailStream {
|
|
|
11820
11829
|
| DiagnosticChannelEvent
|
|
11821
11830
|
| Exception
|
|
11822
11831
|
| Log
|
|
11832
|
+
| StreamDiagnostic
|
|
11823
11833
|
| Return
|
|
11824
11834
|
| Attributes;
|
|
11825
11835
|
// Context in which this trace event lives.
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -2058,7 +2058,7 @@ interface Request<
|
|
|
2058
2058
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2059
2059
|
*/
|
|
2060
2060
|
signal: AbortSignal;
|
|
2061
|
-
cf
|
|
2061
|
+
cf?: Cf;
|
|
2062
2062
|
/**
|
|
2063
2063
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2064
2064
|
*
|
|
@@ -11835,6 +11835,15 @@ declare namespace TailStream {
|
|
|
11835
11835
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11836
11836
|
readonly message: object;
|
|
11837
11837
|
}
|
|
11838
|
+
interface DroppedEventsDiagnostic {
|
|
11839
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11840
|
+
readonly count: number;
|
|
11841
|
+
}
|
|
11842
|
+
interface StreamDiagnostic {
|
|
11843
|
+
readonly type: "streamDiagnostic";
|
|
11844
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11845
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11846
|
+
}
|
|
11838
11847
|
// This marks the worker handler return information.
|
|
11839
11848
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11840
11849
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11867,6 +11876,7 @@ declare namespace TailStream {
|
|
|
11867
11876
|
| DiagnosticChannelEvent
|
|
11868
11877
|
| Exception
|
|
11869
11878
|
| Log
|
|
11879
|
+
| StreamDiagnostic
|
|
11870
11880
|
| Return
|
|
11871
11881
|
| Attributes;
|
|
11872
11882
|
// Context in which this trace event lives.
|
package/2022-11-30/index.ts
CHANGED
|
@@ -2064,7 +2064,7 @@ export interface Request<
|
|
|
2064
2064
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2065
2065
|
*/
|
|
2066
2066
|
signal: AbortSignal;
|
|
2067
|
-
cf
|
|
2067
|
+
cf?: Cf;
|
|
2068
2068
|
/**
|
|
2069
2069
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2070
2070
|
*
|
|
@@ -11793,6 +11793,15 @@ export declare namespace TailStream {
|
|
|
11793
11793
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11794
11794
|
readonly message: object;
|
|
11795
11795
|
}
|
|
11796
|
+
interface DroppedEventsDiagnostic {
|
|
11797
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11798
|
+
readonly count: number;
|
|
11799
|
+
}
|
|
11800
|
+
interface StreamDiagnostic {
|
|
11801
|
+
readonly type: "streamDiagnostic";
|
|
11802
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11803
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11804
|
+
}
|
|
11796
11805
|
// This marks the worker handler return information.
|
|
11797
11806
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11798
11807
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11825,6 +11834,7 @@ export declare namespace TailStream {
|
|
|
11825
11834
|
| DiagnosticChannelEvent
|
|
11826
11835
|
| Exception
|
|
11827
11836
|
| Log
|
|
11837
|
+
| StreamDiagnostic
|
|
11828
11838
|
| Return
|
|
11829
11839
|
| Attributes;
|
|
11830
11840
|
// Context in which this trace event lives.
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -2064,7 +2064,7 @@ interface Request<
|
|
|
2064
2064
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2065
2065
|
*/
|
|
2066
2066
|
signal: AbortSignal;
|
|
2067
|
-
cf
|
|
2067
|
+
cf?: Cf;
|
|
2068
2068
|
/**
|
|
2069
2069
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2070
2070
|
*
|
|
@@ -11841,6 +11841,15 @@ declare namespace TailStream {
|
|
|
11841
11841
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11842
11842
|
readonly message: object;
|
|
11843
11843
|
}
|
|
11844
|
+
interface DroppedEventsDiagnostic {
|
|
11845
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11846
|
+
readonly count: number;
|
|
11847
|
+
}
|
|
11848
|
+
interface StreamDiagnostic {
|
|
11849
|
+
readonly type: "streamDiagnostic";
|
|
11850
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11851
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11852
|
+
}
|
|
11844
11853
|
// This marks the worker handler return information.
|
|
11845
11854
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11846
11855
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11873,6 +11882,7 @@ declare namespace TailStream {
|
|
|
11873
11882
|
| DiagnosticChannelEvent
|
|
11874
11883
|
| Exception
|
|
11875
11884
|
| Log
|
|
11885
|
+
| StreamDiagnostic
|
|
11876
11886
|
| Return
|
|
11877
11887
|
| Attributes;
|
|
11878
11888
|
// Context in which this trace event lives.
|
package/2023-03-01/index.ts
CHANGED
|
@@ -2070,7 +2070,7 @@ export interface Request<
|
|
|
2070
2070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2071
2071
|
*/
|
|
2072
2072
|
signal: AbortSignal;
|
|
2073
|
-
cf
|
|
2073
|
+
cf?: Cf;
|
|
2074
2074
|
/**
|
|
2075
2075
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2076
2076
|
*
|
|
@@ -11799,6 +11799,15 @@ export declare namespace TailStream {
|
|
|
11799
11799
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11800
11800
|
readonly message: object;
|
|
11801
11801
|
}
|
|
11802
|
+
interface DroppedEventsDiagnostic {
|
|
11803
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11804
|
+
readonly count: number;
|
|
11805
|
+
}
|
|
11806
|
+
interface StreamDiagnostic {
|
|
11807
|
+
readonly type: "streamDiagnostic";
|
|
11808
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11809
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11810
|
+
}
|
|
11802
11811
|
// This marks the worker handler return information.
|
|
11803
11812
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11804
11813
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11831,6 +11840,7 @@ export declare namespace TailStream {
|
|
|
11831
11840
|
| DiagnosticChannelEvent
|
|
11832
11841
|
| Exception
|
|
11833
11842
|
| Log
|
|
11843
|
+
| StreamDiagnostic
|
|
11834
11844
|
| Return
|
|
11835
11845
|
| Attributes;
|
|
11836
11846
|
// Context in which this trace event lives.
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -2064,7 +2064,7 @@ interface Request<
|
|
|
2064
2064
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2065
2065
|
*/
|
|
2066
2066
|
signal: AbortSignal;
|
|
2067
|
-
cf
|
|
2067
|
+
cf?: Cf;
|
|
2068
2068
|
/**
|
|
2069
2069
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2070
2070
|
*
|
|
@@ -11841,6 +11841,15 @@ declare namespace TailStream {
|
|
|
11841
11841
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11842
11842
|
readonly message: object;
|
|
11843
11843
|
}
|
|
11844
|
+
interface DroppedEventsDiagnostic {
|
|
11845
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11846
|
+
readonly count: number;
|
|
11847
|
+
}
|
|
11848
|
+
interface StreamDiagnostic {
|
|
11849
|
+
readonly type: "streamDiagnostic";
|
|
11850
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11851
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11852
|
+
}
|
|
11844
11853
|
// This marks the worker handler return information.
|
|
11845
11854
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11846
11855
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11873,6 +11882,7 @@ declare namespace TailStream {
|
|
|
11873
11882
|
| DiagnosticChannelEvent
|
|
11874
11883
|
| Exception
|
|
11875
11884
|
| Log
|
|
11885
|
+
| StreamDiagnostic
|
|
11876
11886
|
| Return
|
|
11877
11887
|
| Attributes;
|
|
11878
11888
|
// Context in which this trace event lives.
|
package/2023-07-01/index.ts
CHANGED
|
@@ -2070,7 +2070,7 @@ export interface Request<
|
|
|
2070
2070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2071
2071
|
*/
|
|
2072
2072
|
signal: AbortSignal;
|
|
2073
|
-
cf
|
|
2073
|
+
cf?: Cf;
|
|
2074
2074
|
/**
|
|
2075
2075
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2076
2076
|
*
|
|
@@ -11799,6 +11799,15 @@ export declare namespace TailStream {
|
|
|
11799
11799
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11800
11800
|
readonly message: object;
|
|
11801
11801
|
}
|
|
11802
|
+
interface DroppedEventsDiagnostic {
|
|
11803
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11804
|
+
readonly count: number;
|
|
11805
|
+
}
|
|
11806
|
+
interface StreamDiagnostic {
|
|
11807
|
+
readonly type: "streamDiagnostic";
|
|
11808
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11809
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11810
|
+
}
|
|
11802
11811
|
// This marks the worker handler return information.
|
|
11803
11812
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11804
11813
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11831,6 +11840,7 @@ export declare namespace TailStream {
|
|
|
11831
11840
|
| DiagnosticChannelEvent
|
|
11832
11841
|
| Exception
|
|
11833
11842
|
| Log
|
|
11843
|
+
| StreamDiagnostic
|
|
11834
11844
|
| Return
|
|
11835
11845
|
| Attributes;
|
|
11836
11846
|
// Context in which this trace event lives.
|
package/experimental/index.d.ts
CHANGED
|
@@ -2115,7 +2115,7 @@ interface Request<
|
|
|
2115
2115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2116
2116
|
*/
|
|
2117
2117
|
signal: AbortSignal;
|
|
2118
|
-
cf
|
|
2118
|
+
cf?: Cf;
|
|
2119
2119
|
/**
|
|
2120
2120
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2121
2121
|
*
|
|
@@ -12478,6 +12478,15 @@ declare namespace TailStream {
|
|
|
12478
12478
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
12479
12479
|
readonly message: object;
|
|
12480
12480
|
}
|
|
12481
|
+
interface DroppedEventsDiagnostic {
|
|
12482
|
+
readonly diagnosticsType: "droppedEvents";
|
|
12483
|
+
readonly count: number;
|
|
12484
|
+
}
|
|
12485
|
+
interface StreamDiagnostic {
|
|
12486
|
+
readonly type: "streamDiagnostic";
|
|
12487
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
12488
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
12489
|
+
}
|
|
12481
12490
|
// This marks the worker handler return information.
|
|
12482
12491
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
12483
12492
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -12510,6 +12519,7 @@ declare namespace TailStream {
|
|
|
12510
12519
|
| DiagnosticChannelEvent
|
|
12511
12520
|
| Exception
|
|
12512
12521
|
| Log
|
|
12522
|
+
| StreamDiagnostic
|
|
12513
12523
|
| Return
|
|
12514
12524
|
| Attributes;
|
|
12515
12525
|
// Context in which this trace event lives.
|
package/experimental/index.ts
CHANGED
|
@@ -2121,7 +2121,7 @@ export interface Request<
|
|
|
2121
2121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2122
2122
|
*/
|
|
2123
2123
|
signal: AbortSignal;
|
|
2124
|
-
cf
|
|
2124
|
+
cf?: Cf;
|
|
2125
2125
|
/**
|
|
2126
2126
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2127
2127
|
*
|
|
@@ -12436,6 +12436,15 @@ export declare namespace TailStream {
|
|
|
12436
12436
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
12437
12437
|
readonly message: object;
|
|
12438
12438
|
}
|
|
12439
|
+
interface DroppedEventsDiagnostic {
|
|
12440
|
+
readonly diagnosticsType: "droppedEvents";
|
|
12441
|
+
readonly count: number;
|
|
12442
|
+
}
|
|
12443
|
+
interface StreamDiagnostic {
|
|
12444
|
+
readonly type: "streamDiagnostic";
|
|
12445
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
12446
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
12447
|
+
}
|
|
12439
12448
|
// This marks the worker handler return information.
|
|
12440
12449
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
12441
12450
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -12468,6 +12477,7 @@ export declare namespace TailStream {
|
|
|
12468
12477
|
| DiagnosticChannelEvent
|
|
12469
12478
|
| Exception
|
|
12470
12479
|
| Log
|
|
12480
|
+
| StreamDiagnostic
|
|
12471
12481
|
| Return
|
|
12472
12482
|
| Attributes;
|
|
12473
12483
|
// Context in which this trace event lives.
|
package/index.d.ts
CHANGED
|
@@ -11734,6 +11734,15 @@ declare namespace TailStream {
|
|
|
11734
11734
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11735
11735
|
readonly message: object;
|
|
11736
11736
|
}
|
|
11737
|
+
interface DroppedEventsDiagnostic {
|
|
11738
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11739
|
+
readonly count: number;
|
|
11740
|
+
}
|
|
11741
|
+
interface StreamDiagnostic {
|
|
11742
|
+
readonly type: "streamDiagnostic";
|
|
11743
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11744
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11745
|
+
}
|
|
11737
11746
|
// This marks the worker handler return information.
|
|
11738
11747
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11739
11748
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11766,6 +11775,7 @@ declare namespace TailStream {
|
|
|
11766
11775
|
| DiagnosticChannelEvent
|
|
11767
11776
|
| Exception
|
|
11768
11777
|
| Log
|
|
11778
|
+
| StreamDiagnostic
|
|
11769
11779
|
| Return
|
|
11770
11780
|
| Attributes;
|
|
11771
11781
|
// Context in which this trace event lives.
|
package/index.ts
CHANGED
|
@@ -11692,6 +11692,15 @@ export declare namespace TailStream {
|
|
|
11692
11692
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11693
11693
|
readonly message: object;
|
|
11694
11694
|
}
|
|
11695
|
+
interface DroppedEventsDiagnostic {
|
|
11696
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11697
|
+
readonly count: number;
|
|
11698
|
+
}
|
|
11699
|
+
interface StreamDiagnostic {
|
|
11700
|
+
readonly type: "streamDiagnostic";
|
|
11701
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11702
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11703
|
+
}
|
|
11695
11704
|
// This marks the worker handler return information.
|
|
11696
11705
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11697
11706
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11724,6 +11733,7 @@ export declare namespace TailStream {
|
|
|
11724
11733
|
| DiagnosticChannelEvent
|
|
11725
11734
|
| Exception
|
|
11726
11735
|
| Log
|
|
11736
|
+
| StreamDiagnostic
|
|
11727
11737
|
| Return
|
|
11728
11738
|
| Attributes;
|
|
11729
11739
|
// Context in which this trace event lives.
|
package/latest/index.d.ts
CHANGED
|
@@ -2070,7 +2070,7 @@ interface Request<
|
|
|
2070
2070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2071
2071
|
*/
|
|
2072
2072
|
signal: AbortSignal;
|
|
2073
|
-
cf
|
|
2073
|
+
cf?: Cf;
|
|
2074
2074
|
/**
|
|
2075
2075
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2076
2076
|
*
|
|
@@ -11872,6 +11872,15 @@ declare namespace TailStream {
|
|
|
11872
11872
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11873
11873
|
readonly message: object;
|
|
11874
11874
|
}
|
|
11875
|
+
interface DroppedEventsDiagnostic {
|
|
11876
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11877
|
+
readonly count: number;
|
|
11878
|
+
}
|
|
11879
|
+
interface StreamDiagnostic {
|
|
11880
|
+
readonly type: "streamDiagnostic";
|
|
11881
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11882
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11883
|
+
}
|
|
11875
11884
|
// This marks the worker handler return information.
|
|
11876
11885
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11877
11886
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11904,6 +11913,7 @@ declare namespace TailStream {
|
|
|
11904
11913
|
| DiagnosticChannelEvent
|
|
11905
11914
|
| Exception
|
|
11906
11915
|
| Log
|
|
11916
|
+
| StreamDiagnostic
|
|
11907
11917
|
| Return
|
|
11908
11918
|
| Attributes;
|
|
11909
11919
|
// Context in which this trace event lives.
|
package/latest/index.ts
CHANGED
|
@@ -2076,7 +2076,7 @@ export interface Request<
|
|
|
2076
2076
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)
|
|
2077
2077
|
*/
|
|
2078
2078
|
signal: AbortSignal;
|
|
2079
|
-
cf
|
|
2079
|
+
cf?: Cf;
|
|
2080
2080
|
/**
|
|
2081
2081
|
* The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.
|
|
2082
2082
|
*
|
|
@@ -11830,6 +11830,15 @@ export declare namespace TailStream {
|
|
|
11830
11830
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11831
11831
|
readonly message: object;
|
|
11832
11832
|
}
|
|
11833
|
+
interface DroppedEventsDiagnostic {
|
|
11834
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11835
|
+
readonly count: number;
|
|
11836
|
+
}
|
|
11837
|
+
interface StreamDiagnostic {
|
|
11838
|
+
readonly type: "streamDiagnostic";
|
|
11839
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11840
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11841
|
+
}
|
|
11833
11842
|
// This marks the worker handler return information.
|
|
11834
11843
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11835
11844
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11862,6 +11871,7 @@ export declare namespace TailStream {
|
|
|
11862
11871
|
| DiagnosticChannelEvent
|
|
11863
11872
|
| Exception
|
|
11864
11873
|
| Log
|
|
11874
|
+
| StreamDiagnostic
|
|
11865
11875
|
| Return
|
|
11866
11876
|
| Attributes;
|
|
11867
11877
|
// Context in which this trace event lives.
|
package/oldest/index.d.ts
CHANGED
|
@@ -11734,6 +11734,15 @@ declare namespace TailStream {
|
|
|
11734
11734
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11735
11735
|
readonly message: object;
|
|
11736
11736
|
}
|
|
11737
|
+
interface DroppedEventsDiagnostic {
|
|
11738
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11739
|
+
readonly count: number;
|
|
11740
|
+
}
|
|
11741
|
+
interface StreamDiagnostic {
|
|
11742
|
+
readonly type: "streamDiagnostic";
|
|
11743
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11744
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11745
|
+
}
|
|
11737
11746
|
// This marks the worker handler return information.
|
|
11738
11747
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11739
11748
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11766,6 +11775,7 @@ declare namespace TailStream {
|
|
|
11766
11775
|
| DiagnosticChannelEvent
|
|
11767
11776
|
| Exception
|
|
11768
11777
|
| Log
|
|
11778
|
+
| StreamDiagnostic
|
|
11769
11779
|
| Return
|
|
11770
11780
|
| Attributes;
|
|
11771
11781
|
// Context in which this trace event lives.
|
package/oldest/index.ts
CHANGED
|
@@ -11692,6 +11692,15 @@ export declare namespace TailStream {
|
|
|
11692
11692
|
readonly level: "debug" | "error" | "info" | "log" | "warn";
|
|
11693
11693
|
readonly message: object;
|
|
11694
11694
|
}
|
|
11695
|
+
interface DroppedEventsDiagnostic {
|
|
11696
|
+
readonly diagnosticsType: "droppedEvents";
|
|
11697
|
+
readonly count: number;
|
|
11698
|
+
}
|
|
11699
|
+
interface StreamDiagnostic {
|
|
11700
|
+
readonly type: "streamDiagnostic";
|
|
11701
|
+
// To add new diagnostic types, define a new interface and add it to this union type.
|
|
11702
|
+
readonly diagnostic: DroppedEventsDiagnostic;
|
|
11703
|
+
}
|
|
11695
11704
|
// This marks the worker handler return information.
|
|
11696
11705
|
// This is separate from Outcome because the worker invocation can live for a long time after
|
|
11697
11706
|
// returning. For example - Websockets that return an http upgrade response but then continue
|
|
@@ -11724,6 +11733,7 @@ export declare namespace TailStream {
|
|
|
11724
11733
|
| DiagnosticChannelEvent
|
|
11725
11734
|
| Exception
|
|
11726
11735
|
| Log
|
|
11736
|
+
| StreamDiagnostic
|
|
11727
11737
|
| Return
|
|
11728
11738
|
| Attributes;
|
|
11729
11739
|
// Context in which this trace event lives.
|
package/package.json
CHANGED