Line data Source code
1 4 : (ns matchscore.domain.tournament-subscription.repository)
2 :
3 :
4 4 : (defprotocol
5 : TournamentSubscriptionRepository
6 : (list-subscriptions
7 : [this user-id])
8 : (upsert-subscription!
9 : [this user-id subscription])
10 : (delete-subscription!
11 : [this user-id id])
12 : (find-tournament-subscription
13 : [this user-id source tournament-key])
14 : (list-tiers
15 : [this source])
16 : (tournament-tier
17 : [this source tournament-key])
18 : (valid-target?
19 : [this source target target-key]))
|