@prefecthq/prefect-ui-library 3.9.2 → 3.9.3

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.
@@ -31,5 +31,6 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
31
31
  resumeFlowRunV2(id: string, values: SchemaValuesV2): Promise<OrchestrationResult>;
32
32
  deleteFlowRun(flowRunId: string): Promise<void>;
33
33
  downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void>;
34
+ getFlowRunJobConfig(flowRunId: string): Promise<Record<string, unknown>>;
34
35
  }
35
36
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.9.2",
3
+ "version": "3.9.3",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -166,4 +166,8 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
166
166
  URL.revokeObjectURL(url)
167
167
  }
168
168
 
169
+ public async getFlowRunJobConfig(flowRunId: string): Promise<Record<string, unknown>> {
170
+ const { data } = await this.get<Record<string, unknown>>(`${flowRunId}/job/config`)
171
+ return data
172
+ }
169
173
  }