signupSchema: ZodObject<{
    body: ZodEffects<ZodObject<{
        acceptedTermsAndConditions: ZodEffects<ZodBoolean, boolean, boolean>;
        cpassword: ZodString;
        email: ZodString;
        password: ZodString;
        receiveMarketingEmails: ZodBoolean;
        username: ZodString;
    }, "strip", ZodTypeAny, {
        acceptedTermsAndConditions: boolean;
        cpassword: string;
        email: string;
        password: string;
        receiveMarketingEmails: boolean;
        username: string;
    }, {
        acceptedTermsAndConditions: boolean;
        cpassword: string;
        email: string;
        password: string;
        receiveMarketingEmails: boolean;
        username: string;
    }>, {
        acceptedTermsAndConditions: boolean;
        cpassword: string;
        email: string;
        password: string;
        receiveMarketingEmails: boolean;
        username: string;
    }, {
        acceptedTermsAndConditions: boolean;
        cpassword: string;
        email: string;
        password: string;
        receiveMarketingEmails: boolean;
        username: string;
    }>;
}, "strip", ZodTypeAny, {
    body: { password: string; email: string; username: string; receiveMarketingEmails: boolean; acceptedTermsAndConditions: boolean; cpassword: string; };
}, {
    body: { password: string; email: string; username: string; receiveMarketingEmails: boolean; acceptedTermsAndConditions: boolean; cpassword: string; };
}> = ...

This is schema to validate /auth/signup request

Constant

Author

aayushchugh

Generated using TypeDoc