import { z } from "zod"; import { NotificationEventType } from "@shared/types"; export const UsersNotificationsSubscribeSchema = z.object({ body: z.object({ eventType: z.nativeEnum(NotificationEventType), }), }); export type UsersNotificationsSubscribeReq = z.infer< typeof UsersNotificationsSubscribeSchema >; export const UsersNotificationsUnsubscribeSchema = z.object({ body: z.object({ eventType: z.nativeEnum(NotificationEventType), }), }); export type UsersNotificationsUnsubscribeReq = z.infer< typeof UsersNotificationsUnsubscribeSchema >;