Add Memby account management

This commit is contained in:
ponzischeme89
2026-08-03 10:16:44 +12:00
parent 666da9c5d3
commit 2675e6d82b
7 changed files with 467 additions and 5 deletions
+6
View File
@@ -161,6 +161,12 @@ func (s *Store) SetRecommendationOnboarding(
return err
}
func (s *Store) ClearRecommendationOnboarding(ctx context.Context, userID string) error {
_, err := s.pool.Exec(ctx, `
DELETE FROM recommendation_onboarding WHERE emby_user_id = $1`, userID)
return err
}
// UserItemExposures is deliberately item-scoped. A row impression with no item id is
// useful for row ordering but cannot be used to claim a particular poster was ignored.
func (s *Store) UserItemExposures(