fix: filter list toggle (#55)

This commit is contained in:
Ludvig Lundgren 2021-12-27 16:10:15 +01:00 committed by GitHub
parent e1ef47e09a
commit 48155e5f82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 73 additions and 2 deletions

View file

@ -17,6 +17,7 @@ type FilterRepo interface {
ListFilters() ([]Filter, error)
Store(filter Filter) (*Filter, error)
Update(ctx context.Context, filter Filter) (*Filter, error)
ToggleEnabled(ctx context.Context, filterID int, enabled bool) error
Delete(ctx context.Context, filterID int) error
StoreIndexerConnection(ctx context.Context, filterID int, indexerID int) error
StoreIndexerConnections(ctx context.Context, filterID int, indexers []Indexer) error