Overview of Coalesce ViewModels
Coalesce generates TypeScript ViewModels in viewmodels.g.ts that provide stateful wrappers around CRUD Models and Services. They handle common UI concerns such as loading, saving, validation, and auto-save functionality. They serve as the primary interface between Vue components and backend APIs, featuring automatic dirty tracking on property changes and API callers with loading/error states.
Generated types include:
<TypeName>ViewModelfor each CRUD Model.ListViewModelfor each CRUD Model.ServiceViewModelfor each Service.