Add studio performer count (#3362)

* Add studio performer count

* Add mocks
This commit is contained in:
DingDongSoLong4
2023-01-29 02:12:47 +02:00
committed by GitHub
parent c52d8c9314
commit 32e8496314
11 changed files with 132 additions and 5 deletions

View File

@@ -160,6 +160,7 @@ type PerformerReader interface {
// support the query needed
QueryForAutoTag(ctx context.Context, words []string) ([]*Performer, error)
Query(ctx context.Context, performerFilter *PerformerFilterType, findFilter *FindFilterType) ([]*Performer, int, error)
QueryCount(ctx context.Context, galleryFilter *PerformerFilterType, findFilter *FindFilterType) (int, error)
AliasLoader
GetImage(ctx context.Context, performerID int) ([]byte, error)
StashIDLoader