better-auth-harmony
Version:
Validation and normalization for better-auth
1 lines • 1.25 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";export{a as allEmail,n as allEmailSignIn,l as changeEmail,c as emailForget,f as emailOtpCreateVerification,g as emailOtpForget,x as emailOtpGetVerification,h as emailOtpReset,M as emailOtpSendVerification,m as emailOtpVerify,s as emailSendVerification,p as emailSignIn,r as emailSignUp,d as magicLinkSignIn};