Expand description
Plan approval types shared between tools and TUI.
PlanDecision and PlanApprovalRequest live here so that both
opendev-tools-impl (which blocks inside PresentPlanTool::execute())
and opendev-tui (which renders the approval panel) can reference them
without a circular dependency.
Structs§
- Plan
Approval Request - A request sent from
PresentPlanToolto the TUI for user approval. - Plan
Decision - The user’s decision on a presented plan.
Functions§
- plan_
approval_ channel - Create a paired (sender, receiver) for plan approval communication.
Type Aliases§
- Plan
Approval Receiver - Convenience type alias for the receiver half that the TUI polls.
- Plan
Approval Sender - Convenience type alias for the sender half that
PresentPlanToolholds.