mirror of
https://github.com/stashapp/stash.git
synced 2025-12-13 03:44:10 +01:00
* Refactor performer relationships * Remove checksum from performer * Add disambiguation, overhaul aliases * Add disambiguation filter criterion * Improve name matching during import * Add disambiguation filtering in UI * Include aliases in performer select
13 lines
421 B
Go
13 lines
421 B
Go
package performer
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/stashapp/stash/pkg/models"
|
|
)
|
|
|
|
type NameFinderCreator interface {
|
|
FindByNames(ctx context.Context, names []string, nocase bool) ([]*models.Performer, error)
|
|
Query(ctx context.Context, performerFilter *models.PerformerFilterType, findFilter *models.FindFilterType) ([]*models.Performer, int, error)
|
|
Create(ctx context.Context, newPerformer *models.Performer) error
|
|
}
|