mirror of
https://github.com/stashapp/stash.git
synced 2025-12-11 10:54:14 +01:00
* Refactor getMultiCriterionClause Co-authored-by: Anon247 <61889302+Anon247@users.noreply.github.com>
26 lines
No EOL
511 B
GraphQL
26 lines
No EOL
511 B
GraphQL
mutation StudioCreate(
|
|
$name: String!,
|
|
$url: String,
|
|
$image: String
|
|
$parent_id: ID) {
|
|
|
|
studioCreate(input: { name: $name, url: $url, image: $image, parent_id: $parent_id }) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioUpdate(
|
|
$id: ID!
|
|
$name: String,
|
|
$url: String,
|
|
$image: String
|
|
$parent_id: ID) {
|
|
|
|
studioUpdate(input: { id: $id, name: $name, url: $url, image: $image, parent_id: $parent_id }) {
|
|
...StudioData
|
|
}
|
|
}
|
|
|
|
mutation StudioDestroy($id: ID!) {
|
|
studioDestroy(input: { id: $id })
|
|
} |