INPUT_OBJECT

CreateNotificationInput

CreateNotificationInput is used for create Notification object. Input was generated by ent.

link GraphQL Schema definition

  • input CreateNotificationInput {
  • # 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
  • userID: ID
  • fromID: ID
  • imageID: ID
  • }

link Require by

This element is not required by anyone