aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
Commit message (Collapse)AuthorAgeFilesLines
* Factor IMAP-specific structs out of UI modelsBen Burwell2019-07-081-4/+84
| | | | | | | Before, we were using several IMAP-specific concepts to represent information being displayed in the UI. Factor these structures out of the IMAP package to make it easier for other backends to provide the required information.
* Factor UI models out of the worker message packageBen Burwell2019-07-081-0/+52
Before, the information needed to display different parts of the UI was tightly coupled to the specific messages being sent back and forth to the backend worker. Separating out a models package allows us to be more specific about exactly what a backend is able to and required to provide for the UI.