Syntax
| Argument | Description |
|---|---|
<language> | Target language: typescript, go, python, java, kotlin, swift, dart |
Common Flags
| Flag | Description | Default |
|---|---|---|
-h, --help | Show help for the command | – |
--output-file string | Output file path for generated types | Language-specific default |
--mode string | Version mode (draft or live) | live |
--workspace string | Workspace to get schemas from | staging |
Language-Specific Flags
- TypeScript
- Python
- Go
- Java
- Kotlin
- Swift
- Dart
Generate TypeScript type definitions from trigger payload schemas. Fetches linked schemas and generates types in a single output file. Supports Zod schema generation with
--zod.| Flag | Description | Default |
|---|---|---|
--output-file string | Output file path | suprsend-types.ts |
--zod | Generate Zod schemas instead of plain TypeScript types | false |