import { gql } from '@apollo/client' export const UNREAD_COUNT_QUERY = gql` query UnreadCountQuery { unreadCount: hc_unreadCount } ` export const SET_WEB_PUSH_CHANNEL_MUTATION = gql` mutation SetWebPushChannelMutation($details: JSON!) { hc_setChannel(channel: WEB_PUSH, details: $details, active: true) { id details active } } ` export const CREATE_CHANNEL_MUTATION = gql` mutation CreateChannel($channel: Channel!, $details: JSON!) { hc_createChannel(channel: $channel, details: $details, active: true) { id userId active createdAt } } `