I'm planning to use OhMySMTP in a Fastify app, for which I've made the fastify-ohmysmtp package, and next on my roadmap is to add a route and handlers for webhooks.
While I could list the event types and define the payload type within the plugin, I feel like those type definitions would be better located here in the Node.js API.
I've done a similar job for the Stripe webhooks here (though they had additional complexity that would be unneeded here if all webhooks have the same payload type), if that's something you're interested in, I can open a PR.
I'm planning to use OhMySMTP in a Fastify app, for which I've made the
fastify-ohmysmtppackage, and next on my roadmap is to add a route and handlers for webhooks.While I could list the event types and define the payload type within the plugin, I feel like those type definitions would be better located here in the Node.js API.
I've done a similar job for the Stripe webhooks here (though they had additional complexity that would be unneeded here if all webhooks have the same payload type), if that's something you're interested in, I can open a PR.