@cloudflare/workers-types 4.20250918.0 → 4.20250920.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 +12 -13
- package/2021-11-03/index.ts +12 -13
- package/2022-01-31/index.d.ts +12 -13
- package/2022-01-31/index.ts +12 -13
- package/2022-03-21/index.d.ts +12 -13
- package/2022-03-21/index.ts +12 -13
- package/2022-08-04/index.d.ts +12 -13
- package/2022-08-04/index.ts +12 -13
- package/2022-10-31/index.d.ts +12 -13
- package/2022-10-31/index.ts +12 -13
- package/2022-11-30/index.d.ts +12 -13
- package/2022-11-30/index.ts +12 -13
- package/2023-03-01/index.d.ts +12 -13
- package/2023-03-01/index.ts +12 -13
- package/2023-07-01/index.d.ts +12 -13
- package/2023-07-01/index.ts +12 -13
- package/experimental/index.d.ts +175 -13
- package/experimental/index.ts +175 -13
- package/index.d.ts +12 -13
- package/index.ts +12 -13
- package/latest/index.d.ts +12 -13
- package/latest/index.ts +12 -13
- package/oldest/index.d.ts +12 -13
- package/oldest/index.ts +12 -13
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -443,18 +443,6 @@ declare abstract class PromiseRejectionEvent extends Event {
|
|
|
443
443
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
|
|
444
444
|
readonly reason: any;
|
|
445
445
|
}
|
|
446
|
-
/**
|
|
447
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
448
|
-
* as well as timing of subrequests and other operations.
|
|
449
|
-
*
|
|
450
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
451
|
-
*/
|
|
452
|
-
interface Performance {
|
|
453
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
454
|
-
readonly timeOrigin: number;
|
|
455
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
456
|
-
now(): number;
|
|
457
|
-
}
|
|
458
446
|
interface AlarmInvocationInfo {
|
|
459
447
|
readonly isRetry: boolean;
|
|
460
448
|
readonly retryCount: number;
|
|
@@ -3110,6 +3098,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3110
3098
|
tails?: Fetcher[];
|
|
3111
3099
|
streamingTails?: Fetcher[];
|
|
3112
3100
|
}
|
|
3101
|
+
/**
|
|
3102
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3103
|
+
* as well as timing of subrequests and other operations.
|
|
3104
|
+
*
|
|
3105
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3106
|
+
*/
|
|
3107
|
+
declare abstract class Performance {
|
|
3108
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3109
|
+
get timeOrigin(): number;
|
|
3110
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3111
|
+
now(): number;
|
|
3112
|
+
}
|
|
3113
3113
|
type AiImageClassificationInput = {
|
|
3114
3114
|
image: number[];
|
|
3115
3115
|
};
|
|
@@ -8948,7 +8948,6 @@ declare namespace TailStream {
|
|
|
8948
8948
|
}
|
|
8949
8949
|
interface JsRpcEventInfo {
|
|
8950
8950
|
readonly type: "jsrpc";
|
|
8951
|
-
readonly methodName: string;
|
|
8952
8951
|
}
|
|
8953
8952
|
interface ScheduledEventInfo {
|
|
8954
8953
|
readonly type: "scheduled";
|
package/2021-11-03/index.ts
CHANGED
|
@@ -448,18 +448,6 @@ export declare abstract class PromiseRejectionEvent extends Event {
|
|
|
448
448
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
|
|
449
449
|
readonly reason: any;
|
|
450
450
|
}
|
|
451
|
-
/**
|
|
452
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
453
|
-
* as well as timing of subrequests and other operations.
|
|
454
|
-
*
|
|
455
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
456
|
-
*/
|
|
457
|
-
export interface Performance {
|
|
458
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
459
|
-
readonly timeOrigin: number;
|
|
460
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
461
|
-
now(): number;
|
|
462
|
-
}
|
|
463
451
|
export interface AlarmInvocationInfo {
|
|
464
452
|
readonly isRetry: boolean;
|
|
465
453
|
readonly retryCount: number;
|
|
@@ -3121,6 +3109,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3121
3109
|
tails?: Fetcher[];
|
|
3122
3110
|
streamingTails?: Fetcher[];
|
|
3123
3111
|
}
|
|
3112
|
+
/**
|
|
3113
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3114
|
+
* as well as timing of subrequests and other operations.
|
|
3115
|
+
*
|
|
3116
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3117
|
+
*/
|
|
3118
|
+
export declare abstract class Performance {
|
|
3119
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3120
|
+
get timeOrigin(): number;
|
|
3121
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3122
|
+
now(): number;
|
|
3123
|
+
}
|
|
3124
3124
|
export type AiImageClassificationInput = {
|
|
3125
3125
|
image: number[];
|
|
3126
3126
|
};
|
|
@@ -8908,7 +8908,6 @@ export declare namespace TailStream {
|
|
|
8908
8908
|
}
|
|
8909
8909
|
interface JsRpcEventInfo {
|
|
8910
8910
|
readonly type: "jsrpc";
|
|
8911
|
-
readonly methodName: string;
|
|
8912
8911
|
}
|
|
8913
8912
|
interface ScheduledEventInfo {
|
|
8914
8913
|
readonly type: "scheduled";
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -443,18 +443,6 @@ declare abstract class PromiseRejectionEvent extends Event {
|
|
|
443
443
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
|
|
444
444
|
readonly reason: any;
|
|
445
445
|
}
|
|
446
|
-
/**
|
|
447
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
448
|
-
* as well as timing of subrequests and other operations.
|
|
449
|
-
*
|
|
450
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
451
|
-
*/
|
|
452
|
-
interface Performance {
|
|
453
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
454
|
-
readonly timeOrigin: number;
|
|
455
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
456
|
-
now(): number;
|
|
457
|
-
}
|
|
458
446
|
interface AlarmInvocationInfo {
|
|
459
447
|
readonly isRetry: boolean;
|
|
460
448
|
readonly retryCount: number;
|
|
@@ -3136,6 +3124,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3136
3124
|
tails?: Fetcher[];
|
|
3137
3125
|
streamingTails?: Fetcher[];
|
|
3138
3126
|
}
|
|
3127
|
+
/**
|
|
3128
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3129
|
+
* as well as timing of subrequests and other operations.
|
|
3130
|
+
*
|
|
3131
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3132
|
+
*/
|
|
3133
|
+
declare abstract class Performance {
|
|
3134
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3135
|
+
get timeOrigin(): number;
|
|
3136
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3137
|
+
now(): number;
|
|
3138
|
+
}
|
|
3139
3139
|
type AiImageClassificationInput = {
|
|
3140
3140
|
image: number[];
|
|
3141
3141
|
};
|
|
@@ -8974,7 +8974,6 @@ declare namespace TailStream {
|
|
|
8974
8974
|
}
|
|
8975
8975
|
interface JsRpcEventInfo {
|
|
8976
8976
|
readonly type: "jsrpc";
|
|
8977
|
-
readonly methodName: string;
|
|
8978
8977
|
}
|
|
8979
8978
|
interface ScheduledEventInfo {
|
|
8980
8979
|
readonly type: "scheduled";
|
package/2022-01-31/index.ts
CHANGED
|
@@ -448,18 +448,6 @@ export declare abstract class PromiseRejectionEvent extends Event {
|
|
|
448
448
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
|
|
449
449
|
readonly reason: any;
|
|
450
450
|
}
|
|
451
|
-
/**
|
|
452
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
453
|
-
* as well as timing of subrequests and other operations.
|
|
454
|
-
*
|
|
455
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
456
|
-
*/
|
|
457
|
-
export interface Performance {
|
|
458
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
459
|
-
readonly timeOrigin: number;
|
|
460
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
461
|
-
now(): number;
|
|
462
|
-
}
|
|
463
451
|
export interface AlarmInvocationInfo {
|
|
464
452
|
readonly isRetry: boolean;
|
|
465
453
|
readonly retryCount: number;
|
|
@@ -3147,6 +3135,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3147
3135
|
tails?: Fetcher[];
|
|
3148
3136
|
streamingTails?: Fetcher[];
|
|
3149
3137
|
}
|
|
3138
|
+
/**
|
|
3139
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3140
|
+
* as well as timing of subrequests and other operations.
|
|
3141
|
+
*
|
|
3142
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3143
|
+
*/
|
|
3144
|
+
export declare abstract class Performance {
|
|
3145
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3146
|
+
get timeOrigin(): number;
|
|
3147
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3148
|
+
now(): number;
|
|
3149
|
+
}
|
|
3150
3150
|
export type AiImageClassificationInput = {
|
|
3151
3151
|
image: number[];
|
|
3152
3152
|
};
|
|
@@ -8934,7 +8934,6 @@ export declare namespace TailStream {
|
|
|
8934
8934
|
}
|
|
8935
8935
|
interface JsRpcEventInfo {
|
|
8936
8936
|
readonly type: "jsrpc";
|
|
8937
|
-
readonly methodName: string;
|
|
8938
8937
|
}
|
|
8939
8938
|
interface ScheduledEventInfo {
|
|
8940
8939
|
readonly type: "scheduled";
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -461,18 +461,6 @@ declare abstract class Navigator {
|
|
|
461
461
|
readonly userAgent: string;
|
|
462
462
|
readonly hardwareConcurrency: number;
|
|
463
463
|
}
|
|
464
|
-
/**
|
|
465
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
466
|
-
* as well as timing of subrequests and other operations.
|
|
467
|
-
*
|
|
468
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
469
|
-
*/
|
|
470
|
-
interface Performance {
|
|
471
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
472
|
-
readonly timeOrigin: number;
|
|
473
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
474
|
-
now(): number;
|
|
475
|
-
}
|
|
476
464
|
interface AlarmInvocationInfo {
|
|
477
465
|
readonly isRetry: boolean;
|
|
478
466
|
readonly retryCount: number;
|
|
@@ -3154,6 +3142,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3154
3142
|
tails?: Fetcher[];
|
|
3155
3143
|
streamingTails?: Fetcher[];
|
|
3156
3144
|
}
|
|
3145
|
+
/**
|
|
3146
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3147
|
+
* as well as timing of subrequests and other operations.
|
|
3148
|
+
*
|
|
3149
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3150
|
+
*/
|
|
3151
|
+
declare abstract class Performance {
|
|
3152
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3153
|
+
get timeOrigin(): number;
|
|
3154
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3155
|
+
now(): number;
|
|
3156
|
+
}
|
|
3157
3157
|
type AiImageClassificationInput = {
|
|
3158
3158
|
image: number[];
|
|
3159
3159
|
};
|
|
@@ -8992,7 +8992,6 @@ declare namespace TailStream {
|
|
|
8992
8992
|
}
|
|
8993
8993
|
interface JsRpcEventInfo {
|
|
8994
8994
|
readonly type: "jsrpc";
|
|
8995
|
-
readonly methodName: string;
|
|
8996
8995
|
}
|
|
8997
8996
|
interface ScheduledEventInfo {
|
|
8998
8997
|
readonly type: "scheduled";
|
package/2022-03-21/index.ts
CHANGED
|
@@ -466,18 +466,6 @@ export declare abstract class Navigator {
|
|
|
466
466
|
readonly userAgent: string;
|
|
467
467
|
readonly hardwareConcurrency: number;
|
|
468
468
|
}
|
|
469
|
-
/**
|
|
470
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
471
|
-
* as well as timing of subrequests and other operations.
|
|
472
|
-
*
|
|
473
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
474
|
-
*/
|
|
475
|
-
export interface Performance {
|
|
476
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
477
|
-
readonly timeOrigin: number;
|
|
478
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
479
|
-
now(): number;
|
|
480
|
-
}
|
|
481
469
|
export interface AlarmInvocationInfo {
|
|
482
470
|
readonly isRetry: boolean;
|
|
483
471
|
readonly retryCount: number;
|
|
@@ -3165,6 +3153,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3165
3153
|
tails?: Fetcher[];
|
|
3166
3154
|
streamingTails?: Fetcher[];
|
|
3167
3155
|
}
|
|
3156
|
+
/**
|
|
3157
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3158
|
+
* as well as timing of subrequests and other operations.
|
|
3159
|
+
*
|
|
3160
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3161
|
+
*/
|
|
3162
|
+
export declare abstract class Performance {
|
|
3163
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3164
|
+
get timeOrigin(): number;
|
|
3165
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3166
|
+
now(): number;
|
|
3167
|
+
}
|
|
3168
3168
|
export type AiImageClassificationInput = {
|
|
3169
3169
|
image: number[];
|
|
3170
3170
|
};
|
|
@@ -8952,7 +8952,6 @@ export declare namespace TailStream {
|
|
|
8952
8952
|
}
|
|
8953
8953
|
interface JsRpcEventInfo {
|
|
8954
8954
|
readonly type: "jsrpc";
|
|
8955
|
-
readonly methodName: string;
|
|
8956
8955
|
}
|
|
8957
8956
|
interface ScheduledEventInfo {
|
|
8958
8957
|
readonly type: "scheduled";
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -461,18 +461,6 @@ declare abstract class Navigator {
|
|
|
461
461
|
readonly userAgent: string;
|
|
462
462
|
readonly hardwareConcurrency: number;
|
|
463
463
|
}
|
|
464
|
-
/**
|
|
465
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
466
|
-
* as well as timing of subrequests and other operations.
|
|
467
|
-
*
|
|
468
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
469
|
-
*/
|
|
470
|
-
interface Performance {
|
|
471
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
472
|
-
readonly timeOrigin: number;
|
|
473
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
474
|
-
now(): number;
|
|
475
|
-
}
|
|
476
464
|
interface AlarmInvocationInfo {
|
|
477
465
|
readonly isRetry: boolean;
|
|
478
466
|
readonly retryCount: number;
|
|
@@ -3155,6 +3143,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3155
3143
|
tails?: Fetcher[];
|
|
3156
3144
|
streamingTails?: Fetcher[];
|
|
3157
3145
|
}
|
|
3146
|
+
/**
|
|
3147
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3148
|
+
* as well as timing of subrequests and other operations.
|
|
3149
|
+
*
|
|
3150
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3151
|
+
*/
|
|
3152
|
+
declare abstract class Performance {
|
|
3153
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3154
|
+
get timeOrigin(): number;
|
|
3155
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3156
|
+
now(): number;
|
|
3157
|
+
}
|
|
3158
3158
|
type AiImageClassificationInput = {
|
|
3159
3159
|
image: number[];
|
|
3160
3160
|
};
|
|
@@ -8993,7 +8993,6 @@ declare namespace TailStream {
|
|
|
8993
8993
|
}
|
|
8994
8994
|
interface JsRpcEventInfo {
|
|
8995
8995
|
readonly type: "jsrpc";
|
|
8996
|
-
readonly methodName: string;
|
|
8997
8996
|
}
|
|
8998
8997
|
interface ScheduledEventInfo {
|
|
8999
8998
|
readonly type: "scheduled";
|
package/2022-08-04/index.ts
CHANGED
|
@@ -466,18 +466,6 @@ export declare abstract class Navigator {
|
|
|
466
466
|
readonly userAgent: string;
|
|
467
467
|
readonly hardwareConcurrency: number;
|
|
468
468
|
}
|
|
469
|
-
/**
|
|
470
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
471
|
-
* as well as timing of subrequests and other operations.
|
|
472
|
-
*
|
|
473
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
474
|
-
*/
|
|
475
|
-
export interface Performance {
|
|
476
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
477
|
-
readonly timeOrigin: number;
|
|
478
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
479
|
-
now(): number;
|
|
480
|
-
}
|
|
481
469
|
export interface AlarmInvocationInfo {
|
|
482
470
|
readonly isRetry: boolean;
|
|
483
471
|
readonly retryCount: number;
|
|
@@ -3166,6 +3154,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3166
3154
|
tails?: Fetcher[];
|
|
3167
3155
|
streamingTails?: Fetcher[];
|
|
3168
3156
|
}
|
|
3157
|
+
/**
|
|
3158
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3159
|
+
* as well as timing of subrequests and other operations.
|
|
3160
|
+
*
|
|
3161
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3162
|
+
*/
|
|
3163
|
+
export declare abstract class Performance {
|
|
3164
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3165
|
+
get timeOrigin(): number;
|
|
3166
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3167
|
+
now(): number;
|
|
3168
|
+
}
|
|
3169
3169
|
export type AiImageClassificationInput = {
|
|
3170
3170
|
image: number[];
|
|
3171
3171
|
};
|
|
@@ -8953,7 +8953,6 @@ export declare namespace TailStream {
|
|
|
8953
8953
|
}
|
|
8954
8954
|
interface JsRpcEventInfo {
|
|
8955
8955
|
readonly type: "jsrpc";
|
|
8956
|
-
readonly methodName: string;
|
|
8957
8956
|
}
|
|
8958
8957
|
interface ScheduledEventInfo {
|
|
8959
8958
|
readonly type: "scheduled";
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -461,18 +461,6 @@ declare abstract class Navigator {
|
|
|
461
461
|
readonly userAgent: string;
|
|
462
462
|
readonly hardwareConcurrency: number;
|
|
463
463
|
}
|
|
464
|
-
/**
|
|
465
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
466
|
-
* as well as timing of subrequests and other operations.
|
|
467
|
-
*
|
|
468
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
469
|
-
*/
|
|
470
|
-
interface Performance {
|
|
471
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
472
|
-
readonly timeOrigin: number;
|
|
473
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
474
|
-
now(): number;
|
|
475
|
-
}
|
|
476
464
|
interface AlarmInvocationInfo {
|
|
477
465
|
readonly isRetry: boolean;
|
|
478
466
|
readonly retryCount: number;
|
|
@@ -3159,6 +3147,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3159
3147
|
tails?: Fetcher[];
|
|
3160
3148
|
streamingTails?: Fetcher[];
|
|
3161
3149
|
}
|
|
3150
|
+
/**
|
|
3151
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3152
|
+
* as well as timing of subrequests and other operations.
|
|
3153
|
+
*
|
|
3154
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3155
|
+
*/
|
|
3156
|
+
declare abstract class Performance {
|
|
3157
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3158
|
+
get timeOrigin(): number;
|
|
3159
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3160
|
+
now(): number;
|
|
3161
|
+
}
|
|
3162
3162
|
type AiImageClassificationInput = {
|
|
3163
3163
|
image: number[];
|
|
3164
3164
|
};
|
|
@@ -8997,7 +8997,6 @@ declare namespace TailStream {
|
|
|
8997
8997
|
}
|
|
8998
8998
|
interface JsRpcEventInfo {
|
|
8999
8999
|
readonly type: "jsrpc";
|
|
9000
|
-
readonly methodName: string;
|
|
9001
9000
|
}
|
|
9002
9001
|
interface ScheduledEventInfo {
|
|
9003
9002
|
readonly type: "scheduled";
|
package/2022-10-31/index.ts
CHANGED
|
@@ -466,18 +466,6 @@ export declare abstract class Navigator {
|
|
|
466
466
|
readonly userAgent: string;
|
|
467
467
|
readonly hardwareConcurrency: number;
|
|
468
468
|
}
|
|
469
|
-
/**
|
|
470
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
471
|
-
* as well as timing of subrequests and other operations.
|
|
472
|
-
*
|
|
473
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
474
|
-
*/
|
|
475
|
-
export interface Performance {
|
|
476
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
477
|
-
readonly timeOrigin: number;
|
|
478
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
479
|
-
now(): number;
|
|
480
|
-
}
|
|
481
469
|
export interface AlarmInvocationInfo {
|
|
482
470
|
readonly isRetry: boolean;
|
|
483
471
|
readonly retryCount: number;
|
|
@@ -3170,6 +3158,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3170
3158
|
tails?: Fetcher[];
|
|
3171
3159
|
streamingTails?: Fetcher[];
|
|
3172
3160
|
}
|
|
3161
|
+
/**
|
|
3162
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3163
|
+
* as well as timing of subrequests and other operations.
|
|
3164
|
+
*
|
|
3165
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3166
|
+
*/
|
|
3167
|
+
export declare abstract class Performance {
|
|
3168
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3169
|
+
get timeOrigin(): number;
|
|
3170
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3171
|
+
now(): number;
|
|
3172
|
+
}
|
|
3173
3173
|
export type AiImageClassificationInput = {
|
|
3174
3174
|
image: number[];
|
|
3175
3175
|
};
|
|
@@ -8957,7 +8957,6 @@ export declare namespace TailStream {
|
|
|
8957
8957
|
}
|
|
8958
8958
|
interface JsRpcEventInfo {
|
|
8959
8959
|
readonly type: "jsrpc";
|
|
8960
|
-
readonly methodName: string;
|
|
8961
8960
|
}
|
|
8962
8961
|
interface ScheduledEventInfo {
|
|
8963
8962
|
readonly type: "scheduled";
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -466,18 +466,6 @@ declare abstract class Navigator {
|
|
|
466
466
|
readonly userAgent: string;
|
|
467
467
|
readonly hardwareConcurrency: number;
|
|
468
468
|
}
|
|
469
|
-
/**
|
|
470
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
471
|
-
* as well as timing of subrequests and other operations.
|
|
472
|
-
*
|
|
473
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
474
|
-
*/
|
|
475
|
-
interface Performance {
|
|
476
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
477
|
-
readonly timeOrigin: number;
|
|
478
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
479
|
-
now(): number;
|
|
480
|
-
}
|
|
481
469
|
interface AlarmInvocationInfo {
|
|
482
470
|
readonly isRetry: boolean;
|
|
483
471
|
readonly retryCount: number;
|
|
@@ -3164,6 +3152,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3164
3152
|
tails?: Fetcher[];
|
|
3165
3153
|
streamingTails?: Fetcher[];
|
|
3166
3154
|
}
|
|
3155
|
+
/**
|
|
3156
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3157
|
+
* as well as timing of subrequests and other operations.
|
|
3158
|
+
*
|
|
3159
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3160
|
+
*/
|
|
3161
|
+
declare abstract class Performance {
|
|
3162
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3163
|
+
get timeOrigin(): number;
|
|
3164
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3165
|
+
now(): number;
|
|
3166
|
+
}
|
|
3167
3167
|
type AiImageClassificationInput = {
|
|
3168
3168
|
image: number[];
|
|
3169
3169
|
};
|
|
@@ -9002,7 +9002,6 @@ declare namespace TailStream {
|
|
|
9002
9002
|
}
|
|
9003
9003
|
interface JsRpcEventInfo {
|
|
9004
9004
|
readonly type: "jsrpc";
|
|
9005
|
-
readonly methodName: string;
|
|
9006
9005
|
}
|
|
9007
9006
|
interface ScheduledEventInfo {
|
|
9008
9007
|
readonly type: "scheduled";
|
package/2022-11-30/index.ts
CHANGED
|
@@ -471,18 +471,6 @@ export declare abstract class Navigator {
|
|
|
471
471
|
readonly userAgent: string;
|
|
472
472
|
readonly hardwareConcurrency: number;
|
|
473
473
|
}
|
|
474
|
-
/**
|
|
475
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
476
|
-
* as well as timing of subrequests and other operations.
|
|
477
|
-
*
|
|
478
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
479
|
-
*/
|
|
480
|
-
export interface Performance {
|
|
481
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
482
|
-
readonly timeOrigin: number;
|
|
483
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
484
|
-
now(): number;
|
|
485
|
-
}
|
|
486
474
|
export interface AlarmInvocationInfo {
|
|
487
475
|
readonly isRetry: boolean;
|
|
488
476
|
readonly retryCount: number;
|
|
@@ -3175,6 +3163,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3175
3163
|
tails?: Fetcher[];
|
|
3176
3164
|
streamingTails?: Fetcher[];
|
|
3177
3165
|
}
|
|
3166
|
+
/**
|
|
3167
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3168
|
+
* as well as timing of subrequests and other operations.
|
|
3169
|
+
*
|
|
3170
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3171
|
+
*/
|
|
3172
|
+
export declare abstract class Performance {
|
|
3173
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3174
|
+
get timeOrigin(): number;
|
|
3175
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3176
|
+
now(): number;
|
|
3177
|
+
}
|
|
3178
3178
|
export type AiImageClassificationInput = {
|
|
3179
3179
|
image: number[];
|
|
3180
3180
|
};
|
|
@@ -8962,7 +8962,6 @@ export declare namespace TailStream {
|
|
|
8962
8962
|
}
|
|
8963
8963
|
interface JsRpcEventInfo {
|
|
8964
8964
|
readonly type: "jsrpc";
|
|
8965
|
-
readonly methodName: string;
|
|
8966
8965
|
}
|
|
8967
8966
|
interface ScheduledEventInfo {
|
|
8968
8967
|
readonly type: "scheduled";
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -466,18 +466,6 @@ declare abstract class Navigator {
|
|
|
466
466
|
readonly userAgent: string;
|
|
467
467
|
readonly hardwareConcurrency: number;
|
|
468
468
|
}
|
|
469
|
-
/**
|
|
470
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
471
|
-
* as well as timing of subrequests and other operations.
|
|
472
|
-
*
|
|
473
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
474
|
-
*/
|
|
475
|
-
interface Performance {
|
|
476
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
477
|
-
readonly timeOrigin: number;
|
|
478
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
479
|
-
now(): number;
|
|
480
|
-
}
|
|
481
469
|
interface AlarmInvocationInfo {
|
|
482
470
|
readonly isRetry: boolean;
|
|
483
471
|
readonly retryCount: number;
|
|
@@ -3166,6 +3154,18 @@ interface WorkerLoaderWorkerCode {
|
|
|
3166
3154
|
tails?: Fetcher[];
|
|
3167
3155
|
streamingTails?: Fetcher[];
|
|
3168
3156
|
}
|
|
3157
|
+
/**
|
|
3158
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3159
|
+
* as well as timing of subrequests and other operations.
|
|
3160
|
+
*
|
|
3161
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3162
|
+
*/
|
|
3163
|
+
declare abstract class Performance {
|
|
3164
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3165
|
+
get timeOrigin(): number;
|
|
3166
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3167
|
+
now(): number;
|
|
3168
|
+
}
|
|
3169
3169
|
type AiImageClassificationInput = {
|
|
3170
3170
|
image: number[];
|
|
3171
3171
|
};
|
|
@@ -9004,7 +9004,6 @@ declare namespace TailStream {
|
|
|
9004
9004
|
}
|
|
9005
9005
|
interface JsRpcEventInfo {
|
|
9006
9006
|
readonly type: "jsrpc";
|
|
9007
|
-
readonly methodName: string;
|
|
9008
9007
|
}
|
|
9009
9008
|
interface ScheduledEventInfo {
|
|
9010
9009
|
readonly type: "scheduled";
|
package/2023-03-01/index.ts
CHANGED
|
@@ -471,18 +471,6 @@ export declare abstract class Navigator {
|
|
|
471
471
|
readonly userAgent: string;
|
|
472
472
|
readonly hardwareConcurrency: number;
|
|
473
473
|
}
|
|
474
|
-
/**
|
|
475
|
-
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
476
|
-
* as well as timing of subrequests and other operations.
|
|
477
|
-
*
|
|
478
|
-
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
479
|
-
*/
|
|
480
|
-
export interface Performance {
|
|
481
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
482
|
-
readonly timeOrigin: number;
|
|
483
|
-
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
484
|
-
now(): number;
|
|
485
|
-
}
|
|
486
474
|
export interface AlarmInvocationInfo {
|
|
487
475
|
readonly isRetry: boolean;
|
|
488
476
|
readonly retryCount: number;
|
|
@@ -3177,6 +3165,18 @@ export interface WorkerLoaderWorkerCode {
|
|
|
3177
3165
|
tails?: Fetcher[];
|
|
3178
3166
|
streamingTails?: Fetcher[];
|
|
3179
3167
|
}
|
|
3168
|
+
/**
|
|
3169
|
+
* The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
|
|
3170
|
+
* as well as timing of subrequests and other operations.
|
|
3171
|
+
*
|
|
3172
|
+
* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
|
|
3173
|
+
*/
|
|
3174
|
+
export declare abstract class Performance {
|
|
3175
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
|
|
3176
|
+
get timeOrigin(): number;
|
|
3177
|
+
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3178
|
+
now(): number;
|
|
3179
|
+
}
|
|
3180
3180
|
export type AiImageClassificationInput = {
|
|
3181
3181
|
image: number[];
|
|
3182
3182
|
};
|
|
@@ -8964,7 +8964,6 @@ export declare namespace TailStream {
|
|
|
8964
8964
|
}
|
|
8965
8965
|
interface JsRpcEventInfo {
|
|
8966
8966
|
readonly type: "jsrpc";
|
|
8967
|
-
readonly methodName: string;
|
|
8968
8967
|
}
|
|
8969
8968
|
interface ScheduledEventInfo {
|
|
8970
8969
|
readonly type: "scheduled";
|