Files
alrahma_sunday_school_api/apps/api/dist/modules/notifications/notification.schemas.d.ts
T
2026-06-11 03:22:12 -04:00

55 lines
1.5 KiB
TypeScript

import { z } from 'zod';
export declare const preferenceItemSchema: z.ZodObject<{
notificationType: z.ZodString;
channel: z.ZodString;
enabled: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
channel: string;
notificationType: string;
enabled: boolean;
}, {
channel: string;
notificationType: string;
enabled: boolean;
}>;
export declare const preferencesSchema: z.ZodArray<z.ZodObject<{
notificationType: z.ZodString;
channel: z.ZodString;
enabled: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
channel: string;
notificationType: string;
enabled: boolean;
}, {
channel: string;
notificationType: string;
enabled: boolean;
}>, "many">;
export declare const idParamSchema: z.ZodObject<{
id: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
}, {
id: string;
}>;
export declare const unreadQuerySchema: z.ZodObject<{
unread: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
unread?: string | undefined;
}, {
unread?: string | undefined;
}>;
export declare const historyQuerySchema: z.ZodObject<{
channel: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<z.ZodString>;
limit: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
status?: string | undefined;
limit?: number | undefined;
channel?: string | undefined;
}, {
status?: string | undefined;
limit?: number | undefined;
channel?: string | undefined;
}>;
//# sourceMappingURL=notification.schemas.d.ts.map