coffee-relay
Version:
Handle Relay.QL fragments in CoffeeScript.
18 lines (16 loc) • 362 B
text/coffeescript
Relay = require('react-relay')
class CheckHidingSpotForTreasureMutation extends Relay.Mutation
@fragments:
game: ->
Relay.QL`
fragment on Game {
id,
turnsRemaining,
}
`
hidingSpot: -> Relay.QL`
fragment on HidingSpot {
id,
}
`
module.exports = CheckHidingSpotForTreasureMutation