mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
style: apply prettier across the tree
One-shot prettier pass so the new format:check gate starts from a clean baseline. Formatting only — no behaviour change. Generator-owned and vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -18,12 +18,7 @@ export const INVITE_MAX_USES_CAP = 50;
|
||||
export const inviteCreateSchema = z.object({
|
||||
/** Lifetime in days. The admin UI offers 7 / 14 / 30; the API accepts
|
||||
* any integer 1–30 so an operator can script shorter invites. */
|
||||
expiresInDays: z
|
||||
.number()
|
||||
.int()
|
||||
.min(1)
|
||||
.max(INVITE_MAX_TTL_DAYS)
|
||||
.default(7),
|
||||
expiresInDays: z.number().int().min(1).max(INVITE_MAX_TTL_DAYS).default(7),
|
||||
/** How many signups this invite admits. Default: single-use. */
|
||||
maxUses: z.number().int().min(1).max(INVITE_MAX_USES_CAP).default(1),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user