~/talk

Providing an Intuitive DX With Highly Dynamic Applications and TypeScript

Talkat StrapiConf 2023 · on Wednesday, 2023-06-07· [typescript]
links:none on file
slides:none on file

Strapi generates TypeScript definitions from runtime content models to give precise autocompletion and type safety for unpredictable app schemas. It implements dynamic type registries (empty interfaces that external apps/plugins augment) and uses the TypeScript Factory API to programmatically emit .d.ts files that extend those registries. The generator runs embedded, produces literal string/number types, avoids fragile string concatenation, and successfully converts dynamic CMS content structures into usable, scalable TypeScript types for internal APIs.

AI-written summary · about

  1. 0:00The benefits of TypeScript
  2. 1:45TypeScript limitations
  3. 2:58Dynamic model challenges
  4. 5:09Dynamic type registries
  5. 7:10Automated type generation
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.