You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'improvement/model-interfaces' into develop
Reevaluated the view model interfaces.
- Introduced new `ICoreTopicViewModel` interface with `Key` and `ContentType` (565273f, 527dee4, eef391c)
- Introduced new `INavigableTopicViewModel` interface with `Title`, `ShorTitle`, and `WebPath` (adf7ff8)
- Cross-applied interfaces that satisfied subsets of other interfaces; this includes applying:
- `ICoreTopicViewModel` to `ITopicBindingModel` (3b5dda8)
- `IAssociatedTopicBindingModel` to `ITopicViewModel` (8ad42b9)
- `ITopicBindingModel` to `ITopicViewModel` (ffe775e)
- `INavigableTopicViewModel` to `INavigationTopicViewModel<T>` (adf7ff8)
- `INaviableTopicViewModel` to `IPageTopicViewModel` (c41d989)
- Removed `IsHidden` from `ITopicViewModel`, `TopicViewModel`; hidden models are excluded by the `TopicMappingService`, so this doesn't provide value (68a4e83).
- Marked the `IPageTopicViewModel` as obsolete; narrow applications are expected to use the `InavigableTopicViewModel` instead (745e562).
- Marked core properties (e.g., `Key`, `ContentType`, &c.) as non-nullable and required to reflect the fact that these should always be present (1bf25be, bfa64f1).
- Updated `TopicViewModelCollection` to use the much narrower (new) `ICoreTopicViewModel`, thus reducing the interface requirements of its `TItem` (eef391c).
0 commit comments