Creating a Firestore Schema with Timestamp Fields for TypeScript Validation
one question, I'm trying to create a schema for a firestore collection and i don't know how to do
i want to have everything schema validated and use them to generate typescript types from it
firestore types it like this:
How can i create a schema with a
What would be the best way to do this if my approach is wrong?
Do I need to do some custom validation?
timestamp fields.i want to have everything schema validated and use them to generate typescript types from it
firestore types it like this:
How can i create a schema with a
createdAt field? What would be the best way to do this if my approach is wrong?
Do I need to do some custom validation?
