~/talk

Generate TypeScript definitions for DocTypes on the fly

Talkat ERPNext Conference 2022 · 2022-09-22..09-24· [typescript]
slides:none on file

A small Frappe app called frappe typescript type generator watches Doctype creations and updates and writes TypeScript interfaces into the front end, placing files like mab/src/types/asset_registers/drawing_file.ts and grouping by module. Generated interfaces include correct primitives, select union types for options, optional/null markers, and field descriptions as comments. Used with a React + TypeScript app and the existing getDoc hook, it eliminates manual backend↔frontend edits and produces immediate autocomplete and compile-time errors, and it works in the My Asset Buddy codebase.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.