Skip to content

Instantly share code, notes, and snippets.

@rricard
Created December 6, 2016 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rricard/f879a6bf02117092245f1c248227547a to your computer and use it in GitHub Desktop.
Save rricard/f879a6bf02117092245f1c248227547a to your computer and use it in GitHub Desktop.
// 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