Notification
Represents information about a notification.
type Notification {
id: String!
type: NotificationType!
causer: User
data: NotificationData
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
seenAt: DateTimeTz
readAt: DateTimeTz
}
Fields
Notification.id
● String!
non-null scalar
Notification's unique identifier.
Notification.type
● NotificationType!
non-null enum
The type of the notification.
Notification.causer
● User
object
Who/what caused the notification.
Notification.data
● NotificationData
object
The notification's data.
Notification.createdAt
● DateTimeTz!
non-null scalar
The date and time when the notification was created.
Notification.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the notification was last updated.
Notification.seenAt
● DateTimeTz
scalar
The date and time when the notification was marked as seen.
Notification.readAt
● DateTimeTz
scalar
The date and time when the notification was marked as read.
Returned By
markNotificationAsRead
mutation ● markNotificationAsUnread
mutation
Member Of
NotificationEdge
object