Moving from rust to typescript - Prisma