Skip to content

Commit f76d170

Browse files
authored
fix: add missing fields to workflow logs (#78)
1 parent 38a6bcb commit f76d170

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/client/types.ts

+26
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,32 @@ export type WorkflowRunLog = {
233233
*
234234
*/
235235
steps: StepLogGroup[];
236+
/**
237+
* If the workflow returned a response, the stringified state of this
238+
* response will be available in the workflowRunResponse field.
239+
*
240+
* To restore it to its original format, use JSON.parse.
241+
*/
242+
workflowRunResponse?: string;
243+
/**
244+
* Information on the invoker workflow run, if any
245+
*/
246+
invoker?: {
247+
/**
248+
* run id of the invoker workflow
249+
*/
250+
workflowRunId: string;
251+
/**
252+
* URL of the invoker workflow
253+
*/
254+
workflowUrl: string;
255+
/**
256+
* Time when the invoker workflow run was created
257+
*
258+
* in unix milliseconds format
259+
*/
260+
workflowRunCreatedAt: number;
261+
};
236262
};
237263

238264
export type WorkflowRunLogs = {

0 commit comments

Comments
 (0)