Skip to main content

Hero

Content for top level display on platforms.

type Hero {
body: String!
createdAt: DateTime!
deleted: Boolean
endAt: DateTime
heroGroup: HeroGroup!
heroGroupId: String!
heroMezzanineAltText: String
heroMobileAltText: String
id: String!
images: [JSON]!
normalizedShow(
country: CountryCode
stationId: UUID
): NormalizedShow
pinned: Boolean
show: Show!
showId: String!
startAt: DateTime
targetCohorts: [EndUserCohort]!
targetPlatformTypes: [PlatformType]!
title: String!
updatedAt: DateTime!
weight: Int!
}

Fields

Hero.body ● String! non-null scalar references

Hero.createdAt ● DateTime! non-null scalar references

Hero.deleted ● Boolean scalar references

Hero.endAt ● DateTime scalar references

Hero.heroGroup ● HeroGroup! non-null object references

Hero.heroGroupId ● String! non-null scalar references

Hero.heroMezzanineAltText ● String scalar references

Hero.heroMobileAltText ● String scalar references

Hero.id ● String! non-null scalar references

Hero.images ● [JSON]! non-null scalar references

Hero.normalizedShow ● NormalizedShow object references

Hero.normalizedShow.country ● CountryCode scalar references
Hero.normalizedShow.stationId ● UUID scalar references

Hero.pinned ● Boolean scalar references

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

Hero.show ● Show! non-null object references

Hero.showId ● String! non-null scalar references

Hero.startAt ● DateTime scalar references

Hero.targetCohorts ● [EndUserCohort]! non-null enum references

End use cohorts this hero should appear for.

Hero.targetPlatformTypes ● [PlatformType]! non-null enum references

Platform types where this hero should appear.

Hero.title ● String! non-null scalar references

Hero.updatedAt ● DateTime! non-null scalar references

Hero.weight ● Int! non-null scalar references

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

Returned By

createHero mutation ● deleteHero mutation ● hero query ● heroes query ● updateHero mutation

Member Of

HeroGroup object ● Show object