Skip to content

Commit c3a0749

Browse files
authored
Merge pull request #3251 from LuisDuarte1/lduarte/add-instanceid-to-workflow-event
feat: add instanceId to the Workflow event type
2 parents 1299c61 + 688c63b commit c3a0749

File tree

11 files changed

+11
-0
lines changed

11 files changed

+11
-0
lines changed

types/defines/rpc.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ declare module "cloudflare:workers" {
235235
export type WorkflowEvent<T> = {
236236
payload: Readonly<T>;
237237
timestamp: Date;
238+
instanceId: string;
238239
};
239240

240241
export abstract class WorkflowStep {

types/generated-snapshot/2021-11-03/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5357,6 +5357,7 @@ declare module "cloudflare:workers" {
53575357
export type WorkflowEvent<T> = {
53585358
payload: Readonly<T>;
53595359
timestamp: Date;
5360+
instanceId: string;
53605361
};
53615362
export abstract class WorkflowStep {
53625363
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2022-01-31/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5383,6 +5383,7 @@ declare module "cloudflare:workers" {
53835383
export type WorkflowEvent<T> = {
53845384
payload: Readonly<T>;
53855385
timestamp: Date;
5386+
instanceId: string;
53865387
};
53875388
export abstract class WorkflowStep {
53885389
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2022-03-21/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5408,6 +5408,7 @@ declare module "cloudflare:workers" {
54085408
export type WorkflowEvent<T> = {
54095409
payload: Readonly<T>;
54105410
timestamp: Date;
5411+
instanceId: string;
54115412
};
54125413
export abstract class WorkflowStep {
54135414
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2022-08-04/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5409,6 +5409,7 @@ declare module "cloudflare:workers" {
54095409
export type WorkflowEvent<T> = {
54105410
payload: Readonly<T>;
54115411
timestamp: Date;
5412+
instanceId: string;
54125413
};
54135414
export abstract class WorkflowStep {
54145415
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2022-10-31/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5412,6 +5412,7 @@ declare module "cloudflare:workers" {
54125412
export type WorkflowEvent<T> = {
54135413
payload: Readonly<T>;
54145414
timestamp: Date;
5415+
instanceId: string;
54155416
};
54165417
export abstract class WorkflowStep {
54175418
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2022-11-30/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5417,6 +5417,7 @@ declare module "cloudflare:workers" {
54175417
export type WorkflowEvent<T> = {
54185418
payload: Readonly<T>;
54195419
timestamp: Date;
5420+
instanceId: string;
54205421
};
54215422
export abstract class WorkflowStep {
54225423
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2023-03-01/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5419,6 +5419,7 @@ declare module "cloudflare:workers" {
54195419
export type WorkflowEvent<T> = {
54205420
payload: Readonly<T>;
54215421
timestamp: Date;
5422+
instanceId: string;
54225423
};
54235424
export abstract class WorkflowStep {
54245425
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/2023-07-01/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5419,6 +5419,7 @@ declare module "cloudflare:workers" {
54195419
export type WorkflowEvent<T> = {
54205420
payload: Readonly<T>;
54215421
timestamp: Date;
5422+
instanceId: string;
54225423
};
54235424
export abstract class WorkflowStep {
54245425
do<T extends Rpc.Serializable<T>>(

types/generated-snapshot/experimental/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5485,6 +5485,7 @@ declare module "cloudflare:workers" {
54855485
export type WorkflowEvent<T> = {
54865486
payload: Readonly<T>;
54875487
timestamp: Date;
5488+
instanceId: string;
54885489
};
54895490
export abstract class WorkflowStep {
54905491
do<T extends Rpc.Serializable<T>>(

0 commit comments

Comments
 (0)