mirror of
https://github.com/stashapp/stash.git
synced 2025-12-10 02:15:30 +01:00
* Update apollo client * Overhaul graphql client cache invalidation * Fix tagger studio link display update * Add graphql formatting
45 lines
777 B
GraphQL
45 lines
777 B
GraphQL
mutation SceneMarkerCreate(
|
|
$title: String!
|
|
$seconds: Float!
|
|
$scene_id: ID!
|
|
$primary_tag_id: ID!
|
|
$tag_ids: [ID!] = []
|
|
) {
|
|
sceneMarkerCreate(
|
|
input: {
|
|
title: $title
|
|
seconds: $seconds
|
|
scene_id: $scene_id
|
|
primary_tag_id: $primary_tag_id
|
|
tag_ids: $tag_ids
|
|
}
|
|
) {
|
|
...SceneMarkerData
|
|
}
|
|
}
|
|
|
|
mutation SceneMarkerUpdate(
|
|
$id: ID!
|
|
$title: String!
|
|
$seconds: Float!
|
|
$scene_id: ID!
|
|
$primary_tag_id: ID!
|
|
$tag_ids: [ID!] = []
|
|
) {
|
|
sceneMarkerUpdate(
|
|
input: {
|
|
id: $id
|
|
title: $title
|
|
seconds: $seconds
|
|
scene_id: $scene_id
|
|
primary_tag_id: $primary_tag_id
|
|
tag_ids: $tag_ids
|
|
}
|
|
) {
|
|
...SceneMarkerData
|
|
}
|
|
}
|
|
|
|
mutation SceneMarkerDestroy($id: ID!) {
|
|
sceneMarkerDestroy(id: $id)
|
|
}
|