A carousel is a representation of actions cards, with an optional image card and a title.
Actions for a carousel are represented by an ActionsCollection
.
Since these collections of actions aren't necessarily rendered via a carousel, the ActionsCollection
DTO is independent of front end concerns.
type Action = {