native-ified the notifications domain

This commit is contained in:
user
2026-03-01 04:06:54 +02:00
parent cf7fa2663c
commit 6b3ecc3aad
6 changed files with 342 additions and 430 deletions

View File

@@ -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()),