Skip to content
Projects

Author · 2025

Prisma Types

TypeScript types generated from a Prisma schema, so they cannot drift from the database.

Python · Prisma · TypeScript

github.com/edglz/prisma-types-generator

Prisma Types is for teams that need Prisma’s types somewhere the Prisma client does not run.

You load a schema.prisma and see the TypeScript in a live preview. It writes one models.ts, or splits by schema into several files, with an optional index.ts that re-exports them. Flat types can omit relations, for payloads and forms.

The types come from the schema, so they cannot drift from the database. The desktop app uses only the Python standard library, Tkinter included. Nothing else to install.

0:00