tpmjs/packages
Ajax Davis 1a86036ace feat(types): add comprehensive TPMJS field schemas with validation
- Add @tpmjs/types/tpmjs module with minimal and rich tier schemas
- Define 12 valid tool categories (web-scraping, api-integration, etc.)
- Add schemas for parameters, returns, authentication, pricing, links
- Implement validateTpmjsField() with automatic tier detection
- Add type guards (isTpmjsMinimal, isTpmjsRich)
- Support optional rich fields: frameworks, aiAgent, status, tags

Validation features:
- Minimal tier: category, description (20-500 chars), example (10+ chars)
- Rich tier: adds parameters, returns, auth, pricing, frameworks, etc.
- Auto-detects tier based on presence of rich fields
- Comprehensive error messages with Zod

Export configuration:
- Added ./tpmjs export to package.json
- Updated tsup.config.ts entry points
- Built and type-checked successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 02:12:11 +10:00
..
config fix(biome): ignore Next.js auto-generated next-env.d.ts file 2025-11-26 22:59:32 +10:00
db feat(db): create database package with Prisma schema for NPM registry 2025-11-28 02:07:39 +10:00
env fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
mocks fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
storybook fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
test fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
types feat(types): add comprehensive TPMJS field schemas with validation 2025-11-28 02:12:11 +10:00
ui fix(ui): replace Tailwind classes with direct SVG attributes in FlowDiagram 2025-11-27 23:14:41 +10:00
utils fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00