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