@workers-community/workers-types 4.20250816.0 → 4.20250820.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/index.d.ts +0 -19
- package/index.ts +0 -19
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -8083,10 +8083,6 @@ declare namespace TailStream {
|
|
|
8083
8083
|
| HibernatableWebSocketEventInfoError
|
|
8084
8084
|
| HibernatableWebSocketEventInfoMessage;
|
|
8085
8085
|
}
|
|
8086
|
-
interface Resume {
|
|
8087
|
-
readonly type: "resume";
|
|
8088
|
-
readonly attachment?: any;
|
|
8089
|
-
}
|
|
8090
8086
|
interface CustomEventInfo {
|
|
8091
8087
|
readonly type: "custom";
|
|
8092
8088
|
}
|
|
@@ -8134,7 +8130,6 @@ declare namespace TailStream {
|
|
|
8134
8130
|
| EmailEventInfo
|
|
8135
8131
|
| TraceEventInfo
|
|
8136
8132
|
| HibernatableWebSocketEventInfo
|
|
8137
|
-
| Resume
|
|
8138
8133
|
| CustomEventInfo;
|
|
8139
8134
|
}
|
|
8140
8135
|
interface Outcome {
|
|
@@ -8143,9 +8138,6 @@ declare namespace TailStream {
|
|
|
8143
8138
|
readonly cpuTime: number;
|
|
8144
8139
|
readonly wallTime: number;
|
|
8145
8140
|
}
|
|
8146
|
-
interface Hibernate {
|
|
8147
|
-
readonly type: "hibernate";
|
|
8148
|
-
}
|
|
8149
8141
|
interface SpanOpen {
|
|
8150
8142
|
readonly type: "spanOpen";
|
|
8151
8143
|
readonly name: string;
|
|
@@ -8175,13 +8167,6 @@ declare namespace TailStream {
|
|
|
8175
8167
|
readonly type: "return";
|
|
8176
8168
|
readonly info?: FetchResponseInfo;
|
|
8177
8169
|
}
|
|
8178
|
-
interface Link {
|
|
8179
|
-
readonly type: "link";
|
|
8180
|
-
readonly label?: string;
|
|
8181
|
-
readonly traceId: string;
|
|
8182
|
-
readonly invocationId: string;
|
|
8183
|
-
readonly spanId: string;
|
|
8184
|
-
}
|
|
8185
8170
|
interface Attribute {
|
|
8186
8171
|
readonly name: string;
|
|
8187
8172
|
readonly value:
|
|
@@ -8201,14 +8186,12 @@ declare namespace TailStream {
|
|
|
8201
8186
|
type EventType =
|
|
8202
8187
|
| Onset
|
|
8203
8188
|
| Outcome
|
|
8204
|
-
| Hibernate
|
|
8205
8189
|
| SpanOpen
|
|
8206
8190
|
| SpanClose
|
|
8207
8191
|
| DiagnosticChannelEvent
|
|
8208
8192
|
| Exception
|
|
8209
8193
|
| Log
|
|
8210
8194
|
| Return
|
|
8211
|
-
| Link
|
|
8212
8195
|
| Attributes;
|
|
8213
8196
|
interface TailEvent<Event extends EventType> {
|
|
8214
8197
|
readonly invocationId: string;
|
|
@@ -8222,14 +8205,12 @@ declare namespace TailStream {
|
|
|
8222
8205
|
) => void | Promise<void>;
|
|
8223
8206
|
type TailEventHandlerObject = {
|
|
8224
8207
|
outcome?: TailEventHandler<Outcome>;
|
|
8225
|
-
hibernate?: TailEventHandler<Hibernate>;
|
|
8226
8208
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
8227
8209
|
spanClose?: TailEventHandler<SpanClose>;
|
|
8228
8210
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
8229
8211
|
exception?: TailEventHandler<Exception>;
|
|
8230
8212
|
log?: TailEventHandler<Log>;
|
|
8231
8213
|
return?: TailEventHandler<Return>;
|
|
8232
|
-
link?: TailEventHandler<Link>;
|
|
8233
8214
|
attributes?: TailEventHandler<Attributes>;
|
|
8234
8215
|
};
|
|
8235
8216
|
type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
|
package/index.ts
CHANGED
|
@@ -7928,10 +7928,6 @@ export declare namespace TailStream {
|
|
|
7928
7928
|
| HibernatableWebSocketEventInfoError
|
|
7929
7929
|
| HibernatableWebSocketEventInfoMessage;
|
|
7930
7930
|
}
|
|
7931
|
-
interface Resume {
|
|
7932
|
-
readonly type: "resume";
|
|
7933
|
-
readonly attachment?: any;
|
|
7934
|
-
}
|
|
7935
7931
|
interface CustomEventInfo {
|
|
7936
7932
|
readonly type: "custom";
|
|
7937
7933
|
}
|
|
@@ -7979,7 +7975,6 @@ export declare namespace TailStream {
|
|
|
7979
7975
|
| EmailEventInfo
|
|
7980
7976
|
| TraceEventInfo
|
|
7981
7977
|
| HibernatableWebSocketEventInfo
|
|
7982
|
-
| Resume
|
|
7983
7978
|
| CustomEventInfo;
|
|
7984
7979
|
}
|
|
7985
7980
|
interface Outcome {
|
|
@@ -7988,9 +7983,6 @@ export declare namespace TailStream {
|
|
|
7988
7983
|
readonly cpuTime: number;
|
|
7989
7984
|
readonly wallTime: number;
|
|
7990
7985
|
}
|
|
7991
|
-
interface Hibernate {
|
|
7992
|
-
readonly type: "hibernate";
|
|
7993
|
-
}
|
|
7994
7986
|
interface SpanOpen {
|
|
7995
7987
|
readonly type: "spanOpen";
|
|
7996
7988
|
readonly name: string;
|
|
@@ -8020,13 +8012,6 @@ export declare namespace TailStream {
|
|
|
8020
8012
|
readonly type: "return";
|
|
8021
8013
|
readonly info?: FetchResponseInfo;
|
|
8022
8014
|
}
|
|
8023
|
-
interface Link {
|
|
8024
|
-
readonly type: "link";
|
|
8025
|
-
readonly label?: string;
|
|
8026
|
-
readonly traceId: string;
|
|
8027
|
-
readonly invocationId: string;
|
|
8028
|
-
readonly spanId: string;
|
|
8029
|
-
}
|
|
8030
8015
|
interface Attribute {
|
|
8031
8016
|
readonly name: string;
|
|
8032
8017
|
readonly value:
|
|
@@ -8046,14 +8031,12 @@ export declare namespace TailStream {
|
|
|
8046
8031
|
type EventType =
|
|
8047
8032
|
| Onset
|
|
8048
8033
|
| Outcome
|
|
8049
|
-
| Hibernate
|
|
8050
8034
|
| SpanOpen
|
|
8051
8035
|
| SpanClose
|
|
8052
8036
|
| DiagnosticChannelEvent
|
|
8053
8037
|
| Exception
|
|
8054
8038
|
| Log
|
|
8055
8039
|
| Return
|
|
8056
|
-
| Link
|
|
8057
8040
|
| Attributes;
|
|
8058
8041
|
interface TailEvent<Event extends EventType> {
|
|
8059
8042
|
readonly invocationId: string;
|
|
@@ -8067,14 +8050,12 @@ export declare namespace TailStream {
|
|
|
8067
8050
|
) => void | Promise<void>;
|
|
8068
8051
|
type TailEventHandlerObject = {
|
|
8069
8052
|
outcome?: TailEventHandler<Outcome>;
|
|
8070
|
-
hibernate?: TailEventHandler<Hibernate>;
|
|
8071
8053
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
8072
8054
|
spanClose?: TailEventHandler<SpanClose>;
|
|
8073
8055
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
8074
8056
|
exception?: TailEventHandler<Exception>;
|
|
8075
8057
|
log?: TailEventHandler<Log>;
|
|
8076
8058
|
return?: TailEventHandler<Return>;
|
|
8077
|
-
link?: TailEventHandler<Link>;
|
|
8078
8059
|
attributes?: TailEventHandler<Attributes>;
|
|
8079
8060
|
};
|
|
8080
8061
|
type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
|