CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.22k stars 97 forks source link

Consider exposing the types on the Pagefind client #632

Open hankertrix opened 3 weeks ago

hankertrix commented 3 weeks ago

Currently, every single user of the Pagefind client will have to handroll their own types for the Pagefind client. It would make life much easier if the Pagefind client types were exposed, like in the NodeJS API so that the types can be easily used.

If the types for the Pagefind client are exposed in the NodeJS API, it can be called PagefindClient or something similar.