For starter, you can refactor files in src/types folder.

Looking for a challenge? Then you can try to implement mandatory field type:

  1. It is a special type that assign (with union) to object member.
  2. Member with such type become required even in update operations(all members in update operations are partial).

Type like this can be useful if you need a mandatory field while trying to update a document. Practical usage is something like updatedAt member that keep track of document last updated time.

Basically just turn an optional member into a required member but due to inner complexity, this is not going to be easy.

If you want to work on this, come to me first to discuss the implementation strategy, I will provide all information you need to carry out this mission.

Related Projects

  1. Firelord - Typescript wrapper for Firestore Admin
  2. Firelordrn - Typescript wrapper for Firestore React Native
  3. FireLaw - Write Firestore security rule with Typescript, utilizing Firelord type engine.
  4. FireCall - Helper Function to write easier and safer Firebase onCall function.