mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 00:43:12 +01:00
* 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
45 lines
1,001 B
GraphQL
45 lines
1,001 B
GraphQL
mutation GalleryCreate($input: GalleryCreateInput!) {
|
|
galleryCreate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleryUpdate($input: GalleryUpdateInput!) {
|
|
galleryUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation BulkGalleryUpdate($input: BulkGalleryUpdateInput!) {
|
|
bulkGalleryUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleriesUpdate($input: [GalleryUpdateInput!]!) {
|
|
galleriesUpdate(input: $input) {
|
|
...GalleryData
|
|
}
|
|
}
|
|
|
|
mutation GalleryDestroy(
|
|
$ids: [ID!]!
|
|
$delete_file: Boolean
|
|
$delete_generated: Boolean
|
|
) {
|
|
galleryDestroy(
|
|
input: {
|
|
ids: $ids
|
|
delete_file: $delete_file
|
|
delete_generated: $delete_generated
|
|
}
|
|
)
|
|
}
|
|
|
|
mutation AddGalleryImages($gallery_id: ID!, $image_ids: [ID!]!) {
|
|
addGalleryImages(input: { gallery_id: $gallery_id, image_ids: $image_ids })
|
|
}
|
|
|
|
mutation RemoveGalleryImages($gallery_id: ID!, $image_ids: [ID!]!) {
|
|
removeGalleryImages(input: { gallery_id: $gallery_id, image_ids: $image_ids })
|
|
}
|