stash/graphql/documents/mutations/studio.graphql

20 lines
358 B
GraphQL

mutation StudioCreate(
$name: String!,
$url: String,
$image: String!) {
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
}
}