fix(api): bound storage listings, ranges and search paging (#2344)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-02 17:23:12 +02:00
1 parent e86e24a2db
commit c79c0ee138
8 files changed
+479 -130

No files matched your search

@@ -217,9 +217,9 @@ export const MessageSearchRequest = z.object({
.number()
.int()
.min(1)
.max(Number.MAX_SAFE_INTEGER)
.max(400)
.default(1)
.describe('Page number for pagination (ignored when cursor is provided)'),
.describe('Page number for pagination (ignored when cursor is provided). Use cursor to page beyond this.'),
cursor: z
.array(z.string())
.optional()