UNPKG

@kazion/create-app

Version:

A cli tool to help you get started with graphql and rest api's with typescript

11 lines (8 loc) 243 B
import * as z from 'zod' export const UserSchema = z.object({ name: z.string(), phoneNumber: z.string().min(10).max(10), email: z.string().email(), password: z.string().min(5), }) export type UserPayload = z.infer<typeof UserSchema>