Header shows the user's package and what is left of it
CI / test (push) Successful in 51s
CI / build (push) Successful in 4m0s
CI / deploy (push) Skipped

- /v1/me: `package` = the running unlimited package, or the latest main
  package bought or given (top-ups do not count; an ended unlimited not)
- header badge: "Család · 11 elemzés", "Korlátlan · 2027. november 17-ig",
  "Páros · elfogyott"; links to the packages page, details in the tooltip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-17 19:24:52 +00:00
co-authored by Claude Opus 5.5
parent 21640ffd9e
commit 742b88183b
6 changed files with 77 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ export interface Me {
persons: PersonSlots;
/** The unlimited package runs until then (null: none). */
unlimited_until: string | null;
/** The running unlimited package, or the latest main package bought or given (null: none). */
package: { id: string; name: string; since: string } | null;
}
/** A package from the catalog (`GET /v1/packages`). */