-
-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul graphql client cache invalidation (#3912)
* Update apollo client * Overhaul graphql client cache invalidation * Fix tagger studio link display update * Add graphql formatting
- Loading branch information
1 parent
a1da626
commit 7b77b89
Showing
64 changed files
with
2,977 additions
and
1,882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ fragment SavedFilterData on SavedFilter { | |
mode | ||
name | ||
filter | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ fragment SlimGalleryData on Gallery { | |
files { | ||
...ImageFileData | ||
} | ||
|
||
paths { | ||
thumbnail | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ fragment ImageData on Image { | |
studio { | ||
...SlimStudioData | ||
} | ||
|
||
tags { | ||
...SlimTagData | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ fragment JobData on Job { | |
startTime | ||
endTime | ||
addTime | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ fragment MovieData on Movie { | |
studio { | ||
...SlimStudioData | ||
} | ||
|
||
synopsis | ||
url | ||
front_image_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ fragment SceneData on Scene { | |
studio { | ||
...SlimStudioData | ||
} | ||
|
||
movies { | ||
movie { | ||
...MovieData | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mutation DeleteFiles($ids: [ID!]!) { | ||
deleteFiles(ids: $ids) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,45 @@ | ||
mutation GalleryCreate( | ||
$input: GalleryCreateInput!) { | ||
|
||
mutation GalleryCreate($input: GalleryCreateInput!) { | ||
galleryCreate(input: $input) { | ||
...GalleryData | ||
...GalleryData | ||
} | ||
} | ||
|
||
mutation GalleryUpdate( | ||
$input: GalleryUpdateInput!) { | ||
|
||
mutation GalleryUpdate($input: GalleryUpdateInput!) { | ||
galleryUpdate(input: $input) { | ||
...GalleryData | ||
...GalleryData | ||
} | ||
} | ||
|
||
mutation BulkGalleryUpdate( | ||
$input: BulkGalleryUpdateInput!) { | ||
|
||
mutation BulkGalleryUpdate($input: BulkGalleryUpdateInput!) { | ||
bulkGalleryUpdate(input: $input) { | ||
...GalleryData | ||
...GalleryData | ||
} | ||
} | ||
|
||
mutation GalleriesUpdate($input : [GalleryUpdateInput!]!) { | ||
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 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}) | ||
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}) | ||
removeGalleryImages(input: { gallery_id: $gallery_id, image_ids: $image_ids }) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ mutation StopJob($job_id: ID!) { | |
} | ||
|
||
mutation StopAllJobs { | ||
stopAllJobs | ||
} | ||
stopAllJobs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +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 | ||
}) { | ||
$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 | ||
}) { | ||
$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) | ||
} | ||
} |
Oops, something went wrong.