@prefecthq/prefect-ui-library 3.12.17 → 3.13.1
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-BpHg3lPU.mjs → RunsPageWithDefaultFilter-CtTS9hES.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-BpHg3lPU.mjs.map → RunsPageWithDefaultFilter-CtTS9hES.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-AX2VlRL5.mjs → WorkQueueToWorkPoolQueueRedirect-BFuMULzc.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-AX2VlRL5.mjs.map → WorkQueueToWorkPoolQueueRedirect-BFuMULzc.mjs.map} +1 -1
- package/dist/{index-DbGoIQNu.mjs → index-DYoVH4HK.mjs} +7 -7
- package/dist/{index-DbGoIQNu.mjs.map → index-DYoVH4HK.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 -1
- package/package.json +1 -1
- package/src/services/WorkspaceFlowRunsApi.ts +3 -3
|
@@ -26,7 +26,7 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
26
26
|
getFlowRunInputSchema(id: string, keyset: FlowRunInputKeyset): Promise<Schema>;
|
|
27
27
|
getFlowRunInputSchemaV2(id: string, keyset: FlowRunInputKeyset): Promise<SchemaV2>;
|
|
28
28
|
retryFlowRun(id: string): Promise<void>;
|
|
29
|
-
setFlowRunState(id: string, body: StateUpdate): Promise<void>;
|
|
29
|
+
setFlowRunState(id: string, body: StateUpdate, force?: boolean): Promise<void>;
|
|
30
30
|
resumeFlowRun(id: string, values?: SchemaValues): Promise<OrchestrationResult>;
|
|
31
31
|
resumeFlowRunV2(id: string, values: SchemaValuesV2): Promise<OrchestrationResult>;
|
|
32
32
|
deleteFlowRun(flowRunId: string): Promise<void>;
|
package/package.json
CHANGED
|
@@ -120,12 +120,12 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
120
120
|
name: 'AwaitingRetry',
|
|
121
121
|
message: 'Retry from the UI',
|
|
122
122
|
},
|
|
123
|
-
})
|
|
123
|
+
}, false)
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
public setFlowRunState(id: string, body: StateUpdate): Promise<void> {
|
|
126
|
+
public setFlowRunState(id: string, body: StateUpdate, force = true): Promise<void> {
|
|
127
127
|
const requestBody = mapper.map('StateUpdate', body, 'StateUpdateRequest')
|
|
128
|
-
return this.post(`/${id}/set_state`, { state: requestBody.state, force
|
|
128
|
+
return this.post(`/${id}/set_state`, { state: requestBody.state, force })
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
public async resumeFlowRun(id: string, values?: SchemaValues): Promise<OrchestrationResult> {
|