mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Gallery URLs (#4114)
* Initial backend changes * Fix unit tests * UI changes * Fix missing URL filters
This commit is contained in:
@@ -2,7 +2,7 @@ fragment SlimGalleryData on Gallery {
|
||||
id
|
||||
title
|
||||
date
|
||||
url
|
||||
urls
|
||||
details
|
||||
rating100
|
||||
organized
|
||||
|
||||
@@ -4,7 +4,7 @@ fragment GalleryData on Gallery {
|
||||
updated_at
|
||||
title
|
||||
date
|
||||
url
|
||||
urls
|
||||
details
|
||||
rating100
|
||||
organized
|
||||
|
||||
@@ -185,7 +185,7 @@ fragment ScrapedSceneData on ScrapedScene {
|
||||
fragment ScrapedGalleryData on ScrapedGallery {
|
||||
title
|
||||
details
|
||||
url
|
||||
urls
|
||||
date
|
||||
|
||||
studio {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user