Closed abdul-ahad12 closed 1 month ago
Develop Zod schemas for common entities (User, Order, ServiceType), create utility functions for error handling, and implement shared interfaces and enums.
Please make sure what you're committing.
I see node_modules in the commit 🤦♂️
No human can go through 500 files. please close this PR and re submit with fewer file. follow single responsibility principle for PRs as well not just code. so that the reviewer knows what this PR is for. also please make sure you assign a reviewer to your PRs
Added Zod schemas and TypeScript interfaces for user-related entities, orders, and enums. Created validateWithSafeParse for safe schema validation with error handling, and validateWithParse for direct validation.