mutation-fi
All checks were successful
deploy / deploy (push) Successful in 1m45s

This commit is contained in:
Untone 2023-11-24 05:50:27 +03:00
parent 4630299a56
commit 8ef12063b0

View File

@ -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!
}