skillbox/client/src/graphql/gql/mutations/addRoom.gql

23 lines
357 B
GraphQL

#import "../fragments/roomParts.gql"
mutation AddRoom($input: AddRoomInput!){
addRoom(input: $input) {
room {
...RoomParts
},
errors
}
}
#{
#"input": {
# "room":
# {
# "title": "Hallo",
# "appearance": "red",
# "description": "Velo",
# "userGroup": "VXNlckdyb3VwTm9kZToy",
# "id": "Um9vbU5vZGU6MTc="
# }
# }
#}