diff --git a/notifier.graphql b/notifier.graphql index 91c713d..eee5112 100644 --- a/notifier.graphql +++ b/notifier.graphql @@ -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! +}