mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 01:02:39 +02:00
feat: add filtering options for notifications by 'unread' and 'errors', enhancing user experience in the notifications list
This commit is contained in:
parent
1aa2c8a334
commit
bd783cc2d0
5 changed files with 84 additions and 17 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue