PlanGroupTpSlResult
Result of planGroupTpSl.
Deliberately not a { feasible } discriminated union like PlanGroupCloseResult: a group close has one global constraint — the allocation must sum to the target exactly, or nothing may be closed — whereas TP/SL writes are independent per child, so a plan is always producible and validity is per-child. Gate the submit on hasInvalid.
Properties
Every decision, in child order. A child may yield a delete and a set, so this is not one entry per child.
setsExtract<GroupTpSlAction, { action: 'set' }>[]requiredThe set decisions, in submission order.
deletesExtract<GroupTpSlAction, { action: 'delete' }>[]requiredThe delete decisions, in submission order.
skipsExtract<GroupTpSlAction, { action: 'skip' }>[]requiredThe skip decisions, in child order.
hasInvalidbooleanrequiredtrue when at least one child failed validation — block the submit.
isNoopbooleanrequiredtrue when nothing needs writing.
Last updated on