From 9237991fa79f9b90a3f14f8b3c42dab25d029f05 Mon Sep 17 00:00:00 2001 From: RanXom Date: Fri, 17 Jul 2026 16:42:21 +0530 Subject: feat(gallery): introduce gallery query --- internal/service/service.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/service/service.go') diff --git a/internal/service/service.go b/internal/service/service.go index 0b9b253..9eec0b8 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -12,7 +12,10 @@ type GalleryService interface { Reload(ctx context.Context) error // Gallery returns the currently loaded gallery. - Gallery(ctx context.Context) ([]gallery.Photo, error) + Gallery( + ctx context.Context, + query gallery.Query, + ) ([]gallery.Photo, error) // Photo returns a single photo by its ID. Photo(ctx context.Context, id string) (gallery.Photo, error) -- cgit v1.2.3