OBJECT

Notification

link GraphQL Schema definition

  • type Notification implements Node {
  • id: ID!
  • # The type of notification.
  • notificationType: NotificationNotificationType!
  • # The type of resource that the notification is for.
  • resourceType: String!
  • # The ID of the resource that the notification is for.
  • resourceID: String!
  • # (DEPRECATED - Use body instead) The message of the notification.
  • message: String!
  • # The body of the notification. This is the fully rendered message minus the
  • # user's name
  • # ie. liked your post "Test Post"
  • # or reflected on your post "Test Post"
  • body: String!
  • # The time that the notification was read.
  • readAt: Time
  • createdAt: Time!
  • pushSentAt: Time
  • imageID: ID
  • # The user that the notification is for.
  • user: User
  • # The user that sent the notification.
  • from: User
  • # The image associated with the notification.
  • image: Image
  • }