@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.
- package/dist/{RunsPageWithDefaultFilter-noW_VLBC.mjs → RunsPageWithDefaultFilter-BGrxr6BF.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-noW_VLBC.mjs.map → RunsPageWithDefaultFilter-BGrxr6BF.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-CgTe0w5x.mjs → WorkQueueToWorkPoolQueueRedirect-DrWo9uuc.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-CgTe0w5x.mjs.map → WorkQueueToWorkPoolQueueRedirect-DrWo9uuc.mjs.map} +1 -1
- package/dist/{index-Cs3Px-F2.mjs → index-CxxshzUD.mjs} +7 -3
- package/dist/{index-Cs3Px-F2.mjs.map → index-CxxshzUD.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +1 -1
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +1 -0
- package/package.json +1 -1
- package/src/services/WorkspaceFlowRunsApi.ts +4 -0
|
@@ -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
|
@@ -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
|
}
|