feat(profile): leave out hidden public profile sections

This commit is contained in:
lobo committed 2026-09-28 14:20:14 +02:00
1 parent 5c0c0c6a78
commit 07d287cd43
9 files changed
+134 -28

No files matched your search

+3 -1
View File
@@ -63,7 +63,9 @@ To Be Played is split into three repositories:
- **Public profile data**: totals, status counts, games in progress and finished games with rating, perfect games
and average completion. Readable only
with a profile ticket issued by Auth. Never returns notes, priority or the Steam ID. `stats` holds only the stat
groups the user shares (the ticket's `profileStats` claim, set in Auth); none by default.
groups the user shares (the ticket's `profileStats` claim, set in Auth); none by default. A section the user
hides (the ticket's `sections` claim: `SUMMARY`, `STATUS`, `PLAYING`, `FINISHED`, `STATS`) is null and runs no
query; a ticket without the claim shows all.
## Authentication