Documentation
¶
Overview ¶
Package tasks derives terminal task inspection state from Protocol values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
Surface surface.State
Rows []types.TaskRow
Aggregates types.TaskListAggregates
Selected *types.TaskDetail
SelectedID string
Filter string
Page int
PageSize int
NextCursor types.TaskListCursor
}
State is the bounded task list/tree/progress projection for one session.
func Derive ¶
func Derive(response types.TaskListResponse, detail *types.TaskDetail) State
Derive copies and deterministically orders canonical rows.
Click to show internal directories.
Click to hide internal directories.