better-auth-harmony
Version:
Validation and normalization for better-auth
1 lines • 1.33 kB
JavaScript
;var t=["/sign-up/email","/email-otp/verify-email","/sign-in/email-otp","/sign-in/magic-link","/sign-in/email","/forget-password/email-otp","/email-otp/reset-password","/email-otp/create-verification-otp","/email-otp/get-verification-otp","/email-otp/send-verification-otp","/forget-password","/send-verification-email","/change-email"],i=new Set(t),o=new Set(t.slice(1,12)),a=({path:e})=>i.has(e),n=({path:e})=>o.has(e),r=({path:e})=>e==="/sign-up/email",p=({path:e})=>e==="/sign-in/email",c=({path:e})=>e==="/forget-password",s=({path:e})=>e==="/send-verification-email",l=({path:e})=>e==="/change-email",m=({path:e})=>e==="/email-otp/verify-email",g=({path:e})=>e==="/forget-password/email-otp",h=({path:e})=>e==="/email-otp/reset-password",f=({path:e})=>e==="/email-otp/create-verification-otp",x=({path:e})=>e==="/email-otp/get-verification-otp",M=({path:e})=>e==="/email-otp/send-verification-otp",d=({path:e})=>e==="/sign-in/magic-link";exports.allEmail=a;exports.allEmailSignIn=n;exports.changeEmail=l;exports.emailForget=c;exports.emailOtpCreateVerification=f;exports.emailOtpForget=g;exports.emailOtpGetVerification=x;exports.emailOtpReset=h;exports.emailOtpSendVerification=M;exports.emailOtpVerify=m;exports.emailSendVerification=s;exports.emailSignIn=p;exports.emailSignUp=r;exports.magicLinkSignIn=d;