Type Generation
Installation
# Install as dev dependency
pnpm add -D @tablecraft/codegen
# Or use directly with npx
npx @tablecraft/codegen --url http://localhost:3000/api/engine --out ./src/generated# Use directly with npx
npx @tablecraft/codegen --url http://localhost:5000/engine --out ./src/generatedUsage
Basic Usage
npx @tablecraft/codegen --url http://localhost:3000/api/engine --out ./src/generatedOptions
Option
Alias
Description
Required
Examples
Generated Files
Generated Types
Using Generated Types
With DataTable
Type-Safe Hidden Columns
With Custom Adapter
Benefits
Benefit
Description
Benefit
Description
Benefit
Description
Benefit
Description
CI/CD Integration
Last updated
Was this helpful?
