@workers-community/workers-types 4.20260420.1 → 4.20260422.1
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 +6 -0
- package/index.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -13638,7 +13638,12 @@ declare namespace CloudflareWorkersModule {
|
|
|
13638
13638
|
type: string;
|
|
13639
13639
|
};
|
|
13640
13640
|
export type WorkflowStepContext = {
|
|
13641
|
+
step: {
|
|
13642
|
+
name: string;
|
|
13643
|
+
count: number;
|
|
13644
|
+
};
|
|
13641
13645
|
attempt: number;
|
|
13646
|
+
config: WorkflowStepConfig;
|
|
13642
13647
|
};
|
|
13643
13648
|
export abstract class WorkflowStep {
|
|
13644
13649
|
do<T extends Rpc.Serializable<T>>(
|
|
@@ -13695,6 +13700,7 @@ declare namespace CloudflareWorkersModule {
|
|
|
13695
13700
|
): unknown;
|
|
13696
13701
|
export const env: Cloudflare.Env;
|
|
13697
13702
|
export const exports: Cloudflare.Exports;
|
|
13703
|
+
export const cache: CacheContext;
|
|
13698
13704
|
}
|
|
13699
13705
|
declare module "cloudflare:workers" {
|
|
13700
13706
|
export = CloudflareWorkersModule;
|
package/index.ts
CHANGED
|
@@ -13609,7 +13609,12 @@ export declare namespace CloudflareWorkersModule {
|
|
|
13609
13609
|
type: string;
|
|
13610
13610
|
};
|
|
13611
13611
|
export type WorkflowStepContext = {
|
|
13612
|
+
step: {
|
|
13613
|
+
name: string;
|
|
13614
|
+
count: number;
|
|
13615
|
+
};
|
|
13612
13616
|
attempt: number;
|
|
13617
|
+
config: WorkflowStepConfig;
|
|
13613
13618
|
};
|
|
13614
13619
|
export abstract class WorkflowStep {
|
|
13615
13620
|
do<T extends Rpc.Serializable<T>>(
|
|
@@ -13666,6 +13671,7 @@ export declare namespace CloudflareWorkersModule {
|
|
|
13666
13671
|
): unknown;
|
|
13667
13672
|
export const env: Cloudflare.Env;
|
|
13668
13673
|
export const exports: Cloudflare.Exports;
|
|
13674
|
+
export const cache: CacheContext;
|
|
13669
13675
|
}
|
|
13670
13676
|
export interface SecretsStoreSecret {
|
|
13671
13677
|
/**
|