@cloudflare/workers-types 4.20250614.0 → 4.20250618.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.
@@ -4320,6 +4320,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4320
4320
  /**
4321
4321
  * A query you wish to perform against the provided contexts.
4322
4322
  */
4323
+ query: string;
4323
4324
  /**
4324
4325
  * Number of returned results starting with the best score.
4325
4326
  */
@@ -4332,6 +4332,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4332
4332
  /**
4333
4333
  * A query you wish to perform against the provided contexts.
4334
4334
  */
4335
+ query: string;
4335
4336
  /**
4336
4337
  * Number of returned results starting with the best score.
4337
4338
  */
@@ -4346,6 +4346,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4346
4346
  /**
4347
4347
  * A query you wish to perform against the provided contexts.
4348
4348
  */
4349
+ query: string;
4349
4350
  /**
4350
4351
  * Number of returned results starting with the best score.
4351
4352
  */
@@ -4358,6 +4358,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4358
4358
  /**
4359
4359
  * A query you wish to perform against the provided contexts.
4360
4360
  */
4361
+ query: string;
4361
4362
  /**
4362
4363
  * Number of returned results starting with the best score.
4363
4364
  */
@@ -4364,6 +4364,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4364
4364
  /**
4365
4365
  * A query you wish to perform against the provided contexts.
4366
4366
  */
4367
+ query: string;
4367
4368
  /**
4368
4369
  * Number of returned results starting with the best score.
4369
4370
  */
@@ -4376,6 +4376,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4376
4376
  /**
4377
4377
  * A query you wish to perform against the provided contexts.
4378
4378
  */
4379
+ query: string;
4379
4380
  /**
4380
4381
  * Number of returned results starting with the best score.
4381
4382
  */
@@ -4365,6 +4365,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4365
4365
  /**
4366
4366
  * A query you wish to perform against the provided contexts.
4367
4367
  */
4368
+ query: string;
4368
4369
  /**
4369
4370
  * Number of returned results starting with the best score.
4370
4371
  */
@@ -4377,6 +4377,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4377
4377
  /**
4378
4378
  * A query you wish to perform against the provided contexts.
4379
4379
  */
4380
+ query: string;
4380
4381
  /**
4381
4382
  * Number of returned results starting with the best score.
4382
4383
  */
@@ -4369,6 +4369,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4369
4369
  /**
4370
4370
  * A query you wish to perform against the provided contexts.
4371
4371
  */
4372
+ query: string;
4372
4373
  /**
4373
4374
  * Number of returned results starting with the best score.
4374
4375
  */
@@ -4381,6 +4381,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4381
4381
  /**
4382
4382
  * A query you wish to perform against the provided contexts.
4383
4383
  */
4384
+ query: string;
4384
4385
  /**
4385
4386
  * Number of returned results starting with the best score.
4386
4387
  */
@@ -4374,6 +4374,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4374
4374
  /**
4375
4375
  * A query you wish to perform against the provided contexts.
4376
4376
  */
4377
+ query: string;
4377
4378
  /**
4378
4379
  * Number of returned results starting with the best score.
4379
4380
  */
@@ -4386,6 +4386,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4386
4386
  /**
4387
4387
  * A query you wish to perform against the provided contexts.
4388
4388
  */
4389
+ query: string;
4389
4390
  /**
4390
4391
  * Number of returned results starting with the best score.
4391
4392
  */
@@ -4376,6 +4376,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4376
4376
  /**
4377
4377
  * A query you wish to perform against the provided contexts.
4378
4378
  */
4379
+ query: string;
4379
4380
  /**
4380
4381
  * Number of returned results starting with the best score.
4381
4382
  */
@@ -4388,6 +4388,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4388
4388
  /**
4389
4389
  * A query you wish to perform against the provided contexts.
4390
4390
  */
4391
+ query: string;
4391
4392
  /**
4392
4393
  * Number of returned results starting with the best score.
4393
4394
  */
@@ -4376,6 +4376,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4376
4376
  /**
4377
4377
  * A query you wish to perform against the provided contexts.
4378
4378
  */
4379
+ query: string;
4379
4380
  /**
4380
4381
  * Number of returned results starting with the best score.
4381
4382
  */
@@ -4388,6 +4388,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4388
4388
  /**
4389
4389
  * A query you wish to perform against the provided contexts.
4390
4390
  */
4391
+ query: string;
4391
4392
  /**
4392
4393
  * Number of returned results starting with the best score.
4393
4394
  */
@@ -562,12 +562,14 @@ type DurableObjectLocationHint =
562
562
  interface DurableObjectNamespaceGetDurableObjectOptions {
563
563
  locationHint?: DurableObjectLocationHint;
564
564
  }
565
+ interface DurableObjectClass {}
565
566
  interface DurableObjectState {
566
567
  waitUntil(promise: Promise<any>): void;
567
568
  exports: any;
568
569
  readonly id: DurableObjectId;
569
570
  readonly storage: DurableObjectStorage;
570
571
  container?: Container;
572
+ facets: DurableObjectFacets;
571
573
  blockConcurrencyWhile<T>(callback: () => Promise<T>): Promise<T>;
572
574
  acceptWebSocket(ws: WebSocket, tags?: string[]): void;
573
575
  getWebSockets(tag?: string): WebSocket[];
@@ -685,6 +687,15 @@ declare class WebSocketRequestResponsePair {
685
687
  get request(): string;
686
688
  get response(): string;
687
689
  }
690
+ interface DurableObjectFacets {
691
+ get(name: string, options: DurableObjectFacetsGetOptions): Fetcher;
692
+ abort(name: string, reason: any): void;
693
+ delete(name: string): void;
694
+ }
695
+ interface DurableObjectFacetsGetOptions {
696
+ $class: DurableObjectClass;
697
+ id?: DurableObjectId | string;
698
+ }
688
699
  interface AnalyticsEngineDataset {
689
700
  writeDataPoint(event?: AnalyticsEngineDataPoint): void;
690
701
  }
@@ -4617,6 +4628,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4617
4628
  /**
4618
4629
  * A query you wish to perform against the provided contexts.
4619
4630
  */
4631
+ query: string;
4620
4632
  /**
4621
4633
  * Number of returned results starting with the best score.
4622
4634
  */
@@ -567,12 +567,14 @@ export type DurableObjectLocationHint =
567
567
  export interface DurableObjectNamespaceGetDurableObjectOptions {
568
568
  locationHint?: DurableObjectLocationHint;
569
569
  }
570
+ export interface DurableObjectClass {}
570
571
  export interface DurableObjectState {
571
572
  waitUntil(promise: Promise<any>): void;
572
573
  exports: any;
573
574
  readonly id: DurableObjectId;
574
575
  readonly storage: DurableObjectStorage;
575
576
  container?: Container;
577
+ facets: DurableObjectFacets;
576
578
  blockConcurrencyWhile<T>(callback: () => Promise<T>): Promise<T>;
577
579
  acceptWebSocket(ws: WebSocket, tags?: string[]): void;
578
580
  getWebSockets(tag?: string): WebSocket[];
@@ -690,6 +692,15 @@ export declare class WebSocketRequestResponsePair {
690
692
  get request(): string;
691
693
  get response(): string;
692
694
  }
695
+ export interface DurableObjectFacets {
696
+ get(name: string, options: DurableObjectFacetsGetOptions): Fetcher;
697
+ abort(name: string, reason: any): void;
698
+ delete(name: string): void;
699
+ }
700
+ export interface DurableObjectFacetsGetOptions {
701
+ $class: DurableObjectClass;
702
+ id?: DurableObjectId | string;
703
+ }
693
704
  export interface AnalyticsEngineDataset {
694
705
  writeDataPoint(event?: AnalyticsEngineDataPoint): void;
695
706
  }
@@ -4629,6 +4640,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4629
4640
  /**
4630
4641
  * A query you wish to perform against the provided contexts.
4631
4642
  */
4643
+ query: string;
4632
4644
  /**
4633
4645
  * Number of returned results starting with the best score.
4634
4646
  */
package/index.d.ts CHANGED
@@ -4320,6 +4320,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4320
4320
  /**
4321
4321
  * A query you wish to perform against the provided contexts.
4322
4322
  */
4323
+ query: string;
4323
4324
  /**
4324
4325
  * Number of returned results starting with the best score.
4325
4326
  */
package/index.ts CHANGED
@@ -4332,6 +4332,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4332
4332
  /**
4333
4333
  * A query you wish to perform against the provided contexts.
4334
4334
  */
4335
+ query: string;
4335
4336
  /**
4336
4337
  * Number of returned results starting with the best score.
4337
4338
  */
package/latest/index.d.ts CHANGED
@@ -4383,6 +4383,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4383
4383
  /**
4384
4384
  * A query you wish to perform against the provided contexts.
4385
4385
  */
4386
+ query: string;
4386
4387
  /**
4387
4388
  * Number of returned results starting with the best score.
4388
4389
  */
package/latest/index.ts CHANGED
@@ -4395,6 +4395,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4395
4395
  /**
4396
4396
  * A query you wish to perform against the provided contexts.
4397
4397
  */
4398
+ query: string;
4398
4399
  /**
4399
4400
  * Number of returned results starting with the best score.
4400
4401
  */
package/oldest/index.d.ts CHANGED
@@ -4320,6 +4320,7 @@ interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4320
4320
  /**
4321
4321
  * A query you wish to perform against the provided contexts.
4322
4322
  */
4323
+ query: string;
4323
4324
  /**
4324
4325
  * Number of returned results starting with the best score.
4325
4326
  */
package/oldest/index.ts CHANGED
@@ -4332,6 +4332,7 @@ export interface Ai_Cf_Baai_Bge_Reranker_Base_Input {
4332
4332
  /**
4333
4333
  * A query you wish to perform against the provided contexts.
4334
4334
  */
4335
+ query: string;
4335
4336
  /**
4336
4337
  * Number of returned results starting with the best score.
4337
4338
  */
package/package.json CHANGED
@@ -7,5 +7,5 @@
7
7
  },
8
8
  "author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20250614.0"
10
+ "version": "4.20250618.0"
11
11
  }