Overview of PZG Pro Packs
masterWhile the core Prisma Zod Generator emits Zod schemas, the Pro version provides 'Packs' that generate additional layers of code from the same Prisma schema. These packs include:
- Forms UX: Schema-driven React forms using Zod and React Hook Form (RHF).
- SDK Publisher: Typed TypeScript and Python HTTP clients.
- API Docs: OpenAPI specifications and a runnable mock server.
- Policies: PII redaction and policy helpers via annotations.
- Postgres RLS: PostgreSQL Row Level Security session context helpers.
- Multi-Tenant: Server-side tenant validation, middleware, and extensions.
- Performance: Streaming validators for large arrays.
- Factories: Realistic test data builders.
- Drift Guard: CI tools to detect breaking schema changes.
- Contracts: Consumer/provider test definitions.
- Server Actions: Typed actions validated with Zod.