deps: bump wrangler from 4.87.0 to 4.90.0 (#73)
* deps: bump wrangler from 4.87.0 to 4.90.0 Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 4.87.0 to 4.90.0. - [Release notes](https://github.com/cloudflare/workers-sdk/releases) - [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.90.0/packages/wrangler) --- updated-dependencies: - dependency-name: wrangler dependency-version: 4.90.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): refresh wrangler generated types --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xi Xu <i@xi-xu.me>
This commit is contained in:
1 parent
cb4c434142
commit
0755d82f01
3 files changed
+17
-54
No files matched your search
Vendored
+8
-17
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable */
|
||||
// Generated by Wrangler by running `wrangler types` (hash: 66ec2d07ecff4cba477f98430a977e7f)
|
||||
// Runtime types generated with workerd@1.20260430.1 2026-03-19 nodejs_compat
|
||||
// Runtime types generated with workerd@1.20260507.1 2026-03-19 nodejs_compat
|
||||
declare namespace Cloudflare {
|
||||
interface GlobalProps {
|
||||
mainModule: typeof import("./src/index");
|
||||
@@ -937,7 +937,7 @@ interface CustomEventCustomEventInit {
|
||||
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
|
||||
*/
|
||||
declare class Blob {
|
||||
constructor(type?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[], options?: BlobOptions);
|
||||
constructor(bits?: ((ArrayBuffer | ArrayBufferView) | string | Blob)[], options?: BlobOptions);
|
||||
/**
|
||||
* The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.
|
||||
*
|
||||
@@ -12097,13 +12097,13 @@ declare namespace Cloudflare {
|
||||
type GlobalProp<K extends string, Default> = K extends keyof GlobalProps ? GlobalProps[K] : Default;
|
||||
// The type of the program's main module exports, if known. Requires `GlobalProps` to declare the
|
||||
// `mainModule` property.
|
||||
type MainModule = GlobalProp<'mainModule', {}>;
|
||||
type MainModule = GlobalProp<"mainModule", {}>;
|
||||
// The type of ctx.exports, which contains loopback bindings for all top-level exports.
|
||||
type Exports = {
|
||||
[K in keyof MainModule]: LoopbackForExport<MainModule[K]> &
|
||||
[K in keyof MainModule]: LoopbackForExport<MainModule[K]>
|
||||
// If the export is listed in `durableNamespaces`, then it is also a
|
||||
// DurableObjectNamespace.
|
||||
(K extends GlobalProp<'durableNamespaces', never> ? MainModule[K] extends new (...args: any[]) => infer DoInstance ? DoInstance extends Rpc.DurableObjectBranded ? DurableObjectNamespace<DoInstance> : DurableObjectNamespace<undefined> : DurableObjectNamespace<undefined> : {});
|
||||
& (K extends GlobalProp<"durableNamespaces", never> ? MainModule[K] extends new (...args: any[]) => infer DoInstance ? DoInstance extends Rpc.DurableObjectBranded ? DurableObjectNamespace<DoInstance> : DurableObjectNamespace<undefined> : DurableObjectNamespace<undefined> : {});
|
||||
};
|
||||
}
|
||||
declare namespace CloudflareWorkersModule {
|
||||
@@ -12174,24 +12174,15 @@ declare namespace CloudflareWorkersModule {
|
||||
attempt: number;
|
||||
config: WorkflowStepConfig;
|
||||
};
|
||||
export interface RollbackContext<T> {
|
||||
error: Error;
|
||||
output: NonNullable<T> | undefined;
|
||||
stepName: string;
|
||||
}
|
||||
export interface StepPromise<T> extends Promise<T> {
|
||||
rollback(fn: (ctx: RollbackContext<T>) => Promise<void>): StepPromise<T>;
|
||||
rollback(config: WorkflowStepConfig, fn: (ctx: RollbackContext<T>) => Promise<void>): StepPromise<T>;
|
||||
}
|
||||
export abstract class WorkflowStep {
|
||||
do<T extends Rpc.Serializable<T>>(name: string, callback: (ctx: WorkflowStepContext) => Promise<T>): StepPromise<T>;
|
||||
do<T extends Rpc.Serializable<T>>(name: string, config: WorkflowStepConfig, callback: (ctx: WorkflowStepContext) => Promise<T>): StepPromise<T>;
|
||||
do<T extends Rpc.Serializable<T>>(name: string, callback: (ctx: WorkflowStepContext) => Promise<T>): Promise<T>;
|
||||
do<T extends Rpc.Serializable<T>>(name: string, config: WorkflowStepConfig, callback: (ctx: WorkflowStepContext) => Promise<T>): Promise<T>;
|
||||
sleep: (name: string, duration: WorkflowSleepDuration) => Promise<void>;
|
||||
sleepUntil: (name: string, timestamp: Date | number) => Promise<void>;
|
||||
waitForEvent<T extends Rpc.Serializable<T>>(name: string, options: {
|
||||
type: string;
|
||||
timeout?: WorkflowTimeoutDuration | number;
|
||||
}): StepPromise<WorkflowStepEvent<T>>;
|
||||
}): Promise<WorkflowStepEvent<T>>;
|
||||
}
|
||||
export type WorkflowInstanceStatus = 'queued' | 'running' | 'paused' | 'errored' | 'terminated' | 'complete' | 'waiting' | 'waitingForPause' | 'unknown';
|
||||
export abstract class WorkflowEntrypoint<Env = unknown, T extends Rpc.Serializable<T> | unknown = unknown> implements Rpc.WorkflowEntrypointBranded {
|
||||
|
||||
Reference in new issue
Block a user