add basis for multiple reps

This commit is contained in:
Miloš Jovanović 2026-09-10 11:52:32 +02:00
parent 64ae38e11c
commit d666849759
2 changed files with 34 additions and 0 deletions

View file

@ -35,6 +35,8 @@ type Store interface {
UpsertPeople(users []User, eligible map[string]bool) error
LastSync() (int64, error)
SetLastSync(ts int64) error
RepsFor(chapterID int64, dept string) ([]int64, error)
EligibleMembers(chapterID int64, dept string) ([]int64, error)
}
// ErrLocked is returned by AcquireLock when a run is already in flight