# zod-pocketbase-continued Zod tooling for your PocketBase instance. This repository is a continuation of [Gregory Bouteiller's zod-pocketbase](https://github.com/gbouteiller/zod-pocketbase), as the original repository was outdated for 10 months. ## Documentation [Old documentation is compatible with the current version](https://zod-pocketbase.vercel.app) ## Compatibility - **PocketBase**: v0.30.0 - **PocketBase JS SDK**: v0.26.2 ## Changes from Original ### Project Structure - Added `flake.nix` for **NixOS** development environment. - Removed `doc/`, `playground/` and monorepo configuration - Replaced `pnpm` and `node` in favor of `bun` - Switched `.github/` to `.gitea/` and `gh` to `tea` - Switched from `eslint` and `prettier` to `biome`. ### Dependencies & Code - Migrated from `tsup` to `tsdown` - Updated all npm dependencies - Removed unused dependencies - Fixed `getPocketbase` function in `sdk.ts` to match the latest PocketBase version - Implemented most TODOs left in `content.ts` ### Not working (yet) - Expanding `Relation` field with type `Multiple` is not working for now. Try to avoid using it. ## License [MIT License](./LICENSE)