mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Improve client-side graphql scalar types (#4511)
* Add types to graphql scalars * Upgrade dependencies * Override UI config type * Remove all IUIConfig casts * Add tableColumns to IUIConfig * Add BoolMap type, set strictScalars * Add PluginConfigMap * Replace any with unknown * Add SavedObjectFilter and SavedUIOptions * Remove unused items from CriterionType
This commit is contained in:
45
ui/v2.5/graphql/mutations/scene-marker.graphql
Normal file
45
ui/v2.5/graphql/mutations/scene-marker.graphql
Normal file
@@ -0,0 +1,45 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user