pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
81 lines (80 loc) • 2.06 kB
TypeScript
import { z } from 'zod';
export declare const loginFormSchema: z.ZodObject<{
username: z.ZodString;
password: z.ZodString;
rememberMe: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
username: string;
password: string;
rememberMe?: boolean | undefined;
}, {
username: string;
password: string;
rememberMe?: boolean | undefined;
}>;
export type LoginFormSchemaType = z.infer<typeof loginFormSchema>;
export declare const signupFormSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
firstName: z.ZodString;
lastName: z.ZodString;
username: z.ZodString;
password: z.ZodString;
confirmPassword: z.ZodString;
emailAddress: z.ZodString;
profile: z.ZodString;
role: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}>, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}>, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}, {
username: string;
password: string;
firstName: string;
lastName: string;
confirmPassword: string;
emailAddress: string;
profile: string;
role?: string | undefined;
}>;
export type SignupFormSchemaType = z.infer<typeof signupFormSchema>;