native-ified the notifications domain
This commit is contained in:
@@ -39,6 +39,19 @@ export type NotificationFilters = v.InferOutput<
|
||||
typeof notificationFiltersSchema
|
||||
>;
|
||||
|
||||
export type NotificationsQueryInput = {
|
||||
isRead?: boolean;
|
||||
isArchived?: boolean;
|
||||
type?: string;
|
||||
category?: string;
|
||||
priority?: string;
|
||||
search?: string;
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
sortBy?: string;
|
||||
sortOrder?: string;
|
||||
};
|
||||
|
||||
// Pagination options schema
|
||||
export const paginationOptionsSchema = v.object({
|
||||
page: v.pipe(v.number(), v.integer()),
|
||||
|
||||
Reference in New Issue
Block a user