@prefecthq/prefect-ui-library 3.5.8 → 3.5.9
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-CaD-iM3l.mjs → RunsPageWithDefaultFilter-vdF_PYRi.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-CaD-iM3l.mjs.map → RunsPageWithDefaultFilter-vdF_PYRi.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-P8NTt3Xq.mjs → WorkQueueToWorkPoolQueueRedirect-CpTlCSqn.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-P8NTt3Xq.mjs.map → WorkQueueToWorkPoolQueueRedirect-CpTlCSqn.mjs.map} +1 -1
- package/dist/{index-M9_iwjmx.mjs → index-z2KdJG7A.mjs} +6 -6
- package/dist/{index-M9_iwjmx.mjs.map → index-z2KdJG7A.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +2 -2
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/FlowRunLogsDownloadButton.vue +1 -1
- package/src/services/WorkspaceFlowRunsApi.ts +2 -2
|
@@ -27,5 +27,5 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
27
27
|
resumeFlowRun(id: string, values?: SchemaValues): Promise<OrchestrationResult>;
|
|
28
28
|
resumeFlowRunV2(id: string, values: SchemaValuesV2): Promise<OrchestrationResult>;
|
|
29
29
|
deleteFlowRun(flowRunId: string): Promise<void>;
|
|
30
|
-
|
|
30
|
+
downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void>;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -146,8 +146,8 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
146
146
|
return this.delete(`/${flowRunId}`)
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
public async
|
|
150
|
-
const { data } = await this.get<string>(`/${flowRunId}/download
|
|
149
|
+
public async downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void> {
|
|
150
|
+
const { data } = await this.get<string>(`/${flowRunId}/logs/download`, {
|
|
151
151
|
responseType: 'stream',
|
|
152
152
|
})
|
|
153
153
|
|