In order to be able to navigate from swimlanes to micropages in Play apps, a new link object was introduced in SectionInfo under representation.properties. It contains the targetType (currently, either DETAIL_PAGE or MICRO_PAGE) along with an optional target (if it's a micro page it would be its uid).
This PR parses this new object to expose it to Play apps in order to achieve the needed navigation.
Changes Made
Add new SRGContentLink field in SRGContentRepresentation parsed as an enum.
Checklist
[x] I have followed the project's style guidelines.
[x] I have performed a self-review of my own changes.
[x] I have made corresponding changes to the documentation.
[x] My changes do not generate new warnings.
[~] I have added tests that prove my fix is effective or that my feature works.
Description
In order to be able to navigate from swimlanes to micropages in Play apps, a new
link
object was introduced inSectionInfo
underrepresentation.properties
. It contains thetargetType
(currently, eitherDETAIL_PAGE
orMICRO_PAGE
) along with an optionaltarget
(if it's a micro page it would be its uid).This PR parses this new object to expose it to Play apps in order to achieve the needed navigation.
Changes Made
SRGContentLink
field inSRGContentRepresentation
parsed as an enum.Checklist