UNPKG

itch-graphql

Version:

GraphQL server/types and resolvers for the itch.io API

24 lines (22 loc) 576 B
const typeDefs = `type Purchase { # Numeric ID of the purchase id: Int! # Was this out of the kindness of their heart? donation: Boolean # Email associated with the purchase email: String # Creation timestamp created_at: String # Service where the payment was processed source: String # The currency used in this purchase currency: String # The amount that the purchase was for price: String # If there was a discount, the amount of the discount sale_rate: Float # The numeric ID of the purchased game game_id: Int } ` export { typeDefs }