ActivityLikeNotification
Notification for when a activity is liked
type ActivityLikeNotification {
id: Int!
userId: Int!
type: NotificationType
activityId: Int!
context: String
createdAt: Int
activity: ActivityUnion
user: User
}
Fields
ActivityLikeNotification.id
● Int!
non-null scalar
The id of the Notification
ActivityLikeNotification.userId
● Int!
non-null scalar
The id of the user who liked to the activity
ActivityLikeNotification.type
● NotificationType
enum
The type of notification
ActivityLikeNotification.activityId
● Int!
non-null scalar
The id of the activity which was liked
ActivityLikeNotification.context
● String
scalar
The notification context text
ActivityLikeNotification.createdAt
● Int
scalar
The time the notification was created at
ActivityLikeNotification.activity
● ActivityUnion
union
The liked activity
ActivityLikeNotification.user
● User
object
The user who liked the activity
Implemented By
NotificationUnion
union