feat: add filtering options for notifications by 'unread' and 'errors', enhancing user experience in the notifications list

This commit is contained in:
Anish Sarkar 2026-03-06 18:32:28 +05:30
parent 1aa2c8a334
commit bd783cc2d0
5 changed files with 84 additions and 17 deletions

View file

@ -205,6 +205,7 @@ export const getNotificationsRequest = z.object({
search_space_id: z.number().optional(),
type: inboxItemTypeEnum.optional(),
source_type: z.string().optional(),
filter: z.enum(["unread", "errors"]).optional(),
before_date: z.string().optional(),
search: z.string().optional(),
limit: z.number().min(1).max(100).optional(),