mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
merge: QA fix physical-signals into release/v1.25.0
This commit is contained in:
commit
a1df33352a
25 files changed
+726
-62
No files matched your search
@@ -87,7 +87,11 @@ const layoutSchema = z.object({
|
||||
}),
|
||||
)
|
||||
.min(1)
|
||||
.max(50)
|
||||
// Cap at the accepted-id universe (canonical slugs + legacy aliases) so a
|
||||
// single PUT can cover every tile the layout knows about — the cap grows
|
||||
// automatically as new sub-page slugs land, rather than tripping a 422
|
||||
// once the slug count crosses a hard-coded ceiling.
|
||||
.max(ACCEPTED_INSIGHTS_TILE_IDS.length)
|
||||
.optional(),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user