Gallery URLs (#4114)

* Initial backend changes
* Fix unit tests
* UI changes
* Fix missing URL filters
This commit is contained in:
WithoutPants
2023-09-25 12:27:20 +10:00
committed by GitHub
parent a369e395e7
commit 9577600804
29 changed files with 361 additions and 117 deletions

View File

@@ -2,7 +2,7 @@ fragment SlimGalleryData on Gallery {
id
title
date
url
urls
details
rating100
organized

View File

@@ -4,7 +4,7 @@ fragment GalleryData on Gallery {
updated_at
title
date
url
urls
details
rating100
organized

View File

@@ -185,7 +185,7 @@ fragment ScrapedSceneData on ScrapedScene {
fragment ScrapedGalleryData on ScrapedGallery {
title
details
url
urls
date
studio {

View File

@@ -4,7 +4,8 @@ type Gallery {
checksum: String! @deprecated(reason: "Use files.fingerprints")
path: String @deprecated(reason: "Use files.path")
title: String
url: String
url: String @deprecated(reason: "Use urls")
urls: [String!]!
date: String
details: String
# rating expressed as 1-5
@@ -33,7 +34,8 @@ type Gallery {
input GalleryCreateInput {
title: String!
url: String
url: String @deprecated(reason: "Use urls")
urls: [String!]
date: String
details: String
# rating expressed as 1-5
@@ -51,7 +53,8 @@ input GalleryUpdateInput {
clientMutationId: String
id: ID!
title: String
url: String
url: String @deprecated(reason: "Use urls")
urls: [String!]
date: String
details: String
# rating expressed as 1-5
@@ -70,7 +73,8 @@ input GalleryUpdateInput {
input BulkGalleryUpdateInput {
clientMutationId: String
ids: [ID!]
url: String
url: String @deprecated(reason: "Use urls")
urls: BulkUpdateStrings
date: String
details: String
# rating expressed as 1-5

View File

@@ -100,7 +100,8 @@ input ScrapedSceneInput {
type ScrapedGallery {
title: String
details: String
url: String
url: String @deprecated(reason: "use urls")
urls: [String!]
date: String
studio: ScrapedStudio
@@ -111,7 +112,8 @@ type ScrapedGallery {
input ScrapedGalleryInput {
title: String
details: String
url: String
url: String @deprecated(reason: "use urls")
urls: [String!]
date: String
# no studio, tags or performers