refactor: agentic comment cleanup
This commit is contained in:
@@ -34,11 +34,10 @@ const (
|
||||
)
|
||||
|
||||
type Service interface {
|
||||
// returns AlreadyInWaitlistError if already in the waitlist
|
||||
// any other error is a failure
|
||||
// AddToWaitlist returns AlreadyInWaitlistError if the email is already present.
|
||||
AddToWaitlist(ctx context.Context, email string, metadata map[string]string) error
|
||||
GetWaitlist(ctx context.Context, filter GetWaitlistFilter) ([]*WaitlistEntry, error)
|
||||
// returns error if not found
|
||||
// GetWaitlistEntryByEmail returns EntryNotFoundError if missing.
|
||||
GetWaitlistEntryByEmail(ctx context.Context, email string) (*WaitlistEntry, error)
|
||||
MarkWaitlistEntryInvited(ctx context.Context, email string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user