Skip to content

Instantly share code, notes, and snippets.

@chollier
Created September 25, 2017 18:31
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 chollier/3d26e3f91710242dcb873737f52310c4 to your computer and use it in GitHub Desktop.
Save chollier/3d26e3f91710242dcb873737f52310c4 to your computer and use it in GitHub Desktop.
type Avatar {
# The original avatar URL
originalUrl: String @fake(type:avatarUrl, options: { imageCategory: people })
# The thumbnail resized to 64x64px
- thumbnail64Url: String @fake(type:imageUrl, options: { imageWidth: 64, imageHeight: 64, randomizeImageUrl: true })
+ thumbnail64Url: String @examples(values: ["http://example.com/image.jpg", "http://example.com/image2.jpg"])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment