mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add Details, Studio Code, and Photographer to Images (#4217)
* Add Details, Code, and Photographer to Images * Add date and details to image card --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
fragment SlimImageData on Image {
|
||||
id
|
||||
title
|
||||
code
|
||||
date
|
||||
urls
|
||||
details
|
||||
photographer
|
||||
rating100
|
||||
organized
|
||||
o_counter
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
fragment ImageData on Image {
|
||||
id
|
||||
title
|
||||
code
|
||||
rating100
|
||||
date
|
||||
urls
|
||||
details
|
||||
photographer
|
||||
organized
|
||||
o_counter
|
||||
created_at
|
||||
|
||||
@@ -443,6 +443,7 @@ input ImageFilterType {
|
||||
NOT: ImageFilterType
|
||||
|
||||
title: StringCriterionInput
|
||||
details: StringCriterionInput
|
||||
|
||||
" Filter by image id"
|
||||
id: IntCriterionInput
|
||||
@@ -486,6 +487,10 @@ input ImageFilterType {
|
||||
created_at: TimestampCriterionInput
|
||||
"Filter by last update time"
|
||||
updated_at: TimestampCriterionInput
|
||||
"Filter by studio code"
|
||||
code: StringCriterionInput
|
||||
"Filter by photographer"
|
||||
photographer: StringCriterionInput
|
||||
}
|
||||
|
||||
enum CriterionModifier {
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
type Image {
|
||||
id: ID!
|
||||
title: String
|
||||
code: String
|
||||
# rating expressed as 1-100
|
||||
rating100: Int
|
||||
url: String @deprecated(reason: "Use urls")
|
||||
urls: [String!]!
|
||||
date: String
|
||||
details: String
|
||||
photographer: String
|
||||
o_counter: Int
|
||||
organized: Boolean!
|
||||
created_at: Time!
|
||||
@@ -37,12 +40,15 @@ input ImageUpdateInput {
|
||||
clientMutationId: String
|
||||
id: ID!
|
||||
title: String
|
||||
code: String
|
||||
# rating expressed as 1-100
|
||||
rating100: Int
|
||||
organized: Boolean
|
||||
url: String @deprecated(reason: "Use urls")
|
||||
urls: [String!]
|
||||
date: String
|
||||
details: String
|
||||
photographer: String
|
||||
|
||||
studio_id: ID
|
||||
performer_ids: [ID!]
|
||||
@@ -56,12 +62,15 @@ input BulkImageUpdateInput {
|
||||
clientMutationId: String
|
||||
ids: [ID!]
|
||||
title: String
|
||||
code: String
|
||||
# rating expressed as 1-100
|
||||
rating100: Int
|
||||
organized: Boolean
|
||||
url: String @deprecated(reason: "Use urls")
|
||||
urls: BulkUpdateStrings
|
||||
date: String
|
||||
details: String
|
||||
photographer: String
|
||||
|
||||
studio_id: ID
|
||||
performer_ids: BulkUpdateIds
|
||||
|
||||
Reference in New Issue
Block a user