Skip to main content

HomeScreenHero

Hero for display on a home screen.

Returns station-normalized show data.

See: Hero

type HomeScreenHero {
body: String
endAt: DateTime
heroMezzanineAltText: String
heroMobileAltText: String
id: String
image(
profile: String!
): ImageWithProfile
images: [ImageWithProfile]
pinned: Boolean
show: NormalizedShow
startAt: DateTime
targetCohorts: [EndUserCohort]
targetPlatformTypes: [PlatformType]
title: String
weight: Int
}

Fields

HomeScreenHero.body ● String scalar references

HomeScreenHero.endAt ● DateTime scalar references

HomeScreenHero.heroMezzanineAltText ● String scalar references

HomeScreenHero.heroMobileAltText ● String scalar references

HomeScreenHero.id ● String scalar references

HomeScreenHero.image ● ImageWithProfile object references

Single, transformable image from \HomeScreenHero.images\\ for the provided profile name.

HomeScreenHero.image.profile ● String! non-null scalar references

HomeScreenHero.images ● [ImageWithProfile] list object references

Images associated with the hero.

HomeScreenHero.pinned ● Boolean scalar references

Whether this Hero is "pinned" in it's place (based on weight) in the HeroGroup.

HomeScreenHero.show ● NormalizedShow object references

HomeScreenHero.startAt ● DateTime scalar references

HomeScreenHero.targetCohorts ● [EndUserCohort] list enum references

End user cohorts this hero should appear for.

HomeScreenHero.targetPlatformTypes ● [PlatformType] list enum references

Platform types where this hero should appear.

HomeScreenHero.title ● String scalar references

HomeScreenHero.weight ● Int scalar references

Display order (lowest to highest) of this Hero within a HeroGroup.

Member Of

HomeScreenData object