This commit is contained in:
@@ -32,6 +32,15 @@ type NotificationsQueryResult {
|
||||
unread: Int!
|
||||
}
|
||||
|
||||
type NotificationSeenResult {
|
||||
error: String
|
||||
}
|
||||
|
||||
type Query {
|
||||
loadNotifications(params: NotificationsQueryParams!): NotificationsQueryResult!
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
markNotificationAsRead(notification_id: Int!): NotificationSeenResult!
|
||||
markAllNotificationsAsRead: NotificationSeenResult!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user