@tmlmobilidade/types
Version:
This package provides shared Zod validation schemas and their corresponding TypeScript types for use across projects. All types are automatically inferred from the schemas to ensure full type safety and reduce maintenance overhead.
13 lines (10 loc) • 512 B
Markdown
## @tmlmobilidade/types
This package provides shared Zod validation schemas and their corresponding TypeScript types for use across projects. All types are automatically inferred from the schemas to ensure full type safety and reduce maintenance overhead.
### Purpose
- Ensure consistent validation rules across services
- Reduce duplication by centralizing schema definitions
- Automatically infer TypeScript types from schemas for type-safe usage
### Installation
```
npm install -D @tmlmobilidade/types
```