2020-10-12 23:12:46 +00:00
|
|
|
mutation GalleryCreate(
|
2020-12-20 11:35:41 +00:00
|
|
|
$input: GalleryCreateInput!) {
|
|
|
|
|
|
|
|
galleryCreate(input: $input) {
|
2020-10-12 23:12:46 +00:00
|
|
|
...GalleryData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation GalleryUpdate(
|
2020-12-04 01:42:56 +00:00
|
|
|
$input: GalleryUpdateInput!) {
|
2020-10-12 23:12:46 +00:00
|
|
|
|
2020-12-04 01:42:56 +00:00
|
|
|
galleryUpdate(input: $input) {
|
2020-10-12 23:12:46 +00:00
|
|
|
...GalleryData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation BulkGalleryUpdate(
|
2020-12-04 01:42:56 +00:00
|
|
|
$input: BulkGalleryUpdateInput!) {
|
2020-10-12 23:12:46 +00:00
|
|
|
|
2020-12-04 01:42:56 +00:00
|
|
|
bulkGalleryUpdate(input: $input) {
|
2020-10-12 23:12:46 +00:00
|
|
|
...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})
|
|
|
|
}
|