vandie / webmention-handler

A handler for web mentions
https://www.npmjs.com/package/webmention-handler
MIT License
16 stars 2 forks source link

Improve webmention types #6

Open vandie opened 2 years ago

vandie commented 2 years ago

At the moment all mentions are stored as the type Mention, it would be nice to have Types for the different mention structures (Reply, Like etc.) with the regular Mention acting as a fallback. This might require a lot of optional fields but I think it would help people implementing the library for the first time.

vandie commented 2 years ago

New branch for these created (here) Will create a PR once the major types are covered

vandie commented 1 year ago

I think if we decide to implement https://github.com/vandie/webmention-handler/issues/20 then this will be resolved as well...