typesync
typesync copied to clipboard
Autogenerate Firestore model types for all platforms
This will traverse the specified collection and validate the documents with Zod.
The `additionalFields` config on `object` types currently does not have an effect on Swift output.
We should allow documents to be modeled as a discriminated union.
We'll allow generating Zod schemas for a given definition.
The `nil` type compiles to `nil` in Swift which is not a valid type. We likely want a sentinel to replace it.