gigaverse-app/Pydantic to TypeScript Converter
Convert Python Pydantic models to TypeScript interfaces using LLMs (Claude or GPT) while maintaining styling and conventions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 23, 2025
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: gigaverse-app/pydantic-to-typescript-action@d583407f00782085679fd8615d5c42902f3c45eb # v3.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| base-python-file | Path to the base Python Pydantic file | yes | — |
| new-python-file | Path to the new Python Pydantic file | yes | — |
| current-typescript-file | Path to the current TypeScript file | yes | — |
| output-typescript-file | Path to the output TypeScript file | yes | — |
| model-provider | LLM provider to use (anthropic or openai) | no | anthropic |
| model-name | Specific model to use | no | claude-3-7-sonnet-latest |
| anthropic-api-key | Anthropic API key | no | — |
| openai-api-key | OpenAI API key | no | — |
| temperature | Temperature for the LLM (0.0-1.0) | no | 0.1 |
| custom-prompt | Optional custom prompt rule/message to enhance or change default system instructions | no | — |
| langsmith-api-key | LangSmith API key for tracing (optional) | no | — |
| langsmith-project | LangSmith project name (optional; default: "pydantic-to-typescript-action") | no | pydantic-to-typescript-action |
Outputs
no outputs