inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
414 stars 41 forks source link

Add generic function invocation event to all event schemas #489

Closed jpwilliams closed 7 months ago

jpwilliams commented 7 months ago

Summary

Fixes an issue where inngest/function.invoked was missing from the list of internal events automatically returned when using GetEvents<typeof inngest, true>.

Also slightly refactors how these internal events are added, ensuring we can't forget them again.

Checklist

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: cd2133fbaa0f71d625f8ee4d3ebb755cde6ede60

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------- | ----- | | inngest | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR