UNPKG

create-cf-planetscale-app

Version:

Create a Cloudflare workers app for building production ready RESTful APIs using Hono

4 lines (2 loc) 101 B
import { z } from 'zod' export const roleZodType = z.union([z.literal('admin'), z.literal('user')])