Skip to content

Instantly share code, notes, and snippets.

@xperiandri
Last active December 4, 2020 11:36
Show Gist options
  • Save xperiandri/fa6ecbc8d657b9ab3e8d3287ca798ab1 to your computer and use it in GitHub Desktop.
Save xperiandri/fa6ecbc8d657b9ab3e8d3287ca798ab1 to your computer and use it in GitHub Desktop.
mutation grupo ($id: GrupoID!, $addAdminCommand: AddAdminCommand!, $description: String, $imageURL: GrupoImageURL!, $name: GrupoName!, $removeAdminCommand: RemoveAdminCommand!) {
grupo_addAdmin (id: $id, addAdminCommand: $addAdminCommand)
grupo_delete (id: $id)
grupo_join (id: $id)
grupo_leave (id: $id)
grupo_patch (id: $id) {
description (description: $description)
imageURL (imageURL: $imageURL)
name (name: $name)
}
grupo_removeAdmin (id: $id, removeAdminCommand: $removeAdminCommand)
}
mutation grupo ($id: GrupoID!, $addAdminCommand: AddAdminCommand!, $description: String, $imageURL: GrupoImageURL!, $name: GrupoName!, $removeAdminCommand: RemoveAdminCommand!) {
grupo (id: $id) {
addAdmin (addAdminCommand: $addAdminCommand)
delete
join
leave
patch {
description (description: $description)
imageURL (imageURL: $imageURL)
name (name: $name)
}
removeAdmin (removeAdminCommand: $removeAdminCommand)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment