Skip to content

Instantly share code, notes, and snippets.

@davidrhyswhite
Created October 18, 2018 10:04
Show Gist options
  • Save davidrhyswhite/6ec704abdef50056c9c03c9d321dd3d1 to your computer and use it in GitHub Desktop.
Save davidrhyswhite/6ec704abdef50056c9c03c9d321dd3d1 to your computer and use it in GitHub Desktop.
interface Node {
id: ID!
title: String!
}
interface Navigatable {
slug: ID!
sectionNavigation: String!
}
interface Playable {
cast(limit: Int): [String!]!
directors: [String!]!
duration(unit:TimeUnitEnum): Int!
closedCaptions: Boolean!
editorialWarningText: String!
producers: [String!]!
programmeUuid: String!
providerId: String!
runtime: String!
year: Int!
}
interface MediaAsset {
classification: [String]!
genres: [Genre]!
images(types: [AssetImageEnum!]): [AssetImage]!
certificate: String!
synopsis(type: SynopsisTypeEnum): String!
}
type Channel {
name: String!
logo: ChannelLogoImage!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment