add status
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable */
|
||||
// Generated by Wrangler by running `wrangler types` (hash: 7e2e7bff7e69c3350947dfc5bad66ee7)
|
||||
// Runtime types generated with workerd@1.20251202.0 2025-04-04
|
||||
// Runtime types generated with workerd@1.20260111.0 2025-04-04
|
||||
declare namespace Cloudflare {
|
||||
interface GlobalProps {
|
||||
mainModule: typeof import("./workers/app");
|
||||
@@ -493,8 +493,10 @@ interface DurableObjectNamespaceNewUniqueIdOptions {
|
||||
jurisdiction?: DurableObjectJurisdiction;
|
||||
}
|
||||
type DurableObjectLocationHint = "wnam" | "enam" | "sam" | "weur" | "eeur" | "apac" | "oc" | "afr" | "me";
|
||||
type DurableObjectRoutingMode = "primary-only";
|
||||
interface DurableObjectNamespaceGetDurableObjectOptions {
|
||||
locationHint?: DurableObjectLocationHint;
|
||||
routingMode?: DurableObjectRoutingMode;
|
||||
}
|
||||
interface DurableObjectClass<_T extends Rpc.DurableObjectBranded | undefined = undefined> {
|
||||
}
|
||||
@@ -2078,6 +2080,8 @@ interface Transformer<I = any, O = any> {
|
||||
expectedLength?: number;
|
||||
}
|
||||
interface StreamPipeOptions {
|
||||
preventAbort?: boolean;
|
||||
preventCancel?: boolean;
|
||||
/**
|
||||
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
||||
*
|
||||
@@ -2096,8 +2100,6 @@ interface StreamPipeOptions {
|
||||
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
||||
*/
|
||||
preventClose?: boolean;
|
||||
preventAbort?: boolean;
|
||||
preventCancel?: boolean;
|
||||
signal?: AbortSignal;
|
||||
}
|
||||
type ReadableStreamReadResult<R = any> = {
|
||||
@@ -2372,13 +2374,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
||||
terminate(): void;
|
||||
}
|
||||
interface ReadableWritablePair<R = any, W = any> {
|
||||
readable: ReadableStream<R>;
|
||||
/**
|
||||
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
||||
*
|
||||
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
||||
*/
|
||||
writable: WritableStream<W>;
|
||||
readable: ReadableStream<R>;
|
||||
}
|
||||
/**
|
||||
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
||||
@@ -3254,7 +3256,7 @@ interface WorkerStubEntrypointOptions {
|
||||
props?: any;
|
||||
}
|
||||
interface WorkerLoader {
|
||||
get(name: string, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>): WorkerStub;
|
||||
get(name: string | null, getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>): WorkerStub;
|
||||
}
|
||||
interface WorkerLoaderModule {
|
||||
js?: string;
|
||||
@@ -8436,7 +8438,7 @@ type AiOptions = {
|
||||
* Maximum 5 tags are allowed each request.
|
||||
* Duplicate tags will removed.
|
||||
*/
|
||||
tags: string[];
|
||||
tags?: string[];
|
||||
gateway?: GatewayOptions;
|
||||
returnRawResponse?: boolean;
|
||||
prefix?: string;
|
||||
|
||||
Reference in New Issue
Block a user