2017-06-11 01:59:27 +10:00
|
|
|
const { graphql } = require("react-relay");
|
|
|
|
|
|
|
|
|
|
graphql`
|
|
|
|
|
mutation MarkReadNotificationMutation(
|
|
|
|
|
$input
|
|
|
|
|
: MarkReadNotificationData!
|
|
|
|
|
)
|
|
|
|
|
{ markReadNotification(data: $input ) { notification {seenState} } }
|
|
|
|
|
`;
|
2017-06-12 17:16:17 -07:00
|
|
|
|
|
|
|
|
graphql.experimental`
|
|
|
|
|
mutation MarkReadNotificationMutation(
|
|
|
|
|
$input
|
|
|
|
|
: MarkReadNotificationData!
|
|
|
|
|
)
|
|
|
|
|
{ markReadNotification(data: $input ) { notification {seenState} } }
|
|
|
|
|
`;
|