package taskboard

// ListTaskSubtasksRequest lists one bounded keyset page of a parent task's
// direct children in newest-first order.
type ListTaskSubtasksRequest struct {
	Context ServiceContext
	Board   BoardRef
	Task    TaskRef
	Limit   int
	Cursor  SubtaskPageCursor
}

// ListTaskSubtasksResponse is one bounded direct-child page.
type ListTaskSubtasksResponse struct {
	Tasks      []Task
	HasMore    bool
	NextCursor SubtaskPageCursor
}
