Skip to main content

Notification

A notification.

type Notification implements Node {
body: String!
dateRead: DateTime
dateSent: DateTime!
id: UUID!
isRead: Boolean!
title: String!
user: User!
}

Fields

Notification.body ● String! non-null scalar

The content of the notification

Notification.dateRead ● DateTime scalar

The date the notification was read

Notification.dateSent ● DateTime! non-null scalar

The date the notification was sent

Notification.id ● UUID! non-null scalar

The ID of the node.

Notification.isRead ● Boolean! non-null scalar

Whether the notification has been read

Notification.title ● String! non-null scalar

The title of the notification

Notification.user ● User! non-null object

The user this notification was sent to.

Interfaces

Node interface

An object with an ID.

Returned By

createNotification mutation ● notification query ● updateNotification mutation

Member Of

NotificationConnection object