mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
* 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
66 lines
658 B
GraphQL
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
|
|
}
|
|
}
|