Airtable / airtable.js

Airtable javascript client
MIT License
2.01k stars 404 forks source link

Question: Generate TypeScript interfaces from table schema #263

Open ackvf opened 3 years ago

ackvf commented 3 years ago

Hi there, is there a way to generate 1:1 typescript interfaces to cover my tables in a TypeScript project?

jkcorrea commented 1 year ago

Hi there! I needed this too & didn't see it anywhere, so I built one (also generates Zod schemas): https://github.com/jkcorrea/airtable-typegen

try it out and lmk how it works for your case :)