Prisma Client is bundled into nextjs and mobile
Some of the enums are imported through prisma client directly on the frontend which causes the prisma client to be bundled and exposes the entire database schema to the frontend. Possible prevention is to figure out a different way to share enum and not use prisma client on the frontend