archetecture security fix
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
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
|
||||
Reference in New Issue
Block a user