UNPKG

mt-flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

65 lines (64 loc) 1.66 kB
import * as z from "zod"; export declare const userNameSchema: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; export declare const userUpdateNameSchema: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; export declare const userNotificationsSchema: z.ZodObject<{ newSubmission: z.ZodBoolean; submissionAccepted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { newSubmission: boolean; submissionAccepted: boolean; }, { newSubmission: boolean; submissionAccepted: boolean; }>; export declare const createUserSchema: z.ZodObject<{ name: z.ZodString; email: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; name: string; }, { email: string; name: string; }>; export type ICreateUser = z.infer<typeof createUserSchema>; export declare const Oauth2LoginResponseSchema: z.ZodObject<{ id: z.ZodString; userName: z.ZodString; accessToken: z.ZodString; roles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { id: string; userName: string; roles: string[]; accessToken: string; }, { id: string; userName: string; roles: string[]; accessToken: string; }>; export type Oauth2LoginResponse = z.infer<typeof Oauth2LoginResponseSchema>; export declare const MeResponseSchema: z.ZodObject<{ userName: z.ZodString; roles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { userName: string; roles: string[]; }, { userName: string; roles: string[]; }>; export type MeResponse = z.infer<typeof MeResponseSchema>;