If you are unfamiliar with Effect Systems, ZIO, or Effect-TS, I recommend reading the following article: https://www.sandromaglione.com/articles/typescript-code-with-and-without-effect and then returning here.
Other good information about Effect-TS c...