Skip to content

feat(types): notification outcome and grouping fields - #41

Merged
ABujalance merged 1 commit into
mainfrom
types/notification-outcome-grouping
Aug 17, 2026
Merged

feat(types): notification outcome and grouping fields#41
ABujalance merged 1 commit into
mainfrom
types/notification-outcome-grouping

Conversation

@ABujalance

Copy link
Copy Markdown
Contributor

The API returns outcome, groupKey and groupLabel on every automation notification and NotificationDto does not have them, so an app building against the published package is told they do not exist.

Changes

  • outcome, groupKey and groupLabel on NotificationDto, matching the backend's wire DTO.

outcome is the one that matters. Without it the only way to know whether a run failed is to match on title, and title is built from the user's own automation name, so an automation called "Failover sync" reports every successful run as a failure to anything reading the copy. That shipped in our own client and had to be fixed there.

Types only, one changeset, patch.

The API returns `outcome`, `groupKey` and `groupLabel` on every automation
notification and this mirror does not have them, so an app building against the
published package is told they do not exist.

`outcome` is the one that matters. Without it the only way to know whether a
run failed is to match on `title`, and `title` is built from the user's own
automation name — an automation called "Failover sync" reports every successful
run as a failure to anything reading the copy. That is not hypothetical; it
shipped in our own client and had to be fixed there.
@ABujalance
ABujalance merged commit 94e91d4 into main Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant