mirror of https://github.com/openclaw/openclaw.git
fix(tasks): preserve nullable flow patch clears
This commit is contained in:
parent
d15d7d0962
commit
72d1725fcf
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue