Skip to main content

NotificationMutations

No description

type NotificationMutations {
markNotificationRead(
notificationId: Long!
): Boolean
markAllNotificationsRead: Boolean
deleteNotification(
notificationId: Long!
): Boolean
deleteAllNotifications: Boolean
}

Fields

NotificationMutations.markNotificationRead ● Boolean scalar

Mark one of the signed-in user's notifications read

NotificationMutations.markNotificationRead.notificationId ● Long! non-null scalar

NotificationMutations.markAllNotificationsRead ● Boolean scalar

Mark all of the signed-in user's notifications read

NotificationMutations.deleteNotification ● Boolean scalar

Delete one of the signed-in user's notifications

NotificationMutations.deleteNotification.notificationId ● Long! non-null scalar

NotificationMutations.deleteAllNotifications ● Boolean scalar

Delete ALL of the signed-in user's notifications, read and unread

Returned By

notifications mutation