@workers-community/workers-types 4.20260113.0 → 4.20260114.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 +10 -10
- package/index.ts +9 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6164,7 +6164,7 @@ interface Ai_Cf_Qwen_Qwq_32B_Messages {
|
|
|
6164
6164
|
}
|
|
6165
6165
|
)[];
|
|
6166
6166
|
/**
|
|
6167
|
-
* JSON schema that should be
|
|
6167
|
+
* JSON schema that should be fulfilled for the response.
|
|
6168
6168
|
*/
|
|
6169
6169
|
guided_json?: object;
|
|
6170
6170
|
/**
|
|
@@ -6438,7 +6438,7 @@ interface Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Messages {
|
|
|
6438
6438
|
}
|
|
6439
6439
|
)[];
|
|
6440
6440
|
/**
|
|
6441
|
-
* JSON schema that should be
|
|
6441
|
+
* JSON schema that should be fulfilled for the response.
|
|
6442
6442
|
*/
|
|
6443
6443
|
guided_json?: object;
|
|
6444
6444
|
/**
|
|
@@ -6531,7 +6531,7 @@ interface Ai_Cf_Google_Gemma_3_12B_It_Prompt {
|
|
|
6531
6531
|
*/
|
|
6532
6532
|
prompt: string;
|
|
6533
6533
|
/**
|
|
6534
|
-
* JSON schema that should be
|
|
6534
|
+
* JSON schema that should be fulfilled for the response.
|
|
6535
6535
|
*/
|
|
6536
6536
|
guided_json?: object;
|
|
6537
6537
|
/**
|
|
@@ -6695,7 +6695,7 @@ interface Ai_Cf_Google_Gemma_3_12B_It_Messages {
|
|
|
6695
6695
|
}
|
|
6696
6696
|
)[];
|
|
6697
6697
|
/**
|
|
6698
|
-
* JSON schema that should be
|
|
6698
|
+
* JSON schema that should be fulfilled for the response.
|
|
6699
6699
|
*/
|
|
6700
6700
|
guided_json?: object;
|
|
6701
6701
|
/**
|
|
@@ -6976,7 +6976,7 @@ interface Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Messages {
|
|
|
6976
6976
|
)[];
|
|
6977
6977
|
response_format?: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_JSON_Mode;
|
|
6978
6978
|
/**
|
|
6979
|
-
* JSON schema that should be
|
|
6979
|
+
* JSON schema that should be fulfilled for the response.
|
|
6980
6980
|
*/
|
|
6981
6981
|
guided_json?: object;
|
|
6982
6982
|
/**
|
|
@@ -7215,7 +7215,7 @@ interface Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Messages_Inner {
|
|
|
7215
7215
|
)[];
|
|
7216
7216
|
response_format?: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_JSON_Mode;
|
|
7217
7217
|
/**
|
|
7218
|
-
* JSON schema that should be
|
|
7218
|
+
* JSON schema that should be fulfilled for the response.
|
|
7219
7219
|
*/
|
|
7220
7220
|
guided_json?: object;
|
|
7221
7221
|
/**
|
|
@@ -8303,7 +8303,7 @@ interface Ai_Cf_Ai4Bharat_Indictrans2_En_Indic_1B_Input {
|
|
|
8303
8303
|
*/
|
|
8304
8304
|
text: string | string[];
|
|
8305
8305
|
/**
|
|
8306
|
-
* Target
|
|
8306
|
+
* Target language to translate to
|
|
8307
8307
|
*/
|
|
8308
8308
|
target_language:
|
|
8309
8309
|
| "asm_Beng"
|
|
@@ -10774,7 +10774,7 @@ interface Hyperdrive {
|
|
|
10774
10774
|
/**
|
|
10775
10775
|
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
|
|
10776
10776
|
*
|
|
10777
|
-
* Calling this method returns an
|
|
10777
|
+
* Calling this method returns an identical socket to if you call
|
|
10778
10778
|
* `connect("host:port")` using the `host` and `port` fields from this object.
|
|
10779
10779
|
* Pick whichever approach works better with your preferred DB client library.
|
|
10780
10780
|
*
|
|
@@ -11155,7 +11155,7 @@ declare module "cloudflare:pipelines" {
|
|
|
11155
11155
|
protected ctx: ExecutionContext;
|
|
11156
11156
|
constructor(ctx: ExecutionContext, env: Env);
|
|
11157
11157
|
/**
|
|
11158
|
-
* run
|
|
11158
|
+
* run receives an array of PipelineRecord which can be
|
|
11159
11159
|
* transformed and returned to the pipeline
|
|
11160
11160
|
* @param records Incoming records from the pipeline to be transformed
|
|
11161
11161
|
* @param metadata Information about the specific pipeline calling the transformation entrypoint
|
|
@@ -11830,7 +11830,7 @@ declare namespace TailStream {
|
|
|
11830
11830
|
// For Hibernate and Mark this would be the span under which they were emitted.
|
|
11831
11831
|
// spanId is not set ONLY if:
|
|
11832
11832
|
// 1. This is an Onset event
|
|
11833
|
-
// 2. We are not
|
|
11833
|
+
// 2. We are not inheriting any SpanContext. (e.g. this is a cross-account service binding or a new top-level invocation)
|
|
11834
11834
|
readonly spanId?: string;
|
|
11835
11835
|
}
|
|
11836
11836
|
interface TailEvent<Event extends EventType> {
|
package/index.ts
CHANGED
|
@@ -6176,7 +6176,7 @@ export interface Ai_Cf_Qwen_Qwq_32B_Messages {
|
|
|
6176
6176
|
}
|
|
6177
6177
|
)[];
|
|
6178
6178
|
/**
|
|
6179
|
-
* JSON schema that should be
|
|
6179
|
+
* JSON schema that should be fulfilled for the response.
|
|
6180
6180
|
*/
|
|
6181
6181
|
guided_json?: object;
|
|
6182
6182
|
/**
|
|
@@ -6450,7 +6450,7 @@ export interface Ai_Cf_Mistralai_Mistral_Small_3_1_24B_Instruct_Messages {
|
|
|
6450
6450
|
}
|
|
6451
6451
|
)[];
|
|
6452
6452
|
/**
|
|
6453
|
-
* JSON schema that should be
|
|
6453
|
+
* JSON schema that should be fulfilled for the response.
|
|
6454
6454
|
*/
|
|
6455
6455
|
guided_json?: object;
|
|
6456
6456
|
/**
|
|
@@ -6543,7 +6543,7 @@ export interface Ai_Cf_Google_Gemma_3_12B_It_Prompt {
|
|
|
6543
6543
|
*/
|
|
6544
6544
|
prompt: string;
|
|
6545
6545
|
/**
|
|
6546
|
-
* JSON schema that should be
|
|
6546
|
+
* JSON schema that should be fulfilled for the response.
|
|
6547
6547
|
*/
|
|
6548
6548
|
guided_json?: object;
|
|
6549
6549
|
/**
|
|
@@ -6707,7 +6707,7 @@ export interface Ai_Cf_Google_Gemma_3_12B_It_Messages {
|
|
|
6707
6707
|
}
|
|
6708
6708
|
)[];
|
|
6709
6709
|
/**
|
|
6710
|
-
* JSON schema that should be
|
|
6710
|
+
* JSON schema that should be fulfilled for the response.
|
|
6711
6711
|
*/
|
|
6712
6712
|
guided_json?: object;
|
|
6713
6713
|
/**
|
|
@@ -6988,7 +6988,7 @@ export interface Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Messages {
|
|
|
6988
6988
|
)[];
|
|
6989
6989
|
response_format?: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_JSON_Mode;
|
|
6990
6990
|
/**
|
|
6991
|
-
* JSON schema that should be
|
|
6991
|
+
* JSON schema that should be fulfilled for the response.
|
|
6992
6992
|
*/
|
|
6993
6993
|
guided_json?: object;
|
|
6994
6994
|
/**
|
|
@@ -7227,7 +7227,7 @@ export interface Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_Messages_Inner {
|
|
|
7227
7227
|
)[];
|
|
7228
7228
|
response_format?: Ai_Cf_Meta_Llama_4_Scout_17B_16E_Instruct_JSON_Mode;
|
|
7229
7229
|
/**
|
|
7230
|
-
* JSON schema that should be
|
|
7230
|
+
* JSON schema that should be fulfilled for the response.
|
|
7231
7231
|
*/
|
|
7232
7232
|
guided_json?: object;
|
|
7233
7233
|
/**
|
|
@@ -8315,7 +8315,7 @@ export interface Ai_Cf_Ai4Bharat_Indictrans2_En_Indic_1B_Input {
|
|
|
8315
8315
|
*/
|
|
8316
8316
|
text: string | string[];
|
|
8317
8317
|
/**
|
|
8318
|
-
* Target
|
|
8318
|
+
* Target language to translate to
|
|
8319
8319
|
*/
|
|
8320
8320
|
target_language:
|
|
8321
8321
|
| "asm_Beng"
|
|
@@ -10793,7 +10793,7 @@ export interface Hyperdrive {
|
|
|
10793
10793
|
/**
|
|
10794
10794
|
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
|
|
10795
10795
|
*
|
|
10796
|
-
* Calling this method returns an
|
|
10796
|
+
* Calling this method returns an identical socket to if you call
|
|
10797
10797
|
* `connect("host:port")` using the `host` and `port` fields from this object.
|
|
10798
10798
|
* Pick whichever approach works better with your preferred DB client library.
|
|
10799
10799
|
*
|
|
@@ -11790,7 +11790,7 @@ export declare namespace TailStream {
|
|
|
11790
11790
|
// For Hibernate and Mark this would be the span under which they were emitted.
|
|
11791
11791
|
// spanId is not set ONLY if:
|
|
11792
11792
|
// 1. This is an Onset event
|
|
11793
|
-
// 2. We are not
|
|
11793
|
+
// 2. We are not inheriting any SpanContext. (e.g. this is a cross-account service binding or a new top-level invocation)
|
|
11794
11794
|
readonly spanId?: string;
|
|
11795
11795
|
}
|
|
11796
11796
|
interface TailEvent<Event extends EventType> {
|