@cloudflare/workers-types 4.20250620.0 → 4.20250628.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.
@@ -5821,7 +5821,7 @@ type AiModelListType = Record<string, any>;
5821
5821
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5822
5822
  aiGatewayLogId: string | null;
5823
5823
  gateway(gatewayId: string): AiGateway;
5824
- autorag(autoragId: string): AutoRAG;
5824
+ autorag(autoragId?: string): AutoRAG;
5825
5825
  run<
5826
5826
  Name extends keyof AiModelList,
5827
5827
  Options extends AiOptions,
@@ -7225,6 +7225,22 @@ declare module "cloudflare:email" {
7225
7225
  };
7226
7226
  export { _EmailMessage as EmailMessage };
7227
7227
  }
7228
+ /**
7229
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7230
+ */
7231
+ interface HelloWorldBinding {
7232
+ /**
7233
+ * Retrieve the current stored value
7234
+ */
7235
+ get(): Promise<{
7236
+ value: string;
7237
+ ms?: number;
7238
+ }>;
7239
+ /**
7240
+ * Set a new stored value
7241
+ */
7242
+ set(value: string): Promise<void>;
7243
+ }
7228
7244
  interface Hyperdrive {
7229
7245
  /**
7230
7246
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5837,7 +5837,7 @@ export declare abstract class Ai<
5837
5837
  > {
5838
5838
  aiGatewayLogId: string | null;
5839
5839
  gateway(gatewayId: string): AiGateway;
5840
- autorag(autoragId: string): AutoRAG;
5840
+ autorag(autoragId?: string): AutoRAG;
5841
5841
  run<
5842
5842
  Name extends keyof AiModelList,
5843
5843
  Options extends AiOptions,
@@ -7246,6 +7246,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7246
7246
  env: Env,
7247
7247
  ctx: ExecutionContext,
7248
7248
  ) => void | Promise<void>;
7249
+ /**
7250
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7251
+ */
7252
+ export interface HelloWorldBinding {
7253
+ /**
7254
+ * Retrieve the current stored value
7255
+ */
7256
+ get(): Promise<{
7257
+ value: string;
7258
+ ms?: number;
7259
+ }>;
7260
+ /**
7261
+ * Set a new stored value
7262
+ */
7263
+ set(value: string): Promise<void>;
7264
+ }
7249
7265
  export interface Hyperdrive {
7250
7266
  /**
7251
7267
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5847,7 +5847,7 @@ type AiModelListType = Record<string, any>;
5847
5847
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5848
5848
  aiGatewayLogId: string | null;
5849
5849
  gateway(gatewayId: string): AiGateway;
5850
- autorag(autoragId: string): AutoRAG;
5850
+ autorag(autoragId?: string): AutoRAG;
5851
5851
  run<
5852
5852
  Name extends keyof AiModelList,
5853
5853
  Options extends AiOptions,
@@ -7251,6 +7251,22 @@ declare module "cloudflare:email" {
7251
7251
  };
7252
7252
  export { _EmailMessage as EmailMessage };
7253
7253
  }
7254
+ /**
7255
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7256
+ */
7257
+ interface HelloWorldBinding {
7258
+ /**
7259
+ * Retrieve the current stored value
7260
+ */
7261
+ get(): Promise<{
7262
+ value: string;
7263
+ ms?: number;
7264
+ }>;
7265
+ /**
7266
+ * Set a new stored value
7267
+ */
7268
+ set(value: string): Promise<void>;
7269
+ }
7254
7270
  interface Hyperdrive {
7255
7271
  /**
7256
7272
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5863,7 +5863,7 @@ export declare abstract class Ai<
5863
5863
  > {
5864
5864
  aiGatewayLogId: string | null;
5865
5865
  gateway(gatewayId: string): AiGateway;
5866
- autorag(autoragId: string): AutoRAG;
5866
+ autorag(autoragId?: string): AutoRAG;
5867
5867
  run<
5868
5868
  Name extends keyof AiModelList,
5869
5869
  Options extends AiOptions,
@@ -7272,6 +7272,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7272
7272
  env: Env,
7273
7273
  ctx: ExecutionContext,
7274
7274
  ) => void | Promise<void>;
7275
+ /**
7276
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7277
+ */
7278
+ export interface HelloWorldBinding {
7279
+ /**
7280
+ * Retrieve the current stored value
7281
+ */
7282
+ get(): Promise<{
7283
+ value: string;
7284
+ ms?: number;
7285
+ }>;
7286
+ /**
7287
+ * Set a new stored value
7288
+ */
7289
+ set(value: string): Promise<void>;
7290
+ }
7275
7291
  export interface Hyperdrive {
7276
7292
  /**
7277
7293
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5865,7 +5865,7 @@ type AiModelListType = Record<string, any>;
5865
5865
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5866
5866
  aiGatewayLogId: string | null;
5867
5867
  gateway(gatewayId: string): AiGateway;
5868
- autorag(autoragId: string): AutoRAG;
5868
+ autorag(autoragId?: string): AutoRAG;
5869
5869
  run<
5870
5870
  Name extends keyof AiModelList,
5871
5871
  Options extends AiOptions,
@@ -7269,6 +7269,22 @@ declare module "cloudflare:email" {
7269
7269
  };
7270
7270
  export { _EmailMessage as EmailMessage };
7271
7271
  }
7272
+ /**
7273
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7274
+ */
7275
+ interface HelloWorldBinding {
7276
+ /**
7277
+ * Retrieve the current stored value
7278
+ */
7279
+ get(): Promise<{
7280
+ value: string;
7281
+ ms?: number;
7282
+ }>;
7283
+ /**
7284
+ * Set a new stored value
7285
+ */
7286
+ set(value: string): Promise<void>;
7287
+ }
7272
7288
  interface Hyperdrive {
7273
7289
  /**
7274
7290
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5881,7 +5881,7 @@ export declare abstract class Ai<
5881
5881
  > {
5882
5882
  aiGatewayLogId: string | null;
5883
5883
  gateway(gatewayId: string): AiGateway;
5884
- autorag(autoragId: string): AutoRAG;
5884
+ autorag(autoragId?: string): AutoRAG;
5885
5885
  run<
5886
5886
  Name extends keyof AiModelList,
5887
5887
  Options extends AiOptions,
@@ -7290,6 +7290,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7290
7290
  env: Env,
7291
7291
  ctx: ExecutionContext,
7292
7292
  ) => void | Promise<void>;
7293
+ /**
7294
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7295
+ */
7296
+ export interface HelloWorldBinding {
7297
+ /**
7298
+ * Retrieve the current stored value
7299
+ */
7300
+ get(): Promise<{
7301
+ value: string;
7302
+ ms?: number;
7303
+ }>;
7304
+ /**
7305
+ * Set a new stored value
7306
+ */
7307
+ set(value: string): Promise<void>;
7308
+ }
7293
7309
  export interface Hyperdrive {
7294
7310
  /**
7295
7311
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5866,7 +5866,7 @@ type AiModelListType = Record<string, any>;
5866
5866
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5867
5867
  aiGatewayLogId: string | null;
5868
5868
  gateway(gatewayId: string): AiGateway;
5869
- autorag(autoragId: string): AutoRAG;
5869
+ autorag(autoragId?: string): AutoRAG;
5870
5870
  run<
5871
5871
  Name extends keyof AiModelList,
5872
5872
  Options extends AiOptions,
@@ -7270,6 +7270,22 @@ declare module "cloudflare:email" {
7270
7270
  };
7271
7271
  export { _EmailMessage as EmailMessage };
7272
7272
  }
7273
+ /**
7274
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7275
+ */
7276
+ interface HelloWorldBinding {
7277
+ /**
7278
+ * Retrieve the current stored value
7279
+ */
7280
+ get(): Promise<{
7281
+ value: string;
7282
+ ms?: number;
7283
+ }>;
7284
+ /**
7285
+ * Set a new stored value
7286
+ */
7287
+ set(value: string): Promise<void>;
7288
+ }
7273
7289
  interface Hyperdrive {
7274
7290
  /**
7275
7291
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5882,7 +5882,7 @@ export declare abstract class Ai<
5882
5882
  > {
5883
5883
  aiGatewayLogId: string | null;
5884
5884
  gateway(gatewayId: string): AiGateway;
5885
- autorag(autoragId: string): AutoRAG;
5885
+ autorag(autoragId?: string): AutoRAG;
5886
5886
  run<
5887
5887
  Name extends keyof AiModelList,
5888
5888
  Options extends AiOptions,
@@ -7291,6 +7291,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7291
7291
  env: Env,
7292
7292
  ctx: ExecutionContext,
7293
7293
  ) => void | Promise<void>;
7294
+ /**
7295
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7296
+ */
7297
+ export interface HelloWorldBinding {
7298
+ /**
7299
+ * Retrieve the current stored value
7300
+ */
7301
+ get(): Promise<{
7302
+ value: string;
7303
+ ms?: number;
7304
+ }>;
7305
+ /**
7306
+ * Set a new stored value
7307
+ */
7308
+ set(value: string): Promise<void>;
7309
+ }
7294
7310
  export interface Hyperdrive {
7295
7311
  /**
7296
7312
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5870,7 +5870,7 @@ type AiModelListType = Record<string, any>;
5870
5870
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5871
5871
  aiGatewayLogId: string | null;
5872
5872
  gateway(gatewayId: string): AiGateway;
5873
- autorag(autoragId: string): AutoRAG;
5873
+ autorag(autoragId?: string): AutoRAG;
5874
5874
  run<
5875
5875
  Name extends keyof AiModelList,
5876
5876
  Options extends AiOptions,
@@ -7274,6 +7274,22 @@ declare module "cloudflare:email" {
7274
7274
  };
7275
7275
  export { _EmailMessage as EmailMessage };
7276
7276
  }
7277
+ /**
7278
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7279
+ */
7280
+ interface HelloWorldBinding {
7281
+ /**
7282
+ * Retrieve the current stored value
7283
+ */
7284
+ get(): Promise<{
7285
+ value: string;
7286
+ ms?: number;
7287
+ }>;
7288
+ /**
7289
+ * Set a new stored value
7290
+ */
7291
+ set(value: string): Promise<void>;
7292
+ }
7277
7293
  interface Hyperdrive {
7278
7294
  /**
7279
7295
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5886,7 +5886,7 @@ export declare abstract class Ai<
5886
5886
  > {
5887
5887
  aiGatewayLogId: string | null;
5888
5888
  gateway(gatewayId: string): AiGateway;
5889
- autorag(autoragId: string): AutoRAG;
5889
+ autorag(autoragId?: string): AutoRAG;
5890
5890
  run<
5891
5891
  Name extends keyof AiModelList,
5892
5892
  Options extends AiOptions,
@@ -7295,6 +7295,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7295
7295
  env: Env,
7296
7296
  ctx: ExecutionContext,
7297
7297
  ) => void | Promise<void>;
7298
+ /**
7299
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7300
+ */
7301
+ export interface HelloWorldBinding {
7302
+ /**
7303
+ * Retrieve the current stored value
7304
+ */
7305
+ get(): Promise<{
7306
+ value: string;
7307
+ ms?: number;
7308
+ }>;
7309
+ /**
7310
+ * Set a new stored value
7311
+ */
7312
+ set(value: string): Promise<void>;
7313
+ }
7298
7314
  export interface Hyperdrive {
7299
7315
  /**
7300
7316
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5875,7 +5875,7 @@ type AiModelListType = Record<string, any>;
5875
5875
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5876
5876
  aiGatewayLogId: string | null;
5877
5877
  gateway(gatewayId: string): AiGateway;
5878
- autorag(autoragId: string): AutoRAG;
5878
+ autorag(autoragId?: string): AutoRAG;
5879
5879
  run<
5880
5880
  Name extends keyof AiModelList,
5881
5881
  Options extends AiOptions,
@@ -7279,6 +7279,22 @@ declare module "cloudflare:email" {
7279
7279
  };
7280
7280
  export { _EmailMessage as EmailMessage };
7281
7281
  }
7282
+ /**
7283
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7284
+ */
7285
+ interface HelloWorldBinding {
7286
+ /**
7287
+ * Retrieve the current stored value
7288
+ */
7289
+ get(): Promise<{
7290
+ value: string;
7291
+ ms?: number;
7292
+ }>;
7293
+ /**
7294
+ * Set a new stored value
7295
+ */
7296
+ set(value: string): Promise<void>;
7297
+ }
7282
7298
  interface Hyperdrive {
7283
7299
  /**
7284
7300
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5891,7 +5891,7 @@ export declare abstract class Ai<
5891
5891
  > {
5892
5892
  aiGatewayLogId: string | null;
5893
5893
  gateway(gatewayId: string): AiGateway;
5894
- autorag(autoragId: string): AutoRAG;
5894
+ autorag(autoragId?: string): AutoRAG;
5895
5895
  run<
5896
5896
  Name extends keyof AiModelList,
5897
5897
  Options extends AiOptions,
@@ -7300,6 +7300,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7300
7300
  env: Env,
7301
7301
  ctx: ExecutionContext,
7302
7302
  ) => void | Promise<void>;
7303
+ /**
7304
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7305
+ */
7306
+ export interface HelloWorldBinding {
7307
+ /**
7308
+ * Retrieve the current stored value
7309
+ */
7310
+ get(): Promise<{
7311
+ value: string;
7312
+ ms?: number;
7313
+ }>;
7314
+ /**
7315
+ * Set a new stored value
7316
+ */
7317
+ set(value: string): Promise<void>;
7318
+ }
7303
7319
  export interface Hyperdrive {
7304
7320
  /**
7305
7321
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5877,7 +5877,7 @@ type AiModelListType = Record<string, any>;
5877
5877
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5878
5878
  aiGatewayLogId: string | null;
5879
5879
  gateway(gatewayId: string): AiGateway;
5880
- autorag(autoragId: string): AutoRAG;
5880
+ autorag(autoragId?: string): AutoRAG;
5881
5881
  run<
5882
5882
  Name extends keyof AiModelList,
5883
5883
  Options extends AiOptions,
@@ -7281,6 +7281,22 @@ declare module "cloudflare:email" {
7281
7281
  };
7282
7282
  export { _EmailMessage as EmailMessage };
7283
7283
  }
7284
+ /**
7285
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7286
+ */
7287
+ interface HelloWorldBinding {
7288
+ /**
7289
+ * Retrieve the current stored value
7290
+ */
7291
+ get(): Promise<{
7292
+ value: string;
7293
+ ms?: number;
7294
+ }>;
7295
+ /**
7296
+ * Set a new stored value
7297
+ */
7298
+ set(value: string): Promise<void>;
7299
+ }
7284
7300
  interface Hyperdrive {
7285
7301
  /**
7286
7302
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5893,7 +5893,7 @@ export declare abstract class Ai<
5893
5893
  > {
5894
5894
  aiGatewayLogId: string | null;
5895
5895
  gateway(gatewayId: string): AiGateway;
5896
- autorag(autoragId: string): AutoRAG;
5896
+ autorag(autoragId?: string): AutoRAG;
5897
5897
  run<
5898
5898
  Name extends keyof AiModelList,
5899
5899
  Options extends AiOptions,
@@ -7302,6 +7302,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7302
7302
  env: Env,
7303
7303
  ctx: ExecutionContext,
7304
7304
  ) => void | Promise<void>;
7305
+ /**
7306
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7307
+ */
7308
+ export interface HelloWorldBinding {
7309
+ /**
7310
+ * Retrieve the current stored value
7311
+ */
7312
+ get(): Promise<{
7313
+ value: string;
7314
+ ms?: number;
7315
+ }>;
7316
+ /**
7317
+ * Set a new stored value
7318
+ */
7319
+ set(value: string): Promise<void>;
7320
+ }
7305
7321
  export interface Hyperdrive {
7306
7322
  /**
7307
7323
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5877,7 +5877,7 @@ type AiModelListType = Record<string, any>;
5877
5877
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5878
5878
  aiGatewayLogId: string | null;
5879
5879
  gateway(gatewayId: string): AiGateway;
5880
- autorag(autoragId: string): AutoRAG;
5880
+ autorag(autoragId?: string): AutoRAG;
5881
5881
  run<
5882
5882
  Name extends keyof AiModelList,
5883
5883
  Options extends AiOptions,
@@ -7281,6 +7281,22 @@ declare module "cloudflare:email" {
7281
7281
  };
7282
7282
  export { _EmailMessage as EmailMessage };
7283
7283
  }
7284
+ /**
7285
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7286
+ */
7287
+ interface HelloWorldBinding {
7288
+ /**
7289
+ * Retrieve the current stored value
7290
+ */
7291
+ get(): Promise<{
7292
+ value: string;
7293
+ ms?: number;
7294
+ }>;
7295
+ /**
7296
+ * Set a new stored value
7297
+ */
7298
+ set(value: string): Promise<void>;
7299
+ }
7284
7300
  interface Hyperdrive {
7285
7301
  /**
7286
7302
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -5893,7 +5893,7 @@ export declare abstract class Ai<
5893
5893
  > {
5894
5894
  aiGatewayLogId: string | null;
5895
5895
  gateway(gatewayId: string): AiGateway;
5896
- autorag(autoragId: string): AutoRAG;
5896
+ autorag(autoragId?: string): AutoRAG;
5897
5897
  run<
5898
5898
  Name extends keyof AiModelList,
5899
5899
  Options extends AiOptions,
@@ -7302,6 +7302,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7302
7302
  env: Env,
7303
7303
  ctx: ExecutionContext,
7304
7304
  ) => void | Promise<void>;
7305
+ /**
7306
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7307
+ */
7308
+ export interface HelloWorldBinding {
7309
+ /**
7310
+ * Retrieve the current stored value
7311
+ */
7312
+ get(): Promise<{
7313
+ value: string;
7314
+ ms?: number;
7315
+ }>;
7316
+ /**
7317
+ * Set a new stored value
7318
+ */
7319
+ set(value: string): Promise<void>;
7320
+ }
7305
7321
  export interface Hyperdrive {
7306
7322
  /**
7307
7323
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -6129,7 +6129,7 @@ type AiModelListType = Record<string, any>;
6129
6129
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
6130
6130
  aiGatewayLogId: string | null;
6131
6131
  gateway(gatewayId: string): AiGateway;
6132
- autorag(autoragId: string): AutoRAG;
6132
+ autorag(autoragId?: string): AutoRAG;
6133
6133
  run<
6134
6134
  Name extends keyof AiModelList,
6135
6135
  Options extends AiOptions,
@@ -7533,6 +7533,22 @@ declare module "cloudflare:email" {
7533
7533
  };
7534
7534
  export { _EmailMessage as EmailMessage };
7535
7535
  }
7536
+ /**
7537
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7538
+ */
7539
+ interface HelloWorldBinding {
7540
+ /**
7541
+ * Retrieve the current stored value
7542
+ */
7543
+ get(): Promise<{
7544
+ value: string;
7545
+ ms?: number;
7546
+ }>;
7547
+ /**
7548
+ * Set a new stored value
7549
+ */
7550
+ set(value: string): Promise<void>;
7551
+ }
7536
7552
  interface Hyperdrive {
7537
7553
  /**
7538
7554
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
@@ -6145,7 +6145,7 @@ export declare abstract class Ai<
6145
6145
  > {
6146
6146
  aiGatewayLogId: string | null;
6147
6147
  gateway(gatewayId: string): AiGateway;
6148
- autorag(autoragId: string): AutoRAG;
6148
+ autorag(autoragId?: string): AutoRAG;
6149
6149
  run<
6150
6150
  Name extends keyof AiModelList,
6151
6151
  Options extends AiOptions,
@@ -7554,6 +7554,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7554
7554
  env: Env,
7555
7555
  ctx: ExecutionContext,
7556
7556
  ) => void | Promise<void>;
7557
+ /**
7558
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7559
+ */
7560
+ export interface HelloWorldBinding {
7561
+ /**
7562
+ * Retrieve the current stored value
7563
+ */
7564
+ get(): Promise<{
7565
+ value: string;
7566
+ ms?: number;
7567
+ }>;
7568
+ /**
7569
+ * Set a new stored value
7570
+ */
7571
+ set(value: string): Promise<void>;
7572
+ }
7557
7573
  export interface Hyperdrive {
7558
7574
  /**
7559
7575
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/index.d.ts CHANGED
@@ -5821,7 +5821,7 @@ type AiModelListType = Record<string, any>;
5821
5821
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5822
5822
  aiGatewayLogId: string | null;
5823
5823
  gateway(gatewayId: string): AiGateway;
5824
- autorag(autoragId: string): AutoRAG;
5824
+ autorag(autoragId?: string): AutoRAG;
5825
5825
  run<
5826
5826
  Name extends keyof AiModelList,
5827
5827
  Options extends AiOptions,
@@ -7225,6 +7225,22 @@ declare module "cloudflare:email" {
7225
7225
  };
7226
7226
  export { _EmailMessage as EmailMessage };
7227
7227
  }
7228
+ /**
7229
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7230
+ */
7231
+ interface HelloWorldBinding {
7232
+ /**
7233
+ * Retrieve the current stored value
7234
+ */
7235
+ get(): Promise<{
7236
+ value: string;
7237
+ ms?: number;
7238
+ }>;
7239
+ /**
7240
+ * Set a new stored value
7241
+ */
7242
+ set(value: string): Promise<void>;
7243
+ }
7228
7244
  interface Hyperdrive {
7229
7245
  /**
7230
7246
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/index.ts CHANGED
@@ -5837,7 +5837,7 @@ export declare abstract class Ai<
5837
5837
  > {
5838
5838
  aiGatewayLogId: string | null;
5839
5839
  gateway(gatewayId: string): AiGateway;
5840
- autorag(autoragId: string): AutoRAG;
5840
+ autorag(autoragId?: string): AutoRAG;
5841
5841
  run<
5842
5842
  Name extends keyof AiModelList,
5843
5843
  Options extends AiOptions,
@@ -7246,6 +7246,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7246
7246
  env: Env,
7247
7247
  ctx: ExecutionContext,
7248
7248
  ) => void | Promise<void>;
7249
+ /**
7250
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7251
+ */
7252
+ export interface HelloWorldBinding {
7253
+ /**
7254
+ * Retrieve the current stored value
7255
+ */
7256
+ get(): Promise<{
7257
+ value: string;
7258
+ ms?: number;
7259
+ }>;
7260
+ /**
7261
+ * Set a new stored value
7262
+ */
7263
+ set(value: string): Promise<void>;
7264
+ }
7249
7265
  export interface Hyperdrive {
7250
7266
  /**
7251
7267
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/latest/index.d.ts CHANGED
@@ -5884,7 +5884,7 @@ type AiModelListType = Record<string, any>;
5884
5884
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5885
5885
  aiGatewayLogId: string | null;
5886
5886
  gateway(gatewayId: string): AiGateway;
5887
- autorag(autoragId: string): AutoRAG;
5887
+ autorag(autoragId?: string): AutoRAG;
5888
5888
  run<
5889
5889
  Name extends keyof AiModelList,
5890
5890
  Options extends AiOptions,
@@ -7288,6 +7288,22 @@ declare module "cloudflare:email" {
7288
7288
  };
7289
7289
  export { _EmailMessage as EmailMessage };
7290
7290
  }
7291
+ /**
7292
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7293
+ */
7294
+ interface HelloWorldBinding {
7295
+ /**
7296
+ * Retrieve the current stored value
7297
+ */
7298
+ get(): Promise<{
7299
+ value: string;
7300
+ ms?: number;
7301
+ }>;
7302
+ /**
7303
+ * Set a new stored value
7304
+ */
7305
+ set(value: string): Promise<void>;
7306
+ }
7291
7307
  interface Hyperdrive {
7292
7308
  /**
7293
7309
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/latest/index.ts CHANGED
@@ -5900,7 +5900,7 @@ export declare abstract class Ai<
5900
5900
  > {
5901
5901
  aiGatewayLogId: string | null;
5902
5902
  gateway(gatewayId: string): AiGateway;
5903
- autorag(autoragId: string): AutoRAG;
5903
+ autorag(autoragId?: string): AutoRAG;
5904
5904
  run<
5905
5905
  Name extends keyof AiModelList,
5906
5906
  Options extends AiOptions,
@@ -7309,6 +7309,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7309
7309
  env: Env,
7310
7310
  ctx: ExecutionContext,
7311
7311
  ) => void | Promise<void>;
7312
+ /**
7313
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7314
+ */
7315
+ export interface HelloWorldBinding {
7316
+ /**
7317
+ * Retrieve the current stored value
7318
+ */
7319
+ get(): Promise<{
7320
+ value: string;
7321
+ ms?: number;
7322
+ }>;
7323
+ /**
7324
+ * Set a new stored value
7325
+ */
7326
+ set(value: string): Promise<void>;
7327
+ }
7312
7328
  export interface Hyperdrive {
7313
7329
  /**
7314
7330
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/oldest/index.d.ts CHANGED
@@ -5821,7 +5821,7 @@ type AiModelListType = Record<string, any>;
5821
5821
  declare abstract class Ai<AiModelList extends AiModelListType = AiModels> {
5822
5822
  aiGatewayLogId: string | null;
5823
5823
  gateway(gatewayId: string): AiGateway;
5824
- autorag(autoragId: string): AutoRAG;
5824
+ autorag(autoragId?: string): AutoRAG;
5825
5825
  run<
5826
5826
  Name extends keyof AiModelList,
5827
5827
  Options extends AiOptions,
@@ -7225,6 +7225,22 @@ declare module "cloudflare:email" {
7225
7225
  };
7226
7226
  export { _EmailMessage as EmailMessage };
7227
7227
  }
7228
+ /**
7229
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7230
+ */
7231
+ interface HelloWorldBinding {
7232
+ /**
7233
+ * Retrieve the current stored value
7234
+ */
7235
+ get(): Promise<{
7236
+ value: string;
7237
+ ms?: number;
7238
+ }>;
7239
+ /**
7240
+ * Set a new stored value
7241
+ */
7242
+ set(value: string): Promise<void>;
7243
+ }
7228
7244
  interface Hyperdrive {
7229
7245
  /**
7230
7246
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
package/oldest/index.ts CHANGED
@@ -5837,7 +5837,7 @@ export declare abstract class Ai<
5837
5837
  > {
5838
5838
  aiGatewayLogId: string | null;
5839
5839
  gateway(gatewayId: string): AiGateway;
5840
- autorag(autoragId: string): AutoRAG;
5840
+ autorag(autoragId?: string): AutoRAG;
5841
5841
  run<
5842
5842
  Name extends keyof AiModelList,
5843
5843
  Options extends AiOptions,
@@ -7246,6 +7246,22 @@ export declare type EmailExportedHandler<Env = unknown> = (
7246
7246
  env: Env,
7247
7247
  ctx: ExecutionContext,
7248
7248
  ) => void | Promise<void>;
7249
+ /**
7250
+ * Hello World binding to serve as an explanatory example. DO NOT USE
7251
+ */
7252
+ export interface HelloWorldBinding {
7253
+ /**
7254
+ * Retrieve the current stored value
7255
+ */
7256
+ get(): Promise<{
7257
+ value: string;
7258
+ ms?: number;
7259
+ }>;
7260
+ /**
7261
+ * Set a new stored value
7262
+ */
7263
+ set(value: string): Promise<void>;
7264
+ }
7249
7265
  export interface Hyperdrive {
7250
7266
  /**
7251
7267
  * Connect directly to Hyperdrive as if it's your database, returning a TCP socket.
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.20250620.0"
10
+ "version": "4.20250628.0"
11
11
  }