Variable postSendGmailSchemaConst
postSendGmailSchema: ZodObject<{
body: ZodObject<{
html: ZodString;
subject: ZodString;
to: ZodString;
}, "strip", ZodTypeAny, {
html: string;
subject: string;
to: string;
}, {
html: string;
subject: string;
to: string;
}>;
params: ZodObject<{
email: ZodString;
}, "strip", ZodTypeAny, {
email: string;
}, {
email: string;
}>;
}, "strip", ZodTypeAny, {
body: { subject: string; html: string; to: string; };
params: { email: string; };
}, {
body: { subject: string; html: string; to: string; };
params: { email: string; };
}> = ...
This schema will validate
POST /mail/gmail/:email
routeAuthor
aayushchugh