Created
December 6, 2016 19:00
-
-
Save rricard/f879a6bf02117092245f1c248227547a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file was automatically generated and should not be edited. | |
// The episodes in the Star Wars trilogy | |
export type Episode = | |
"NEWHOPE" | // Star Wars Episode IV: A New Hope, released in 1977. | |
"EMPIRE" | // Star Wars Episode V: The Empire Strikes Back, released in 1980. | |
"JEDI"; // Star Wars Episode VI: Return of the Jedi, released in 1983. | |
export interface HeroNameQueryVariables { | |
episode: Episode | null; | |
} | |
export interface HeroNameQuery { | |
hero: DescribeHeroFragment; | |
} | |
export interface DescribeHeroFragment { | |
name: string; | |
appearsIn: Array< Episode | null >; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment