mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix performer validation (#4248)
* Fix performer validation * Add tests * Rename QueryCount argument * Minor refactoring * Add duplicate alias validation * Make UI alias validation also case-insensitive
This commit is contained in:
@@ -23,7 +23,7 @@ type PerformerFinder interface {
|
||||
// PerformerQueryer provides methods to query performers.
|
||||
type PerformerQueryer interface {
|
||||
Query(ctx context.Context, performerFilter *PerformerFilterType, findFilter *FindFilterType) ([]*Performer, int, error)
|
||||
QueryCount(ctx context.Context, galleryFilter *PerformerFilterType, findFilter *FindFilterType) (int, error)
|
||||
QueryCount(ctx context.Context, performerFilter *PerformerFilterType, findFilter *FindFilterType) (int, error)
|
||||
}
|
||||
|
||||
type PerformerAutoTagQueryer interface {
|
||||
|
||||
Reference in New Issue
Block a user