Skip to content

feat: accurate TS types for each App Event payload type #761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

t-col
Copy link
Contributor

@t-col t-col commented Mar 5, 2025

  • each entity/action event payload type is now enumerated explicitly, rather than exposing a single type for each entity across all actions
Screenshot 2025-03-05 at 11 24 21 AM
  • exports an enum for App Function event types
Screenshot 2025-03-05 at 11 25 49 AM

@t-col t-col force-pushed the fix/payload-types branch from 876e5a7 to be8a2e5 Compare March 5, 2025 18:43
@t-col t-col marked this pull request as ready for review March 5, 2025 18:47
@t-col t-col requested a review from a team as a code owner March 5, 2025 18:47
Copy link

@michaelpineirocontentful michaelpineirocontentful left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!🚀 How do you test this?

@t-col t-col merged commit f95db67 into main Mar 5, 2025
11 checks passed
@t-col t-col deleted the fix/payload-types branch March 5, 2025 20:13
contentful-automation bot added a commit that referenced this pull request Mar 5, 2025
# [3.11.0](v3.10.2...v3.11.0) (2025-03-05)

### Bug Fixes

* FunctionTypeEnum member case ([#762](#762)) ([132b8f7](132b8f7))

### Features

* accurate TS types for each App Event payload type ([#761](#761)) ([f95db67](f95db67))
@contentful-automation
Copy link
Contributor

🎉 This PR is included in version 3.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants