typegen

command
v0.39.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command typegen generates TypeScript type definitions from a running Hanzo Base instance.

Usage:

go run cmd/typegen/main.go --url http://localhost:8090 --output types.ts \
  --admin-email admin@example.com --admin-password secret

It connects to the Base API, reads all collection schemas, and emits TypeScript interfaces with a Collections type map.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL