Supabase to Zod

Visit Website

Description

A small CLI to convert the types generated by the Supabase CLI into zod schemas. It uses typescript to parse the nested Database type (which is not supported by ts-to-zod) into plain object types, e.g.

export type tableInsertSchema = {}

before executing ts-to-zod on the resulting types.

Supabase Features

  • Unknown

Related Projects