2019-03-23 14:56:59 +00:00
|
|
|
mutation StudioCreate(
|
|
|
|
$name: String!,
|
|
|
|
$url: String,
|
2019-08-21 05:48:36 +00:00
|
|
|
$image: String) {
|
2019-03-23 14:56:59 +00:00
|
|
|
|
|
|
|
studioCreate(input: { name: $name, url: $url, image: $image }) {
|
|
|
|
...StudioData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation StudioUpdate(
|
|
|
|
$id: ID!
|
|
|
|
$name: String,
|
|
|
|
$url: String,
|
|
|
|
$image: String) {
|
|
|
|
|
|
|
|
studioUpdate(input: { id: $id, name: $name, url: $url, image: $image }) {
|
|
|
|
...StudioData
|
|
|
|
}
|
2019-08-14 21:40:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation StudioDestroy($id: ID!) {
|
|
|
|
studioDestroy(input: { id: $id })
|
2019-03-23 14:56:59 +00:00
|
|
|
}
|