mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 13:22:14 +00:00
fix(tasks): preserve nullable flow patch clears
This commit is contained in:
@@ -39,16 +39,19 @@ function resolveFlowBlockedSummary(
|
||||
}
|
||||
|
||||
type FlowRecordPatch = Partial<
|
||||
Pick<
|
||||
FlowRecord,
|
||||
| "status"
|
||||
| "notifyPolicy"
|
||||
| "goal"
|
||||
| "currentStep"
|
||||
| "blockedTaskId"
|
||||
| "blockedSummary"
|
||||
| "updatedAt"
|
||||
| "endedAt"
|
||||
Omit<
|
||||
Pick<
|
||||
FlowRecord,
|
||||
| "status"
|
||||
| "notifyPolicy"
|
||||
| "goal"
|
||||
| "currentStep"
|
||||
| "blockedTaskId"
|
||||
| "blockedSummary"
|
||||
| "updatedAt"
|
||||
| "endedAt"
|
||||
>,
|
||||
"currentStep" | "blockedTaskId" | "blockedSummary" | "endedAt"
|
||||
>
|
||||
> & {
|
||||
currentStep?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user