Platform
Write the Go struct. Grit derives the migration, the query layer, the validation schema and the TypeScript type from it — so a field you add in one place appears everywhere it should.
type Invoice struct
invoice.ts