mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-14 00:28:42 +00:00

* fix: improve scheduling * build pre-release * fix: locker * fix: user handler and print stack in case of panic in reducer * chore: remove sentry * fix: improve handler projection and implement tests * more tests * fix: race condition in tests * Update internal/eventstore/repository/sql/query.go Co-authored-by: Silvan <silvan.reusser@gmail.com> * fix: implemented suggested changes * fix: lock statement Co-authored-by: Silvan <silvan.reusser@gmail.com>
19 lines
662 B
Go
19 lines
662 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zitadel/zitadel/internal/eventstore/v1/models"
|
|
)
|
|
|
|
type Repository interface {
|
|
Health(ctx context.Context) error
|
|
|
|
// Filter returns all events matching the given search query
|
|
Filter(ctx context.Context, searchQuery *models.SearchQueryFactory) (events []*models.Event, err error)
|
|
//LatestSequence returns the latest sequence found by the search query
|
|
LatestSequence(ctx context.Context, queryFactory *models.SearchQueryFactory) (uint64, error)
|
|
//InstanceIDs returns the instance ids found by the search query
|
|
InstanceIDs(ctx context.Context, queryFactory *models.SearchQueryFactory) ([]string, error)
|
|
}
|