CLI
The CLI generates Zod schemas for your PocketBase instance.
Usage
To generate your schemas, run the following from your project directory:
Config File
You can provide a zod-pocketbase.config.ts
or zod-pocketbase.config.js
config file.
Environment variables
You can provide your admin credentials and your PocketBase instance url as environment variables: