Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request adds types:
Event["event"]
with"notification_merged"
v1.AccountWarning
typev1.Appeal
typev1.GroupedNotificationsResults
,v1.PartialAccountWithAvatar
, andv1.NotificationGroup
typesv1.Notification["groupKey"]
,v1.SeveredRelationshipsNotification
, andv1.ModerationWarningNotification
typesv1.NotificationRequest
typev1.RelationshipSeveranceEvent
typev1.Suggestion["sources"]
propertyv2.Instance["icon"]
,v2.Instance["apiVersions"]
,v2.Instance["configuration"]["vapid"]
propertiesv2.NotificationPolicy
typeAnd introduces APIs:
masto.v1.accounts.fetch({ id: [id1, id2, ...] })
masto.v1.accounts.relationship.fetch({ id: [...], withSuspended: boolean })
masto.v1.notifications.requests.$select(id).accept()
masto.v1.notifications.requests.$select(id).dismiss()
masto.v1.notifications.requests.$select(id).fetch()
masto.v1.notifications.requests.accept()
masto.v1.notifications.requests.dismiss()
masto.v1.notifications.requests.list()
masto.v1.notifications.requests.merged.fetch()
masto.v1.notifications.unreadCount.fetch()
masto.v1.statuses.fetch({ id: [id1, id2, ...] })
masto.v1.timelines.link.list({ url: "..." })
masto.v2.notifications.$select(id).accounts.fetch()
masto.v2.notifications.$select(id).dismiss()
masto.v2.notifications.$select(id).fetch()
masto.v2.notifications.policy.fetch()
masto.v2.notifications.policy.update()
masto.v2.notifications.unreadCount.fetch()