Skip to main content

Notification

No description

type Notification {  id: ID!  ownerID: ID!  createdAt: Time!  title: String  body: String  comment: Comment  commentStatus: COMMENT_STATUS  dsaReport: NotificationDSAReportDetails}

Fields#

id (ID!)#

id is the uuid identifier for the notification.

ownerID (ID!)#

ownerID is the string identifier for who this notification is directed to.

createdAt (Time!)#

createdAt is when this notification was created, used for sorting.

title (String)#

title is the title text of this notification.

body (String)#

body is the text content of this notification.

comment (Comment)#

comment is the optional comment that is linked to this notification.

commentStatus (COMMENT_STATUS)#

commentStatus is the optional status of the comment when the notification was created. This allows for the context of the state of the comment to be persisted even if the comment reference undergoes multiple moderation actions since the notification was created.

dsaReport (NotificationDSAReportDetails)#

dsaReport is the details of the DSA Report related to the notification. This is usually in reference to the comment that is also related to the notification.