mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Support for assigning any image from a gallery as the cover (#5053)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -83,6 +83,8 @@ type GalleryWriter interface {
|
||||
AddFileID(ctx context.Context, id int, fileID FileID) error
|
||||
AddImages(ctx context.Context, galleryID int, imageIDs ...int) error
|
||||
RemoveImages(ctx context.Context, galleryID int, imageIDs ...int) error
|
||||
SetCover(ctx context.Context, galleryID int, coverImageID int) error
|
||||
ResetCover(ctx context.Context, galleryID int) error
|
||||
}
|
||||
|
||||
// GalleryReaderWriter provides all gallery methods.
|
||||
|
||||
Reference in New Issue
Block a user