Include image total O-Count on stats page (#4386)

This commit is contained in:
DingDongSoLong4
2023-12-21 07:19:41 +02:00
committed by GitHub
parent e304d981d0
commit d0d0d1e11f
4 changed files with 116 additions and 19 deletions

View File

@@ -31,6 +31,7 @@ type ImageCounter interface {
Count(ctx context.Context) (int, error)
CountByFileID(ctx context.Context, fileID FileID) (int, error)
CountByGalleryID(ctx context.Context, galleryID int) (int, error)
OCount(ctx context.Context) (int, error)
OCountByPerformerID(ctx context.Context, performerID int) (int, error)
}