How Typesync helps you
- Generate application models for TypeScript, Swift, and Python from the same Firestore schema.
- Validate live Firestore data against your schema with
typesync validate-data, using generated Zod validators under the hood. - Generate Security Rules validators so Firestore writes can be checked against the same model definitions.
- Visualize your database architecture by generating Mermaid graphs from document model paths.
- Document your data models with schema-level descriptions that flow into generated output.

Typesync in 30 seconds
You define your Firestore schema in a collection of YAML/JSON files. The Typesync CLI reads these files and produces ready-to-use Firestore model definitions for all the languages and platforms you work with. In the example below, we define our models inmodels.yml.
models.yml

