@faivform/builtin
Version:
Built-in forms using @tuentyfaiv/svelte-form
31 lines (30 loc) • 800 B
TypeScript
export declare const loginSchema: import("yup").ObjectSchema<{
email: string;
password: string;
remember: boolean | undefined;
}, import("yup").AnyObject, {
email: undefined;
password: undefined;
remember: undefined;
}, "">;
export declare const registerSchema: import("yup").ObjectSchema<{
email: string;
password: string;
confirmPassword: string;
firstName: string;
lastName: string;
country: string;
phone: string;
phoneCode: string;
terms: NonNullable<boolean | undefined>;
}, import("yup").AnyObject, {
email: undefined;
password: undefined;
confirmPassword: undefined;
firstName: undefined;
lastName: undefined;
country: undefined;
phone: undefined;
phoneCode: undefined;
terms: undefined;
}, "">;