stash/ui/v2.5/graphql/data/gallery.graphql
WithoutPants a3c34a51aa
Gallery cover url (#5182)
* Add default gallery image
* Add gallery cover URL path
* Use new cover URL in UI
* Hide gallery preview scrubber when gallery has no images
* Don't try to show lightbox for gallery without images
* Ignore unrelated lint issue
2024-09-03 16:31:55 +10:00

66 lines
658 B
GraphQL

fragment GalleryData on Gallery {
id
created_at
updated_at
title
code
date
urls
details
photographer
rating100
organized
paths {
cover
preview
}
files {
...GalleryFileData
}
folder {
...FolderData
}
chapters {
...GalleryChapterData
}
studio {
...SlimStudioData
}
tags {
...SlimTagData
}
performers {
...PerformerData
}
scenes {
...SlimSceneData
}
}
fragment SelectGalleryData on Gallery {
id
title
date
code
studio {
name
}
cover {
paths {
thumbnail
}
}
paths {
preview
}
files {
path
}
folder {
path
}
}