Using TS and `@effect/data` / `fp-ts` for `getInitPath` function - Effect Community