Skip to main content

NotificationMarkerAction

@gravity-rail/sdk


@gravity-rail/sdk / NotificationMarkerAction

Type Alias: NotificationMarkerAction

NotificationMarkerAction = typeof NotificationMarkerAction[keyof typeof NotificationMarkerAction]

The two states a reader can put a notification in.

Both are additive and idempotent: marking read twice preserves the first timestamp, and dismissing sets read as well because a reader who dismissed something has plainly seen it.